Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16594 - gcc-2.95.3-r8 compile fails
Summary: gcc-2.95.3-r8 compile fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-28 19:05 UTC by Matt Taylor
Modified: 2003-09-16 10:51 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 Matt Taylor 2003-02-28 19:05:40 UTC
I'm trying to update to gcc-2.95.3-r8 from 2.95.3-r5

make intl.all
make[3]: Entering directory `/var/tmp/portage/gcc-2.95.3-r8/work/build/gcc'
(cd intl && make all)
make[4]: Entering directory `/var/tmp/portage/gcc-2.95.3-r8/work/build/gcc/intl'
gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DGNULOCALEDIR=\"/usr/share/locale\"
-DLOCALE_ALIAS_PATH=\"/usr/share/locale:.\" -DHAVE_CONFIG_H -I.. -I.
-I/var/tmp/portage/gcc-2.95.3-r8/work/gcc-2.95.3/gcc/intl
-I/var/tmp/portage/gcc-2.95.3-r8/work/gcc-2.95.3/gcc/lib  -g 
/var/tmp/portage/gcc-2.95.3-r8/work/gcc-2.95.3/gcc/intl/localealias.c
/var/tmp/portage/gcc-2.95.3-r8/work/gcc-2.95.3/gcc/intl/localealias.c: In
function `read_alias_file':
/var/tmp/portage/gcc-2.95.3-r8/work/gcc-2.95.3/gcc/intl/localealias.c:337: void
value not ignored as it ought to be
/var/tmp/portage/gcc-2.95.3-r8/work/gcc-2.95.3/gcc/intl/localealias.c:341: void
value not ignored as it ought to be
make[4]: *** [localealias.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/gcc-2.95.3-r8/work/build/gcc/intl'
(cd po && make all)
make[4]: Entering directory `/var/tmp/portage/gcc-2.95.3-r8/work/build/gcc/po'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/var/tmp/portage/gcc-2.95.3-r8/work/build/gcc/po'
make[3]: Leaving directory `/var/tmp/portage/gcc-2.95.3-r8/work/build/gcc'
rm -f obstack.c
ln -s /var/tmp/portage/gcc-2.95.3-r8/work/gcc-2.95.3/gcc/../libiberty/obstack.c
obstack.c
gcc -c  -DIN_GCC     -g  -DHAVE_CONFIG_H    -I.
-I/var/tmp/portage/gcc-2.95.3-r8/work/gcc-2.95.3/gcc
-I/var/tmp/portage/gcc-2.95.3-r8/work/gcc-2.95.3/gcc/config
-I/var/tmp/portage/gcc-2.95.3-r8/work/gcc-2.95.3/gcc/../include obstack.c
gcc  -DIN_GCC     -g  -DHAVE_CONFIG_H  -o gencheck \
 gencheck.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "" in ?*)
echo  ;; esac ` ` case "" in ?*) echo  ;; esac ` ./intl/libintl.a ` case "" in
?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac ` 
gcc: ./intl/libintl.a: No such file or directory
make[2]: *** [gencheck] Error 1
make[2]: Leaving directory `/var/tmp/portage/gcc-2.95.3-r8/work/build/gcc'
make[1]: *** [bootstrap-lean] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-2.95.3-r8/work/build/gcc'
make: *** [bootstrap-lean] Error 2

!!! ERROR: sys-devel/gcc-2.95.3-r8 failed.
!!! Function src_compile, Line 71, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1.  use a non-gcc-3 profile
2.  emerge gcc
3.  

Actual Results:  
compile fails

Expected Results:  
compile works

# emerge info
Portage 2.0.46-r12 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 AMD Athlon(tm) processor
GENTOO_MIRRORS="http://linux.oit.umass.edu/gentoo/gentoo
http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt cups jpeg libg++ mikmod mmx mpeg ncurses pdflib
quicktime spell truetype xml2 xmms xv berkdb bonobo cdr directfb esd gdbm gif
gnome gnome-libs gpm gtk gtkhtml guile imlib libwww motif mozilla mysql nls
oggvorbis opengl pam perl png python readline sdl slang snmp ssl svga tcltk tcpd
tiff X -kde -qt -arts -java dvd encode gtk2"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
CXXFLAGS="-march=i686 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Matt Taylor 2003-03-02 20:17:59 UTC
I think I found the problem... while trying to emerge linux_logo I get this:

gcc -O2 -Wall -I./libsysinfo-0.0.7 -c parse_logos.c
gcc -O2 -Wall -I./libsysinfo-0.0.7 -c vmw_string.c
gcc -O2 -Wall -I./libsysinfo-0.0.7 -o parse_logos parse_logos.o vmw_string.o -L./libsysinfo-0.0.7
./parse_logos

Parsing logos from file "logo_config"...
+ Added logo ./logos/banner.logo containing "The Default Banner Logos"
+ Added logo ./logos/classic.logo containing "The Classic Logos"
+ Added logo ./logos/gentoo.logo containing "Gentoo Logo"

Compiling for Linux
Edit the Makefile to change Platform
Edit defaults.h to change Default Values
gcc -O2 -Wall -I./libsysinfo-0.0.7 -c linux_logo.c
In file included from linux_logo.c:22:
i18n.h:21: libintl.h: No such file or directory
make: *** [linux_logo.o] Error 1

!!! ERROR: app-misc/linux_logo-4.05-r1 failed.
!!! Function src_compile, Line 1, Exitcode 2
!!! (no error message)

I seem to be missing /usr/local/include/libintl*

# qpkg -f /usr/include/libintl.h
sys-libs/glibc *

# ls /usr/include/libintl.h
ls: /usr/include/libintl.h: No such file or directory

but on my friends system he gets 
sys-devel/gettext *
sys-libs/glibc *

he has gettext-0.11.1, and I have 0.11.5, but I upgraded from 0.11.1.  looking at the changelog for gettext I see: 

*gettext-0.11.3-r1 (3 Aug 2002)

  3 Aug 2002; Martin Schlemmer <azarah@gentoo.org> gettext-0.11.3-r1.ebuild :

  Remove the installed header files, as these overwrite those that comes with
  glibc, and then breaks things.

I did a serch for gettext bugs and theres a bunch about libintl so this bug can be closed.  Looks like I have to remerge glibc.
Comment 2 Matt Taylor 2003-04-22 00:42:09 UTC
someone can mark this as resolved
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-09-16 10:51:05 UTC
closing as fixed