Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 372065 - media-video/mkvtoolnix-4.8.0 fails to compile due to configure failing to find boost filesystem
Summary: media-video/mkvtoolnix-4.8.0 fails to compile due to configure failing to fin...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-17 14:25 UTC by Alex Bennee
Modified: 2011-06-30 08:50 UTC (History)
1 user (show)

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


Attachments
Build log (build.log,7.13 KB, text/plain)
2011-06-17 14:29 UTC, Alex Bennee
Details
Config log (config.log,41.41 KB, text/plain)
2011-06-17 18:22 UTC, Alex Bennee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Bennee 2011-06-17 14:25:09 UTC
After a recent --depclean and revdep rebuild I can no longer build a number of tools including mkvinfo. Both 4.8.0 and the stable version now fail to build against Boost.


Reproducible: Always

Steps to Reproduce:
emerge -v media-video/mkvtoolnix
Actual Results:  

checking for boostlib >= 1.36.0... yes
checking whether the Boost::System library headers are available... yes
checking for exit in -lboost_system... no
checking for exit in -lboost_system-boost_system... no
checking whether the Boost::Filesystem library headers are available... yes
checking for exit in -lboost_filesystem... no
checking for exit in -lboost_filesystem-boost_filesystem... no
configure: error: The Boost::Filesystem library is required and it was found, but linking against it failed.
                             
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-video/mkvtoolnix-4.8.0/work/mkvtoolnix-4.8.0/config.log
 * ERROR: media-video/mkvtoolnix-4.8.0 failed (configure phase):
 *   econf failed            
 *                           
 * Call stack:               
 *     ebuild.sh, line   56:  Called src_configure
 *   environment, line 3194:  Called econf '--disable-lzo' '--enable-bz2' '--disable-wxwidgets' '--disable-debug' '--disable-qt' '--disable-precompiled-headers' '--with-boost-regex=boost_regex' '--with-boost-filesystem=boost_filesystem' '--with-boost-system=boost_system'            
 *     ebuild.sh, line  557:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *                           
 * If you need support, post the output of 'emerge --info =media-video/mkvtoolnix-4.8.0',
 * the complete build log and the output of 'emerge -pqv =media-video/mkvtoolnix-4.8.0'.
 * This ebuild is from an overlay: '/home/alex/src/gentoo/portage/'
 * The complete build log is located at '/var/tmp/portage/media-video/mkvtoolnix-4.8.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/mkvtoolnix-4.8.0/temp/environment'.
 * S: '/var/tmp/portage/media-video/mkvtoolnix-4.8.0/wo

Expected Results:  
A built mkvtoolnix.

15:23 root@danny/x86_64 [~] >emerge --info
Portage 2.1.9.42 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.5, libc-0-r0, 2.6.38.7-ajb x86_64)
=================================================================
System uname: Linux-2.6.38.7-ajb-x86_64-Intel-R-_Core-TM-_i5_CPU_680_@_3.60GHz-with-gentoo-2.0.2
Timestamp of tree: Fri, 17 Jun 2011 07:30:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.2
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.6.3-r1, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.38
sys-libs/glibc:      2.12.2
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB"
MAKEOPTS="-j4"
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/alex/src/gentoo/portage /var/lib/layman/tante /var/lib/layman/java-overlay /var/lib/layman/emacs /var/lib/layman/mozilla /var/lib/layman/gnome /home/alex/src/gentoo/portage /var/lib/layman/tante /var/lib/layman/java-overlay /var/lib/layman/emacs /var/lib/layman/mozilla /var/lib/layman/gnome"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aacs acl acpi alsa amd64 apng aspell avahi bash-completion berkdb bluray bonjour branding bzip2 bzr cairo cddb cdio cdr cli consolekit cracklib crypt css curl cvs cxx dbus dga divx divx4linux dri dts dvd dvdr dvdread eds emacs emboss encode evo exif faac fam ffmpeg firefox flac fortran fuse gconf gdbm gdu gif git gnome gnome-keyring gnutls gpm gstreamer gtk gtk2 gtk3 iconv icu idn imap ipv6 jpeg kvm lcms ldap libnotify libvirtd lm_sensors lvm mad matroska mikmod mmx mng modules mono moonlight mp3 mp4 mpeg mplayer mudflap multilib musicbrainz nautilus ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl pmu png policykit ppds pppd pulseaudio python qemu qt3support quicktime readline realmedia rockbox samba sdl secure-delete session spell srt sse sse2 ssl startup-notification subversion svg symlink sysfs tcpd theora threads tiff truetype udev unicode usb vappi virt-network vorbis vpx webkit webm x264 xcb xfce xinerama xml xorg xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="intel8x0" 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 cgi cgid 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel i810 vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alex Bennee 2011-06-17 14:29:07 UTC
Created attachment 277383 [details]
Build log
Comment 2 Rafał Mużyło 2011-06-17 15:35:08 UTC
Does 'eselect boost' help ?
What's in the config.log ?
Comment 3 Alex Bennee 2011-06-17 16:19:27 UTC
(In reply to comment #2)
> Does 'eselect boost' help ?

I only had one boost slotted. However adding the ~amd64 boost (1.46) allowed me to build.

> What's in the config.log?

I lost it from the re-build. Now that I've built 1.46 and then removed it the build seems to be working. I suspect something for autotools was unwedged?

I assume it's building for you?
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2011-06-17 16:20:18 UTC
!!! Please attach the following file when seeking support:
!!!
/var/tmp/portage/media-video/mkvtoolnix-4.8.0/work/mkvtoolnix-4.8.0/config.log
Comment 5 Alex Bennee 2011-06-17 18:22:47 UTC
Created attachment 277403 [details]
Config log

I thought I'd misplaced it, but here it is.
Comment 6 Rafał Mużyło 2011-06-17 18:40:11 UTC
Even if only one version was present, 'eselect boost' was still mandatory.

All the errors were about not being able to find boost libs.
Comment 7 Pacho Ramos gentoo-dev 2011-06-30 08:18:36 UTC
(In reply to comment #6)
> Even if only one version was present, 'eselect boost' was still mandatory.
> 
> All the errors were about not being able to find boost libs.

Yes,  please confirm if eselect boost fixes the issue for you
Comment 8 Alex Bennee 2011-06-30 08:50:38 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > Even if only one version was present, 'eselect boost' was still mandatory.
> > 
> > All the errors were about not being able to find boost libs.
> 
> Yes,  please confirm if eselect boost fixes the issue for you

Running "eselect boost" fixes the compile. It's still a little non-obvious as the configure log shows some bits of boost are found. Is there a way a boost dependant ebuild could offer a better warning to the user?

Otherwise I think this bug can be closed. Thanks.