Re: Build failure: main-n259988-48dc9150ac36 -> main-n260011-40bb52c89b87

From: Warner Losh <imp_at_bsdimp.com>
Date: Wed, 11 Jan 2023 14:12:46 UTC
looks like we may need another 'unclean' workaround for this?

Warner

On Wed, Jan 11, 2023 at 6:32 AM Gary Jennejohn <garyj@gmx.de> wrote:

> On Wed, 11 Jan 2023 04:05:43 -0800
> David Wolfskill <david@catwhisker.org> wrote:
>
> > Running:
> > FreeBSD freebeast.catwhisker.org 14.0-CURRENT FreeBSD 14.0-CURRENT #275
> main-n259988-48dc9150ac36: Tue Jan 10 12:20:47 UTC 2023
> root@freebeast.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/GENERIC
> amd64
> >
> > and performing an in-place source update to main-n260011-40bb52c89b87
> > using META mode, I encountered:
> >
> > Building
> /common/S4/obj/usr/src/amd64.amd64/usr.bin/tar/tests/test_option_k.o
> > Building
> /common/S4/obj/usr/src/amd64.amd64/usr.bin/calendar/tests/legacy_test
> > Building /common/S4/obj/usr/src/amd64.amd64/usr.sbin/zic/zic
> > objcopy: open zic failed: Is a directory
> > *** [zic] Error code 1
> >
> > make[4]: stopped in /usr/src/usr.sbin/zic
> > .ERROR_TARGET='zic'
> >
> .ERROR_META_FILE='/common/S4/obj/usr/src/amd64.amd64/usr.sbin/zic/zic.meta'
> > .MAKE.LEVEL='4'
> > MAKEFILE=''
> > .MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose'
> > _ERROR_CMD='objcopy --strip-debug --add-gnu-debuglink=zic.debug
> zic.full zic;'
> > .CURDIR='/usr/src/usr.sbin/zic'
> > .MAKE='make'
> > .OBJDIR='/common/S4/obj/usr/src/amd64.amd64/usr.sbin/zic'
> > .TARGETS='all'
> > DESTDIR='/common/S4/obj/usr/src/amd64.amd64/tmp'
> > LD_LIBRARY_PATH=''
> > MACHINE='amd64'
> > MACHINE_ARCH='amd64'
> > MAKEOBJDIRPREFIX=''
> > MAKESYSPATH='/usr/src/share/mk'
> > MAKE_VERSION='20220726'
> >
>
> I had this problem also.  After deleting obj/usr the buildworld succeeded.
>
> > Contents of the META_FILE:
> > # Meta data file /common/S4/obj/usr/src/amd64.amd64/usr.sbin/zic/zic.meta
> > CMD objcopy --strip-debug --add-gnu-debuglink=zic.debug  zic.full zic
> > CWD /common/S4/obj/usr/src/amd64.amd64/usr.sbin/zic
> > TARGET zic
> > OODATE zic.full zic.debug
> > -- command output --
> > objcopy: open zic failed: Is a directory
> >
> > *** Error code 1
> >
> > -- filemon acquired metadata --
> > # filemon version 5
> > # Target pid 76995
> > # Start 1673437990.835926
> > V 5
> > E 84537 /bin/sh
> > R 84537 /etc/libmap.conf
> > R 84537 /var/run/ld-elf.so.hints
> > R 84537 /lib/libedit.so.8
> > R 84537 /lib/libc.so.7
> > R 84537 /lib/libtinfow.so.9
> > R 84537 /usr/share/locale/en_US.UTF-8/LC_COLLATE
> > R 84537 /usr/share/locale/en_US.UTF-8/LC_CTYPE
> > R 84537 /usr/share/locale/en_US.UTF-8/LC_MONETARY
> > R 84537 /usr/share/locale/en_US.UTF-8/LC_NUMERIC
> > R 84537 /usr/share/locale/en_US.UTF-8/LC_TIME
> > R 84537 /usr/share/locale/en_US.UTF-8/LC_MESSAGES
> > F 84537 84538
> > E 84538 /common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin/objcopy
> > R 84538 zic.full
> > X 84538 1 0
> > X 84537 1 0
> > # Stop 1673437990.838926
> > # Bye bye
> >
> > This is on a 32-core amd64 machine with 256GiB RAM (in case that's
> > relevant).
> >
> > Peace,
> > david
> > --
> > David H. Wolfskill                              david@catwhisker.org
> > Putin seems to use the word "peace" in the way that Neville Chamberlain
> did.
> >
> > See https://www.catwhisker.org/~david/publickey.gpg for my public key.
>
>
> --
> Gary Jennejohn
>
>