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

Bug 223161

Summary: sci-libs/indilib-0.5 fails to build with gcc43
Product: Gentoo Linux Reporter: Sergey Dryabzhinsky <sergey.dryabzhinsky>
Component: [OLD] GCC PortingAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: mlm
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: indilib-0.5_gcc43.patch

Description Sergey Dryabzhinsky 2008-05-22 05:42:12 UTC
Needed by kde-base/kstars-4* with USE="sbig"

Reproducible: Always

Actual Results:  
Missing headers again
Comment 1 Marek Miller 2008-05-22 16:27:09 UTC
Unfortunately, we have no idea why the indilib fails to compile on your machine.
So either you put some information here (emerge --info output and ebuild.log) or forget about the whole thing forever.
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2008-05-22 22:43:41 UTC
Please provide the information as pointed out in comment one and reopen.
Comment 3 Sergey Dryabzhinsky 2008-05-23 05:55:40 UTC
# emerge -1 =sci-libs/indilib-0.5
.......
sbigcam.cpp: In function 'void ISGetProperties(const char*)':
sbigcam.cpp:52: error: 'strcmp' was not declared in this scope
sbigcam.cpp: In function 'void ISNewSwitch(const char*, const char*, ISState*, char**, int)':
sbigcam.cpp:62: error: 'strcmp' was not declared in this scope
sbigcam.cpp: In function 'void ISNewText(const char*, const char*, char**, char**, int)':
sbigcam.cpp:72: error: 'strcmp' was not declared in this scope
sbigcam.cpp: In function 'void ISNewNumber(const char*, const char*, double*, char**, int)':
sbigcam.cpp:82: error: 'strcmp' was not declared in this scope
sbigcam.cpp: In member function 'int SbigCam::OpenDevice(const char*)':
sbigcam.cpp:169: error: 'strcmp' was not declared in this scope
sbigcam.cpp: In member function 'std::string SbigCam::GetCameraName()':
sbigcam.cpp:493: error: 'strchr' was not declared in this scope
sbigcam.cpp: In member function 'int SbigCam::SetDeviceName(const char*)':
sbigcam.cpp:525: error: 'strlen' was not declared in this scope
sbigcam.cpp:526: error: 'strcpy' was not declared in this scope
sbigcam.cpp: In member function 'void SbigCam::InitVars()':
sbigcam.cpp:1011: error: 'strcpy' was not declared in this scope
sbigcam.cpp: In member function 'int SbigCam::GetSelectedCcdChip(int&)':
sbigcam.cpp:1337: error: 'strcmp' was not declared in this scope
sbigcam.cpp: In member function 'int SbigCam::GetSelectedCcdBinningMode(int&)':
sbigcam.cpp:1383: error: 'strcmp' was not declared in this scope
sbigcam.cpp: In member function 'int SbigCam::GetCcdShutterMode(int&, int)':
sbigcam.cpp:1433: error: 'strcmp' was not declared in this scope
sbigcam.cpp: In member function 'void SbigCam::ISNewSwitch(const char*, ISState*, char**, int)':
sbigcam.cpp:1464: error: 'strcmp' was not declared in this scope
sbigcam.cpp:1511: error: 'strcmp' was not declared in this scope
sbigcam.cpp:1522: error: 'strcmp' was not declared in this scope
sbigcam.cpp:1556: error: 'strcmp' was not declared in this scope
sbigcam.cpp:1566: error: 'strcmp' was not declared in this scope
sbigcam.cpp:1578: error: 'strcmp' was not declared in this scope
sbigcam.cpp:1587: error: 'strcmp' was not declared in this scope
sbigcam.cpp:1603: error: 'strcmp' was not declared in this scope
sbigcam.cpp: In member function 'void SbigCam::ISNewText(const char*, char**, char**, int)':
sbigcam.cpp:1648: error: 'strcmp' was not declared in this scope
sbigcam.cpp: In member function 'void SbigCam::ISNewNumber(const char*, double*, char**, int)':
sbigcam.cpp:1664: error: 'strcmp' was not declared in this scope
sbigcam.cpp:1674: error: 'strcmp' was not declared in this scope
sbigcam.cpp:1700: error: 'strcmp' was not declared in this scope
sbigcam.cpp:1721: error: 'strcmp' was not declared in this scope
sbigcam.cpp:1784: error: 'strcmp' was not declared in this scope
sbigcam.cpp: In member function 'int SbigCam::StartExposure()':
sbigcam.cpp:1980: error: 'strcmp' was not declared in this scope
sbigcam.cpp: In member function 'short unsigned int* SbigCam::AllocateBuffer(short unsigned int, short unsigned int)':
sbigcam.cpp:2135: error: 'memset' was not declared in this scope
sbigcam.cpp: In member function 'std::string SbigCam::CreateFitsName()':
sbigcam.cpp:2234: error: 'strcmp' was not declared in this scope
sbigcam.cpp: In member function 'void SbigCam::CreateFitsHeader(fitsfile*, unsigned int, unsigned int)':
sbigcam.cpp:2353: warning: deprecated conversion from string constant to 'char*'
sbigcam.cpp:2353: warning: deprecated conversion from string constant to 'char*'
sbigcam.cpp:2354: warning: deprecated conversion from string constant to 'char*'
sbigcam.cpp:2354: warning: deprecated conversion from string constant to 'char*'
sbigcam.cpp:2356: warning: deprecated conversion from string constant to 'char*'
sbigcam.cpp:2356: warning: deprecated conversion from string constant to 'char*'
sbigcam.cpp:2358: warning: deprecated conversion from string constant to 'char*'
sbigcam.cpp:2358: warning: deprecated conversion from string constant to 'char*'
sbigcam.cpp:2359: warning: deprecated conversion from string constant to 'char*'
sbigcam.cpp:2359: warning: deprecated conversion from string constant to 'char*'
sbigcam.cpp:2360: warning: deprecated conversion from string constant to 'char*'
sbigcam.cpp:2360: warning: deprecated conversion from string constant to 'char*'
sbigcam.cpp:2387: warning: deprecated conversion from string constant to 'char*'
sbigcam.cpp:2387: warning: deprecated conversion from string constant to 'char*'
sbigcam.cpp:2388: warning: deprecated conversion from string constant to 'char*'
sbigcam.cpp:2388: warning: deprecated conversion from string constant to 'char*'
sbigcam.cpp:2394: warning: deprecated conversion from string constant to 'char*'
sbigcam.cpp:2394: warning: deprecated conversion from string constant to 'char*'
sbigcam.cpp:2396: warning: deprecated conversion from string constant to 'char*'
sbigcam.cpp:2396: warning: deprecated conversion from string constant to 'char*'
sbigcam.cpp:2406: error: 'strcmp' was not declared in this scope
sbigcam.cpp:2418: error: 'strncpy' was not declared in this scope
sbigcam.cpp:2419: warning: deprecated conversion from string constant to 'char*'
sbigcam.cpp:2419: warning: deprecated conversion from string constant to 'char*'
sbigcam.cpp: In member function 'int SbigCam::UploadFits(std::string)':
sbigcam.cpp:2621: error: 'strcpy' was not declared in this scope
sbigcam.cpp: In member function 'void SbigCam::SetBlobState(IPState)':
sbigcam.cpp:2657: error: 'strcpy' was not declared in this scope
sbigcam.cpp: In member function 'int SbigCam::GetCfwSelType()':
sbigcam.cpp:2894: error: 'strcmp' was not declared in this scope
make[3]: *** [sbigcam.o] Error 1

# emerge --info
Portage 2.1.5.2 (default/linux/x86/2008.0, gcc-4.3.0, glibc-2.7-r2, 2.6.25-mm1-cyberdungeon i686)
=================================================================
System uname: 2.6.25-mm1-cyberdungeon i686 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Thu, 22 May 2008 13:45:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.4-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1, 2.18.50.0.7
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r3
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon64 -pipe -fomit-frame-pointer -msse2 -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/initng/daemon /etc/initng/net /etc/initng/system /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -march=athlon64 -pipe -fomit-frame-pointer -msse2 -mfpmath=sse"
DISTDIR="/mnt/sda1/Distributions/Linux/Gentoo/distfiles"
FEATURES="buildpkg distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://unix.miet.ru/pub/linux/gentoo/ ftp://mirror.yandex.ru/gentoo-distfiles/ http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-zcombreloc -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--hash-style=gnu"
LINGUAS="ru"
MAKEOPTS="-j2"
PKGDIR="/mnt/sda1/Distributions/Linux/Gentoo/packages/x86/athlon64"
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="/mnt/sda1/Distributions/Linux/Gentoo/portage"
PORTDIR_OVERLAY="/home/ftp/Distributions/Linux/Gentoo/overlays/killy-overlay /home/ftp/Distributions/Linux/Gentoo/overlays/nouveau /home/ftp/Distributions/Linux/Gentoo/overlays/kde /home/ftp/Distributions/Linux/Gentoo/overlays/toolchain /home/ftp/Distributions/Linux/Gentoo/overlays/gnash-cvs /home/ftp/Distributions/Linux/Gentoo/overlays/gcc-porting /home/ftp/Distributions/Linux/Gentoo/overlays/fairy-gentoo-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext custom-cflags idn kdeenablefinal kdehiddenvisibility logrotate minimal nls nocxx pic sse sse2 unicode x86" ALSA_CARDS="via82xx mpu401" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Marek Miller 2008-06-07 20:34:47 UTC
Created attachment 155867 [details]
indilib-0.5_gcc43.patch

This should fix the problem.
Comment 5 Sergey Dryabzhinsky 2008-06-08 16:30:34 UTC
Compiled fine, thanks for the patch...
Comment 6 Marek Miller 2008-06-08 16:36:46 UTC
Please mark this bug blocking Bug 198121.
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-06-09 12:09:24 UTC
Thanks for the patch, fixed.