Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 503448 - media-libs/vigra-1.8.0 - make[2]: *** No rule to make target `/usr/lib64/libboost_python-mt.so', needed by `vigranumpy/src/core/colors.so'. Stop.
Summary: media-libs/vigra-1.8.0 - make[2]: *** No rule to make target `/usr/lib64/libb...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-04 20:32 UTC by Denis
Modified: 2017-02-18 12:34 UTC (History)
1 user (show)

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


Attachments
media-libs:vigra-1.8.0:20140304-203030.log (media-libs:vigra-1.8.0:20140304-203030.log,28.46 KB, text/plain)
2014-03-04 20:39 UTC, Denis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denis 2014-03-04 20:32:44 UTC
emerge -1 vigra
............
[ 57%] Building CXX object src/impex/CMakeFiles/vigraimpex.dir/void_vector.cxx.o
cd /var/tmp/portage/media-libs/vigra-1.8.0/work/vigra-1.8.0/src/impex && /usr/bin/x86_64-pc-linux-gnu-g++  -DHasHDF5 -DHasJPEG -DHasPNG -DHasTIFF -Dvigraimpex_EXPORTS  -DNDEBUG -march=core2 -mtune=generic -O2 -pipe  -fPIC -I/var/tmp/portage/media-libs/vigra-1.8.0/work/vigra-1.8.0/include    -o CMakeFiles/vigraimpex.dir/void_vector.cxx.o -c /var/tmp/portage/media-libs/vigra-1.8.0/work/vigra-1.8.0/src/impex/void_vector.cxx
Linking CXX shared library libvigraimpex.so
cd /var/tmp/portage/media-libs/vigra-1.8.0/work/vigra-1.8.0/src/impex && /usr/bin/cmake -E cmake_link_script CMakeFiles/vigraimpex.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++  -fPIC -march=core2 -mtune=generic -O2 -pipe   -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libvigraimpex.so.4 -o libvigraimpex.so.4.180 CMakeFiles/vigraimpex.dir/bmp.cxx.o CMakeFiles/vigraimpex.dir/byteorder.cxx.o CMakeFiles/vigraimpex.dir/codecmanager.cxx.o CMakeFiles/vigraimpex.dir/exr.cxx.o CMakeFiles/vigraimpex.dir/gif.cxx.o CMakeFiles/vigraimpex.dir/hdr.cxx.o CMakeFiles/vigraimpex.dir/hdf5impex.cxx.o CMakeFiles/vigraimpex.dir/hdf5_rf_impex.cxx.o CMakeFiles/vigraimpex.dir/iccjpeg.c.o CMakeFiles/vigraimpex.dir/imageinfo.cxx.o CMakeFiles/vigraimpex.dir/jpeg.cxx.o CMakeFiles/vigraimpex.dir/png.cxx.o CMakeFiles/vigraimpex.dir/pnm.cxx.o CMakeFiles/vigraimpex.dir/rgbe.c.o CMakeFiles/vigraimpex.dir/sifImport.cxx.o CMakeFiles/vigraimpex.dir/sun.cxx.o CMakeFiles/vigraimpex.dir/tiff.cxx.o CMakeFiles/vigraimpex.dir/viff.cxx.o CMakeFiles/vigraimpex.dir/void_vector.cxx.o -ljpeg -lpng -lz -ltiff -lhdf5 -lhdf5_hl -lz -ltiff -lhdf5 -lhdf5_hl 
cd /var/tmp/portage/media-libs/vigra-1.8.0/work/vigra-1.8.0/src/impex && /usr/bin/cmake -E cmake_symlink_library libvigraimpex.so.4.180 libvigraimpex.so.4 libvigraimpex.so
make[2]: Leaving directory `/var/tmp/portage/media-libs/vigra-1.8.0/work/vigra-1.8.0'
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/media-libs/vigra-1.8.0/work/vigra-1.8.0/CMakeFiles  65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
[ 57%] Built target vigraimpex
make[2]: Leaving directory `/var/tmp/portage/media-libs/vigra-1.8.0/work/vigra-1.8.0'
make[1]: *** [vigranumpy/src/core/CMakeFiles/vigranumpy_analysis.dir/all] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-libs/vigra-1.8.0/work/vigra-1.8.0'
make: *** [all] Error 2
 * ERROR: media-libs/vigra-1.8.0::gentoo failed (compile phase):
 *   emake failed


Reproducible: Always




emerge --info
Portage 2.2.7 (default/linux/amd64/13.0/desktop/kde, gcc-4.6.3, glibc-2.15-r3, 3.10.25-gentoo x86_64)
=================================================================
System uname: Linux-3.10.25-gentoo-x86_64-Intel-R-_Core-TM-_i3_CPU_540_@_3.07GHz-with-gentoo-2.2
KiB Mem:     1982164 total,    782220 free
KiB Swap:    2097148 total,   1388944 free
Timestamp of tree: Tue, 04 Mar 2014 09:00: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-r3, 3.2.5-r3, 3.3.3
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.4.5, 4.5.4, 4.6.3, 4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
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/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
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=core2 -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
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://gentoo.tups.lv/source/ ftp://ftp.df.lth.se/pub/gentoo/ http://ftp.ds.karen.hj.se/gentoo/ http://mirror.elen.ktu.lt/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm iconv ipv6 jpeg jpeg2k kde kipi lcms libnotify mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl nsplugin ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qt3support qt4 readline scanner sdl semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb vim-syntax vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" 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" 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" 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 ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_1 python3_2" RUBY_TARGETS="ruby19 ruby18" SANE_BACKENDS="pixma" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev intel 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Denis 2014-03-04 20:37:49 UTC
emerge -pqv '=media-libs/vigra-1.8.0::gentoo'
[ebuild  N    ] media-libs/vigra-1.8.0  USE="fftw hdf5 jpeg png python tiff -doc -openexr {-test}"
Comment 2 Denis 2014-03-04 20:39:03 UTC
Created attachment 371738 [details]
media-libs:vigra-1.8.0:20140304-203030.log
Comment 3 Denis 2014-03-06 12:42:52 UTC
Other versions of vigra have the same problem.

#ACCEPT_KEYWORDS="~amd64" emerge -1 =media-libs/vigra-1.8.0-r1

and 

# ACCEPT_KEYWORDS="~amd64" emerge -1 =media-libs/vigra-1.9.0

result with the same error:

make[2]: *** No rule to make target `/usr/lib64/libboost_python-mt.so', needed by `vigranumpy/src/core/colors.so'.  Stop.
make[2]: *** Waiting for unfinished jobs....
Comment 4 Denis 2014-03-07 14:00:36 UTC
I've managed to fix the problem. 
I upgraded dev-libs/boost to masked version 1.53.0-r1 and then deleted the broken link (/usr/lib64/libboost_python-mt.so -> libboost_python-mt-1_46.so). After that I was able to compile vigra. 

I guess that actually removing the broken link did the trick, because downgrading boost back to 1.52.0-r6 didn't affect vigra installation.

Since I have two version of python installed, /usr/lib64/libboost_python-mt.so does not seem to be correct, because each version uses its own library.

/usr/lib64/libboost_python-2.7-mt.so -> libboost_python-2.7.so
/usr/lib64/libboost_python-2.7.so -> libboost_python-2.7.so.1.53.0
/usr/lib64/libboost_python-2.7.so.1.53.0
/usr/lib64/libboost_python-3.2-mt.so -> libboost_python-3.2.so
/usr/lib64/libboost_python-3.2.so -> libboost_python-3.2.so.1.53.0
/usr/lib64/libboost_python-3.2.so.1.53.0
Comment 5 Florian Berger 2014-08-28 09:10:13 UTC
I had the same problem on x86; removing dangling links

    /usr/lib/libboost_python.so
    /usr/lib/libboost_python-mt.so

solved it.

They were not claimed by any package, so I wonder how they ended up there.
Comment 6 J.Borme 2016-11-01 09:56:23 UTC
I just had the same problem when compiling sci-chemistry/avogadro-1.1.1: "No rule to make target '/usr/lib64/libboost_python-mt.so'"

Removing the dangling links mentioned above (/usr/lib/libboost_python.so, /usr/lib/libboost_python-mt.so) solved the problem. 

On my system the links were pointing to boost versions 1.46 and had a stat modification date in September 2012 within days from an upgrade to boost-1.49. I think this bug can be closed as obsolete.
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2017-02-18 12:34:27 UTC
(In reply to Jérôme Borme from comment #6)
> I just had the same problem when compiling sci-chemistry/avogadro-1.1.1: "No
> rule to make target '/usr/lib64/libboost_python-mt.so'"
> 
> Removing the dangling links mentioned above (/usr/lib/libboost_python.so,
> /usr/lib/libboost_python-mt.so) solved the problem. 
> 
> On my system the links were pointing to boost versions 1.46 and had a stat
> modification date in September 2012 within days from an upgrade to
> boost-1.49. I think this bug can be closed as obsolete.

OK thanks.