Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 290105 - games-simulation:secondlife-1.23_rc4-r1 fail on compile
Summary: games-simulation:secondlife-1.23_rc4-r1 fail on compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Joe Peterson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-22 07:15 UTC by tman
Modified: 2010-07-06 01:52 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2009-10-22 07:15:11 UTC
games-simulation:secondlife-1.23_rc4-r1 fail on compile. in addtion to this there an new version of this. maybe maintainer can update and fix the ebuild

###################
#emerge --info
###################

Portage 2.1.7.1 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.10.1-r0, 2.6.31-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9700_@_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 22 Oct 2009 04:30:01 +0000
app-shells/bash:     4.0_p33
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.3, 3.1.1-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r1
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/X11/Sessions/awesome /etc/X11/Sessions/dwm /etc/X11/xorg.conf /etc/apache2/httpd.conf /etc/conf.d/hwclock /etc/conf.d/keymaps /etc/fstab /etc/make.conf /etc/xdg/openbox/autostart.sh /etc/xdg/openbox/menu.xml /etc/xdg/openbox/rc.xml /etc/xdg/openbox/start /usr/share/X11/xkb /usr/share/xsessions/openbox.desktop"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de en vi"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
USE="7zip X a52 aac aalib accessibility acl acpi adns afs aim alsa amd64 ao apache2 ass atm audio audiofile avahi bash-completion beagle berkdb bidi bluetooth bzip2 cairo caps cdda cdio cdparanoia cdr cgi cjk cli clisp consolekit cracklib crypt cscope css csv cups curl curlwrappers cvs dbus dc1394 dga dia dirac directfb dmx dri dts dv dvd dvdr dvi emacs enca encode enscript erandom exif expat extras faac faad fam fastcgi fbcon ffmpeg firefox flac flash fortran ftp fuse gcj gd gdbm geoip ggi gif gimp git glib gmp gnome gnome-keyring gnutls gphoto2 gpm graphviz gs gstreamer gtk gzip hal hash hddtemp highlight httpd iconv icq icu idn ieee1394 imagemagick imap imlib ipv6 jabber jack java java6 javascript jingle joystick jpeg jpeg2k kerberos lame lapack latex lcms ldap libcaca libwww live logrotate lua lzo mad maildir matroska md5sum memlimit mhash midi mikmod mime mjpeg mmap mmx mmxext mng mono motif mp3 mp4 mpeg mplayer msn mudflap mule multilib musepack mysql nas nautilus ncurses network networkmanager nfs nls nptl nptlonly nsplugin nvidia ogg ogg123 openal openexr opengl openmp oss pam pcmcia pcre pdf perl php pic pidgin png posix postgres ppds ps pulseaudio python qt3support qt4 quicktime radio rar raw rdesktop readline reflection rss rtsp ruby samba sasl savedconfig schroedinger sdl sdl-image session sip slang slp smp soap sockets sox spamassassin speex spell spl sqlite sse sse2 ssl stream stun subversion svg swat sysfs syslog sysvipc tcl tcpd theora threads tidy tiff timidity tk tokenizer truetype ucs2 udev unicode urandom usb userlocales v4l v4l2 vcd vhosts video vim-syntax vlc vlm vnc vorbis wav wavpack webkit wifi wma wmf wxwidgets x264 xattr xcb xcomposite xft xinerama xinetd xml xmlrpc xorg xpm xprint xscreensaver xsl xulrunner xv xvid xvmc yahoo zip zlib zsh-completion" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation php5 proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en vi" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev vga vmware" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Reproducible: Always

Steps to Reproduce:
##################
always reproduceable

Actual Results:  
####################

In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/ext/hash_map:59,
                 from /var/tmp/portage/games-simulation/secondlife-1.23_rc4-r1/work/linden/indra/llcommon/llstringtable.h:54,
                 from /var/tmp/portage/games-simulation/secondlife-1.23_rc4-r1/work/linden/indra/llcommon/string_table.h:32,
                 from /var/tmp/portage/games-simulation/secondlife-1.23_rc4-r1/work/linden/indra/llcharacter/llanimationstates.h:38,
                 from /var/tmp/portage/games-simulation/secondlife-1.23_rc4-r1/work/linden/indra/llcharacter/llanimationstates.cpp:39:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/backward/backward_warning.h:28:2: error: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
cc1plus: warnings being treated as errors
In file included from /var/tmp/portage/games-simulation/secondlife-1.23_rc4-r1/work/linden/indra/llaudio/listener.h:36,
                 from /var/tmp/portage/games-simulation/secondlife-1.23_rc4-r1/work/linden/indra/llaudio/audioengine.h:40,
                 from /var/tmp/portage/games-simulation/secondlife-1.23_rc4-r1/work/linden/indra/llaudio/audioengine.cpp:36:
/var/tmp/portage/games-simulation/secondlife-1.23_rc4-r1/work/linden/indra/llmath/v3math.h: In function ‘bool operator<(const LLVector3&, const LLVector3&)’:
/var/tmp/portage/games-simulation/secondlife-1.23_rc4-r1/work/linden/indra/llmath/v3math.h:415: error: suggest parentheses around ‘&&’ within ‘||’
make[2]: *** [llaudio/CMakeFiles/llaudio.dir/audioengine.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/games-simulation/secondlife-1.23_rc4-r1/work/linden/indra/viewer-linux-x86_64-relwithdebinfo'
make[1]: *** [llaudio/CMakeFiles/llaudio.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  1%] Building CXX object llcharacter/CMakeFiles/llcharacter.dir/llbvhloader.o
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/ext/hash_map:59,
                 from /var/tmp/portage/games-simulation/secondlife-1.23_rc4-r1/work/linden/indra/llcommon/llstringtable.h:54,
                 from /var/tmp/portage/games-simulation/secondlife-1.23_rc4-r1/work/linden/indra/llcommon/string_table.h:32,
                 from /var/tmp/portage/games-simulation/secondlife-1.23_rc4-r1/work/linden/indra/llmessage/llnamevalue.h:50,
                 from /var/tmp/portage/games-simulation/secondlife-1.23_rc4-r1/work/linden/indra/llmessage/llassetstorage.h:41,
                 from /var/tmp/portage/games-simulation/secondlife-1.23_rc4-r1/work/linden/indra/llcharacter/llkeyframemotion.h:42,
                 from /var/tmp/portage/games-simulation/secondlife-1.23_rc4-r1/work/linden/indra/llcharacter/llbvhloader.cpp:41:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/backward/backward_warning.h:28:2: error: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
cc1plus: warnings being treated as errors
In file included from /var/tmp/portage/games-simulation/secondlife-1.23_rc4-r1/work/linden/indra/llcharacter/llbvhloader.h:36,
                 from /var/tmp/portage/games-simulation/secondlife-1.23_rc4-r1/work/linden/indra/llcharacter/llbvhloader.cpp:35:
/var/tmp/portage/games-simulation/secondlife-1.23_rc4-r1/work/linden/indra/llmath/v3math.h: In function ‘bool operator<(const LLVector3&, const LLVector3&)’:
/var/tmp/portage/games-simulation/secondlife-1.23_rc4-r1/work/linden/indra/llmath/v3math.h:415: error: suggest parentheses around ‘&&’ within ‘||’
make[2]: *** [llcharacter/CMakeFiles/llcharacter.dir/llbvhloader.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [llcharacter/CMakeFiles/llcharacter.dir/llanimationstates.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/games-simulation/secondlife-1.23_rc4-r1/work/linden/indra/viewer-linux-x86_64-relwithdebinfo'
make[1]: *** [llcharacter/CMakeFiles/llcharacter.dir/all] Error 2
make[1]: Leaving directory `/var/tmp/portage/games-simulation/secondlife-1.23_rc4-r1/work/linden/indra/viewer-linux-x86_64-relwithdebinfo'
make: *** [all] Error 2
make: Leaving directory `/var/tmp/portage/games-simulation/secondlife-1.23_rc4-r1/work/linden/indra/viewer-linux-x86_64-relwithdebinfo'
Error: the command 'make' exited with status 2
 * ERROR: games-simulation/secondlife-1.23_rc4-r1 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  49:  Called src_compile
 *   environment, line 2979:  Called die
 * The specific snippet of code:
 *       ./develop.py --standalone build || die
 * 
 * If you need support, post the output of 'emerge --info =games-simulation/secondlife-1.23_rc4-r1',
 * the complete build log and the output of 'emerge -pqv =games-simulation/secondlife-1.23_rc4-r1'.
 * The complete build log is located at '/var/log/portage/games-simulation:secondlife-1.23_rc4-r1:20091022-070650.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-simulation/secondlife-1.23_rc4-r1/temp/environment'.
 * S: '/var/tmp/portage/games-simulation/secondlife-1.23_rc4-r1/work/linden'

>>> Failed to emerge games-simulation/secondlife-1.23_rc4-r1, Log file:

>>>  '/var/log/portage/games-simulation:secondlife-1.23_rc4-r1:20091022-070650.log'

 * Messages for package games-simulation/secondlife-1.23_rc4-r1:

 * ERROR: games-simulation/secondlife-1.23_rc4-r1 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  49:  Called src_compile
 *   environment, line 2979:  Called die
 * The specific snippet of code:
 *       ./develop.py --standalone build || die
 * 
 * If you need support, post the output of 'emerge --info =games-simulation/secondlife-1.23_rc4-r1',
 * the complete build log and the output of 'emerge -pqv
Comment 1 Joe Peterson (RETIRED) gentoo-dev 2009-10-23 04:09:01 UTC
Just commited the new 1.23_rc5.  Let me know if you still see the issue with this one.

Thanks!
Comment 2 tman 2009-10-23 07:00:25 UTC
there is nothing about the new commit in portage yet. 
Comment 3 tman 2009-10-23 07:12:47 UTC
errors again... i forgott that we live in different timezone :-) 

usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/backward/backward_warning.h:28:2: error: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
cc1plus: warnings being treated as errors
In file included from /var/tmp/portage/games-simulation/secondlife-1.23_rc5/work/linden/indra/llcharacter/llbvhloader.h:36,
                 from /var/tmp/portage/games-simulation/secondlife-1.23_rc5/work/linden/indra/llcharacter/llbvhloader.cpp:35:
/var/tmp/portage/games-simulation/secondlife-1.23_rc5/work/linden/indra/llmath/v3math.h: In function ‘bool operator<(const LLVector3&, const LLVector3&)’:
/var/tmp/portage/games-simulation/secondlife-1.23_rc5/work/linden/indra/llmath/v3math.h:415: error: suggest parentheses around ‘&&’ within ‘||’
make[2]: *** [llcharacter/CMakeFiles/llcharacter.dir/llbvhloader.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [llcharacter/CMakeFiles/llcharacter.dir/llanimationstates.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/games-simulation/secondlife-1.23_rc5/work/linden/indra/viewer-linux-x86_64-relwithdebinfo'
make[1]: *** [llcharacter/CMakeFiles/llcharacter.dir/all] Error 2
make[1]: Leaving directory `/var/tmp/portage/games-simulation/secondlife-1.23_rc5/work/linden/indra/viewer-linux-x86_64-relwithdebinfo'
make: *** [all] Error 2
make: Leaving directory `/var/tmp/portage/games-simulation/secondlife-1.23_rc5/work/linden/indra/viewer-linux-x86_64-relwithdebinfo'
Error: the command 'make' exited with status 2
 * ERROR: games-simulation/secondlife-1.23_rc5 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  49:  Called src_compile
 *   environment, line 2979:  Called die
 * The specific snippet of code:
 *       ./develop.py --standalone build || die
 * 
 * If you need support, post the output of 'emerge --info =games-simulation/secondlife-1.23_rc5',
 * the complete build log and the output of 'emerge -pqv =games-simulation/secondlife-1.23_rc5'.
 * The complete build log is located at '/var/log/portage/games-simulation:secondlife-1.23_rc5:20091023-071121.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-simulation/secondlife-1.23_rc5/temp/environment'.
 * S: '/var/tmp/portage/games-simulation/secondlife-1.23_rc5/work/linden'

>>> Failed to emerge games-simulation/secondlife-1.23_rc5, Log file:

>>>  '/var/log/portage/games-simulation:secondlife-1.23_rc5:20091023-071121.log'

 * Messages for package games-simulation/secondlife-1.23_rc5:

 * ERROR: games-simulation/secondlife-1.23_rc5 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  49:  Called src_compile
 *   environment, line 2979:  Called die
 * The specific snippet of code:
 *       ./develop.py --standalone build || die
 * 
 * If you need support, post the output of 'emerge --info =games-simulation/secondlife-1.23_rc5',
 * the complete build log and the output of 'emerge -pqv =games-simulation/secondlife-1.23_rc5'.
 * The complete build log is located at '/var/log/portage/games-simulation:secondlife-1.23_rc5:20091023-071121.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-simulation/secondlife-1.23_rc5/temp/environment'.
 * S: '/var/tmp/portage/games-simulation/secondlife-1.23_rc5/work/linden'
Comment 4 Aaron Slunt 2009-10-26 01:30:03 UTC
/var/tmp/portage/games-simulation/secondlife-1.23_rc5/work/linden/indra/viewer-linux-x86_64-relwithdebinfo/CMakeFiles/CMakeError.log

/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-gcc   -Wall -Wno-sign-compare -Wno-trigraphs -Wno-non-virtual-dtor -Werror -march=native -O2 -pipe -fomit-frame-pointer   -DCHECK_FUNCTION_EXISTS=pthread_create  -fPIC -Wl,-O1 CMakeFiles/cmTryCompileExec.dir$
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpthreads
collect2: ld returned 1 exit status
gmake[1]: Leaving directory `/var/tmp/portage/games-simulation/secondlife-1.23_rc5/work/linden/indra/viewer-linux-x86_64-relwithdebinfo/CMakeFiles/CMakeTmp'
gmake[1]: *** [cmTryCompileExec] Error 1
gmake: *** [cmTryCompileExec/fast] Error 2

It's calling -Werror. That's why this build fails (fails on my amd64 system as well).
Comment 5 Aaron Pelton 2009-11-03 03:23:08 UTC
Turns out comments in linden/indra/cmake/00-Common.cmake indicate new warnings starting with gcc 4.3 cause the failures. It is possible to modify the cmake file to also match 4.4 but that results in other errors. Browsing the Linden site indicates a fair number of patches to resolve the new errors (possibly SNOW 193/4/5; 234 would appear to resolve the most recent error I got).

Newbie ?: Do "we" pull all the relevant patches in this circumstance or wait for them to release the next tarball?
Comment 6 Joe Peterson (RETIRED) gentoo-dev 2009-11-19 08:47:45 UTC
Secondlife is so damn fragile, and the src build has never had all the capabilities of the binary build, which is ashame.  It would be very good to have this build in top-form, get fonts, video/audio/voice working (although with proprietary binary components, the latter could be a real challenge).

I'm asking a secondlife expert about some of this...  stay tuned.
Comment 7 Thomas 2010-03-11 18:51:14 UTC
Any news?
Comment 8 Joe Peterson (RETIRED) gentoo-dev 2010-03-12 22:31:21 UTC
Sorry, nothing new...  I'm going to mask this for now, as not to lead people on.  I am unfortunately resorting to using the secondlife-bin (binary dist) now.
Comment 9 Joe Peterson (RETIRED) gentoo-dev 2010-03-12 23:29:53 UTC
Just verified still compiles with gcc-4.3.  I will refrain from masking, since gcc-4.4 is still marked unstable.

However, if anyone comes up with a patch that fixes gcc-4.4 compiling, I'll be glad to apply it.
Comment 10 Thomas 2010-03-16 08:25:28 UTC
I ttied to compile with gcc 4.3 but it seems that I have to compile everything with it:

>>> Compiling source in /var/tmp/portage/games-simulation/secondlife-1.23_rc5/work/linden ...
Running 'cmake -DCMAKE_BUILD_TYPE:STRING=RELWITHDEBINFO -G \'Unix Makefiles\' -DSERVER:BOOL=OFF -DVIEWER:BOOL=ON -DSTANDALONE:BOOL=ON -DUNATTENDED:BOOL=OFF -DROOT_PROJECT_NAME:STRING=SecondLife "" \'/var/tmp/portage/games-simulation/secondlife-1.23_rc5/work/linden/indra\'' in 'viewer-linux-x86_64-relwithdebinfo'
cmake: /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by cmake)
Cleaning 'viewer-linux-x86_64-relwithdebinfo'
Error: the command 'cmake' exited with status 1
Comment 11 Guido 2010-05-30 13:50:50 UTC
(In reply to comment #9)
> Just verified still compiles with gcc-4.3.  I will refrain from masking, since
> gcc-4.4 is still marked unstable.
> 
> However, if anyone comes up with a patch that fixes gcc-4.4 compiling, I'll be
> glad to apply it.
> 

Now that gcc-4.4 is being stablised, maybe this bug should block #249226?
Comment 12 Joe Peterson (RETIRED) gentoo-dev 2010-06-03 19:37:15 UTC
Package has been masked for removal in 30 days:

* Fails to build with gcc 4.4
* Requires non-open-source components that never worked well
  - e.g. voice, media
  - this (source) package never behaved quite like the binary
* Really should be replaced by Snowglobe, which is the OS version
Comment 13 Joe Peterson (RETIRED) gentoo-dev 2010-07-06 01:52:22 UTC
Removed.