[oi-dev] Errors from distro constructor

Michal Nowak mnowak at startmail.com
Wed Oct 2 18:03:44 UTC 2019


On 10/02/19 07:55 PM, Gary Mills wrote:
> When I ran distro_const the other day I got these errors:
> 
>      <root at t2000># distro_const build text_mode_sparc.xml
>      ...
>      ==== ba-config: Boot archive configuration
>      ln: /mnt/misc/etc/certs/CA/T\xc3\x9c\x42\xC4\xB0TAK_UEKAE_K\xC3\xB6k_Sertifika_Hizmet_Sa\xC4\x9Flay\xc4\xb1\x63\xc4\xb1s\xc4\xb1_-_S\xC3\xBCr\xC3\xBCm_3.pem: cannot link to etc/certs/CA/T\xc3\x9c\x42\xC4\xB0TAK_UEKAE_K\xC3\xB6k_Sertifika_Hizmet_Sa\xC4\x9Flay\xc4\xb1\x63\xc4\xb1s\xc4\xb1_-_S\xC3\xBCr\xC3\xBCm_3.pem [File exists]
>      ln: /mnt/misc/etc/certs/CA/AC_Ra\xC3\xADz_Certic\xC3\xA1mara_S.A..pem: cannot link to etc/certs/CA/AC_Ra\xC3\xADz_Certic\xC3\xA1mara_S.A..pem [File exists]
>      ==== plat-setup: Platform specific setup
>      ==== ba-arch: Boot archive archiving
>      342288 blocks
>      fiocompress: cannot open ./etc/certs/CA/Txc3x9cx42xC4xB0TAK_UEKAE_KxC3xB6k_Sertifika_Hizmet_SaxC4x9Flayxc4xb1x63xc4xb1sxc4xb1_-_SxC3xBCrxC3xBCm_3.pem - No such file or directory
>      /usr/share/distro_const/boot_archive_archive.py: error compressing file ./etc/certs/CA/T\xc3\x9c\x42\xC4\xB0TAK_UEKAE_K\xC3\xB6k_Sertifika_Hizmet_Sa\xC4\x9Flay\xc4\xb1\x63\xc4\xb1s\xc4\xb1_-_S\xC3\xBCr\xC3\xBCm_3.pem: Unknown error
>      fiocompress: cannot open ./etc/certs/CA/AC_RaxC3xADz_CerticxC3xA1mara_S.A..pem - No such file or directory
>      /usr/share/distro_const/boot_archive_archive.py: error compressing file ./etc/certs/CA/AC_Ra\xC3\xADz_Certic\xC3\xA1mara_S.A..pem: Unknown error
>      sh: syntax error at line 1: `(' unexpected
>      /usr/share/distro_const/boot_archive_archive.py: error compressing file ./etc/certs/CA/NetLock_Arany_(Class_Gold)_Főtanúsítvány.pem: No such process
>      Traceback (most recent call last):
>        File "/usr/share/distro_const/boot_archive_archive.py", line 445, in <module>
>          compress(BA_BUILD, BA_LOFI_MNT_PT)
>        File "/usr/share/distro_const/boot_archive_archive.py", line 185, in compress
>          "compressed boot_archive files")
>      Exception: /usr/share/distro_const/boot_archive_archive.py: Error processing compressed boot_archive files
>      Child returned err 1
>      Build completed Tue Oct  1 15:21:35 2019
>      Build failed.
> 
> As far as I can tell, the python script reinterprets the manifests,
> but does it incorrectly.  In fact, the shell seems to be involved too.
> Enclosing the file name in single quotes allows `ls -l' to find it.
> 
> I can correct the problem by omitting the relevant lines from the
> crypto-ca-certificates.p5m manifest, but is there a better way?
> 
> 

Hi.

We had to put a workaround in place couple weeks ago: 
https://github.com/OpenIndiana/oi-userland/pull/5272/files#diff-0ae6c3c34f4c69bd3afbca4a2db7c821. 
Perhaps you need to pull the fix locally? (My DC build using the 
openindiana.org publisher succeeds.)

The better way is to fix our Python 3 pkg: 
https://www.illumos.org/issues/11636.

Michal




More information about the oi-dev mailing list