<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>223161</bug_id>
          
          <creation_ts>2008-05-22 05:42 0000</creation_ts>
          <short_desc>sci-libs/indilib-0.5 fails to build with gcc43</short_desc>
          <delta_ts>2008-06-09 12:09:24 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>GCC Porting</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>198121</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>sergey.dryabzhinsky@gmail.com</reporter>
          <assigned_to>kde@gentoo.org</assigned_to>
          <cc>mlm@ngc17.pl</cc>

      

      
          <long_desc isprivate="0">
            <who>sergey.dryabzhinsky@gmail.com</who>
            <bug_when>2008-05-22 05:42:12 0000</bug_when>
            <thetext>Needed by kde-base/kstars-4* with USE=&quot;sbig&quot;

Reproducible: Always

Actual Results:  
Missing headers again</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mlm@ngc17.pl</who>
            <bug_when>2008-05-22 16:27:09 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>carlo@gentoo.org</who>
            <bug_when>2008-05-22 22:43:41 0000</bug_when>
            <thetext>Please provide the information as pointed out in comment one and reopen.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sergey.dryabzhinsky@gmail.com</who>
            <bug_when>2008-05-23 05:55:40 0000</bug_when>
            <thetext># emerge -1 =sci-libs/indilib-0.5
.......
sbigcam.cpp: In function &apos;void ISGetProperties(const char*)&apos;:
sbigcam.cpp:52: error: &apos;strcmp&apos; was not declared in this scope
sbigcam.cpp: In function &apos;void ISNewSwitch(const char*, const char*, ISState*, char**, int)&apos;:
sbigcam.cpp:62: error: &apos;strcmp&apos; was not declared in this scope
sbigcam.cpp: In function &apos;void ISNewText(const char*, const char*, char**, char**, int)&apos;:
sbigcam.cpp:72: error: &apos;strcmp&apos; was not declared in this scope
sbigcam.cpp: In function &apos;void ISNewNumber(const char*, const char*, double*, char**, int)&apos;:
sbigcam.cpp:82: error: &apos;strcmp&apos; was not declared in this scope
sbigcam.cpp: In member function &apos;int SbigCam::OpenDevice(const char*)&apos;:
sbigcam.cpp:169: error: &apos;strcmp&apos; was not declared in this scope
sbigcam.cpp: In member function &apos;std::string SbigCam::GetCameraName()&apos;:
sbigcam.cpp:493: error: &apos;strchr&apos; was not declared in this scope
sbigcam.cpp: In member function &apos;int SbigCam::SetDeviceName(const char*)&apos;:
sbigcam.cpp:525: error: &apos;strlen&apos; was not declared in this scope
sbigcam.cpp:526: error: &apos;strcpy&apos; was not declared in this scope
sbigcam.cpp: In member function &apos;void SbigCam::InitVars()&apos;:
sbigcam.cpp:1011: error: &apos;strcpy&apos; was not declared in this scope
sbigcam.cpp: In member function &apos;int SbigCam::GetSelectedCcdChip(int&amp;)&apos;:
sbigcam.cpp:1337: error: &apos;strcmp&apos; was not declared in this scope
sbigcam.cpp: In member function &apos;int SbigCam::GetSelectedCcdBinningMode(int&amp;)&apos;:
sbigcam.cpp:1383: error: &apos;strcmp&apos; was not declared in this scope
sbigcam.cpp: In member function &apos;int SbigCam::GetCcdShutterMode(int&amp;, int)&apos;:
sbigcam.cpp:1433: error: &apos;strcmp&apos; was not declared in this scope
sbigcam.cpp: In member function &apos;void SbigCam::ISNewSwitch(const char*, ISState*, char**, int)&apos;:
sbigcam.cpp:1464: error: &apos;strcmp&apos; was not declared in this scope
sbigcam.cpp:1511: error: &apos;strcmp&apos; was not declared in this scope
sbigcam.cpp:1522: error: &apos;strcmp&apos; was not declared in this scope
sbigcam.cpp:1556: error: &apos;strcmp&apos; was not declared in this scope
sbigcam.cpp:1566: error: &apos;strcmp&apos; was not declared in this scope
sbigcam.cpp:1578: error: &apos;strcmp&apos; was not declared in this scope
sbigcam.cpp:1587: error: &apos;strcmp&apos; was not declared in this scope
sbigcam.cpp:1603: error: &apos;strcmp&apos; was not declared in this scope
sbigcam.cpp: In member function &apos;void SbigCam::ISNewText(const char*, char**, char**, int)&apos;:
sbigcam.cpp:1648: error: &apos;strcmp&apos; was not declared in this scope
sbigcam.cpp: In member function &apos;void SbigCam::ISNewNumber(const char*, double*, char**, int)&apos;:
sbigcam.cpp:1664: error: &apos;strcmp&apos; was not declared in this scope
sbigcam.cpp:1674: error: &apos;strcmp&apos; was not declared in this scope
sbigcam.cpp:1700: error: &apos;strcmp&apos; was not declared in this scope
sbigcam.cpp:1721: error: &apos;strcmp&apos; was not declared in this scope
sbigcam.cpp:1784: error: &apos;strcmp&apos; was not declared in this scope
sbigcam.cpp: In member function &apos;int SbigCam::StartExposure()&apos;:
sbigcam.cpp:1980: error: &apos;strcmp&apos; was not declared in this scope
sbigcam.cpp: In member function &apos;short unsigned int* SbigCam::AllocateBuffer(short unsigned int, short unsigned int)&apos;:
sbigcam.cpp:2135: error: &apos;memset&apos; was not declared in this scope
sbigcam.cpp: In member function &apos;std::string SbigCam::CreateFitsName()&apos;:
sbigcam.cpp:2234: error: &apos;strcmp&apos; was not declared in this scope
sbigcam.cpp: In member function &apos;void SbigCam::CreateFitsHeader(fitsfile*, unsigned int, unsigned int)&apos;:
sbigcam.cpp:2353: warning: deprecated conversion from string constant to &apos;char*&apos;
sbigcam.cpp:2353: warning: deprecated conversion from string constant to &apos;char*&apos;
sbigcam.cpp:2354: warning: deprecated conversion from string constant to &apos;char*&apos;
sbigcam.cpp:2354: warning: deprecated conversion from string constant to &apos;char*&apos;
sbigcam.cpp:2356: warning: deprecated conversion from string constant to &apos;char*&apos;
sbigcam.cpp:2356: warning: deprecated conversion from string constant to &apos;char*&apos;
sbigcam.cpp:2358: warning: deprecated conversion from string constant to &apos;char*&apos;
sbigcam.cpp:2358: warning: deprecated conversion from string constant to &apos;char*&apos;
sbigcam.cpp:2359: warning: deprecated conversion from string constant to &apos;char*&apos;
sbigcam.cpp:2359: warning: deprecated conversion from string constant to &apos;char*&apos;
sbigcam.cpp:2360: warning: deprecated conversion from string constant to &apos;char*&apos;
sbigcam.cpp:2360: warning: deprecated conversion from string constant to &apos;char*&apos;
sbigcam.cpp:2387: warning: deprecated conversion from string constant to &apos;char*&apos;
sbigcam.cpp:2387: warning: deprecated conversion from string constant to &apos;char*&apos;
sbigcam.cpp:2388: warning: deprecated conversion from string constant to &apos;char*&apos;
sbigcam.cpp:2388: warning: deprecated conversion from string constant to &apos;char*&apos;
sbigcam.cpp:2394: warning: deprecated conversion from string constant to &apos;char*&apos;
sbigcam.cpp:2394: warning: deprecated conversion from string constant to &apos;char*&apos;
sbigcam.cpp:2396: warning: deprecated conversion from string constant to &apos;char*&apos;
sbigcam.cpp:2396: warning: deprecated conversion from string constant to &apos;char*&apos;
sbigcam.cpp:2406: error: &apos;strcmp&apos; was not declared in this scope
sbigcam.cpp:2418: error: &apos;strncpy&apos; was not declared in this scope
sbigcam.cpp:2419: warning: deprecated conversion from string constant to &apos;char*&apos;
sbigcam.cpp:2419: warning: deprecated conversion from string constant to &apos;char*&apos;
sbigcam.cpp: In member function &apos;int SbigCam::UploadFits(std::string)&apos;:
sbigcam.cpp:2621: error: &apos;strcpy&apos; was not declared in this scope
sbigcam.cpp: In member function &apos;void SbigCam::SetBlobState(IPState)&apos;:
sbigcam.cpp:2657: error: &apos;strcpy&apos; was not declared in this scope
sbigcam.cpp: In member function &apos;int SbigCam::GetCfwSelType()&apos;:
sbigcam.cpp:2894: error: &apos;strcmp&apos; 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=&quot;x86 ~x86&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O3 -march=athlon64 -pipe -fomit-frame-pointer -msse2 -mfpmath=sse&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /var/bind&quot;
CONFIG_PROTECT_MASK=&quot;/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&quot;
CXXFLAGS=&quot;-O3 -march=athlon64 -pipe -fomit-frame-pointer -msse2 -mfpmath=sse&quot;
DISTDIR=&quot;/mnt/sda1/Distributions/Linux/Gentoo/distfiles&quot;
FEATURES=&quot;buildpkg distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox&quot;
GENTOO_MIRRORS=&quot;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&quot;
LANG=&quot;C&quot;
LDFLAGS=&quot;-Wl,-O1 -Wl,--as-needed -Wl,-zcombreloc -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--hash-style=gnu&quot;
LINGUAS=&quot;ru&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/mnt/sda1/Distributions/Linux/Gentoo/packages/x86/athlon64&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/mnt/sda1/Distributions/Linux/Gentoo/portage&quot;
PORTDIR_OVERLAY=&quot;/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&quot;
SYNC=&quot;rsync://rsync.europe.gentoo.org/gentoo-portage&quot;
USE=&quot;3dnow 3dnowext custom-cflags idn kdeenablefinal kdehiddenvisibility logrotate minimal nls nocxx pic sse sse2 unicode x86&quot; ALSA_CARDS=&quot;via82xx mpu401&quot; ALSA_PCM_PLUGINS=&quot;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&quot; APACHE2_MODULES=&quot;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&quot; ELIBC=&quot;glibc&quot; INITNG_PLUGINS=&quot;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&quot; INPUT_DEVICES=&quot;keyboard mouse evdev&quot; KERNEL=&quot;linux&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; LINGUAS=&quot;ru&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo&quot;
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mlm@ngc17.pl</who>
            <bug_when>2008-06-07 20:34:47 0000</bug_when>
            <thetext>Created an attachment (id=155867)
indilib-0.5_gcc43.patch

This should fix the problem.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sergey.dryabzhinsky@gmail.com</who>
            <bug_when>2008-06-08 16:30:34 0000</bug_when>
            <thetext>Compiled fine, thanks for the patch...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mlm@ngc17.pl</who>
            <bug_when>2008-06-08 16:36:46 0000</bug_when>
            <thetext>Please mark this bug blocking Bug 198121.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2008-06-09 12:09:24 0000</bug_when>
            <thetext>Thanks for the patch, fixed.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>155867</attachid>
            <date>2008-06-07 20:34 0000</date>
            <desc>indilib-0.5_gcc43.patch</desc>
            <filename>indilib-0.5_gcc43.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHNyYy9zYmlnY2FtLmgub3JpZwkyMDA4LTA2LTA3IDIyOjE4OjA3LjAwMDAwMDAwMCArMDIw
MAorKysgc3JjL3NiaWdjYW0uaAkyMDA4LTA2LTA3IDIyOjE4OjM1LjAwMDAwMDAwMCArMDIwMApA
QCAtMzMsNiArMzMsNyBAQAogI2luY2x1ZGUgPG1hdGguaD4KICNpbmNsdWRlIDx0aW1lLmg+CiAj
aW5jbHVkZSA8c3RyaW5nPgorI2luY2x1ZGUgPGNzdHJpbmc+CiAjaW5jbHVkZSAic2JpZ3VkcnYu
aCIKIAogLy8gRGVmaW5lIElOREkgaWYgSU5ESSBkcml2ZXIgc2hvdWxkIGJlIGdlbmVyYXRlZCwg
b3RoZXJ3aXNlIG9ubHkgU2JpZ0NhbSBjbGFzcyB3aXRob3V0Cg==
</data>        

          </attachment>
    </bug>

</bugzilla>