Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 311369 - games-strategy/wesnoth-1.8 failed on compile
Summary: games-strategy/wesnoth-1.8 failed on compile
Status: RESOLVED DUPLICATE of bug 305945
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-26 00:38 UTC by tman
Modified: 2010-04-03 22:23 UTC (History)
2 users (show)

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


Attachments
log (games-strategy:wesnoth-1.8:20100326-002940.log,134.92 KB, text/plain)
2010-03-26 00:39 UTC, tman
Details
error log (games-strategy:wesnoth-1.8:20100328-012751.log,320.27 KB, text/plain)
2010-03-28 01:37 UTC, tman
Details
emerge -evp wesnoth (error.txt,45.88 KB, text/plain)
2010-03-28 07:36 UTC, tman
Details
emerge -evp wesnoth (evp_wesnoth,20.97 KB, text/plain)
2010-03-28 10:00 UTC, Michal Pytasz
Details
build.log (build.log,134.93 KB, text/plain)
2010-03-28 10:00 UTC, Michal Pytasz
Details
emerge --info (info,3.97 KB, text/plain)
2010-03-28 10:01 UTC, Michal Pytasz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2010-03-26 00:38:59 UTC
games-strategy:wesnoth-1.8 failed on compil

Reproducible: Always

Steps to Reproduce:

Actual Results:  
[100%] Building CXX object src/CMakeFiles/wesnoth.dir/variant.cpp.o
[100%] Building CXX object src/CMakeFiles/wesnoth.dir/widgets/combo.cpp.o
[100%] Building CXX object src/CMakeFiles/wesnoth.dir/widgets/combo_drag.cpp.o
[100%] Building CXX object src/CMakeFiles/wesnoth.dir/widgets/drop_target.cpp.o
[100%] Building CXX object src/CMakeFiles/wesnoth.dir/widgets/scrollpane.cpp.o
Linking CXX executable ../wesnoth
CMakeFiles/wesnoth.dir/game.cpp.o: In function `T.6692':
game.cpp:(.text+0xb21): undefined reference to `boost::iostreams::detail::gzip_header::reset()'
game.cpp:(.text+0xb2a): undefined reference to `boost::iostreams::detail::gzip_footer::reset()'
CMakeFiles/wesnoth.dir/game.cpp.o: In function `boost::iostreams::detail::zlib_compressor_impl<std::allocator<char> >::filter(char const*&, char const*, char*&, char*, bool)':
game.cpp:(.text._ZN5boost9iostreams6detail20zlib_compressor_implISaIcEE6filterERPKcS6_RPcS8_b[boost::iostreams::detail::zlib_compressor_impl<std::allocator<char> >::filter(char const*&, char const*, char*&, char*, bool)]+0x3d): undefined reference to `boost::iostreams::detail::zlib_base::xdeflate(int)'
CMakeFiles/wesnoth.dir/game.cpp.o: In function `boost::iostreams::detail::zlib_decompressor_impl<std::allocator<char> >::filter(char const*&, char const*, char*&, char*, bool)':
game.cpp:(.text._ZN5boost9iostreams6detail22zlib_decompressor_implISaIcEE6filterERPKcS6_RPcS8_b[boost::iostreams::detail::zlib_decompressor_impl<std::allocator<char> >::filter(char const*&, char const*, char*&, char*, bool)]+0x30): undefined reference to `boost::iostreams::detail::zlib_base::xinflate(int)'
CMakeFiles/wesnoth.dir/game.cpp.o: In function `void boost::iostreams::close<boost::iostreams::basic_gzip_decompressor<std::allocator<char> >, boost::iostreams::detail::linked_streambuf<char, std::char_traits<char> > >(boost::iostreams::basic_gzip_decompressor<std::allocator<char> >&, boost::iostreams::detail::linked_streambuf<char, std::char_traits<char> >&, std::_Ios_Openmode)':
game.cpp:(.text._ZN5boost9iostreams5closeINS0_23basic_gzip_decompressorISaIcEEENS0_6detail16linked_streambufIcSt11char_traitsIcEEEEEvRT_RT0_St13_Ios_Openmode[void boost::iostreams::close<boost::iostreams::basic_gzip_decompressor<std::allocator<char> >, boost::iostreams::detail::linked_streambuf<char, std::char_traits<char> > >(boost::iostreams::basic_gzip_decompressor<std::allocator<char> >&, boost::iostreams::detail::linked_streambuf<char, std::char_traits<char> >&, std::_Ios_Openmode)]+0x151): undefined reference to `boost::iostreams::detail::gzip_header::reset()'
game.cpp:(.text._ZN5boost9iostreams5closeINS0_23basic_gzip_decompressorISaIcEEENS0_6detail16linked_streambufIcSt11char_traitsIcEEEEEvRT_RT0_St13_Ios_Openmode[void boost::iostreams::close<boost::iostreams::basic_gzip_decompressor<std::allocator<char> >, boost::iostreams::detail::linked_streambuf<char, std::char_traits<char> > >(boost::iostreams::basic_gzip_decompressor<std::allocator<char> >&, boost::iostreams::detail::linked_streambuf<char, std::char_traits<char> >&, std::_Ios_Openmode)]+0x15a): undefined reference to `boost::iostreams::detail::gzip_footer::reset()'
CMakeFiles/wesnoth.dir/game.cpp.o: In function `long boost::iostreams::basic_gzip_decompressor<std::allocator<char> >::read<boost::iostreams::detail::linked_streambuf<char, std::char_traits<char> > >(boost::iostreams::detail::linked_streambuf<char, std::char_traits<char> >&, char*, long)':
game.cpp:(.text._ZN5boost9iostreams23basic_gzip_decompressorISaIcEE4readINS0_6detail16linked_streambufIcSt11char_traitsIcEEEEElRT_Pcl[long boost::iostreams::basic_gzip_decompressor<std::allocator<char> >::read<boost::iostreams::detail::linked_streambuf<char, std::char_traits<char> > >(boost::iostreams::detail::linked_streambuf<char, std::char_traits<char> >&, char*, long)]+0x4cf): undefined reference to `boost::iostreams::detail::gzip_footer::process(char)'
game.cpp:(.text._ZN5boost9iostreams23basic_gzip_decompressorISaIcEE4readINS0_6detail16linked_streambufIcSt11char_traitsIcEEEEElRT_Pcl[long boost::iostreams::basic_gzip_decompressor<std::allocator<char> >::read<boost::iostreams::detail::linked_streambuf<char, std::char_traits<char> > >(boost::iostreams::detail::linked_streambuf<char, std::char_traits<char> >&, char*, long)]+0x61e): undefined reference to `boost::iostreams::detail::gzip_header::reset()'
game.cpp:(.text._ZN5boost9iostreams23basic_gzip_decompressorISaIcEE4readINS0_6detail16linked_streambufIcSt11char_traitsIcEEEEElRT_Pcl[long boost::iostreams::basic_gzip_decompressor<std::allocator<char> >::read<boost::iostreams::detail::linked_streambuf<char, std::char_traits<char> > >(boost::iostreams::detail::linked_streambuf<char, std::char_traits<char> >&, char*, long)]+0x628): undefined reference to `boost::iostreams::detail::gzip_footer::reset()'
game.cpp:(.text._ZN5boost9iostreams23basic_gzip_decompressorISaIcEE4readINS0_6detail16linked_streambufIcSt11char_traitsIcEEEEElRT_Pcl[long boost::iostreams::basic_gzip_decompressor<std::allocator<char> >::read<boost::iostreams::detail::linked_streambuf<char, std::char_traits<char> > >(boost::iostreams::detail::linked_streambuf<char, std::char_traits<char> >&, char*, long)]+0x7bc): undefined reference to `boost::iostreams::detail::gzip_header::reset()'
game.cpp:(.text._ZN5boost9iostreams23basic_gzip_decompressorISaIcEE4readINS0_6detail16linked_streambufIcSt11char_traitsIcEEEEElRT_Pcl[long boost::iostreams::basic_gzip_decompressor<std::allocator<char> >::read<boost::iostreams::detail::linked_streambuf<char, std::char_traits<char> > >(boost::iostreams::detail::linked_streambuf<char, std::char_traits<char> >&, char*, long)]+0x7c6): undefined reference to `boost::iostreams::detail::gzip_footer::reset()'
game.cpp:(.text._ZN5boost9iostreams23basic_gzip_decompressorISaIcEE4readINS0_6detail16linked_streambufIcSt11char_traitsIcEEEEElRT_Pcl[long boost::iostreams::basic_gzip_decompressor<std::allocator<char> >::read<boost::iostreams::detail::linked_streambuf<char, std::char_traits<char> > >(boost::iostreams::detail::linked_streambuf<char, std::char_traits<char> >&, char*, long)]+0x7f0): undefined reference to `boost::iostreams::detail::gzip_header::process(char)'
libwesnoth-core.a(parser.cpp.o): In function `read_gz(config&, std::basic_istream<char, std::char_traits<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)':
parser.cpp:(.text+0x4c4c): undefined reference to `boost::iostreams::detail::gzip_header::reset()'
parser.cpp:(.text+0x4c55): undefined reference to `boost::iostreams::detail::gzip_footer::reset()'
collect2: ld returned 1 exit status
make[2]: *** [wesnoth] Error 1
make[1]: *** [src/CMakeFiles/wesnoth.dir/all] Error 2
make: *** [all] Error 2
 * ERROR: games-strategy/wesnoth-1.8 failed:
 *   Make failed!
 * 
 * Call stack:



Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.33-gentoo x86_64)
=================================================================
System uname: Linux-2.6.33-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9700_@_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 25 Mar 2010 23:00:01 +0000
app-shells/bash:     4.1_p2-r1
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r1, 3.1.2-r1
dev-util/cmake:      2.8.1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
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 /var/bind"
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"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/scarabeus /usr/portage/local/layman/gnome /usr/portage/local/layman/science /usr/portage/local/layman/lxde /usr/portage/local/layman/devnull /usr/portage/local/local-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl acpi adns afs aim alsa amd64 ao apache2 ass atm audio audiofile 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 dhcp dhcpcd 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 mbrola md5sum memlimit mercurial 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 policykit 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 ssse3 startup-notificatio 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" RUBY_TARGETS="ruby18 jruby" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev vga vmware" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 tman 2010-03-26 00:39:29 UTC
Created attachment 225271 [details]
log
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2010-03-26 02:16:43 UTC
What's the output from "eselect boost list"
Comment 3 tman 2010-03-26 05:18:32 UTC
 eselect boost list
Available boost versions:
  [1]   boost-1.39/default
  [2]   boost-1.42/default *
Comment 4 tman 2010-03-26 05:33:20 UTC
btw the version 1.6.5 has no ptoblem to compile with  [2]   boost-1.42/default, i hope u can fix it soon.

thanks alot
Comment 5 Balint Dobai-Pataky 2010-03-26 06:13:43 UTC
same here.
# eselect boost list
Available boost versions:
  [1]   boost-1.37/default *
  [2]   boost-1.39/default
  [3]   boost-1.41/default
  [4]   boost-1.42/default
Comment 6 Balint Dobai-Pataky 2010-03-26 06:52:55 UTC
I switched to boost-1.42/default and wesnoth compiled fine.
thanks
Comment 7 tman 2010-03-26 12:11:37 UTC
and i stll get same error somehow
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2010-03-27 22:35:39 UTC
Should be fixed up now.
Comment 9 tman 2010-03-28 01:37:27 UTC
Created attachment 225517 [details]
error log
Comment 10 tman 2010-03-28 01:37:55 UTC
this isnt fixed
Comment 11 Mr. Bones. (RETIRED) gentoo-dev 2010-03-28 02:41:41 UTC
What's the output from head -n3 wesnoth-1.8.ebuild show?
Comment 12 tman 2010-03-28 05:44:24 UTC
it show:

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/wesnoth-1.8.ebuild,v 1.4 2010/03/27 22:34:46 mr_bones_ Exp $
Comment 13 Mr. Bones. (RETIRED) gentoo-dev 2010-03-28 06:26:02 UTC
Hmmm, no idea then.  I have all the slotted versions of boost installed and it always builds against 1.42 as expected.  Even if I uninstall 1.42 and set the default boost lib to 1.39, it still builds against the newest boost specified in the ebuild.

The other major difference I can see is you have a newer pangocairo and fontconfig but that doesn't seem to be what the compile error is about.
Comment 14 Mr. Bones. (RETIRED) gentoo-dev 2010-03-28 07:23:41 UTC
How about posting the output from:

emerge -evp wesnoth

Maybe it's related to USE flags
Comment 15 tman 2010-03-28 07:34:20 UTC
its not problem if is compile again version 1.42x of boost. but the fact is it throws alot warning and errors by compiling and break with at the end.

i mean in versn 1.6.5 of wesnoth i also use boost-1.42 and it compiled fine. but that this new wesnoth 1.8 can compilation fail is realy strange.

it would be nice u investigate, whats wrong here. i gave u all avaiable log and info to support.

thanks you fast reaction.


#####################

btw i had started with : emerge -ev wesnoth. it take some hours, i will report afterward the result. 
Comment 16 tman 2010-03-28 07:36:03 UTC
Created attachment 225531 [details]
emerge -evp wesnoth
Comment 17 Michal Pytasz 2010-03-28 10:00:15 UTC
Created attachment 225537 [details]
emerge -evp wesnoth

Same issue here, will post emerge --info, build log, eselect boost, too
Comment 18 Michal Pytasz 2010-03-28 10:00:48 UTC
Created attachment 225539 [details]
build.log
Comment 19 Michal Pytasz 2010-03-28 10:01:21 UTC
Created attachment 225541 [details]
emerge --info
Comment 20 Michal Pytasz 2010-03-28 10:02:21 UTC
# eselect boost list
Available boost versions:
  [1]   boost-1.35/default
  [2]   boost-1.42/default *
Comment 21 tman 2010-03-28 14:41:03 UTC
emerge -ev wesnoth didnt help, so it must be a problem of ebuild
Comment 22 Marian Kyral 2010-03-30 20:35:32 UTC
I got the same error. I un-installed the 1.39 slot and now I'm trying to rebuild wesnoth.
Comment 23 tman 2010-03-31 11:35:59 UTC
what is the result @Marian

*** This bug has been marked as a duplicate of bug 305945 ***
Comment 24 Marian Kyral 2010-03-31 13:39:51 UTC
(In reply to comment #23)
> what is the result @Marian
> 
> *** This bug has been marked as a duplicate of bug 305945 ***
> 

So the result is that now wesnoth find the only one (and correct) version of boost (1.42) and compiled correctly.

$ eix wesnoth
[I] games-strategy/wesnoth
     Available versions:  1.6.5 (~)1.8 {dbus dedicated doc nls server tinygui}
     Installed versions:  1.8(01:29:13 31.3.2010)(dbus nls -dedicated -doc -server -tinygui)
     Homepage:            http://www.wesnoth.org/
     Description:         Battle for Wesnoth - A fantasy turn-based strategy game

Comment 25 Anatoliy Sviridenko 2010-04-03 22:23:23 UTC
I also had the same problem. Arch is amd64. I've tried to remove boost 1.35. So I have only boost 1.42 in my system. When I try to emerge wesnoth-1.8 it says that boost 1.35 will be installed. But, it failed during compilation, if boost 1.35 is present, even if 1.42 is default. I've replaced 1.35:0 by 1.42 in ebuild and now all works fine.