Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149800 - dev-perl/CORBA-ORBit-0.4.7 fail to compile with gcc-4.1.1
Summary: dev-perl/CORBA-ORBit-0.4.7 fail to compile with gcc-4.1.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: Highest normal (vote)
Assignee: Gentoo Perl team
URL: http://bugs.debian.org/cgi-bin/bugrep...
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-10-01 18:55 UTC by Marc Bourget
Modified: 2006-10-02 06:44 UTC (History)
0 users

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


Attachments
Resolve the get_typecode error with gcc-4.1.1 (get_typecode.patch,567 bytes, patch)
2006-10-01 18:58 UTC, Marc Bourget
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Bourget 2006-10-01 18:55:03 UTC
Build failed with this error:


i686-pc-linux-gnu-gcc -c  -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/libIDL-1.0 -I/usr/include/libIDL-1.0  -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=prescott -O2 -pipe -fomit-frame-pointer   -DVERSION=\"0.4.7\" -DXS_VERSION=\"0.4.7\" -fPIC "-I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE"   idl.c
idl.c:647: erreur: static declaration of 
Comment 1 Marc Bourget 2006-10-01 18:55:03 UTC
Build failed with this error:


i686-pc-linux-gnu-gcc -c  -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/libIDL-1.0 -I/usr/include/libIDL-1.0  -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=prescott -O2 -pipe -fomit-frame-pointer   -DVERSION=\"0.4.7\" -DXS_VERSION=\"0.4.7\" -fPIC "-I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE"   idl.c
idl.c:647: erreur: static declaration of get_typecode follows non-static declaration
idl.c:16: erreur: previous declaration of get_typecode was here
make: *** [idl.o] Erreur 1

!!! ERROR: dev-perl/CORBA-ORBit-0.4.7 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  CORBA-ORBit-0.4.7.ebuild, line 29:   Called perl-module_src_compile 'makemake'
  perl-module.eclass, line 138:   Called die

!!! compilation failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

I was able to compile with a patch from bugs.debian.org found here:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=318543
Comment 2 Marc Bourget 2006-10-01 18:58:38 UTC
Created attachment 98577 [details, diff]
Resolve the get_typecode error with gcc-4.1.1

I was able to build using this patch found on bugs.debian.org
Comment 3 Christian Hartmann (RETIRED) gentoo-dev 2006-10-02 06:44:37 UTC
Fixed. Thanks for reporting!