Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 236777

Summary: net-dialup/capisuite-0.4.5-r4 fails w/ gcc-4.3
Product: Gentoo Linux Reporter: Arne Flagge <arne.flagge>
Component: [OLD] GCC PortingAssignee: Gentoo Dialup Developers <net-dialup>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: Fixes missing gcc43 includes

Description Arne Flagge 2008-09-05 07:12:21 UTC
Building fails because of missing includes:

Making all in backend                                                                                                                                                            
make[3]: Entering directory `/var/tmp/portage/net-dialup/capisuite-0.4.5-r4/work/capisuite-0.4.5/src/backend'                                                                    
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..   -DLOCALSTATEDIR=\"/var\" -DPKGDATADIR=\"/usr/share/capisuite\" -DPKGSYSCONFDIR=\"/etc/capisuite\" -DPKGLIBDIR=\"/usr/lib/capisuite\" -I/usr/include/python2.5  -march=core2 -O2 -pipe -MT capi.o -MD -MP -MF ".deps/capi.Tpo" -c -o capi.o capi.cpp; \                                                 
        then mv -f ".deps/capi.Tpo" ".deps/capi.Po"; else rm -f ".deps/capi.Tpo"; exit 1; fi                                                                                     
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..   -DLOCALSTATEDIR=\"/var\" -DPKGDATADIR=\"/usr/share/capisuite\" -DPKGSYSCONFDIR=\"/etc/capisuite\" -DPKGLIBDIR=\"/usr/lib/capisuite\" -I/usr/include/python2.5  -march=core2 -O2 -pipe -MT connection.o -MD -MP -MF ".deps/connection.Tpo" -c -o connection.o connection.cpp; \                         
        then mv -f ".deps/connection.Tpo" ".deps/connection.Po"; else rm -f ".deps/connection.Tpo"; exit 1; fi                                                                   
capi.cpp: In function 'void* capi_exec_handler(void*)':                                                                                                                          
capi.cpp:28: error: 'exit' was not declared in this scope                                                                                                                        
connection.cpp: In member function 'std::string Connection::getNumber(unsigned char*, bool)':                                                                                    
connection.cpp:1023: error: 'memcpy' was not declared in this scope                                                                                                              
connection.cpp: In member function 'void Connection::convertToCP437(std::string&)':                                                                                              
connection.cpp:1109: error: 'strncpy' was not declared in this scope                                                                                                             
connection.cpp:1120: error: 'strerror_r' was not declared in this scope                                                                                                          
make[3]: *** [connection.o] Error 1                                                                                                                                              
make[3]: *** Waiting for unfinished jobs....                                                                                                                                     
make[3]: *** [capi.o] Error 1                                                                                                                                                    
make[3]: Leaving directory `/var/tmp/portage/net-dialup/capisuite-0.4.5-r4/work/capisuite-0.4.5/src/backend'                                                                     
make[2]: *** [all-recursive] Error 1                                                                                                                                             
make[2]: Leaving directory `/var/tmp/portage/net-dialup/capisuite-0.4.5-r4/work/capisuite-0.4.5/src'                                                                             
make[1]: *** [all-recursive] Error 1                                                                                                                                             
make[1]: Leaving directory `/var/tmp/portage/net-dialup/capisuite-0.4.5-r4/work/capisuite-0.4.5'                                                                                 
make: *** [all] Error 2

emerge --info:
Portage 2.2_rc8 (default/linux/x86/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26.3 i686)
=================================================================                                   
System uname: Linux-2.6.26.3-i686-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-glibc2.0          
Timestamp of tree: Fri, 05 Sep 2008 06:05:01 +0000                                                  
app-shells/bash:     3.2_p39                                                                        
dev-java/java-config: 1.3.7, 2.1.6-r1                                                               
dev-lang/python:     2.5.2-r7                                                                       
sys-apps/baselayout: 2.0.0                                                                          
sys-apps/openrc:     0.2.5                                                                          
sys-apps/sandbox:    1.2.18.1-r3                                                                    
sys-devel/autoconf:  2.13, 2.62-r1                                                                  
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1                                   
sys-devel/binutils:  2.18-r3                                                                        
sys-devel/gcc-config: 1.4.0-r4                                                                      
sys-devel/libtool:   2.2.4                                                                          
virtual/os-headers:  2.6.26                                                                         
ACCEPT_KEYWORDS="x86 ~x86"                                                                          
CBUILD="i686-pc-linux-gnu"                                                                          
CFLAGS="-march=core2 -O2 -pipe"                                                                     
CHOST="i686-pc-linux-gnu"                                                                           
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/svn/env /usr/kde/svn/share/config /usr/kde/svn/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --nospinner"
FEATURES="distlocks parallel-fetch prelink preserve-libs sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes --prune-empty-dirs"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 acpi alsa berkdb bzip2 cairo cdr cli cracklib crypt css cups dbus dri dvd dvdr dvdread emboss evo fam firefox fontconfig fortran gdbm gif gstreamer hal hbci iconv isdnlog jpeg kde libnotify mad midi mmx mmxext mp3 mpeg mudflap musicbrainz ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf plasma png ppds pppd qt3support qt4 quicktime readline reflection session slang spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora threads truetype unicode usb vorbis x264 x86 xcb xcomposite xml xorgxv zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="i810 intel"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

Reproducible: Always

Steps to Reproduce:
Comment 1 Arne Flagge 2008-09-05 07:13:25 UTC
Created attachment 164633 [details, diff]
Fixes missing gcc43 includes
Comment 2 Stefan Briesenick (RETIRED) gentoo-dev 2008-09-13 22:42:32 UTC
new revision in CVS.