Bug 217919 - sci-misc/boinc-5.10.45 fails to compile
Bug#: 217919 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: cryos@gentoo.org Reported By: Michael.Gaber@gmx.net
Component: Unspecified
URL: 
Summary: sci-misc/boinc-5.10.45 fails to compile
Keywords:  
Status Whiteboard: 
Opened: 2008-04-16 09:28 0000
Description:   Opened: 2008-04-16 09:28 0000
--- Build Components: (client only) ---
make  all-recursive
make[1]: Entering directory
`/var/tmp/portage/sci-misc/boinc-5.10.45/work/boinc-5.10.45'
Making all in m4
make[2]: Entering directory
`/var/tmp/portage/sci-misc/boinc-5.10.45/work/boinc-5.10.45/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/var/tmp/portage/sci-misc/boinc-5.10.45/work/boinc-5.10.45/m4'
Making all in api
make[2]: Entering directory
`/var/tmp/portage/sci-misc/boinc-5.10.45/work/boinc-5.10.45/api'
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..  -I../lib -I../api -I../db
-I../client -I../tools -I../sched -I../lib/mac  -pthread  -I../lib -I../api
-I../db -I../client -I../tools -I../sched -I../lib/mac  -pthread -O2
-march=core2 -pipe -fomit-frame-pointer -mfpmath=sse -mssse3 -O3 -funroll-loops
-fforce-addr -ffast-math -I/usr/include -I/usr/include/openssl -pthread -MT
boinc_api.o -MD -MP -MF .deps/boinc_api.Tpo -c -o boinc_api.o boinc_api.C
In file included from boinc_api.C:48:
../lib/parse.h: In function ‘bool match_tag(const char*, const char*)’:
../lib/parse.h:64: error: ‘strstr’ was not declared in this scope
../lib/parse.h: In function ‘bool parse_int(const char*, const char*,
int&)’:
../lib/parse.h:77: error: ‘strstr’ was not declared in this scope
../lib/parse.h:79: error: ‘strlen’ was not declared in this scope
../lib/parse.h: In function ‘bool parse_double(const char*, const char*,
double&)’:
../lib/parse.h:87: error: ‘strstr’ was not declared in this scope
../lib/parse.h:89: error: ‘strlen’ was not declared in this scope
make[2]: *** [boinc_api.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/sci-misc/boinc-5.10.45/work/boinc-5.10.45/api'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/sci-misc/boinc-5.10.45/work/boinc-5.10.45'
make: *** [all] Error 2



keksdose-mobile ~ # emerge --info
Portage 2.1.5_rc4 (default-linux/x86/2007.0, gcc-4.3.0, glibc-2.7-r2,
2.6.24-thinkpad-r4 i686)
=================================================================
System uname: 2.6.24-thinkpad-r4 i686 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
Timestamp of tree: Wed, 16 Apr 2008 08:18:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.5.1-r5
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.1-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer -mfpmath=sse -mssse3"
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/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/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="-O2 -march=core2 -pipe -fomit-frame-pointer -mfpmath=sse -mssse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms
strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LDFLAGS=""
LINGUAS="de"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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/portage/local/layman/sunrise
/usr/portage/local/layman/jokey /usr/portage/local/layman/x11
/usr/local/portage"
SYNC="rsync://rsync1.de.gentoo.org/gentoo-portage"
USE="X X509 aalib acl acpi alsa amazon apache2 audiofile bash-completion berkdb
bluetooth bzip2 cairo cardbus cdda cddb cdinstall cdio cdparanoia cdr cli
cracklib crypt css ctype cups curl dbus device-mapper divx dri dvd dvdr dvdread
encode fat fftw firefox flac foomaticdb fortran games gd gdbm geldkarte gif
gimp gimpprint gmedia gnuplot gnutls gpg gpgme gphoto2 gpm graphviz gtk hal
hbci hdaps hibernate-script hou iconv icq id3 id3tag imap imlib imlib2 innodb
ipod ipv6 ipw3945 irc jabber java java5 java6 javascript jpeg jpeg2k kde lame
laptop latex logrotate metric midi mikmod mime mmap mmx mmxext mp2 mp3 mp4 mpeg
mpeg2 mplayer msn mudflap mysql mysqli ncurses network networkmanager nfs nls
nowin nptl nptlonly nsplugin ntfs obex offensive ogg openct opengl openmp pam
pcmcia pcre pcsc-lite pdf perl php png pop postgres ppds python qt3 qt3support
qt4 query-browser rar rdesktop readline real realmedia reflection reiser4
reiserfs replytolist samba science sco_flowcontrol sdl session smartcard smime
smp smtp sou sound spell spl sse sse2 ssl ssse3 subversion svg symlink tcpd
theora threads tidy tiff truetype twolame unicode usb userlocales vamp vcd
videos vim-syntax vim-with-x vlm vnc vorbis webdav wifi win32codecs wmf wmp
x264 x86 xcomposite xinerama xml xorg xosd xpm xprint xscreensaver xvid
zeroconf zip 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 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="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de"
USERLAND="GNU" VIDEO_CARDS="ati radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Jeroen Roovers 2008-04-16 15:27:51 0000 -------
CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer -mfpmath=sse -mssse3"

Did you try correcting the spelling to -msse3?

------- Comment #2 From Michael Gaber 2008-04-16 19:01:52 0000 -------
from the gcc-homepage availiable at http://gcc.gnu.org/gcc-4.3/changes.html

Support for SSSE3 built-in functions and code generation are available via
-mssse3.

------- Comment #3 From Markus Dittrich 2008-04-17 13:06:59 0000 -------
This is a known issue with gcc-4.3 since header
dependencies have been cleaned up [1].
In this case there's probably a few <cstring> 
includes missing somewhere. I'll see that I can
patch this as soon as I have a dev box up with
gcc-4.3 installed ;)

cheers,
Markus

[1] http://gcc.gnu.org/gcc-4.3/porting_to.html

------- Comment #4 From Markus Dittrich 2008-04-17 19:05:08 0000 -------
Fixed in cvs. 

best,
Markus