First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 216586
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Stefan Schweizer <genstef@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Oliver B. Warzecha <obw@amarok.ping.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 216586 depends on: Show dependency tree
Show dependency graph
Bug 216586 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-04-06 17:39 0000
The compilation process stops right in the second source file because the
include file boost/scoped_ptr.hpp is not found. Google tells me this belongs to
the boost lib. build.log and emerge --info attached.

Reproducible: Always

Steps to Reproduce:
1. emerge widelands on system without boost libs.
2. see it fail.


Actual Results:  
Build fails.

Expected Results:  
Should build flawlessly.

build.log:
>>> Unpacking source...
>>> Unpacking widelands-build-12-source.tar.bz2 to /var/tmp/portage/games-strategy/widelands-0.0.12/work
 * Applying widelands-0.0.11-build.patch ...                              [ ok
]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/games-strategy/widelands-0.0.12/work/widelands ...
sed -e "s/UNKNOWN/svn`build/scons-tools/detect_revision.py`/"
src/build_id.h.default > src/build_id.h
===> CXX src/animation.cc
i686-pc-linux-gnu-g++ -march=athlon-xp -O -pipe -Wall -I/usr/include/SDL
-D_GNU_SOURCE=1 -D_REENTRANT -DNDEBUG -Isrc -Isrc/ui/ui_fs_menus
-Isrc/ui/ui_basic -Isrc/editor -Isrc/editor/ui_menus -Isrc/editor/tools
-Isrc/filesystem -Isrc/sound -Isrc/trigger -Isrc/events -MMD -MP -MF
src/native-release/animation.o.d -c -o src/native-release/animation.o
src/animation.cc
===> CXX src/areawatcher.cc
i686-pc-linux-gnu-g++ -march=athlon-xp -O -pipe -Wall -I/usr/include/SDL
-D_GNU_SOURCE=1 -D_REENTRANT -DNDEBUG -Isrc -Isrc/ui/ui_fs_menus
-Isrc/ui/ui_basic -Isrc/editor -Isrc/editor/ui_menus -Isrc/editor/tools
-Isrc/filesystem -Isrc/sound -Isrc/trigger -Isrc/events -MMD -MP -MF
src/native-release/areawatcher.o.d -c -o src/native-release/areawatcher.o
src/areawatcher.cc
===> CXX src/battle.cc
i686-pc-linux-gnu-g++ -march=athlon-xp -O -pipe -Wall -I/usr/include/SDL
-D_GNU_SOURCE=1 -D_REENTRANT -DNDEBUG -Isrc -Isrc/ui/ui_fs_menus
-Isrc/ui/ui_basic -Isrc/editor -Isrc/editor/ui_menus -Isrc/editor/tools
-Isrc/filesystem -Isrc/sound -Isrc/trigger -Isrc/events -MMD -MP -MF
src/native-release/battle.o.d -c -o src/native-release/battle.o src/battle.cc
In file included from src/transport.h:31,
                 from src/idleworkersupply.h:23,
                 from src/worker.h:23,
                 from src/soldier.h:23,
                 from src/battle.h:24,
                 from src/battle.cc:20:
src/map.h:37:32: warning: boost/scoped_ptr.hpp: No such file or directory
src/map.h:373: error: 'boost' has not been declared
src/map.h:373: error: ISO C++ forbids declaration of 'scoped_ptr' with no type
src/map.h:373: error: expected ';' before '<' token
make: *** [src/native-release/battle.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from src/editor_game_base.h:26,
                 from src/game.h:24,
                 from src/areawatcher.cc:22:
src/map.h:37:32: warning: boost/scoped_ptr.hpp: No such file or directory
src/map.h:373: error: 'boost' has not been declared
src/map.h:373: error: ISO C++ forbids declaration of 'scoped_ptr' with no type
src/map.h:373: error: expected ';' before '<' token
make: *** [src/native-release/areawatcher.o] Error 1
 * 
 * ERROR: games-strategy/widelands-0.0.12 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2833:  Called die
 * The specific snippet of code:
 *       emake CXX=$(tc-getCXX) all || die "emake failed";
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/tmp/portage/games-strategy/widelands-0.0.12/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/games-strategy/widelands-0.0.12/temp/environment'.
 * 

emerge --info:
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0,
2.6.21-gentoo-r4 i686)
=================================================================
System uname: 2.6.21-gentoo-r4 i686 AMD Athlon(tm) XP 1600+
Timestamp of tree: Sun, 06 Apr 2008 13:15:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
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.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O -pipe"
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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /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/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon-xp -O -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms
strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ http://194.117.143.72
http://gentoo.inode.at/ ftp://194.117.143.69/mirrors/gentoo"
LANG="C"
LINGUAS="en de"
MAKEOPTS="-j2"
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/hanno-xgl /usr/portage/local/layman/perl-experimental
/usr/local/portage"
SYNC="rsync://karnevil9/gentoo-portage"
USE="3dnow X Xaw3d aac aalib acl acpi alsa arts avahi bash-completion berkdb
branding bzip2 cairo cdinstall cdr cli cracklib crypt cscope cups curl dbus dga
directfb dlloader dmx dnd doc doomsday dri dvd dvdr dvdread eds emboss encode
esd evo examples exif fam fbcon ffmpeg firefox gdbm gif gimpprint glut gnome
gnustep gnutls gpm gstreamer gtk gtkhtml hal iconv idn imlib ipv6 isdnlog java
joystick jpeg kde kdeenablefinal kdexdeltas kerberos lcms ldap libnotify
lm_sensors mad mbox midi mikmod mmx modplug mozsvg mp3 mpeg mudflap mule mysql
ncurses nfs nls nntp nptl nptlonly nsplugin objc ogg opengl openmp pam pcre pda
pdf perl png postgres ppds pppd pulseaudio python qt3 qt3support qt4 quicktime
readline reflection ruby scanner sdl seamonkey session sndfile source spell spl
sqlite sse ssl startup-notification svg svga tcl tcltk tcpd tetex threads tiff
truetype unicode usb vorbis win32codecs x86 xcomposite xfs xinerama xml xorg
xprint xscreensaver xv xvid xvmc zlib" ALSA_CARDS="cmipci"
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="keyboard mouse joystick" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nv nvidia fbdev vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Jan Buecken 2008-04-09 10:58:17 0000 -------
confirming that emerge fails

------- Comment #2 From Roland Ramthun 2008-04-12 21:41:50 0000 -------
Doesn't compile without boost, works with dev-libs/boost-1.34.1-r2 (stable x86)
emerged.

Please add dev-libs/boost to the dependencies.

------- Comment #3 From Stefan Schweizer 2008-04-13 11:02:10 0000 -------
thank you guys, I have fixed this.

First Last Prev Next    No search results available      Search page      Enter new bug