RPM Community Forums

Mailing List Message of <rpm-devel>

rpmdigest fails to build with -j2

From: Jeff Johnson <n3npq@mac.com>
Date: Sun 13 Apr 2008 - 19:00:50 CEST
Message-Id: <75C5B14E-E7BF-48F1-8092-C69E1A6DD694@mac.com>
Dunno what the right fix is here.

The symptom is seen with make -j2 in rpmio:

gcc -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../build -I../lib -I../rpmdb  
-I../rpmio -I../misc -I../db3 -I../db3 -I../zlib -I../zlib -I../lua/ 
local -I../lua/local -I../lua -I../lua -I../file/src -I../file/src - 
I../file -I../file -I../xar/include -I../xar/include -I../xar -I../ 
xar -DRPM_OS_LINUX=020623 -I/usr/include/nss3 -I/usr/include/nspr4   - 
I/usr/include/neon      -g -O2 -fPIC -DPIC -fpie -Wall -W -Wpointer- 
arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts - 
Wno-missing-field-initializers -Wno-unused-parameter -O0 -g3 - 
D_GNU_SOURCE -D_REENTRANT   -D_LARGEFILE64_SOURCE -DNE_LFS     -MT  
rpmdigest.o -MD -MP -MF .deps/rpmdigest.Tpo -c -o rpmdigest.o  
rpmdigest.c
make[1]: *** No rule to make target `../rpmio/librpmio.la', needed by  
`rpmdigest'.  Stop.
make[1]: *** Waiting for unfinished jobs....

The flaw seems to be that "librpmio.la" and "$(top_builddir)/rpmio/ 
librpmio.la" are not
being perceived as the same object.

I've added librpmio.la as a dependency, also tried adding a rule for $ 
(top_builddir)/rpmio/librpmio.la.

I can add make targets that will effectively serialize librpmio.la  
before rpmdigest linkage, but perhaps
there is a simpler cleaner fix.

btw, why is an explcit "librpmio.la" target needed? why isn't  
automake implictly supplied gud enuf?

(aside) I tried commenting out the librpmio.la target too. still fails).

73 de Jeff
Received on Sun Apr 13 19:01:46 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.