From nobody Sat Sep 09 18:52:04 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RjhtG3xJKz4sVVc for ; Sat, 9 Sep 2023 18:52:22 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from xmailer.gwdg.de (xmailer.gwdg.de [134.76.10.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RjhtG3X7Nz4WB1; Sat, 9 Sep 2023 18:52:22 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Authentication-Results: mx1.freebsd.org; none Received: from excmbx-01.um.gwdg.de ([134.76.9.216] helo=email.gwdg.de) by mailer.gwdg.de with esmtp (GWDG Mailer) (envelope-from ) id 1qf348-0007CG-4n; Sat, 09 Sep 2023 20:52:20 +0200 Received: from MBX19-GWD-03.um.gwdg.de (10.108.142.56) by excmbx-01.um.gwdg.de (134.76.9.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.32; Sat, 9 Sep 2023 20:52:19 +0200 Received: from [192.168.178.23] (10.250.9.199) by MBX19-GWD-03.um.gwdg.de (10.108.142.56) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.1258.25; Sat, 9 Sep 2023 20:52:19 +0200 Message-ID: <09885472-d22e-4c1e-b71e-ad0bc24ff6fa@gwdg.de> Date: Sat, 9 Sep 2023 20:52:04 +0200 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: 15.0-CURRENT build broken in lib/libmagic To: =?UTF-8?Q?Dag-Erling_Sm=c3=b8rgrav?= CC: current References: <9183fcf6-2987-c06c-dbda-49a791e1c004@gwdg.de> <86il8jqnvr.fsf@ltc.des.no> <607c793f-96bf-5244-5e72-574f690b04b4@gwdg.de> <86a5tvqjza.fsf@ltc.des.no> Content-Language: en-US Reply-To: Rainer Hurling From: Rainer Hurling In-Reply-To: <86a5tvqjza.fsf@ltc.des.no> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.250.9.199] X-ClientProxiedBy: excmbx-25.um.gwdg.de (134.76.9.235) To MBX19-GWD-03.um.gwdg.de (10.108.142.56) X-Virus-Scanned: (clean) by clamav X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:207592, ipnet:134.76.0.0/16, country:DE] X-Rspamd-Queue-Id: 4RjhtG3X7Nz4WB1 Am 09.09.23 um 20:28 schrieb Dag-Erling Smørgrav: > Rainer Hurling writes: >> After removing /usr/obj and 'make cleanworld', > > That was unnecessary. > >> I tried to build libc like the following, but it fails: >> [...] > > $ cd /usr/src > $ make buildenv done > inside the buildenv, run: > > $ make -C lib/libc -j$(nproc) Unfortunately, here it breaks with: make -C lib/libc cc -target x86_64-unknown-freebsd15.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe -fno-common -DNO__SCCSID -DNO__RCSID -I/usr/src/lib/libc/include -I/usr/src/include -I/usr/src/lib/libc/amd64 -DNLS -ftls-model=initial-exec -DCRT_IRELOC_RELA -DINIT_IRELOCS="init_cpu_features()" -I/usr/src/lib/libc/csu/amd64 -D__DBINTERFACE_PRIVATE -I/usr/src/contrib/gdtoa -I/usr/src/contrib/libc-vis -DINET6 -I/usr/obj/usr/src/amd64.amd64/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libmd -I/usr/src/contrib/jemalloc/include -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DWANT_HYPERV -DYP -DNS_CACHING -DSYMBOL_VERSIONING -g -gz=zlib -MD -MF.depend.machdep_ldisx.o -MTmachdep_ldisx.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wdate-time -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-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 -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -I/usr/src/lib/libutil -I/usr/src/lib/msun/amd64 -I/usr/src/lib/msun/x86 -I/usr/src/lib/msun/src -c /usr/src/lib/libc/gdtoa/machdep_ldisx.c -o machdep_ldisx.o /usr/src/lib/libc/gdtoa/machdep_ldisx.c:40:10: fatal error: 'sys/cdefs.h' file not found #include ^~~~~~~~~~~~~ 1 error generated. *** Error code 1 Stop. make[2]: stopped in /usr/src/lib/libc > > then exit the buildenv and run > > $ sudo make -C lib/libc install > > then buildworld as usual. > > DES Thanks for this description. Seems, that something more is odd here?