Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 553862 - dev-libs/xapian-bindings-1.3.3-r1 :/usr/bin/install: cannot stat './xapian/__init__.pyc': No such file or directory
Summary: dev-libs/xapian-bindings-1.3.3-r1 :/usr/bin/install: cannot stat './xapian/__...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-03 14:52 UTC by Toralf Förster
Modified: 2015-10-13 17:45 UTC (History)
3 users (show)

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


Attachments
emerge log (dev-libs-xapian-bindings-1.3.3-r1-20150703-144303.log,19.65 KB, text/plain)
2015-07-03 14:52 UTC, Toralf Förster
Details
package history (dev-libs-xapian-bindings-1.3.3-r1-20150703-144303.pks,619.96 KB, text/plain)
2015-07-03 14:53 UTC, Toralf Förster
Details
updated xapian-bindings ebuild (xapian-bindings-1.3.3-r1.ebuild,2.71 KB, text/plain)
2015-07-06 05:38 UTC, Steve Arnold
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2015-07-03 14:52:59 UTC
Created attachment 406134 [details]
emerge log

PYTHONPATH="xapian:$PYTHONPATH" /usr/bin/python2.7 -c "import _xapian"
PYTHONPATH=".:$PYTHONPATH" /usr/bin/python2.7 -c "import xapian"
PYTHONPATH="xapian:$PYTHONPATH" /usr/bin/python2.7 -O -c "import _xapian"
PYTHONPATH=".:$PYTHONPATH" /usr/bin/python2.7 -O -c "import xapian"
 /bin/mkdir -p '/var/tmp/portage/dev-libs/xapian-bindings-1.3.3-r1/image//usr/lib64/python2.7/site-packages/xapian'
 /usr/bin/install -c -m 644 xapian/__init__.py ./xapian/__init__.pyc ./xapian/__init__.pyo '/var/tmp/portage/dev-libs/xapian-bindings-1.3.3-r1/image//usr/lib64/python2.7/site-packages/xapian'
/usr/bin/install: cannot stat './xapian/__init__.pyc': No such file or directory
/usr/bin/install: cannot stat './xapian/__init__.pyo': No such file or directory
Makefile:813: recipe for target 'install-pkgpylibDATA' failed
make[4]: *** [install-pkgpylibDATA] Error 1
make[4]: Leaving directory '/var/tmp/portage/dev-libs/xapian-bindings-1.3.3-r1/work/xapian-bindings-1.3.3/python'
Makefile:1105: recipe for target 'install-am' failed
make[3]: *** [install-am] Error 2
make[3]: Leaving directory '/var/tmp/portage/dev-libs/xapian-bindings-1.3.3-r1/work/xapian-bindings-1.3.3/python'
Makefile:1099: recipe for target 'install' failed
make[2]: *** [install] Error 2
make[2]: Leaving directory '/var/tmp/portage/dev-libs/xapian-bindings-1.3.3-r1/work/xapian-bindings-1.3.3/python'
Makefile:512: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-libs/xapian-bindings-1.3.3-r1/work/xapian-bindings-1.3.3'
Makefile:805: recipe for target 'install' failed
make: *** [install] Error 2
 * ERROR: dev-libs/xapian-bindings-1.3.3-r1::gentoo failed (install phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-libs/xapian-bindings-1.3.3-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/xapian-bindings-1.3.3-r1::gentoo'`.
 * The complete build log is located at '/var/log/portage/dev-libs:xapian-bindings-1.3.3-r1:20150703-144303.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/xapian-bindings-1.3.3-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/xapian-bindings-1.3.3-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/xapian-bindings-1.3.3-r1/work/xapian-bindings-1.3.3'
 * S: '/var/tmp/portage/dev-libs/xapian-bindings-1.3.3-r1/work/xapian-bindings-1.3.3'
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =xapian-bindings-1.3.3

  -----------------------------------------------------------------

  This is an unstable amd64 chroot image (named amd64-unstable_20150621-132035) at a hardened host acting as a tinderbox.

Portage 2.2.20 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.2, glibc-2.20-r2, 4.0.7-hardened x86_64)
=================================================================
System uname: Linux-4.0.7-hardened-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16164692 total,   2296944 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 03 Jul 2015 09:45:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25 p1.2) 2.25
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
ccache version 3.2.2 [disabled]
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/ccache:          3.2.2::gentoo
dev-util/cmake:           3.2.3::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.9.6-r4::gentoo, 1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25-r1::gentoo
sys-devel/gcc:            4.8.4::gentoo, 4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.0::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

local
    location: /usr/local/portage
    masters: gentoo

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: 9999

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 /etc/entropy /etc/stunnel/stunnel.conf /opt/openfire/resources/security/ /usr/lib64/fax /usr/lib64/tomoyo/conf /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/qpsmtpd/plugins /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb /var/lib/i2pd/certificates /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/games/angband/edit/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /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="/var/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --tree --quiet-build"
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://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://mirror.netcologne.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gor.bytemark.co.uk/gentoo/ rsync://ftp.snt.utwente.nl/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
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"
USE="X a52 aac acl acpi aes-ni alsa amd64 apache2 avx avx2 berkdb bluetooth branding btrfs bzip2 cairo cdda cdr cli consolekit corefonts cracklib crypt cups cxx dbus declarative designer dnssec dot dri drmkms dts dvd dvdr ecc emboss encode exif extraengine fam ffmpeg firefox flac fontconfig fortran fpm gd gdbm gif glamor gpm gtk gudev gui iconv icu ipv6 isag jadetex jpeg kde kipi kvm lapack lcms libkms libnotify libvirtd logrotate mad mbox minizip mmx mmxext mng modules mp3 mp4 mpeg multilib mysql ncurses nls nptl ogg opengl openmp openssl pam pango pax_kernel pcre pcre16 pdf phonon plasma png policykit ppds pwquality python qemu qt3support qt4 qz5 readline scrpyt sdl session spell spice sqlite sse sse2 sse4 sse4_1 sse4_2 ssh-askpass ssl ssse3 startup-notification svg tcl tcpd theora thinkpad threads tiff tk tls truetype udev udisks uml unicode upower usb usbredir uxa v4l v4l2 video vorbis wxwidgets x264 xa xcb xcomposite xinerama xkb xml xmp xscreensaver xslt xv xvfb xvid xvmc zenmap 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" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk330 1 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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 1 Toralf Förster gentoo-dev 2015-07-03 14:53:20 UTC
Created attachment 406136 [details]
package history
Comment 2 Daniel Seyffer 2015-07-05 11:53:13 UTC
exactly the same issue here (also on a hardened box)

# -----

emerge --info
Portage 2.2.20 (python 3.3.5-final-0, hardened/linux/amd64, gcc-4.9.2, glibc-2.20-r2, 4.0.6-hardened x86_64)
=================================================================
System uname: Linux-4.0.6-hardened-x86_64-Intel-R-_Core-TM-_i5-3210M_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:    16312812 total,  12729884 free
KiB Swap:    7812092 total,   7812092 free
Timestamp of repository gentoo: Sun, 05 Jul 2015 11:30:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25 p1.2) 2.25
app-shells/bash:          4.3_p39::gentoo
dev-lang/perl:            5.20.2-r1::gentoo
dev-lang/python:          2.7.10::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.2.3::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25-r1::gentoo
sys-devel/gcc:            4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

dsy-overlay
    location: /usr/local/portage-dsy
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx-i -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core-avx-i -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://de-mirror.org/distro/gentoo/ rsync://de-mirror.org/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ rsync://ftp-stud.hs-esslingen.de/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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"
USE="acl acpi aio alsa amd64 apache2 audit avx berkdb bzip2 cli cracklib crypt curl cxx dri gdbm hardened iconv inotify jpeg jpg justify keymap lock maildir minimal minizip mmx mmxext modules multilib mysql ncurses nls nptl openmp pam pax_kernel pcre php pie png python3 readline seccomp session sse sse2 sse4 sse4_1 sse4_2 ssl ssp ssse3 symlink syslog tcpd truetype unicode urandom xattr xtpax zlib" ABI_X86="64 32" ALSA_CARDS="hda-intel" APACHE2_MODULES="access_compat alias auth_basic authn_core authz_core unixd socache_shmcb authz_default authz_groupfile authz_host authz_owner dav dav_fs dav_lock dbd deflate dir env expires filter headers log_config mod_cache mod_mem_cache mime mime_magic rewrite" 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" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php5-4" PYTHON_SINGLE_TARGET="python3_3" PYTHON_TARGETS="python3_3 python2_7" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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"
USE_PYTHON="3.3 2.7"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Steve Arnold archtester gentoo-dev 2015-07-06 05:38:13 UTC
Created attachment 406222 [details]
updated xapian-bindings ebuild

Fixes python and java weirdness.
Comment 4 Csaba Tóth 2015-09-09 06:39:53 UTC
Hi, i have the same issue, and this attached ebuild file solved it!

Please merge into portage!
Comment 5 Oleh 2015-10-13 15:24:56 UTC
attached ebuild works for me. I've tested only a python problem.
Comment 6 Rick Farina (Zero_Chaos) gentoo-dev 2015-10-13 15:53:53 UTC
it looks like this works

in addition to the patch provided here (which I have tested and reviewed) it looks like xapian should have a subslot of (at least 1.x) and xapian-bindings should have xapian:=
Comment 7 Daniel Seyffer 2015-10-13 17:34:56 UTC
also using the proposed fixed ebuild here (already since july without any issues as far as I can tell.
Comment 8 Anthony Basile gentoo-dev 2015-10-13 17:45:56 UTC
(In reply to Rick Farina (Zero_Chaos) from comment #6)
> it looks like this works
> 
> in addition to the patch provided here (which I have tested and reviewed) it
> looks like xapian should have a subslot of (at least 1.x) and
> xapian-bindings should have xapian:=

to be clear, xapian 1.2 and 1.3 break compatibility on all levels, including the library name.  compare libxapian.so.22.6.8 for 1.2.21 to libxapian-1.3.so.4.0.0 for 1.3.3 or the path to the headers, effectively making it two different libraries.  the two can be installed side by side if we separate out the library/include files from the rest and then should be slotted and not just subslotted, although subslotting might also be added for api/abi differences within the 1.2 and 1.3 series.

i'm proxying this package for Johan Bergström and don't have time to clean it up.  the above is the correct long term solution.  the slots/subslot should then be propagaged to xapian-bindings, xapian-omega and Search-Xapian.

in the mean time, i'm pushing this fix to the tree.