Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182844 - dev-util/monotone-0.33 & 0.35 fails configure with dev-utils/boost-1.34.0
Summary: dev-util/monotone-0.33 & 0.35 fails configure with dev-utils/boost-1.34.0
Status: RESOLVED DUPLICATE of bug 181972
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-21 23:02 UTC by Xake
Modified: 2007-07-18 20:00 UTC (History)
3 users (show)

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


Attachments
config.log from monotone (config.log,93.70 KB, text/plain)
2007-07-09 22:22 UTC, Xake
Details
boost-1.34.0.ebuild that builds debug and release (boost-1.34.0.ebuild,6.23 KB, text/plain)
2007-07-10 17:56 UTC, Alexandre Rostovtsev (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xake 2007-06-21 23:02:27 UTC
checking boost version 1.32.0 or newer... yes
checking for the boost_filesystem library... no
checking for the boost_filesystem-gcc library... no
checking for the boost_filesystem-mipspro library... no
checking for the boost_filesystem-mt library... no
checking for the boost_filesystem-sunpro library... no
checking for the boost_filesystem-sw library... no
checking for the boost_filesystem-mgw library... no
checking for the boost_filesystem-gcc-mt library... no
checking for the boost_filesystem-gcc-mt-s library... no
configure: error: the boost_filesystem library is required


Portage 2.1.3_rc4 (default-linux/x86/2007.0/desktop, gcc-4.2.0, glibc-2.5-r3, 2.6.21-gentoo-r2 i686)
=================================================================
System uname: 2.6.21-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System release 2.0.0_alpha3
Timestamp of tree: Thu, 21 Jun 2007 21:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.5.1-r2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.20_alpha2
sys-devel/autoconf:  2.13, 2.61
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.17.50.0.16
sys-devel/gcc-config: 1.4.0
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -pipe -O2 -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium4 -pipe -O2 -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.sunet.se/pub/os/Linux/distributions/gentoo"
LANG="sv"
LC_ALL="sv_SE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-znow -Wl,--hash-style=gnu"
LINGUAS="sv"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="bzip2"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/lila-theme /usr/portage/local/layman/musicbrainz /usr/local/overlays/portage"
SYNC="rsync://192.168.0.1/gentoo-portage"
USE="X a52 aac acl acpi aiglx alsa asf audioscrobbler avahi bash bash-completion beagle berkdb bitmap-fonts bogofilter branding bzip2 cairo cdaudio cddb cdr cli cracklib crypt cups curl dbus debug device-mapper disk-partition divx dmx dpms dri dts dvd dvdnav dvdr dvdread eds eiglx emboss encode esd evo evolution exif fam fat ffmpeg firefox flac fortran freetype ftp gd gdbm gedit gif gimp glib glitz glsa gmedia gmp gnome gnutls gpm gstreamer gtk gtk2 gtkhtml hal howl-compat hpn iconv icu inotify ipv6 irda irmc isdnlog ithreads java jikes joystick jpeg kerberos keyring kqemu lcms ldap libg++ libnotify libofa libsexy lm_sensors logrotate mad matroska matrox midi mikmod mmx mng mono moznocompose moznoirc moznomail mp3 mpeg msn mudflap musepack musicbrainz nautilus ncurses network networkmanager nfs nls nntp nptl nptlonly ntfs ntp numeric obex offensive ogg opengl openmp pam pam_console pcre pdf perl physfs pic png pppd print python qa qt3support quicktime rar readline real realmedia reflection reiserfs rtc samba scanner sdl sensord session slang smp sox spell spf spl srt sse sse2 ssh ssl startup-notification subtitles svg syslog tagwriting tcltk tcpd test theora threads tiff truetype truetype-fonts tth type1-fonts unicode usb userlocales utf8 vorbis win32codecs wma wmf wmp wv wxwindows x264 x86 xattr xcb xinerama xinetd xml xml2 xorg xosd xprint xulrunner xv xvid zlib" ALSA_CARDS="emu10k1 intel8x0 usb-audio" 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" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="sv" USERLAND="GNU" VIDEO_CARDS="nvidia none"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Dennis Schridde 2007-07-04 14:23:37 UTC
I cannot confirm this. Using dev-libs/boost-1.34.0 and dev-util/monotone-0.35:

checking boost version 1.32.0 or newer... yes
checking for the boost_filesystem library... yes
checking for the boost_regex library... yes
checking for the boost_unit_test_framework library... no

Maybe gcc-4.2 is to blame? What does the config.log say?
Comment 2 Xake 2007-07-09 22:22:25 UTC
Created attachment 124368 [details]
config.log from monotone

"gcc-config i686-pc-linux-gnu-4.1.2 && source /etc/profile && emerge boost-build boost monotone -1" fails in the same way. 

$ find /usr/lib | grep boost_filesystem
/usr/lib/libboost_filesystem-mt-sd.a
/usr/lib/debug/usr/lib/libboost_filesystem-mt-d.so.debug
/usr/lib/debug/usr/lib/libboost_filesystem-d.so.debug
/usr/lib/libboost_filesystem-sd.a
/usr/lib/libboost_filesystem-d.so
/usr/lib/libboost_filesystem-mt-d.so

The config.log attached is from that try. I am going to poke around a bit in this when I come home again (sometime next week).
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2007-07-10 17:56:17 UTC
Created attachment 124451 [details]
boost-1.34.0.ebuild that builds debug and release

This is a bug (or misfeature) in the boost-1.34.0 ebuild.
Boost libraries come in two versions: debug and release. The libraries have different names (the debug versions have a "d" suffix), and many applications that use boost, such as monotone, expect to link against the release version. Now, when USE="-debug", the existing ebuild builds only the release version (good). When USE="debug", it builds only the debug version (not good, breaks stuff).

Therefore, I've attached a new boost ebuild that builds both release and debug versions when USE=debug.
Comment 4 Daniel Black (RETIRED) gentoo-dev 2007-07-18 11:51:26 UTC
Tiziano - take a look at Alex's ebuild. Looks a touch neater than symlinking libs. Your call as always :-).

*** This bug has been marked as a duplicate of bug 181972 ***
Comment 5 Tiziano Müller (RETIRED) gentoo-dev 2007-07-18 18:35:46 UTC
Didn't really try it but I guess that it takes again twice the time to build boost, even for people not interested in the debugging stuff.
And we already build twice: Once for multithreading and once without.
So, symlinking the stuff for the people really wanting to debug seems to be the better solution for now.
Comment 6 Alexandre Rostovtsev (RETIRED) gentoo-dev 2007-07-18 20:00:06 UTC
(In reply to comment #5)
> Didn't really try it but I guess that it takes again twice the time to build
> boost, even for people not interested in the debugging stuff.
> And we already build twice: Once for multithreading and once without.
> So, symlinking the stuff for the people really wanting to debug seems to be the
> better solution for now.

Please try it before criticizing. Or at least read the ebuild. It only builds twice for people who have USE=debug.