Question regarding AUR packing and filenames with non-standard characters
I maintain the AUR packages for darling and darling-git. I have noticed for a while there are a few files that tend to bomb out when installing and I suspect it is due to the filenames. You will find these same files in other packages and distros since they are certificate authorities, but I have had little luck figuring out how to correct this.
Any help would be greatly appreciated. I figured I would ask here first before spending an day digging into it :/
(2/2) installing darling [########################################################] 100%
warning: file not found in file list for package darling. skipping extraction of usr/libexec/darling/System/Library/OpenSSL/certs/AC_Raíz_Certicámara_S.A..crt
warning: file not found in file list for package darling. skipping extraction of usr/libexec/darling/System/Library/OpenSSL/certs/Certinomis_-_Autorité_Racine.crt
warning: file not found in file list for package darling. skipping extraction of usr/libexec/darling/System/Library/OpenSSL/certs/EBG_Elektronik_Sertifika_Hizmet_Sağlayıcısı.crt
warning: file not found in file list for package darling. skipping extraction of usr/libexec/darling/System/Library/OpenSSL/certs/NetLock_Arany_=Class_Gold=_Főtanúsítvány.crt
warning: file not found in file list for package darling. skipping extraction of usr/libexec/darling/System/Library/OpenSSL/certs/TÜBİTAK_UEKAE_Kök_Sertifika_Hizmet_Sağlayıcısı_-_Sürüm_3.crt
warning: file not found in file list for package darling. skipping extraction of usr/libexec/darling/System/Library/OpenSSL/certs/TÜRKTRUST_Elektronik_Sertifika_Hizmet_Sağlayıcısı_H5.crt
warning: file not found in file list for package darling. skipping extraction of usr/libexec/darling/System/Library/OpenSSL/certs/TÜRKTRUST_Elektronik_Sertifika_Hizmet_Sağlayıcısı_H6.crt
About this post
- Posted
- Archived
- Score
- 2 · 100% up
- Kind
- Text
- ID
- ce48e2
7 comments
Does it still do then if you prefix the command with
LANG=C?You might be onto something here. I installed with
LANG=Cand got different results.No mentioned of the original missing files. I am going to try building with that variable and installing with it with the same.
So turns out these errors are un-related, i think the script never even ran in the first place lol!Is there anything at the package level I can do to resolve the original error other than telling people to install with
LANG=C? If i understand right this is happening during the bsdtar extractionThanks again, I think I narrowed it down. I simply added this line to my
PKGBUILD:and then opened a PR upstream: https://github.com/darlinghq/darling-openssl_certificates/pull/1
It's fairly broken right now anyways so it's tough for me to verify but the PKGBUILD is now happy
Offtopic but why is darling installing its own trust store?
That's possibly a better question for the developers but it lays out something like a chroot environment that looks nearly identical to what you'd find on macOS.
https://wiki.darlinghq.org/darling_shell
Really couldn't tell you why they do that over trying to use host system trusts. Maybe it's just easier and more portable?
this might be why right here https://github.com/darlinghq/darling/issues/161#issuecomment-251884952