From nobody Sat Nov 23 08:38:58 2024 X-Original-To: freebsd-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 4XwQP86fMYz5f9kV for ; Sat, 23 Nov 2024 08:39:08 +0000 (UTC) (envelope-from joneum@FreeBSD.org) Received: from mail.xn--zhlsdorff-q9a.eu (mail.xn--zhlsdorff-q9a.eu [IPv6:2a01:4f8:261:3bc6::151]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XwQP72nKQz4c60 for ; Sat, 23 Nov 2024 08:39:07 +0000 (UTC) (envelope-from joneum@FreeBSD.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=softfail (mx1.freebsd.org: 2a01:4f8:261:3bc6::151 is neither permitted nor denied by domain of joneum@FreeBSD.org) smtp.mailfrom=joneum@FreeBSD.org; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=freebsd.org (policy=none) Received: from [192.168.188.157] (p5b16a844.dip0.t-ipconnect.de [91.22.168.68]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) (Authenticated sender: jochen@toco-domains.de) by mail.xn--zhlsdorff-q9a.eu (Postfix) with ESMTPSA id BFF15AB233; Sat, 23 Nov 2024 08:38:58 +0000 (UTC) Message-ID: <85d32810-9063-4d76-9fed-a71a711ad657@FreeBSD.org> Date: Sat, 23 Nov 2024 09:38:58 +0100 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 Thunderbird Subject: Re: Not bootstrapping a cross-compiler Content-Language: de-DE To: Yuri Pankov , freebsd-current@freebsd.org References: <2f7400d8-c997-4784-937f-baed5d9e45b9@FreeBSD.org> From: Jochen Neumeister In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.10 X-Rspamd-Action: no action X-Spam-Status: No, score=-0.10 X-Rspamd-Server: mail.xn--zhlsdorff-q9a.eu X-Rspamd-Pre-Result: action=no action; module=multimap; Matched map: WHITELIST_SENDER_DOMAIN X-Spamd-Result: default: False [-2.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : No valid SPF, No valid DKIM,none]; XM_UA_NO_VERSION(0.01)[]; FREEFALL_USER(0.00)[joneum]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_DKIM_NA(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4XwQP72nKQz4c60 X-Spamd-Bar: -- Am 20.11.24 um 21:53 schrieb Yuri Pankov: > Jochen Neumeister wrote: >> Alloah ML, >> >> I have a problem here after I just wanted to update CURRENT: >> >> After a “git pull” in /usr/src I get this error at buildworld: >> >> >> make -j12 buildworld >> --- buildworld --- >> make[1]: "/usr/src/Makefile.inc1" line 362: SYSTEM_COMPILER: Determined >> that CC=cc matches the source tree.  Not bootstrapping a cross-compiler. >> make[1]: "/usr/src/Makefile.inc1" line 367: SYSTEM_LINKER: Determined >> that LD=ld matches the source tree.  Not bootstrapping a cross-linker. >> --- buildworld_prologue --- >> -------------------------------------------------------------- >>>>> World build started on Wed Nov 20 17:54:39 CET 2024 >> -------------------------------------------------------------- >> --- _cleanworldtmp --- >>>>> Deleting stale files in build tree... >>         0.13 real         0.22 user         0.11 sys >> *** [_cleanworldtmp] Error code 6 >> >> make[1]: stopped making "buildworld" in /usr/src >> make[1]: 1 error >> >> make[1]: stopped making "buildworld" in /usr/src >> >> make: stopped making "buildworld" in /usr/src >> >> >> Does anyone have any tips? I can't find anything on google. > > The subject is a bit misleading, there are other reports of buildworld > failing in the cleanworld step, e.g. > https://lists.freebsd.org/archives/freebsd-current/2024-October/006494.html > (with somewhat misleading subject as well). > > Did you do a `make delete-old-libs` recently? If yes, most likely some > of the bootstrapped binaries that buildworld tries to run were linked to > now removed libraries. Try specifying WITH_CLEAN=yes as WITHOUT_CLEAN is > a default now (or simply remove the relevant /usr/obj/ tree). > Hello Yuri, thanks for the link. if I do the whole thing without “-j 12”, it works, and I was able to update CURRENT without any further problems. But my next problem is now when I want to update a CURRENT jail with poudriere. Here I have also removed “-j 12”: # poudriere jails -u -j 15i386 [00:00:00] Upgrading using git+https [00:00:00] Updating the sources with git+https... done [00:00:11] Starting make buildworld with 12 jobs --- buildworld --- make[1]: "/usr/local/poudriere/jails/15i386/usr/src/Makefile.inc1" line 362: SYSTEM_COMPILER: Determined that CC=cc matches the source tree. Not bootstrapping a cross-compiler. make[1]: "/usr/local/poudriere/jails/15i386/usr/src/Makefile.inc1" line 367: SYSTEM_LINKER: Determined that LD=ld matches the source tree. Not bootstrapping a cross-linker. --- buildworld_prologue --- -------------------------------------------------------------- >>> World build started on Sat Nov 23 09:31:52 CET 2024 -------------------------------------------------------------- --- _cleanworldtmp --- >>> Deleting stale files in build tree... 0.21 real 0.21 user 0.15 sys *** [_cleanworldtmp] Error code 6 make[1]: stopped making "buildworld" in /usr/local/poudriere/jails/15i386/usr/src make[1]: 1 error make[1]: stopped making "buildworld" in /usr/local/poudriere/jails/15i386/usr/src make: stopped making "buildworld" in /usr/local/poudriere/jails/15i386/usr/src Is this a special problem for poudriere? Cheers Jochen