make -j broken on Releng_7

[LoN]Kamikaze LoN_Kamikaze at gmx.de
Fri Oct 12 11:50:01 PDT 2007


Aryeh M. Friedman wrote:
> [LoN]Kamikaze wrote:
>> I just upgraded a couple of systems to Releng_7 and everything works just
>> fine, except for make -j. With the -j parameter every file is simply deemed
>> "up to date" and nothing at all gets built.
>>
>> Does anyone else experience this? Would it help to rebuild world? After all
>> the first time it has been build using gcc3.4 from Releng_6.
>>   
> 
> Yes or install 4.X from ports

I just rebuilt make with gcc4 (from base) and it still doesn't work with make -j.


A little example, this is as it should be:

# cd /usr/ports/x11/printproto/
# make
===>  Extracting for printproto-1.0.3
=> MD5 Checksum OK for xorg/proto/printproto-1.0.3.tar.bz2.
=> SHA256 Checksum OK for xorg/proto/printproto-1.0.3.tar.bz2.
===>  Patching for printproto-1.0.3
===>  Configuring for printproto-1.0.3
configure: WARNING: you should use --build, --host, --target
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating printproto.pc
===>  Building for printproto-1.0.3
root at homeKamikaze# make deinstall reinstall
===>  Deinstalling for x11/printproto
===>   Deinstalling printproto-1.0.3
pkg_delete: package 'printproto-1.0.3' is required by these other packages
and may not be deinstalled (but I'll delete it anyway):
...
===>  Installing for printproto-1.0.3
===>   Generating temporary packing list
===>  Checking if x11/printproto already installed
/bin/sh ./mkinstalldirs /usr/local/libdata/pkgconfig
 install  -o root -g wheel -m 444 printproto.pc
/usr/local/libdata/pkgconfig/printproto.pc
/bin/sh ./mkinstalldirs /usr/local/include/X11/extensions
 install  -o root -g wheel -m 444 Print.h
/usr/local/include/X11/extensions/Print.h
 install  -o root -g wheel -m 444 Printstr.h
/usr/local/include/X11/extensions/Printstr.h
===>   Registering installation for printproto-1.0.3
# pkg_info -g printproto-1.0.3
Information for printproto-1.0.3:

Mismatched Checksums:


This is with make -j:

# cd /usr/ports/x11/printproto/
# make -j2
find:
/usr/obj/homeKamikaze.norad/usr/ports/x11/printproto/work/printproto-1.0.3: No
such file or directory
find:
/usr/obj/homeKamikaze.norad/usr/ports/x11/printproto/work/printproto-1.0.3: No
such file or directory
===>  Extracting for printproto-1.0.3
=> MD5 Checksum OK for xorg/proto/printproto-1.0.3.tar.bz2.
=> SHA256 Checksum OK for xorg/proto/printproto-1.0.3.tar.bz2.
===>  Patching for printproto-1.0.3
===>  Configuring for printproto-1.0.3
configure: WARNING: you should use --build, --host, --target
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating printproto.pc
===>  Building for printproto-1.0.3
`Makefile' is up to date.
`./config.status' is up to date.
`printproto.pc.in' is up to date.
`Print.h' is up to date.
`Printstr.h' is up to date.
# make deinstall reinstall
===>  Deinstalling for x11/printproto
===>   Deinstalling printproto-1.0.3
===>  Installing for printproto-1.0.3
===>   Generating temporary packing list
===>  Checking if x11/printproto already installed
/bin/sh ./mkinstalldirs /usr/local/lib/pkgconfig
mkdir -p -- /usr/local/lib/pkgconfig
 install  -o root -g wheel -m 444 printproto.pc
/usr/local/lib/pkgconfig/printproto.pc
/bin/sh ./mkinstalldirs /usr/local/include/X11/extensions
 install  -o root -g wheel -m 444 Print.h
/usr/local/include/X11/extensions/Print.h
 install  -o root -g wheel -m 444 Printstr.h
/usr/local/include/X11/extensions/Printstr.h
===>   Registering installation for printproto-1.0.3
# pkg_info -g printproto-1.0.3
Information for printproto-1.0.3:

Mismatched Checksums:
pkg_info: /usr/local/libdata/pkgconfig/printproto.pc doesn't exist


On Releng_6 building this port with make -j2 worked just fine.


More information about the freebsd-stable mailing list