Re: ar: warning: can't open file: ccopy.pieo: No such file or directory

2021-09-09 Thread FreeBSD User
Am Wed, 11 Aug 2021 15:03:54 -0400
Ed Maste  schrieb:

> On Wed, 11 Aug 2021 at 05:41, FreeBSD User  wrote:
> >
> > Hallo,
> >
> > latest upgrade of CURRENT sources renders buildworld into failure, box is 
> > running
> > FreeBSD 14.0-CURRENT #1 main-n248614-67f508db84b: Wed Aug 11 07:29:11 CEST 
> > 2021 amd64:  
> 
> Assuming this was with BEARSSL enabled, it should be fixed with:
> 
> commit 879675e9a0d84880cad9834e2ef98e8724c5532c
> Author: Warner Losh 
> Date:   Wed Aug 11 10:59:28 2021 -0600
> 
> stand: Add MK_PIE=no to defs.mk
> 
> There's no need to build both pie and non-pie .o's for stand. There's
> some other build thing with MK_BEAR_SSL=yes and/or MK_LOADER_VERIEXEC=yes
> that causes the pie build to fail that the 'ar' stage now. Since we don't
> need the PIE stuff and the non-PIE stuff, disable PIE for the boot loader.
> 
> Reviewed by:emaste
> Sponsored by:   Netflix
> 

Hello again,

I think I face the very same problem on 14-CURRENT boxes building either 
13-STABLE sources or
13-STABLE poudriere jails, when on the 14-CURRENT box WITH_BEARSSL is enabled 
in the
14-CURRENT host's /etc/src.conf.

I have two scenarios:

Building 13-STABLE for FreeBSD-pkg-base (having WITH_BEARSSL enabled in the 
src.conf dor the
13-STABLE source tree) and

Building poudriere jail from a dedicated source tree for 13-STABLE
(/pool/sources/13-STABLE/src) with WITH_BEARSSL enabled. 

The latter scenario sounds ridiculous to have BEARSSL enabled, but we use the 
very same
src.conf file for both the packages for FreeBSD pkg base and so for the 
poudriere jail built
from the same source tree.

For a couple of weeks now I'm unable to build both the packages nor the jails.

The question would be: is the solution you offered above and fixed the problem 
I had initailly
also applicable to 13-STABLE without breakage of something else?

Tahnk you very much in advance,

O. Hartmann

 

-- 
O. Hartmann



Re: ar: warning: can't open file: ccopy.pieo: No such file or directory

2021-08-11 Thread Warner Losh
On Wed, Aug 11, 2021, 3:52 PM FreeBSD User  wrote:

> Am Wed, 11 Aug 2021 15:03:54 -0400
> Ed Maste  schrieb:
>
> > On Wed, 11 Aug 2021 at 05:41, FreeBSD User 
> wrote:
> > >
> > > Hallo,
> > >
> > > latest upgrade of CURRENT sources renders buildworld into failure, box
> is running
> > > FreeBSD 14.0-CURRENT #1 main-n248614-67f508db84b: Wed Aug 11 07:29:11
> CEST 2021 amd64:
> >
> > Assuming this was with BEARSSL enabled, it should be fixed with:
> >
> > commit 879675e9a0d84880cad9834e2ef98e8724c5532c
> > Author: Warner Losh 
> > Date:   Wed Aug 11 10:59:28 2021 -0600
> >
> > stand: Add MK_PIE=no to defs.mk
> >
> > There's no need to build both pie and non-pie .o's for stand. There's
> > some other build thing with MK_BEAR_SSL=yes and/or
> MK_LOADER_VERIEXEC=yes
> > that causes the pie build to fail that the 'ar' stage now. Since we
> don't
> > need the PIE stuff and the non-PIE stuff, disable PIE for the boot
> loader.
> >
> > Reviewed by:emaste
> > Sponsored by:   Netflix
> >
>
> Yes, it has.
>
> Thanks a lot.
>

It does point out a problem with PIE integration wrt BEARSSL. I'll have to
dig deeper if we ever need to make pie images for the loader...

Warner

oh
>
> --
> O. Hartmann
>
>


Re: ar: warning: can't open file: ccopy.pieo: No such file or directory

2021-08-11 Thread FreeBSD User
Am Wed, 11 Aug 2021 15:03:54 -0400
Ed Maste  schrieb:

> On Wed, 11 Aug 2021 at 05:41, FreeBSD User  wrote:
> >
> > Hallo,
> >
> > latest upgrade of CURRENT sources renders buildworld into failure, box is 
> > running
> > FreeBSD 14.0-CURRENT #1 main-n248614-67f508db84b: Wed Aug 11 07:29:11 CEST 
> > 2021 amd64:  
> 
> Assuming this was with BEARSSL enabled, it should be fixed with:
> 
> commit 879675e9a0d84880cad9834e2ef98e8724c5532c
> Author: Warner Losh 
> Date:   Wed Aug 11 10:59:28 2021 -0600
> 
> stand: Add MK_PIE=no to defs.mk
> 
> There's no need to build both pie and non-pie .o's for stand. There's
> some other build thing with MK_BEAR_SSL=yes and/or MK_LOADER_VERIEXEC=yes
> that causes the pie build to fail that the 'ar' stage now. Since we don't
> need the PIE stuff and the non-PIE stuff, disable PIE for the boot loader.
> 
> Reviewed by:emaste
> Sponsored by:   Netflix
> 

Yes, it has.

Thanks a lot.

oh

-- 
O. Hartmann



Re: ar: warning: can't open file: ccopy.pieo: No such file or directory

2021-08-11 Thread Ed Maste
On Wed, 11 Aug 2021 at 05:41, FreeBSD User  wrote:
>
> Hallo,
>
> latest upgrade of CURRENT sources renders buildworld into failure, box is 
> running
> FreeBSD 14.0-CURRENT #1 main-n248614-67f508db84b: Wed Aug 11 07:29:11 CEST 
> 2021 amd64:

Assuming this was with BEARSSL enabled, it should be fixed with:

commit 879675e9a0d84880cad9834e2ef98e8724c5532c
Author: Warner Losh 
Date:   Wed Aug 11 10:59:28 2021 -0600

stand: Add MK_PIE=no to defs.mk

There's no need to build both pie and non-pie .o's for stand. There's
some other build thing with MK_BEAR_SSL=yes and/or MK_LOADER_VERIEXEC=yes
that causes the pie build to fail that the 'ar' stage now. Since we don't
need the PIE stuff and the non-PIE stuff, disable PIE for the boot loader.

Reviewed by:emaste
Sponsored by:   Netflix



ar: warning: can't open file: ccopy.pieo: No such file or directory

2021-08-11 Thread FreeBSD User
Hallo,

latest upgrade of CURRENT sources renders buildworld into failure, box is 
running 
FreeBSD 14.0-CURRENT #1 main-n248614-67f508db84b: Wed Aug 11 07:29:11 CEST 2021 
amd64:

[...]
===> sbin/dhclient (all)
--- all_subdir_stand ---
--- libsa32_pie.a ---
building pie sa32 library
ar -crsD libsa32_pie.a __main.pieo abort.pieo assert.pieo bcd.pieo 
environment.pieo
getopt.pieo gets.pieo globals.pieo hexdump.pieo pager.pieo panic.pieo 
printf.pieo strdup.pieo
strerror.pieo random.pieo sbrk.pieo tslog.pieo twiddle.pieo zalloc.pieo 
zalloc_malloc.pieo
strcasecmp.pieo ntoh.pieo bcmp.pieo bcopy.pieo bzero.pieo ffs.pieo fls.pieo 
memccpy.pieo
memchr.pieo memcmp.pieo memcpy.pieo memmove.pieo memset.pieo strcat.pieo 
strchr.pieo
strchrnul.pieo strcmp.pieo strcpy.pieo stpcpy.pieo stpncpy.pieo strcspn.pieo 
strlcat.pieo
strlcpy.pieo strlen.pieo strncat.pieo strncmp.pieo strncpy.pieo strnlen.pieo 
strpbrk.pieo
strrchr.pieo strsep.pieo strspn.pieo strstr.pieo strtok.pieo swab.pieo abs.pieo 
strtol.pieo
strtoll.pieo strtoul.pieo strtoull.pieo subr_boot.pieo clzsi2.pieo ctzsi2.pieo 
divmoddi4.pieo
divmodsi4.pieo divdi3.pieo divsi3.pieo moddi3.pieo modsi3.pieo udivmoddi4.pieo 
udivmodsi4.pieo
udivdi3.pieo udivsi3.pieo umoddi3.pieo umodsi3.pieo ashldi3.pieo ashrdi3.pieo 
lshrdi3.pieo
hypervisor.pieo uuid_create_nil.pieo uuid_equal.pieo uuid_from_string.pieo 
uuid_is_nil.pieo
uuid_to_string.pieo _setjmp.pieo bzlib.pieo crctable.pieo decompress.pieo 
huffman.pieo
randtable.pieo adler32.pieo crc32.pieo infback.pieo inffast.pieo inflate.pieo 
inftrees.pieo
zutil.pieo lz4.pieo closeall.pieo dev.pieo ioctl.pieo nullfs.pieo stat.pieo 
fstat.pieo
close.pieo lseek.pieo open.pieo read.pieo write.pieo readdir.pieo smbios.pieo 
arp.pieo
ether.pieo ip.pieo inet_ntoa.pieo in_cksum.pieo net.pieo udp.pieo netif.pieo 
rpc.pieo
bootp.pieo rarp.pieo bootparam.pieo ufs.pieo nfs.pieo cd9660.pieo tftp.pieo 
gzipfs.pieo
bzipfs.pieo dosfs.pieo ext2fs.pieo splitfs.pieo pkgfs.pieo time.pieo 
ffs_subr.pieo
ffs_tables.pieo explicit_bzero.pieo crc32_libkern.pieo pwgets.pieo sha256c.pieo 
sha512c.pieo
md5c.pieo rijndael-alg-fst.pieo rijndael-api-fst.pieo rijndael-api.pieo 
geliboot.pieo
geliboot_crypto.pieo gelidev.pieo geli_metadata.pieo g_eli_hmac.pieo 
g_eli_key.pieo
g_eli_key_cache.pieo pkcs5v2.pieo xform_aes_xts.pieo ccopy.pieo dec32be.pieo 
dec64be.pieo
enc32be.pieo enc64be.pieo pemdec.pieo ec_all_m31.pieo ec_c25519_m31.pieo 
ec_c25519_m62.pieo
ec_c25519_m64.pieo ec_default.pieo ec_p256_m31.pieo ec_p256_m62.pieo 
ec_p256_m64.pieo
ec_prime_i31.pieo ec_pubkey.pieo ec_secp256r1.pieo ec_secp384r1.pieo 
ec_secp521r1.pieo
ecdsa_atr.pieo ecdsa_default_vrfy_asn1.pieo ecdsa_i31_bits.pieo 
ecdsa_i31_vrfy_asn1.pieo
ecdsa_i31_vrfy_raw.pieo multihash.pieo sha1.pieo sha2big.pieo sha2small.pieo 
i31_add.pieo
i31_bitlen.pieo i31_decmod.pieo i31_decode.pieo i31_encode.pieo i31_fmont.pieo 
i31_iszero.pieo
i31_moddiv.pieo i31_modpow.pieo i31_modpow2.pieo i31_montmul.pieo 
i31_muladd.pieo
i31_ninv31.pieo i31_rshift.pieo i31_sub.pieo i31_tmont.pieo i32_div32.pieo 
i62_modpow2.pieo
rsa_default_pkcs1_vrfy.pieo rsa_i31_pkcs1_vrfy.pieo rsa_i31_pub.pieo 
rsa_i62_pkcs1_vrfy.pieo
rsa_i62_pub.pieo rsa_pkcs1_sig_unpad.pieo asn1enc.pieo x509_decoder.pieo 
x509_minimal.pieo
readfile.pieo brf.pieo vesigned.pieo vets.pieo xmem.pieo vector.pieo 
dearmor.pieo decode.pieo
opgp_key.pieo opgp_sig.pieo vectx.pieo veopen.pieo vepcr.pieo verify_file.pieo
efi_variables.pieo efi_init.pieo zfs.pieo nvlist.pieo skein.pieo 
skein_block.pieo list.pieo
zstd_shim.pieo zstd.pieo --- all_subdir_sbin --- --- all_subdir_sbin/dmesg --- 
===> sbin/dmesg
(all) --- all_subdir_stand --- ar: warning: can't open file: ccopy.pieo: No 
such file or
directory 1.72 real 3.57 user 1.07 sys


Kind regards

oh
-- 
O. Hartmann