Bug 224 - make -j fails
make -j fails
Status: RESOLVED FIXED
Product: unbound
Classification: Unclassified
Component: server
1.1.1
i386 Linux
: P2 normal
Assigned To: unbound team
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-01-07 14:24 CET by Mark Zealey
Modified: 2009-01-08 10:34 CET (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Zealey 2009-01-07 14:24:33 CET
I think you've got a missing dependancy somewhere (ldns?). First make -j fails, the second time it compiles correctly.

./configure --with-libevent=/usr/local/src/libevent-1.4.8-stable --with-pthreads
...
# make -j 8
make[1]: Entering directory `/usr/local/src/unbound-1.1.1/ldns-src'
make[1]: Entering directory `/usr/local/src/unbound-1.1.1/ldns-src'
make[1]: Entering directory `/usr/local/src/unbound-1.1.1/ldns-src'
make[1]: Entering directory `/usr/local/src/unbound-1.1.1/ldns-src'
make[1]: Entering directory `/usr/local/src/unbound-1.1.1/ldns-src'
make[1]: Entering directory `/usr/local/src/unbound-1.1.1/ldns-src'
make[1]: Entering directory `/usr/local/src/unbound-1.1.1/ldns-src'
make[1]: Entering directory `/usr/local/src/unbound-1.1.1/ldns-src'
mkdir: cannot create directory `include': File exists
include exists
mkdir: cannot create directory `include': File exists
mkdir: cannot create directory `include': File exists
include exists
mkdir: cannot create directory `include': File exists
MVPROG=/bin/cp ./install-sh  -m 644 ldns/error.h ./include/ldns/
include exists
MVPROG=/bin/cp ./install-sh  -m 644 ldns/error.h ./include/ldns/
MVPROG=/bin/cp ./install-sh  -m 644 ldns/error.h ./include/ldns/
ln: creating symbolic link `./ldns/ldns' to `../ldns'include exists
: File exists
MVPROG=/bin/cp ./install-sh  -m 644 ldns/error.h ./include/ldns/
include/ldns exists
MVPROG=/bin/cp ./install-sh  -m 644 ldns/error.h ./include/ldns/
MVPROG=/bin/cp ./install-sh  -m 644 ldns/error.h ./include/ldns/
MVPROG=/bin/cp ./install-sh  -m 644 ldns/error.h ./include/ldns/
/bin/cp: cannot stat `ldns/error.h': No such file or directoryMVPROG=/bin/cp ./install-sh  -m 644 ldns/error.h ./include/ldns/

make[1]: *** [include/ldns/error.h] Error 1
make[1]: Leaving directory `/usr/local/src/unbound-1.1.1/ldns-src'
make: *** [build/services/outside_network.lo] Error 2
make: *** Waiting for unfinished jobs....
MVPROG=/bin/cp ./install-sh  -m 644 ldns/packet.h ./include/ldns/
MVPROG=/bin/cp ./install-sh  -m 644 ldns/packet.h ./include/ldns/
MVPROG=/bin/cp ./install-sh  -m 644 ldns/packet.h ./include/ldns/
MVPROG=/bin/cp ./install-sh  -m 644 ldns/packet.h ./include/ldns/
MVPROG=/bin/cp ./install-sh  -m 644 ldns/packet.h ./include/ldns/
MVPROG=/bin/cp ./install-sh  -m 644 ldns/packet.h ./include/ldns/
/bin/cp: cannot stat `ldns/packet.h': No such file or directory
MVPROG=/bin/cp ./install-sh  -m 644 ldns/packet.h ./include/ldns/
make[1]: Leaving directory `/usr/local/src/unbound-1.1.1/ldns-src'
make[1]: Leaving directory `/usr/local/src/unbound-1.1.1/ldns-src'
make[1]: *** [include/ldns/packet.h] Error 1
make[1]: Leaving directory `/usr/local/src/unbound-1.1.1/ldns-src'
make: *** [build/services/mesh.lo] Error 2
/bin/cp: cannot stat `ldns/packet.h': No such file or directory
make[1]: *** [include/ldns/packet.h] Error 1
make[1]: Leaving directory `/usr/local/src/unbound-1.1.1/ldns-src'
make[1]: Leaving directory `/usr/local/src/unbound-1.1.1/ldns-src'
make: *** [build/services/cache/infra.lo] Error 2
/bin/cp: cannot stat `ldns/packet.h': No such file or directory
make[1]: *** [include/ldns/packet.h] Error 1
make[1]: Leaving directory `/usr/local/src/unbound-1.1.1/ldns-src'
make: *** [build/services/modstack.lo] Error 2
make[1]: Leaving directory `/usr/local/src/unbound-1.1.1/ldns-src'
mkdir: cannot create directory `build/services': File exists
make: [build/services/listen_dnsport.lo] Error 1 (ignored)
./libtool --tag=CC --mode=compile gcc -I. -I. -Ildns-src/include  -I/usr/include -I/usr/local/src/libevent-1.4.8-stable -I/usr/local/src/libevent-1.4.8-stable/include -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -pthread -c services/listen_dnsport.c -o build/services/listen_dnsport.lo
./libtool --tag=CC --mode=compile gcc -I. -I. -Ildns-src/include  -I/usr/include -I/usr/local/src/libevent-1.4.8-stable -I/usr/local/src/libevent-1.4.8-stable/include -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -pthread -c services/localzone.c -o build/services/localzone.lo
mkdir: cannot create directory `build/services': File exists
make: [build/services/outbound_list.lo] Error 1 (ignored)
./libtool --tag=CC --mode=compile gcc -I. -I. -Ildns-src/include  -I/usr/include -I/usr/local/src/libevent-1.4.8-stable -I/usr/local/src/libevent-1.4.8-stable/include -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -pthread -c services/outbound_list.c -o build/services/outbound_list.lo
./libtool --tag=CC --mode=compile gcc -I. -I. -Ildns-src/include  -I/usr/include -I/usr/local/src/libevent-1.4.8-stable -I/usr/local/src/libevent-1.4.8-stable/include -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -pthread -c services/cache/dns.c -o build/services/cache/dns.lo
mkdir build/services/.libs
 gcc -I. -I. -Ildns-src/include -I/usr/include -I/usr/local/src/libevent-1.4.8-stable -I/usr/local/src/libevent-1.4.8-stable/include -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -pthread -c services/listen_dnsport.c  -fPIC -DPIC -o build/services/.libs/listen_dnsport.o
 gcc -I. -I. -Ildns-src/include -I/usr/include -I/usr/local/src/libevent-1.4.8-stable -I/usr/local/src/libevent-1.4.8-stable/include -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -pthread -c services/localzone.c  -fPIC -DPIC -o build/services/.libs/localzone.o
 gcc -I. -I. -Ildns-src/include -I/usr/include -I/usr/local/src/libevent-1.4.8-stable -I/usr/local/src/libevent-1.4.8-stable/include -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -pthread -c services/outbound_list.c  -fPIC -DPIC -o build/services/.libs/outbound_list.o
mkdir build/services/cache/.libs
 gcc -I. -I. -Ildns-src/include -I/usr/include -I/usr/local/src/libevent-1.4.8-stable -I/usr/local/src/libevent-1.4.8-stable/include -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -pthread -c services/cache/dns.c  -fPIC -DPIC -o build/services/cache/.libs/dns.o
 gcc -I. -I. -Ildns-src/include -I/usr/include -I/usr/local/src/libevent-1.4.8-stable -I/usr/local/src/libevent-1.4.8-stable/include -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -pthread -c services/outbound_list.c -o build/services/outbound_list.o >/dev/null 2>&1
 gcc -I. -I. -Ildns-src/include -I/usr/include -I/usr/local/src/libevent-1.4.8-stable -I/usr/local/src/libevent-1.4.8-stable/include -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -pthread -c services/listen_dnsport.c -o build/services/listen_dnsport.o >/dev/null 2>&1
 gcc -I. -I. -Ildns-src/include -I/usr/include -I/usr/local/src/libevent-1.4.8-stable -I/usr/local/src/libevent-1.4.8-stable/include -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -pthread -c services/cache/dns.c -o build/services/cache/dns.o >/dev/null 2>&1
 gcc -I. -I. -Ildns-src/include -I/usr/include -I/usr/local/src/libevent-1.4.8-stable -I/usr/local/src/libevent-1.4.8-stable/include -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -pthread -c services/localzone.c -o build/services/localzone.o >/dev/null 2>&1
Comment 1 Mark Zealey 2009-01-07 15:31:07 CET
This appears to have been fixed in the 1.1.2 pre-release code that you sent in ticket 225
Comment 2 Wouter Wijngaards 2009-01-08 10:34:20 CET
The included ldns tarball is updated with a version where this bug is fixed.
Thank you for the report, Wouter.