Summary: | sci-biology/snpfile fails to build with make 3.82 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Andrey Kislyuk (RETIRED) <weaver> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sci-biology |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 331977 |
Description
Diego Elio Pettenò (RETIRED)
2010-09-09 08:16:10 UTC
It's the Gentoo patch that breaks the build-system, the source files are .cc where as gmake is expecting .c for implicit rule Try adding this before epatch in .ebuild: local x for x in `find . -name '*.cc'`; do ln -s ${x} ${x/.cc/.c} || die done To workaround the first problem, only to see it later on trying to compile C++ code with `gcc` and bailing out because of it: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -march=core2 -msse4.1 -O2 -pipe -MT snpfile2fastPHASE.o -MD -MP -MF .deps/snpfile2fastPHASE.Tpo -c -o snpfile2fastPHASE.o snpfile2fastPHASE.c In file included from snpfile.hh:29:0, from text2snpfile.c:25: metadata.hh:29:21: fatal error: stdexcept: No such file or directory [ .. ] matrix.hh:32:19: fatal error: cstring: No such file or directory Have fun. Mea culpa, though make could be a little bit more intelligent ;) + 02 Oct 2010; Kacper Kowalik <xarthisius@gentoo.org> + files/snpfile-2.0.1-gentoo.diff: + Fix patch to compile with make-3.82 wrt bug 336542. Thanks to Diego for + the report. |