Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40338 - ttmkfdir compile failure, against gcc 3.2.3
Summary: ttmkfdir compile failure, against gcc 3.2.3
Status: RESOLVED DUPLICATE of bug 30701
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 44243 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-03 19:54 UTC by Fernando Padilla
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando Padilla 2004-02-03 19:54:58 UTC
It seems to be complaining about function signatures for the following functions coming out of stdio.h

int getchar()
int getc_unlocked(FILE*)
int getchar_unlocked()
int putchar(int)
int fputc_unlocked(int, FILE*)
int putc_unlocked(int, FILE*)
int putchar_unlocked(int)
__ssize_t getline(char**, size_t*, FILE*)


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

Actual Results:  
>>> emerge (1 of 7) 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
-march=athlon-xp -pipe -o ttmkfdir.o -c ttmkfdir.cpp
mkdir .libs
g++ -Wall -pedantic -I/usr/include/freetype2 -O2 -march=athlon-xp -pipe -c
ttmkfdir.cpp    -fPIC -DPIC -o .libs/ttmkfdir.lo
In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:683,
                 from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/cstdio:52,
                 from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/i686-pc-linux-gnu/bits/c++io.h:35,
                 from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/bits/fpos.h:44,
                 from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/iosfwd:46,
                 from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/ios:44,
                 from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/ostream:45,
                 from
/usr/lib/gcc-lib/i686-pc-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/i686-pc-linux-gnu/3.2.3/include/stdio.h:394: than previous
   declaration `int getchar() throw ()'
....
.... more errors consistent with the one above, but for every function
.... I mentiond earlier
....
make: *** [ttmkfdir.o] Error 1

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


Expected Results:  
it should have compiled.

I bumped into this issue trying to do a fresh install on a new athlon-xp
machine.  But trying to debug the problem I tried to re emerge ttmkfdir on my
old AMD-K6, and hit the same output.  I even tried emerging older versions of
ttmkfdir ( on the new athlon ), but all had the same output ( 3.0.9-r1, 3.0.9,
3.0.4 ).

This is not a big deal for my already installed system, because ttmkfdir is
already compiled.  But it is a big deal for my new system because I can't
install xfree without ttmkfdir; so I have a very fast almost useless machine..
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-02-03 20:11:35 UTC

*** This bug has been marked as a duplicate of 30701 ***
Comment 2 Ciaran McCreesh 2004-03-10 06:13:15 UTC
*** Bug 44243 has been marked as a duplicate of this bug. ***