Summary: | cant emerge ttmkfdir - error message attached | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ohad Levy <ohad.levy> |
Component: | [OLD] GCC Porting | Assignee: | Please assign to toolchain <gcc-porting> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | geordon, gerald.britton |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | Sparc | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Ohad Levy
2004-03-09 01:57:24 UTC
Maybe this should be closed. Is this still relevant ? no - this is still relevant, any idea maybe? can you post your `emerge info` please. I'm seeing this also when building afresh - just had to wait for the old slow machine to catch up on the dependancies. freetype-2.1.5-r1 merged ok, ttmkfdir-3.0.9 failed the same way as the bug reporter. /usr/include/bits/stdio.h is part of glibc, (at 2.3.2-r9 right now) Also, I looked back through the emerge.log and found I'd compiled ttmkfdir-3.0.9 ok on my ultra5 when I rebuilt last July, freetype was at 2.1.4 then, and glibc was at 2.3.1-r4 so something has changed to break it. My CFLAGS are "-O2 -mcpu=ultrasparc -pipe" and I get the same problems. The following emerges with no problems: CFLAGS="" emerge ttmkfdir It seems like ttmkfdir cant be compile with optimizations on at least sparc. There fore someone added a filter-flags statement to remove these flags i assume but filter-flags in flag-o-matic doesn't remove them while filter-flags in portage does (if you move -O to the end of the filterstatement but that is another bug). So if you remove the inherit eutils flag-o-matic and move -O to the end of filter-flags it compiles nicely *** Bug 45472 has been marked as a duplicate of this bug. *** Does this still happen with ttmkfdir-3.0.9-r1? Fails for me too, Slightly different messages: ws-5130 ttmkfdir # emerge =x11-misc/ttmkfdir-3.0.9-r1 Calculating dependencies ...done! >>> emerge (1 of 1) x11-misc/ttmkfdir-3.0.9-r1 to / >>> md5 src_uri ;-) ttmkfdir-3.0.9.tar.bz2 >>> Unpacking source... >>> Unpacking ttmkfdir-3.0.9.tar.bz2 to /var/tmp/portage/ttmkfdir-3.0.9-r1/work [ ok ]ing ttmkfdir-3.0.9-cpp.patch... [ ok ]ing ttmkfdir-3.0.9-zlib.patch... [ ok ]ing ttmkfdir-3.0.9-gcc34.patch... >>> Source unpacked. libtool --mode=compile g++ -Wall -pedantic -I/usr/include/freetype2 -march=i686 -fomit-frame-pointer -o ttmkfdir.o -c ttmkfdir.cpp libtool --mode=compile g++ -Wall -pedantic -I/usr/include/freetype2 -march=i686 -fomit-frame-pointer -o directory.o -c directory.cpp mkdir .libs g++ -Wall -pedantic -I/usr/include/freetype2 -march=i686 -fomit-frame-pointer -c ttmkfdir.cpp -fPIC -DPIC -o .libs/ttmkfdir.lo rm -f .libs/directory.lo g++ -Wall -pedantic -I/usr/include/freetype2 -march=i686 -fomit-frame-pointer -c directory.cpp -fPIC -DPIC -o .libs/directory.lo g++ -Wall -pedantic -I/usr/include/freetype2 -march=i686 -fomit-frame-pointer -c directory.cpp -o directory.o >/dev/null 2>&1 In file included from ttf.h:6, from ttmkfdir.cpp:8: /usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!" /usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files." /usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:" /usr/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>" /usr/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H" In file included from ttmkfdir.cpp:8: ttf.h:11:31: freetype/ftmodule.h: No such file or directory mv -f .libs/directory.lo directory.lo libtool --mode=compile g++ -Wall -pedantic -I/usr/include/freetype2 -march=i686 -fomit-frame-pointer -o commandline.o -c commandline.cpp rm -f .libs/commandline.lo g++ -Wall -pedantic -I/usr/include/freetype2 -march=i686 -fomit-frame-pointer -c commandline.cpp -fPIC -DPIC -o .libs/commandline.lo commandline.cpp:3:1: warning: "_GNU_SOURCE" redefined <command line>:4:1: warning: this is the location of the previous definition make: *** [ttmkfdir.o] Error 1 make: *** Waiting for unfinished jobs.... g++ -Wall -pedantic -I/usr/include/freetype2 -march=i686 -fomit-frame-pointer -c commandline.cpp -o commandline.o >/dev/null 2>&1 mv -f .libs/commandline.lo commandline.lo !!! ERROR: x11-misc/ttmkfdir-3.0.9-r1 failed. !!! Function src_compile, Line 38, Exitcode 2 !!! emake failed NOTE: gcc 3.3.2-r5 Gerald: your bug is completely unrelated to this one ... search bugzilla to find your problem *** This bug has been marked as a duplicate of 40411 *** |