Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115474 - dev-lang/nqc-2.5.1 will not build with gcc-3.4.4
Summary: dev-lang/nqc-2.5.1 will not build with gcc-3.4.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-13 15:25 UTC by Peter Kelly
Modified: 2005-12-13 17:01 UTC (History)
2 users (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 Peter Kelly 2005-12-13 15:25:10 UTC
When emerging nqc with gcc-3.4.4, the ebuild fails.  
  
In file included from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/backward/vector.h:59, 
                 from compiler/Scope.h:33, 
                 from compiler/Program.h:33, 
                 from nqc/nqc.cpp:26: 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/backward/backward_warning.h:32:2: warning: 
#warning This file includes at least one deprecated or antiquated header. Please consider using one of the 
32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header 
for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. 
To disable this warning use -Wno-deprecated. 
In file included from nqc/nqc.cpp:27: 
rcxlib/RCX_Image.h:107: error: class RCX_Image::Chunk redeclared with different access 
nqc/nqc.cpp:1225: warning: 'void PrintToken(int, TokenVal)' defined but not used 
make: *** [nqc/nqc.o] Error 1 
 

Reproducible: Always
Steps to Reproduce:
1. emerge nqc 
2. 
3. 
 
Actual Results:  
crichton ~ # emerge nqc 
Calculating dependencies ...done! 
>>> emerge (1 of 1) dev-lang/nqc-2.5.1 to / 
>>> md5 files   ;-) nqc-2.5.1.ebuild 
>>> md5 files   ;-) files/digest-nqc-2.5.1 
>>> md5 src_uri ;-) nqc-2.5.r1.tgz 
>>> Unpacking source... 
>>> Unpacking nqc-2.5.r1.tgz to /isoserver/portage/portage/nqc-2.5.1/work 
>>> Source unpacked. 
/usr/portage/dev-lang/nqc/nqc-2.5.1.ebuild: line 20: 0: command not found 
g++ -o bin/mkdata -Inqc/ -Iplatform/ mkdata/mkdata.cpp nqc/SRecord.cpp 
bin/mkdata compiler/rcx1.nqh compiler/rcx1_nqh.h rcx1_nqh 
bin/mkdata compiler/rcx2.nqh compiler/rcx2_nqh.h rcx2_nqh 
bin/mkdata -s rcxlib/fastdl.srec rcxlib/rcxnub.h rcxnub 
(cd compiler ; bison -y -d parse.y ; \ 
mv -f y.tab.c parse.cpp ; mv -f y.tab.h parse.tab.h ) 
g++ -c -pipe -Iplatform -Ircxlib -Inqc -Icompiler -Wall -Wstrict-prototypes -Wmissing-prototypes 
-march=pentium4 -O2 -pipe -mmmx -msse -msse2 -DDEFAULT_SERIAL_NAME='""' nqc/nqc.cpp -o 
nqc/nqc.o 
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ 
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++ 
In file included from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/backward/vector.h:59, 
                 from compiler/Scope.h:33, 
                 from compiler/Program.h:33, 
                 from nqc/nqc.cpp:26: 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/backward/backward_warning.h:32:2: warning: 
#warning This file includes at least one deprecated or antiquated header. Please consider using one of the 
32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header 
for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. 
To disable this warning use -Wno-deprecated. 
In file included from nqc/nqc.cpp:27: 
rcxlib/RCX_Image.h:107: error: class RCX_Image::Chunk redeclared with different access 
nqc/nqc.cpp:1225: warning: 'void PrintToken(int, TokenVal)' defined but not used 
make: *** [nqc/nqc.o] Error 1 
 
!!! ERROR: dev-lang/nqc-2.5.1 failed. 
!!! Function src_compile, Line 23, Exitcode 2 
!!! (no error message) 
!!! If you need support, post the topmost build error, NOT this status message. 
 

Expected Results:  
build should compile 

crichton ~ # emerge --info 
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r3 i686) 
================================================================= 
System uname: 2.6.13-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz 
Gentoo Base System version 1.12.0_pre11 
dev-lang/python:     2.3.5-r2, 2.4.2 
sys-apps/sandbox:    1.2.12 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.20 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-march=pentium4 -O2 -pipe -mmmx -msse -msse2" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=pentium4 -O2 -pipe -mmmx -msse -msse2" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ 
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://open-systems.ufl.edu/mirrors/gentoo 
http://mirror.tucdemonic.org/gentoo/" 
MAKEOPTS="-j3" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/isoserver/portage" 
PORTDIR="/usr/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 X acl alsa apm arts audiofile avi berkdb bitmap-fonts browserplugin bzip2 cdb cdr crypt cups curl 
dbus dts emboss encode esd exif expat fam ffmpeg flac foomaticdb fortran gdbm gif glut gmp gpm 
gstreamer gtk gtk2 hal idn imagemagick imap imlib java javascript jpeg junit kde lcms libg++ libwww lua 
mad maildir mikmod mmx mng motif mozilla mp3 mpeg mysql ncurses nls nptl nsplugin nvidia ogg 
oggvorbis openal opengl oss pam pcre pda pdflib perl png python qt quicktime readline recode samba sdl 
slang spell sqlite sse sse2 ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis 
win32codecs xine xml xml2 xmms xscreensaver xv xvid zlib userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-13 15:38:16 UTC
+ metadata.xml missing...
Comment 2 Maurice van der Pot (RETIRED) gentoo-dev 2005-12-13 17:01:22 UTC
Should be fixed now, but I didn't add metadata.
lang-misc, if you are still maintaining it, please add metadata.xml