[ccache] A problem with headers (probably)
Thomas Kahle
tom111 at gmx.de
Wed Feb 6 20:03:52 GMT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
i use ccache on Gentoo Linux and have a problem with a specific package.
When compiling it without ccache it works fine. When ccache is activated
the compile fails with an
error: nauty.h: No such file or directory
I attached part of the build log.
If i clear the cache, the first compile runs flawlessly, then if i
change some compiler options (i.e. -O3 instead of -O2) and compile again
the compile fails. Maybe there are some false positive hits ??
Is there anything nasty the makers of a program could do to trigger such
a problem?
Any hint is appreciated
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHqhKnrpEWPKIUt7MRAhQrAJ4sx+BCqdbyju+zsTKxWBOOjAJO+QCgkLuY
nf3Xi/d3Ks7V7cwzq4f+Ye4=
=Y4c+
-----END PGP SIGNATURE-----
-------------- next part --------------
g++ -c -o cdd_float_interface-tmp.o -I../../../external/cdd/lib-src -O2 -march=pentium3m -pipe -fomit-frame-pointer -I../../../apps/polytope/include -I../../../modules/common/include -I../../../modules/graph/include -I../../../lib/poly_client/include -I../../../lib/PTL/include -I../../../lib/PTL/include/std -I../../../lib/gmp_wrapper/include -O2 -march=pentium3m -pipe -fomit-frame-pointer -Wall -ftemplate-depth-200 -Wno-strict-aliasing -DALL_PLAUSIBLE_CHECKS=0 -O2 -MD -MF cdd_float_interface-tmp.d -MT 'libpolytope.a(cdd_float_interface.o)' -MT 'cdd_float_interface.o' -MT 'cdd_float_interface-tmp.o' ../../../apps/polytope/src/cdd_float_interface.cc
ld -r -o cdd_float_interface.o cdd_float_interface-tmp.o ../../external/cdd/libcdd.a
rm cdd_float_interface-tmp.o
+ ar -rc libpolytope.a transform.o lrs_interface.o cdd_interface.o cdd_float_interface.o
+ rm transform.o lrs_interface.o cdd_interface.o cdd_float_interface.o
+ : libpolytope.a
g++ -c -o SpringEmbedder.o -O2 -march=pentium3m -pipe -fomit-frame-pointer -I../../../apps/polytope/include -I../../../modules/common/include -I../../../modules/graph/include -I../../../lib/poly_client/include -I../../../lib/PTL/include -I../../../lib/PTL/include/std -I../../../lib/gmp_wrapper/include -O2 -march=pentium3m -pipe -fomit-frame-pointer -Wall -ftemplate-depth-200 -Wno-strict-aliasing -DALL_PLAUSIBLE_CHECKS=0 -I../../../modules/graph/include -I../../../lib/poly_client/include -I../../../lib/PTL/include -I../../../lib/PTL/include/std -I../../../lib/gmp_wrapper/include -O2 -march=pentium3m -pipe -fomit-frame-pointer -Wall -ftemplate-depth-200 -Wno-strict-aliasing -DALL_PLAUSIBLE_CHECKS=0 -O2 -MD -MF SpringEmbedder.d -MT 'libgraph.a(SpringEmbedder.o)' -MT 'SpringEmbedder.o' ../../../modules/graph/src/SpringEmbedder.cc
g++ -c -o graph_compare-tmp.o -DBIGNAUTY -I../../external/nauty -O2 -march=pentium3m -pipe -fomit-frame-pointer -I../../../apps/polytope/include -I../../../modules/common/include -I../../../modules/graph/include -I../../../lib/poly_client/include -I../../../lib/PTL/include -I../../../lib/PTL/include/std -I../../../lib/gmp_wrapper/include -O2 -march=pentium3m -pipe -fomit-frame-pointer -Wall -ftemplate-depth-200 -Wno-strict-aliasing -DALL_PLAUSIBLE_CHECKS=0 -I../../../modules/graph/include -I../../../lib/poly_client/include -I../../../lib/PTL/include -I../../../lib/PTL/include/std -I../../../lib/gmp_wrapper/include -O2 -march=pentium3m -pipe -fomit-frame-pointer -Wall -ftemplate-depth-200 -Wno-strict-aliasing -DALL_PLAUSIBLE_CHECKS=0 -O2 -MD -MF graph_compare-tmp.d -MT 'libgraph.a(graph_compare.o)' -MT 'graph_compare.o' -MT 'graph_compare-tmp.o' ../../../modules/graph/src/graph_compare.cc
../../../modules/graph/src/graph_compare.cc:22:19: error: nauty.h: No such file or directory
../../../modules/graph/src/graph_compare.cc:25: error: expected initializer before â*â token
../../../modules/graph/src/graph_compare.cc:27: error: âbytecountâ was not declared in this scope
../../../modules/graph/src/graph_compare.cc:27: error: âleftbitâ was not declared in this scope
make[3]: Entering directory `/var/tmp/portage/sci-mathematics/polymake-2.3/work/polymake-2.3/build/external/nauty'
../../../support/build.make:437: .dependences: No such file or directory
make[3]: Leaving directory `/var/tmp/portage/sci-mathematics/polymake-2.3/work/polymake-2.3/build/external/nauty'
make[3]: Entering directory `/var/tmp/portage/sci-mathematics/polymake-2.3/work/polymake-2.3/build/external/nauty'
gcc -c -o nauty.o -DBIGNAUTY -I. -O2 -march=pentium3m -pipe -fomit-frame-pointer -I../../../apps/polytope/include -O2 -march=pentium3m -pipe -fomit-frame-pointer -Wall -I../../../modules/graph/include -O2 -march=pentium3m -pipe -fomit-frame-pointer -Wall -O2 -march=pentium3m -pipe -fomit-frame-pointer -Wall -O2 -MD -MF nauty.d -MT 'libnauty.a(nauty.o)' -MT 'nauty.o' ../../../external/nauty/nauty.c
../../../external/nauty/nauty.c: In function ânautyâ:
../../../external/nauty/nauty.c:381: warning: suggest explicit braces to avoid ambiguous âelseâ
../../../external/nauty/nauty.c: In function âothernode0â:
../../../external/nauty/nauty.c:725: warning: suggest parentheses around && within ||
../../../external/nauty/nauty.c: In function âprocessnodeâ:
../../../external/nauty/nauty.c:868: warning: suggest explicit braces to avoid ambiguous âelseâ
../../../external/nauty/nauty.c: At top level:
./nauty.h:967: warning: âbytecountâ defined but not used
./nauty.h:986: warning: âleftbitâ defined but not used
../../../external/nauty/nauty.c: In function âfirstpathnode0â:
../../../external/nauty/nauty.c:515: warning: âchildcountâ may be used uninitialized in this function
gcc -c -o naututil.o -DBIGNAUTY -I. -O2 -march=pentium3m -pipe -fomit-frame-pointer -I../../../apps/polytope/include -O2 -march=pentium3m -pipe -fomit-frame-pointer -Wall -I../../../modules/graph/include -O2 -march=pentium3m -pipe -fomit-frame-pointer -Wall -O2 -march=pentium3m -pipe -fomit-frame-pointer -Wall -O2 -MD -MF naututil.d -MT 'libnauty.a(naututil.o)' -MT 'naututil.o' ../../../external/nauty/naututil.c
../../../external/nauty/naututil.c: In function âreadgraphâ:
../../../external/nauty/naututil.c:364: warning: suggest parentheses around && within ||
../../../external/nauty/naututil.c:389: warning: suggest parentheses around && within ||
../../../external/nauty/naututil.c: At top level:
./nauty.h:986: warning: âleftbitâ defined but not used
gcc -c -o nautil.o -DBIGNAUTY -I. -O2 -march=pentium3m -pipe -fomit-frame-pointer -I../../../apps/polytope/include -O2 -march=pentium3m -pipe -fomit-frame-pointer -Wall -I../../../modules/graph/include -O2 -march=pentium3m -pipe -fomit-frame-pointer -Wall -O2 -march=pentium3m -pipe -fomit-frame-pointer -Wall -O2 -MD -MF nautil.d -MT 'libnauty.a(nautil.o)' -MT 'nautil.o' ../../../external/nauty/nautil.c
./nauty.h:967: warning: âbytecountâ defined but not used
gcc -c -o nautinv.o -DBIGNAUTY -I. -O2 -march=pentium3m -pipe -fomit-frame-pointer -I../../../apps/polytope/include -O2 -march=pentium3m -pipe -fomit-frame-pointer -Wall -I../../../modules/graph/include -O2 -march=pentium3m -pipe -fomit-frame-pointer -Wall -O2 -march=pentium3m -pipe -fomit-frame-pointer -Wall -O2 -MD -MF nautinv.d -MT 'libnauty.a(nautinv.o)' -MT 'nautinv.o' ../../../external/nauty/nautinv.c
../../../external/nauty/nautinv.c: In function âadjtriangâ:
../../../external/nauty/nautinv.c:391: warning: suggest parentheses around && within ||
../../../external/nauty/nautinv.c: In function âgetbigcellsâ:
../../../external/nauty/nautinv.c:460: warning: suggest parentheses around && within ||
gcc -c -o naugraph.o -DBIGNAUTY -I. -O2 -march=pentium3m -pipe -fomit-frame-pointer -I../../../apps/polytope/include -O2 -march=pentium3m -pipe -fomit-frame-pointer -Wall -I../../../modules/graph/include -O2 -march=pentium3m -pipe -fomit-frame-pointer -Wall -O2 -march=pentium3m -pipe -fomit-frame-pointer -Wall -O2 -MD -MF naugraph.d -MT 'libnauty.a(naugraph.o)' -MT 'naugraph.o' ../../../external/nauty/naugraph.c
./nauty.h:986: warning: âleftbitâ defined but not used
../../../external/nauty/naugraph.c: In function ârefine1â:
../../../external/nauty/naugraph.c:341: warning: âmaxposâ may be used uninitialized in this function
../../../external/nauty/naugraph.c: In function ârefineâ:
../../../external/nauty/naugraph.c:185: warning: âmaxposâ may be used uninitialized in this function
gcc -c -o rng.o -DBIGNAUTY -I. -O2 -march=pentium3m -pipe -fomit-frame-pointer -I../../../apps/polytope/include -O2 -march=pentium3m -pipe -fomit-frame-pointer -Wall -I../../../modules/graph/include -O2 -march=pentium3m -pipe -fomit-frame-pointer -Wall -O2 -march=pentium3m -pipe -fomit-frame-pointer -Wall -O2 -MD -MF rng.d -MT 'libnauty.a(rng.o)' -MT 'rng.o' ../../../external/nauty/rng.c
+ ar -rc libnauty.a nauty.o naututil.o nautil.o nautinv.o naugraph.o rng.o
+ rm nauty.o naututil.o nautil.o nautinv.o naugraph.o rng.o
+ : libnauty.a
make[3]: Leaving directory `/var/tmp/portage/sci-mathematics/polymake-2.3/work/polymake-2.3/build/external/nauty'
../../../modules/graph/src/graph_compare.cc:40: error: expected constructor, destructor, or type conversion before â(â token
../../../modules/graph/src/graph_compare.cc:47: error: ISO C++ forbids declaration of ânauty_graphâ with no type
../../../modules/graph/src/graph_compare.cc:47: error: expected â;â before â*â token
../../../modules/graph/src/graph_compare.cc:49: error: âoptionblkâ does not name a type
../../../modules/graph/src/graph_compare.cc:74: error: ânauty_permutationâ has not been declared
../../../modules/graph/src/graph_compare.cc: In constructor âpolymake::graph::NautyGraph::impl::impl(int)â:
../../../modules/graph/src/graph_compare.cc:52: error: âWORDSIZEâ was not declared in this scope
../../../modules/graph/src/graph_compare.cc:53: error: class âpolymake::graph::NautyGraph::implâ does not have any field named âsrc_graphâ
../../../modules/graph/src/graph_compare.cc:53: error: class âpolymake::graph::NautyGraph::implâ does not have any field named âcanon_graphâ
../../../modules/graph/src/graph_compare.cc:56: error: âsrc_graphâ was not declared in this scope
../../../modules/graph/src/graph_compare.cc:56: error: expected type-specifier before ânauty_graphâ
../../../modules/graph/src/graph_compare.cc:56: error: expected `;' before ânauty_graphâ
../../../modules/graph/src/graph_compare.cc:57: error: âEMPTYSETâ was not declared in this scope
../../../modules/graph/src/graph_compare.cc:58: error: âcanon_graphâ was not declared in this scope
../../../modules/graph/src/graph_compare.cc:58: error: expected type-specifier before ânauty_graphâ
../../../modules/graph/src/graph_compare.cc:58: error: expected `;' before ânauty_graphâ
../../../modules/graph/src/graph_compare.cc:62: error: âoptionsâ was not declared in this scope
../../../modules/graph/src/graph_compare.cc:62: error: âdefault_optionsâ was not declared in this scope
../../../modules/graph/src/graph_compare.cc: In destructor âpolymake::graph::NautyGraph::impl::~impl()â:
../../../modules/graph/src/graph_compare.cc:70: error: âcanon_graphâ was not declared in this scope
../../../modules/graph/src/graph_compare.cc:71: error: âsrc_graphâ was not declared in this scope
../../../modules/graph/src/graph_compare.cc: In static member function âstatic polymake::graph::NautyGraph::impl* polymake::graph::NautyGraph::alloc_impl(int, bool)â:
../../../modules/graph/src/graph_compare.cc:84: error: âstruct polymake::graph::NautyGraph::implâ has no member named âoptionsâ
../../../modules/graph/src/graph_compare.cc:85: error: âstruct polymake::graph::NautyGraph::implâ has no member named âoptionsâ
../../../modules/graph/src/graph_compare.cc: In member function âvoid polymake::graph::NautyGraph::add_edge(int, int)â:
../../../modules/graph/src/graph_compare.cc:93: error: ânauty_setâ was not declared in this scope
../../../modules/graph/src/graph_compare.cc:93: error: âgvâ was not declared in this scope
../../../modules/graph/src/graph_compare.cc:93: error: âstruct polymake::graph::NautyGraph::implâ has no member named âsrc_graphâ
../../../modules/graph/src/graph_compare.cc:93: error: âgraph_rowâ was not declared in this scope
../../../modules/graph/src/graph_compare.cc:94: error: âADDELEMENTâ was not declared in this scope
../../../modules/graph/src/graph_compare.cc: In member function âvoid polymake::graph::NautyGraph::partition(int)â:
../../../modules/graph/src/graph_compare.cc:99: error: âstruct polymake::graph::NautyGraph::implâ has no member named âoptionsâ
../../../modules/graph/src/graph_compare.cc: In member function âint* polymake::graph::NautyGraph::partitions()â:
../../../modules/graph/src/graph_compare.cc:108: error: âstruct polymake::graph::NautyGraph::implâ has no member named âoptionsâ
../../../modules/graph/src/graph_compare.cc: In member function âvoid polymake::graph::NautyGraph::finalize(bool)â:
../../../modules/graph/src/graph_compare.cc:119: error: âstatsblkâ was not declared in this scope
../../../modules/graph/src/graph_compare.cc:119: error: expected `;' before âstatsâ
../../../modules/graph/src/graph_compare.cc:121: error: ânauty_setâ was not declared in this scope
../../../modules/graph/src/graph_compare.cc:121: error: âworkspaceâ was not declared in this scope
../../../modules/graph/src/graph_compare.cc:121: error: expected type-specifier before ânauty_setâ
../../../modules/graph/src/graph_compare.cc:121: error: expected `;' before ânauty_setâ
../../../modules/graph/src/graph_compare.cc:123: error: âstruct polymake::graph::NautyGraph::implâ has no member named âoptionsâ
../../../modules/graph/src/graph_compare.cc:126: error: âstruct polymake::graph::NautyGraph::implâ has no member named âsrc_graphâ
../../../modules/graph/src/graph_compare.cc:127: error: âstruct polymake::graph::NautyGraph::implâ has no member named âoptionsâ
../../../modules/graph/src/graph_compare.cc:127: error: âstatsâ was not declared in this scope
../../../modules/graph/src/graph_compare.cc:127: error: âstruct polymake::graph::NautyGraph::implâ has no member named âcanon_graphâ
../../../modules/graph/src/graph_compare.cc:127: error: ânautyâ was not declared in this scope
../../../modules/graph/src/graph_compare.cc:128: error: type â<type error>â argument given to âdeleteâ, expected pointer
../../../modules/graph/src/graph_compare.cc: In member function âbool polymake::graph::NautyGraph::operator==(const polymake::graph::NautyGraph&) constâ:
../../../modules/graph/src/graph_compare.cc:134: error: ânauty_setâ was not declared in this scope
../../../modules/graph/src/graph_compare.cc:134: error: âcg1â was not declared in this scope
../../../modules/graph/src/graph_compare.cc:134: error: âstruct polymake::graph::NautyGraph::implâ has no member named âcanon_graphâ
../../../modules/graph/src/graph_compare.cc:134: error: âcg1_endâ was not declared in this scope
../../../modules/graph/src/graph_compare.cc:134: error: âcg2â was not declared in this scope
../../../modules/graph/src/graph_compare.cc:134: error: âstruct polymake::graph::NautyGraph::implâ has no member named âcanon_graphâ
make[2]: *** [graph_compare.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sci-mathematics/polymake-2.3/work/polymake-2.3/build/modules/graph'
make[1]: *** [_build_module_libs] Error 2
make[1]: Leaving directory `/var/tmp/portage/sci-mathematics/polymake-2.3/work/polymake-2.3/build/apps/polytope'
make: *** [all] Error 2
[31;01m*[0m
[31;01m*[0m ERROR: sci-mathematics/polymake-2.3 failed.
[31;01m*[0m Call stack:
[31;01m*[0m ebuild.sh, line 1701: Called dyn_compile
[31;01m*[0m ebuild.sh, line 1039: Called qa_call 'src_compile'
[31;01m*[0m ebuild.sh, line 44: Called src_compile
[31;01m*[0m polymake-2.3.ebuild, line 44: Called die
[31;01m*[0m The specific snippet of code:
[31;01m*[0m emake || die "emake failed"
[31;01m*[0m The die message:
[31;01m*[0m emake failed
[31;01m*[0m
[31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.
[31;01m*[0m A complete build log is located at '/var/tmp/portage/sci-mathematics/polymake-2.3/temp/build.log'.
[31;01m*[0m
More information about the ccache
mailing list