Re: Build failure for radlib.o during main-n263767-764464af4968 -> main-n263782-59833b089e78 src update

2023-06-24 Thread Ed Maste
> > > This could be a dependency issue; would you check if removing the
> > > following $OBJTOP subdirs addresses the issue:
> > >
> > > secure/lib/libcrypto
> > > secure/lib/libssl
> > > obj-lib32/secure/lib/libcrypto
> > > obj-lib32/secure/lib/libssl
> > >
> The build was successful; after the reboot, we see:
>
> g1-48(14.0-C)[1] uname -aUK
> FreeBSD g1-48.catwhisker.org 14.0-CURRENT FreeBSD 14.0-CURRENT #469 
> main-n263782-59833b089e78: Sat Jun 24 16:28:56 UTC 2023 
> r...@g1-48.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY amd64 
> 1400092 1400092
>
>
> So: I believe we have a winner! :-)

Excellent, thanks for checking. I've opened review D40750[1] to have
this cleanup happen automatically.

[1] https://reviews.freebsd.org/D40750



Re: Build failure for radlib.o during main-n263767-764464af4968 -> main-n263782-59833b089e78 src update

2023-06-24 Thread David Wolfskill
On Sat, Jun 24, 2023 at 09:09:00AM -0700, David Wolfskill wrote:
> On Sat, Jun 24, 2023 at 10:39:57AM -0400, Ed Maste wrote:
> > ...
> > > : "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
> > > #  error "OPENSSL_API_COMPAT expresses an impossible API compatibility 
> > > level"
> > >^
> > 
> > This could be a dependency issue; would you check if removing the
> > following $OBJTOP subdirs addresses the issue:
> > 
> > secure/lib/libcrypto
> > secure/lib/libssl
> > obj-lib32/secure/lib/libcrypto
> > obj-lib32/secure/lib/libssl
> > 
> > If so I'll see if we can add a rule to tools/build/depend-cleanup.sh
> 
> After:
> ... 
> rm -fr /usr/obj/usr/src/amd64.amd64/{,obj-lib32/}secure/lib/lib{crypto,ssl}
> 
> then re-starting the "make buildworld", that process has completed the
> 
> >>> stage 4.2: building libraries
> 
> phase (and is now "building lib32 shim libraries").
> 

The build was successful; after the reboot, we see:

g1-48(14.0-C)[1] uname -aUK
FreeBSD g1-48.catwhisker.org 14.0-CURRENT FreeBSD 14.0-CURRENT #469 
main-n263782-59833b089e78: Sat Jun 24 16:28:56 UTC 2023 
r...@g1-48.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY amd64 
1400092 1400092


So: I believe we have a winner! :-)

Peace,
david
-- 
David H. Wolfskill  da...@catwhisker.org
"Putin supports any set of ideas to end the conflict,” -- Dmitry Peskov
Putin is the source of the conflict.  Remove the source; end of conflict.

See https://www.catwhisker.org/~david/publickey.gpg for my public key.


signature.asc
Description: PGP signature


Re: Build failure for radlib.o during main-n263767-764464af4968 -> main-n263782-59833b089e78 src update

2023-06-24 Thread David Wolfskill
On Sat, Jun 24, 2023 at 10:39:57AM -0400, Ed Maste wrote:
> ...
> > : "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
> > #  error "OPENSSL_API_COMPAT expresses an impossible API compatibility 
> > level"
> >^
> 
> This could be a dependency issue; would you check if removing the
> following $OBJTOP subdirs addresses the issue:
> 
> secure/lib/libcrypto
> secure/lib/libssl
> obj-lib32/secure/lib/libcrypto
> obj-lib32/secure/lib/libssl
> 
> If so I'll see if we can add a rule to tools/build/depend-cleanup.sh

After:

g1-48(14.0-C)[1] ls -lTd 
/usr/obj/usr/src/amd64.amd64/^G{,obj-lib32/}secure/lib/lib{crypto,ssl}
drwxrwxr-x  4 root  wheel   62464 Jun 23 06:08:19 2023 
/usr/obj/usr/src/amd64.amd64/obj-lib32/secure/lib/libcrypto
drwxrwxr-x  2 root  wheel5120 Jun 23 06:08:38 2023 
/usr/obj/usr/src/amd64.amd64/obj-lib32/secure/lib/libssl
drwxrwxr-x  5 root  wheel  132608 Jun 24 04:11:55 2023 
/usr/obj/usr/src/amd64.amd64/secure/lib/libcrypto
drwxrwxr-x  2 root  wheel5632 Jun 24 04:11:56 2023 
/usr/obj/usr/src/amd64.amd64/secure/lib/libssl
g1-48(14.0-C)[2] rm -fr !$
rm -fr /usr/obj/usr/src/amd64.amd64/{,obj-lib32/}secure/lib/lib{crypto,ssl}

then re-starting the "make buildworld", that process has completed the

>>> stage 4.2: building libraries

phase (and is now "building lib32 shim libraries").

So: definite progress.  (Build machine is busy with other stuff, so the
above was on a laptop; it will be a bit slow).

Peace,
david
-- 
David H. Wolfskill  da...@catwhisker.org
"Putin supports any set of ideas to end the conflict,” -- Dmitry Peskov
Putin is the source of the conflict.  Remove the source; end of conflict.

See https://www.catwhisker.org/~david/publickey.gpg for my public key.


signature.asc
Description: PGP signature


Re: Build failure for radlib.o during main-n263767-764464af4968 -> main-n263782-59833b089e78 src update

2023-06-24 Thread Ed Maste
On Sat, 24 Jun 2023 at 07:11, David Wolfskill  wrote:
>
> Running:
> FreeBSD freebeast.catwhisker.org 14.0-CURRENT FreeBSD 14.0-CURRENT #405 
> main-n263767-764464af4968: Fri Jun 23 11:42:14 UTC 2023 
> r...@freebeast.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/GENERIC 
> amd64 1400091 1400091
>
> after updating sources to main-n263782-59833b089e78, then starting
> make -j 64 buildworld (in META mode)
>
> ...
> >>> stage 4.2: building libraries
> ...
> Building /common/S4/obj/usr/src/amd64.amd64/cddl/lib/libzfs/os/freebsd/nfs.o
> In file included from 
> /usr/src/sys/contrib/openzfs/lib/libzfs/libzfs_crypto.c:28
> :
> In file included from 
> /common/S4/obj/usr/src/amd64.amd64/tmp/usr/include/openssl
> /evp.h:14:
> /common/S4/obj/usr/src/amd64.amd64/tmp/usr/include/openssl/macros.h:155:4: 
> error
> : "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
> #  error "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
>^

This could be a dependency issue; would you check if removing the
following $OBJTOP subdirs addresses the issue:

secure/lib/libcrypto
secure/lib/libssl
obj-lib32/secure/lib/libcrypto
obj-lib32/secure/lib/libssl

If so I'll see if we can add a rule to tools/build/depend-cleanup.sh



Build failure for radlib.o during main-n263767-764464af4968 -> main-n263782-59833b089e78 src update

2023-06-24 Thread David Wolfskill
Running:
FreeBSD freebeast.catwhisker.org 14.0-CURRENT FreeBSD 14.0-CURRENT #405 
main-n263767-764464af4968: Fri Jun 23 11:42:14 UTC 2023 
r...@freebeast.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/GENERIC 
amd64 1400091 1400091

after updating sources to main-n263782-59833b089e78, then starting
make -j 64 buildworld (in META mode)

...
>>> stage 4.2: building libraries
...
Building /common/S4/obj/usr/src/amd64.amd64/cddl/lib/libzfs/os/freebsd/nfs.o
In file included from /usr/src/sys/contrib/openzfs/lib/libzfs/libzfs_crypto.c:28
:
In file included from /common/S4/obj/usr/src/amd64.amd64/tmp/usr/include/openssl
/evp.h:14:
/common/S4/obj/usr/src/amd64.amd64/tmp/usr/include/openssl/macros.h:155:4: error
: "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
#  error "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
   ^
*** [radlib.o] Error code 1

make[4]: stopped in /usr/src/lib/libradius
.ERROR_TARGET='radlib.o'
.ERROR_META_FILE='/common/S4/obj/usr/src/amd64.amd64/lib/libradius/radlib.o.meta'
.MAKE.LEVEL='4'


The cited meta file pretty much re-states the above, but I have
attached a copy anyway.

Subsequently, one of my laptops has reproduced the failure (though with
only -j 16).

As of this writing, I see no more rec ent commits to head.

Peace,
david
-- 
David H. Wolfskill  da...@catwhisker.org
"Putin supports any set of ideas to end the conflict,” -- Dmitry Peskov
Putin is the source of the conflict.  Remove the source; end of conflict.

See https://www.catwhisker.org/~david/publickey.gpg for my public key.
# Meta data file /common/S4/obj/usr/src/amd64.amd64/lib/libradius/radlib.o.meta
CMD cc -target x86_64-unknown-freebsd14.0 
--sysroot=/common/S4/obj/usr/src/amd64.amd64/tmp 
-B/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin  -O2 -pipe -fno-common   -Wall 
-DOPENSSL_API_COMPAT=0x1010L -DWITH_SSL -g -gz=zlib -std=gnu99 
-Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall 
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign 
-Wdate-time -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable 
-Wno-error=unused-but-set-variable -Wno-error=unused-but-set-parameter 
-Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality 
-Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef 
-Wno-address-of-packed-member  -Qunused-arguments-c 
/usr/src/lib/libradius/radlib.c -o radlib.o
CMD 
CWD /common/S4/obj/usr/src/amd64.amd64/lib/libradius
TARGET radlib.o
-- command output --
In file included from /usr/src/lib/libradius/radlib.c:38:
In file included from 
/common/S4/obj/usr/src/amd64.amd64/tmp/usr/include/openssl/hmac.h:14:
/common/S4/obj/usr/src/amd64.amd64/tmp/usr/include/openssl/macros.h:139:4: 
error: "The requested API level higher than the configured API compatibility 
level"
#  error "The requested API level higher than the configured API compatibility 
level"
   ^
1 error generated.

*** Error code 1

-- filemon acquired metadata --
# filemon version 5
# Target pid 20051
# Start 1687604049.922333
V 5
E 20054 /bin/sh
R 20054 /etc/libmap.conf
R 20054 /var/run/ld-elf.so.hints
R 20054 /lib/libedit.so.8
R 20054 /lib/libc.so.7
R 20054 /lib/libtinfow.so.9
R 20054 /usr/share/locale/en_US.UTF-8/LC_COLLATE
R 20054 /usr/share/locale/en_US.UTF-8/LC_CTYPE
R 20054 /usr/share/locale/en_US.UTF-8/LC_MONETARY
R 20054 /usr/share/locale/en_US.UTF-8/LC_NUMERIC
R 20054 /usr/share/locale/en_US.UTF-8/LC_TIME
R 20054 /usr/share/locale/en_US.UTF-8/LC_MESSAGES
F 20054 20056
E 20056 /usr/bin/cc
R 20056 /etc/libmap.conf
R 20056 /var/run/ld-elf.so.hints
R 20056 /lib/libz.so.6
R 20056 /usr/lib/libprivatezstd.so.5
R 20056 /usr/lib/libexecinfo.so.1
R 20056 /lib/libncursesw.so.9
R 20056 /lib/libtinfow.so.9
R 20056 /lib/libthr.so.3
R 20056 /lib/libc++.so.1
R 20056 /lib/libcxxrt.so.1
R 20056 /lib/libm.so.5
R 20056 /lib/libc.so.7
R 20056 /lib/libelf.so.2
R 20056 /lib/libgcc_s.so.1
R 20056 /usr/src/lib/libradius/radlib.c
R 20056 radlib-51f1ada4.o.tmp
W 20056 radlib-51f1ada4.o.tmp
R 20056 /common/S4/obj/usr/src/amd64.amd64/tmp/usr/include/sys/cdefs.h
R 20056 /common/S4/obj/usr/src/amd64.amd64/tmp/usr/include/sys/types.h
R 20056 /common/S4/obj/usr/src/amd64.amd64/tmp/usr/include/machine/endian.h
R 20056 /common/S4/obj/usr/src/amd64.amd64/tmp/usr/include/x86/endian.h
R 20056 /common/S4/obj/usr/src/amd64.amd64/tmp/usr/include/sys/_types.h
R 20056 /common/S4/obj/usr/src/amd64.amd64/tmp/usr/include/machine/_types.h
R 20056 /common/S4/obj/usr/src/amd64.amd64/tmp/usr/include/x86/_types.h
R 20056 /common/S4/obj/usr/src/amd64.amd64/tmp/usr/include/machine/_limits.h
R 20056 /common/S4/obj/usr/src/amd64.amd64/tmp/usr/include/x86/_limits.h
R 20056 /common/S4/obj/usr/src/amd64.amd64/tmp/usr/include/sys/_endian.h
R 20056 /common/S4/obj/usr/src/amd64.amd64/tmp/usr/include/sys/_pthreadtypes.h
R 20056