pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Can't bootstrap pkgsrc2021Q1 on Solaris 10



Hi,
It still fails but when you think about it it's pretty clear it will... TOOLS_PLATFORM.m4=/usr/pkg/bin/gm4... we are bootstrapping so there is nothing in  /usr/pkg. I will try with  TOOLS_PLATFORM.m4=/usr/sfw/bin/gm4... might works.

On Thu, Jun 3, 2021 at 7:52 AM Lehel Bernadt <lehel%maxer.hu@localhost> wrote:
On Wed, Jun 02, 2021 at 10:23:51PM -0400, Julien Savard wrote:
>Hi,
>Adding "LDFLAGS.SunOS+= -lrt" to archivers/lz4/Makefile
>and archivers/zstd/Makefile fixed this issue. However it still fails on
>openssl :
>
>gcc  -I. -Iinclude -fPIC -m64 -mcpu=ultrasparc -pthread -O2
>-D_FORTIFY_SOURCE=2 -I/usr/include -O2 -DFILIO_H -DB_ENDIAN -DBN_DIV2W
>-DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT
>-DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM
>-DAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM
>-DOPENSSLDIR="\"/srv/pbulk/etc/openssl\""
>-DENGINESDIR="\"/srv/pbulk/lib/engines-1.1\"" -DNDEBUG -D_FORTIFY_SOURCE=2
>-I/usr/include -I/usr/include -MMD -MF crypto/des/cfb_enc.d.tmp -MT
>crypto/des/cfb_enc.o -c -o crypto/des/cfb_enc.o crypto/des/cfb_enc.c
>m4  crypto/des/asm/des_enc.m4 > crypto/des/des_enc-sparc.S
>gmake[1]: Leaving directory
>`/var/tmp/pbulkbuild/security/openssl/work/openssl-1.1.1i'
>*** Error code 2

Is it failing at the m4 command?
It might be this issue:
http://gnats.netbsd.org/56037

I've worked around it by building devel/m4 and setting
TOOLS_PLATFORM.m4=/usr/pkg/bin/gm4


Home | Main Index | Thread Index | Old Index