binaries continually rebuilt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libmemcached |
Fix Committed
|
Low
|
Brian Aker |
Bug Description
libmemcached 1.0.18
Second and subsequent make invocations continually rebuild some binaries:
$ make
make -j9 all-am
CXXLD libtest/libtest.la
CXXLD tests/cycle
CXXLD libtest/unittest
CXXLD tests/libmemcac
CXXLD tests/libmemcac
CXXLD tests/libmemcac
CXXLD tests/libmemcac
CXXLD libtest/skiptest
CXXLD tests/atomsmasher
CXXLD tests/testudp
CXXLD tests/testplus
CXXLD tests/parser
CXXLD tests/failure
CXXLD tests/testhashkit
CXXLD tests/hash_plus
CXXLD tests/memcapable
CXXLD tests/memstat
CXXLD tests/memcp
CXXLD tests/memflush
CXXLD tests/memrm
CXXLD tests/memexist
CXXLD tests/memtouch
CXXLD tests/memcat
CXXLD tests/memping
CXXLD tests/memerror
CXXLD tests/memslap
CXXLD tests/memdump
$ make
make -j9 all-am
CXXLD libtest/libtest.la
CXXLD tests/cycle
CXXLD libtest/unittest
CXXLD tests/libmemcac
CXXLD tests/libmemcac
CXXLD tests/libmemcac
CXXLD tests/libmemcac
CXXLD libtest/skiptest
CXXLD tests/atomsmasher
CXXLD tests/testudp
CXXLD tests/testplus
CXXLD tests/parser
CXXLD tests/failure
CXXLD tests/testhashkit
CXXLD tests/hash_plus
CXXLD tests/memcapable
CXXLD tests/memstat
CXXLD tests/memcp
CXXLD tests/memflush
CXXLD tests/memrm
CXXLD tests/memexist
CXXLD tests/memtouch
CXXLD tests/memcat
CXXLD tests/memping
CXXLD tests/memerror
CXXLD tests/memslap
CXXLD tests/memdump
(and so on ad nauseam)
There seems to be some dependency problem with stamp-h1:
__build $ make-400 --trace
Makefile:3741: update target 'mem_config.h' due to: stamp-h1
if test ! -f mem_config.h; then rm -f stamp-h1; else :; fi
if test ! -f mem_config.h; then make-400 -j9 stamp-h1; else :; fi
Makefile:3700: update target 'all' due to: libtest/version.h libhashkit-
make-400 -j9 all-am
make-400[1]: Entering directory '__build'
Makefile:3741: update target 'mem_config.h' due to: stamp-h1
if test ! -f mem_config.h; then rm -f stamp-h1; else :; fi
if test ! -f mem_config.h; then make-400 -j9 stamp-h1; else :; fi
Makefile:4619: update target 'libtest/
Changed in libmemcached: | |
status: | New → Fix Committed |
assignee: | nobody → Brian Aker (brianaker) |
The problem is how dependencies for test cases is done (currently they always get rebuilt).
Honestly, I've never spent any time on trying to figure out why this is the case.