Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 290605 - games-strategy/wesnoth-1.6.5 fails to compile with dev-libs/boost-1.35.0-r5
Summary: games-strategy/wesnoth-1.6.5 fails to compile with dev-libs/boost-1.35.0-r5
Status: RESOLVED DUPLICATE of bug 290691
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-26 19:06 UTC by Tanktalus
Modified: 2009-10-27 07:35 UTC (History)
1 user (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 Tanktalus 2009-10-26 19:06:34 UTC
I just upgraded wesnoth from 1.6.4 to 1.6.5 two days ago, and now, with a boost upgrade (from 1.35.0-r2 to -r5), emerge @preserved-rebuild is giving the following error:

CMake Error at cmake/FindBoost.cmake:395 (MESSAGE):
  Please install the Boost libraries AND development packages

Yet, akonadi-server-1.2.1, which also needed rebuilding, had no problem.

Reproducible: Always

Steps to Reproduce:
1. Use boost-1.35.0-r2 to compile wesnoth-1.6.5
2. Upgrade boost to -r5
3. Try to compile wesnoth again.

(I assume that you can just try with boost1.35.0-r5 in the first place, but I've not tried that.)
Actual Results:  
>>> Unpacking source...
>>> Unpacking wesnoth-1.6.5.tar.bz2 to /var/tmp/portage/games-strategy/wesnoth-1.6.5/work
>>> Source unpacked in /var/tmp/portage/games-strategy/wesnoth-1.6.5/work
>>> Preparing source in /var/tmp/portage/games-strategy/wesnoth-1.6.5/work/wesnoth-1.6.5 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/games-strategy/wesnoth-1.6.5/work/wesnoth-1.6.5 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/games-strategy/wesnoth-1.6.5/work/wesnoth-1.6.5_build"
cmake -C /var/tmp/portage/games-strategy/wesnoth-1.6.5/temp/gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_CAMPAIGN_SERVER=FALSE -DENABLE_SERVER=FALSE -DENABLE_GAME=ON -DENABLE_ENABLE_DESKTOP_ENTRY=ON -DENABLE_NLS=ON -DGUI=normal -DENABLE_FRIBIDI=FALSE -DCMAKE_INSTALL_PREFIX=/usr/games -DPREFERENCES_DIR=.wesnoth -DDATAROOTDIR=/usr/share/games -DBINDIR=/usr/games/bin -DICONDIR=/usr/share/pixmaps -DDESKTOPDIR=/usr/share/applications -DMANDIR=/usr/share/man -DDOCDIR=/usr/share/doc/wesnoth-1.6.5 -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/games-strategy/wesnoth-1.6.5/temp/gentoo_rules.cmake /var/tmp/portage/games-strategy/wesnoth-1.6.5/work/wesnoth-1.6.5
loading initial cache file /var/tmp/portage/games-strategy/wesnoth-1.6.5/temp/gentoo_common_config.cmake
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
CMake Error at cmake/FindBoost.cmake:395 (MESSAGE):
  Please install the Boost libraries AND development packages
Call Stack (most recent call first):
  CMakeLists.txt:22 (find_package)


-- Configuring incomplete, errors occurred!
 [31;01m*[0m ERROR: games-strategy/wesnoth-1.6.5 failed:
 [31;01m*[0m   cmake failed
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, line   49:  Called src_configure
 [31;01m*[0m   environment, line 3258:  Called cmake-utils_src_configure
 [31;01m*[0m   environment, line  867:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m       cmake ${cmakeargs} "${CMAKE_USE_DIR}" || die "cmake failed";
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of 'emerge --info =games-strategy/wesnoth-1.6.5',
 [31;01m*[0m the complete build log and the output of 'emerge -pqv =games-strategy/wesnoth-1.6.5'.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/games-strategy/wesnoth-1.6.5/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/games-strategy/wesnoth-1.6.5/temp/environment'.
 [31;01m*[0m S: '/var/tmp/portage/games-strategy/wesnoth-1.6.5/work/wesnoth-1.6.5'


Expected Results:  
Find boost, and compile.

Portage 2.2_rc46 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-x86_64-AMD_Phenom-tm-_9850_Quad-Core_Processor-with-gentoo-2.0.1
Timestamp of tree: Mon, 26 Oct 2009 07:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.5.4-r3, 2.6.2-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r4
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/kde/4.3/env /usr/kde/4.3/share/config /usr/kde/4.3/shutdown /usr/share/X11/xkb /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /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/udev/rules.d"
CXXFLAGS="-O3 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.mirrors.tds.net/gentoo ftp://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://gentoo.mirrors.tds.net/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j9 -l25"
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="/home/dmcbride/cvs/portdir-mine /usr/portage/local/layman/qting-edge /usr/portage/local/layman/jokey /usr/portage/local/layman/kde-testing"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 arts audiofile avi bash-completion berkdb branding bzip2 cairo cddb cdparanoia cdr cli cracklib crypt css cups dbus dri dvd dvdr dvdread encode exif expat ffmpeg fftw firefox fontconfig fortran gd gdbm gif gimp gmp gnutls gpm gs hal htmlhandbook iconv imagemagick ipv6 isdnlog java jbig jpeg jpeg2k kde kdeprefix lcms lzo mad mjpeg mmx mng modules mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre perl png pppd python qt4 readline reflection sdl session smp spl sse sse2 ssl subversion svg sysfs tcpd threads tiff truetype unicode vcd vorbis wmf x264 xcb xcomposite xinerama xml xorg xulrunner xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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" FOO2ZJS_DEVICES="hp2600n" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="vesa fbdev radeon radeonhd" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sebastian Luther (few) 2009-10-26 19:11:42 UTC
What gives "eselect boost list"?
Comment 2 Tanktalus 2009-10-26 19:40:06 UTC
I didn't even know about that .. anyway:

# eselect boost list
Available boost versions:
  [1]   boost-1.35/default *

I presume that means that this should work :-)
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2009-10-26 20:54:58 UTC
unmerge all boost packages and make sure you don't have any bits hanging around.  Then emerge it back and run eselect for the version you want.

There's nothing wrong with the boost packages, the problem is local to your system.  There's no reason to hold up the other bugs because of your local issue.
Comment 4 Tanktalus 2009-10-26 23:51:30 UTC
Removing boost and reinstalling it gets me past that point in wesnoth's compile.

That said, I'm guessing it's actually the fact that the old libboost stuff is left behind that is causing the confusion, so I'm not really convinced it's a "local" issue - the issue is highly probably boost's headers and library not matching (the matching library is also there, but not necessarily the one that FindBoost.cmake is looking at).  Perhaps if FindBoost.cmake were to reverse the order of versions it is looking at, it would have gotten this one right?  Not sure.

I just think this is more than just "my local issue" as I did nothing to wesnoth or boost other than emerge them as they stabilised.
Comment 5 Sebastian Luther (few) 2009-10-27 07:35:52 UTC

*** This bug has been marked as a duplicate of bug 290691 ***