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

Reply via email to