Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 481412 - dev-libs/boost: transition away from eselect-boost left dangling files, like /usr/include/boost-1_51 which then break users builds
Summary: dev-libs/boost: transition away from eselect-boost left dangling files, like ...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: C++ Team [disbanded]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-17 06:26 UTC by Tim
Modified: 2014-08-13 12:29 UTC (History)
4 users (show)

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


Attachments
Build log (build.log,142.30 KB, text/plain)
2013-08-17 06:29 UTC, Tim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim 2013-08-17 06:26:38 UTC
ERROR: media-libs/openimageio-1.1.7::gentoo failed (compile phase):
  emake failed

Reproducible: Always

Steps to Reproduce:
1.emerge -v openimageio
2.
3.
Actual Results:  
openimageio-1.1.7 fails to build

Expected Results:  
openimageio-1.1.7 would build
Comment 1 Tim 2013-08-17 06:28:19 UTC
~ # emerge --info '=media-libs/openimageio-1.1.7::gentoo'
Portage 2.2.0 (default/linux/amd64/13.0/no-multilib, gcc-4.7.3, glibc-2.17, 3.9.11 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.9.11-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.2
KiB Mem:    65832812 total,  53759812 free
KiB Swap:      96252 total,     96252 free
Timestamp of tree: Sat, 17 Aug 2013 04:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r1, 3.2.5-r1, 3.3.2-r1
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.10 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo x11 multimedia sunrise
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --quiet-unmerge-warn --changed-use"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j14"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/multimedia /var/lib/layman/sunrise"
SYNC="rsync://10.0.0.1/gentoo-portage"
USE="X acpi alsa amd64 berkdb branding bzip2 cairo cdda clang cli consolekit corefonts cracklib crypt cuda cups cxx dbus dri dvb dvd exif ffmpeg fftw flac fortran g3dvl gdbm gflags gif gimp gnutls gphoto2 gtk gudev hddtemp hdri hwdb iconv icu imagemagick introspection ipv6 jpeg libav libnotify lm_sensors mmap mmx mng modules mp3 mpeg mudflap ncurses nls nptl nsplugin numpy offensive ogg opencl openexr opengl openmp openvg pam pcre perl png policykit python quicktime readline sdl session smp smpeg spell sqlite sse sse2 sse4_1 ssl ssse3 startup-notification svg system-sqlite tcpd theora threads tiff tk truetype udev unicode usb vdpau videos vim-syntax vorbis wmf x264 xinerama xinetd xmp xpm zlib" ABI_X86="64" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FOO2ZJS_DEVICES="hpp1006" INPUT_DEVICES="evdev wacom" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" SANE_BACKENDS="epson2" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" XFCE_PLUGINS="clock trash." 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Tim 2013-08-17 06:29:05 UTC
Created attachment 356258 [details]
Build log
Comment 3 Tim 2013-08-17 06:31:34 UTC
emerge -pqv '=media-libs/openimageio-1.1.7::gentoo'
[ebuild  N    ] media-libs/openimageio-1.1.7  USE="opengl python tbb truetype -colorio -jpeg2k -opencv -qt4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7"
Comment 4 Tim 2013-08-17 06:36:35 UTC
And since the errors seem related to boost;

~ # emerge -pqv boost
[ebuild   R   ] dev-libs/boost-1.53.0  USE="icu nls python threads -debug -doc -mpi -static-libs -tools" PYTHON_TARGETS="python2_7 python3_2 (-python2_5) -python2_6 (-python3_1) -python3_3"
Comment 5 Jakub Panachida 2013-08-31 11:16:19 UTC
I can confirm the same behavior. I even tried openimageio-1.2.1 with exactly the same result.
Comment 6 Sebastian Parborg 2013-10-02 10:29:40 UTC
I tried the dev version (1.3.3) and it also has the same boost error problem...
Comment 7 Sebastian Parborg 2013-10-20 17:08:03 UTC
I've found the problem!

It seems like there is a folder in /usr/include that is named "boost-1_51". However it's not owned by any package and on a other computer that I installed gentoo on recently this folder doesn't exist.

The folder that gets installed by the boost package is /usr/include/boost.
So all that I did was to rm -fr the "boost-1_51" folder and now openimageio chooses the correct boost include dir and compiles fine.

The question is how the boost-1_51 folder got created... Accoring to qfile there is no package that owns that folder :S
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2013-10-20 17:10:22 UTC
(In reply to Sebastian Parborg from comment #7)
> I've found the problem!
> 
> It seems like there is a folder in /usr/include that is named "boost-1_51".
> However it's not owned by any package and on a other computer that I
> installed gentoo on recently this folder doesn't exist.
> 
> The folder that gets installed by the boost package is /usr/include/boost.
> So all that I did was to rm -fr the "boost-1_51" folder and now openimageio
> chooses the correct boost include dir and compiles fine.
> 
> The question is how the boost-1_51 folder got created... Accoring to qfile
> there is no package that owns that folder :S

well, boost used to be eselectable before, and now it's not, so that might have left those old files around
Comment 9 Sebastian Parborg 2013-10-22 12:49:09 UTC
That's probably it. Perhaps bump the openimageio version to 1.3.5 and add a hint to remove the boost-1_51 dir if it exists?
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2013-10-25 12:40:12 UTC
1.3.5 is now in Portage, reassigning to boost maintainers since it is the fault of the eselect-boost -> no eselect-boost transition that left the dangling files behind
Comment 11 Sergey Popov gentoo-dev 2014-08-13 12:29:37 UTC
All boost ebuilds in tree have workaround for this in pkg_preinst, closing this as OBSOLETE.

Reopen if you think that issue is still there