First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 44106
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 40411
Assigned To: GCC Porting Team <gcc-porting@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ohad Levy <ohad.levy@infineon.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 44106 depends on: Show dependency tree
Show dependency graph
Bug 44106 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-03-09 01:57 0000
emerge  ttmkfdir
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-misc/ttmkfdir-3.0.9 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/work
 * Applying ttmkfdir-3.0.9-gcc33.patch...                                 [ ok ]
>>> Source unpacked.
libtool --mode=compile g++ -Wall -pedantic -I/usr/include/freetype2  -O2 -mcpu=ultrasparc -o ttmkfdir.o -c ttmkfdir.cpp
mkdir .libs
g++ -Wall -pedantic -I/usr/include/freetype2 -O2 -mcpu=ultrasparc -c ttmkfdir.cpp    -fPIC -DPIC -o .libs/ttmkfdir.lo
In file included from /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:683,
                 from /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/cstdio:52,
                 from /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/sparc-unknown-linux-gnu/bits/c++io.h:35,
                 from /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/bits/fpos.h:44,
                 from /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/iosfwd:46,
                 from /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/ios:44,
                 from /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/ostream:45,
                 from /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/g++-v3/iostream:45,
                 from ttmkfdir.cpp:2:
/usr/include/bits/stdio.h: In function `int getchar()':
/usr/include/bits/stdio.h:42: declaration of `int getchar()' throws different
   exceptions
/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:394: than
   previous declaration `int getchar() throw ()'
/usr/include/bits/stdio.h: In function `int getc_unlocked(FILE*)':
/usr/include/bits/stdio.h:51: declaration of `int getc_unlocked(FILE*)' throws
   different exceptions
/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:403: than
   previous declaration `int getc_unlocked(FILE*) throw ()'
/usr/include/bits/stdio.h: In function `int getchar_unlocked()':
/usr/include/bits/stdio.h:58: declaration of `int getchar_unlocked()' throws
   different exceptions
/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:404: than
   previous declaration `int getchar_unlocked() throw ()'
/usr/include/bits/stdio.h: In function `int putchar(int)':
/usr/include/bits/stdio.h:67: declaration of `int putchar(int)' throws
   different exceptions
/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:419: than
   previous declaration `int putchar(int) throw ()'
/usr/include/bits/stdio.h: In function `int fputc_unlocked(int, FILE*)':
/usr/include/bits/stdio.h:76: declaration of `int fputc_unlocked(int, FILE*)'
   throws different exceptions
/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:428: than
   previous declaration `int fputc_unlocked(int, FILE*) throw ()'
/usr/include/bits/stdio.h: In function `int putc_unlocked(int, FILE*)':
/usr/include/bits/stdio.h:86: declaration of `int putc_unlocked(int, FILE*)'
   throws different exceptions
/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:433: than
   previous declaration `int putc_unlocked(int, FILE*) throw ()'
/usr/include/bits/stdio.h: In function `int putchar_unlocked(int)':
/usr/include/bits/stdio.h:93: declaration of `int putchar_unlocked(int)' throws
   different exceptions
/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:434: than
   previous declaration `int putchar_unlocked(int) throw ()'
/usr/include/bits/stdio.h: In function `__ssize_t getline(char**, size_t*,
   FILE*)':
/usr/include/bits/stdio.h:103: declaration of `__ssize_t getline(char**,
   size_t*, FILE*)' throws different exceptions
/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include/stdio.h:480: than
   previous declaration `__ssize_t getline(char**, size_t*, FILE*) throw ()'
make: *** [ttmkfdir.o] Error 1

!!! ERROR: x11-misc/ttmkfdir-3.0.9 failed.
!!! Function src_compile, Line 31, Exitcode 2
!!! (no error message)



Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Benoit Boissinot 2004-03-09 04:04:42 0000 -------
Maybe this should be closed. Is this still relevant ?

------- Comment #2 From Ohad Levy 2004-03-09 04:13:31 0000 -------
no - this is still relevant, any idea maybe?

------- Comment #3 From Chris Russell (RETIRED) 2004-03-10 01:59:08 0000 -------
can you post your `emerge info` please.

------- Comment #4 From Chris Russell (RETIRED) 2004-03-10 03:06:11 0000 -------
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.

------- Comment #5 From Michael Montague 2004-03-11 11:53:24 0000 -------
My CFLAGS are "-O2 -mcpu=ultrasparc -pipe" and I get the same problems.

The following emerges with no problems:

CFLAGS="" emerge ttmkfdir


------- Comment #6 From Christian Jiresjö 2004-03-18 01:17:56 0000 -------
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

------- Comment #7 From Geordon Marchak 2004-03-23 00:07:29 0000 -------
*** Bug 45472 has been marked as a duplicate of this bug. ***

------- Comment #8 From Gustavo Zacarias (RETIRED) 2004-04-20 14:42:52 0000 -------
Does this still happen with ttmkfdir-3.0.9-r1?

------- Comment #9 From Gerald Britton 2004-05-27 12:04:14 0000 -------
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

------- Comment #10 From SpanKY 2004-05-31 20:31:46 0000 -------
Gerald: your bug is completely unrelated to this one ... search bugzilla to
find your problem

------- Comment #11 From Caleb Tennis 2005-07-15 07:47:10 0000 -------

*** This bug has been marked as a duplicate of 40411 ***

First Last Prev Next    No search results available      Search page      Enter new bug