Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 579412 - dev-libs/xapian-bindings-1.3.5: fail to emerge with '*** No rule to make target 'docs/index.html', needed by 'all-am'.'
Summary: dev-libs/xapian-bindings-1.3.5: fail to emerge with '*** No rule to make targ...
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: 2016-04-09 08:59 UTC by PetaMem R&D
Modified: 2016-04-14 23:23 UTC (History)
3 users (show)

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


Attachments
Complete build log (build.log,14.41 KB, text/x-log)
2016-04-09 14:47 UTC, PetaMem R&D
Details

Note You need to log in before you can comment on or make changes to this bug.
Description PetaMem R&D 2016-04-09 08:59:55 UTC
Above package version 1.3.5 cannot be build.

(all of xapian-1.3.4 worked fine xapian,xapian-omega and xapian-bindings)


Here's the show:

Making all in perl
make[2]: Entering directory '/var/tmp/portage/dev-libs/xapian-bindings-1.3.5/work/xapian-bindings-1.3.5/perl'
/bin/sh ../libtool  --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/lib64/perl5/5.22.1/x86_64-linux-thread-multi/CORE  -fno-strict-aliasing -fshow-column -Wall -Wno-unused -Wno-uninitialized -fvisibility=hidden -I/usr/include/xapian-1.3 -march=corei7 -O2 -fvect-cost-model -ftree-vectorize -pipe -std=gnu++11 -c -o xapian_wrap.lo xapian_wrap.cc
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib64/perl5/5.22.1/x86_64-linux-thread-multi/CORE -fno-strict-aliasing -fshow-column -Wall -Wno-unused -Wno-uninitialized -fvisibility=hidden -I/usr/include/xapian-1.3 -march=corei7 -O2 -fvect-cost-model -ftree-vectorize -pipe -std=gnu++11 -c xapian_wrap.cc  -fPIC -DPIC -o .libs/xapian_wrap.o
xapian_wrap.cc: In function ‘int SWIG_AsVal_unsigned_SS_long(SV*, long unsigned int*)’:
xapian_wrap.cc:2538:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (v >= 0 && (IVSIZE <= sizeof(*val) || v <= ULONG_MAX)) {
                                                ^
xapian_wrap.cc: In function ‘int SWIG_AsVal_unsigned_SS_long_SS_long(SV*, long long unsigned int*)’:
xapian_wrap.cc:2691:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (v >= 0 && (IVSIZE <= sizeof(*val) || v <= ULLONG_MAX)) {
                                                ^
/bin/sh ../libtool  --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++ -fno-strict-aliasing -fshow-column -Wall -Wno-unused -Wno-uninitialized -fvisibility=hidden -I/usr/include/xapian-1.3 -march=corei7 -O2 -fvect-cost-model -ftree-vectorize -pipe -std=gnu++11 -avoid-version -module -shrext .so  -Wl,-O1 -Wl,--as-needed -o Xapian.la -rpath /usr/lib64/perl5/vendor_perl/5.22.1/x86_64-linux-thread-multi/auto/Xapian xapian_wrap.lo -L/usr/lib64 -lxapian-1.3 -lstdc++  
libtool: link: x86_64-pc-linux-gnu-g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/crtbeginS.o  .libs/xapian_wrap.o   -Wl,--as-needed -L/usr/lib64 -lxapian-1.3 -L/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/crtn.o  -march=corei7 -O2 -Wl,-O1   -Wl,-soname -Wl,Xapian.so -o .libs/Xapian.so
libtool: link: ( cd ".libs" && rm -f "Xapian.la" && ln -s "../Xapian.la" "Xapian.la" )
/bin/sh ../libtool --config > libtoolconfig.tmp
. ./libtoolconfig.tmp; cp "$objdir/Xapian.so" auto/Xapian
rm -f libtoolconfig.tmp
make  all-am
make[3]: Entering directory '/var/tmp/portage/dev-libs/xapian-bindings-1.3.5/work/xapian-bindings-1.3.5/perl'
make[3]: *** No rule to make target 'docs/index.html', needed by 'all-am'.  Stop.
make[3]: Leaving directory '/var/tmp/portage/dev-libs/xapian-bindings-1.3.5/work/xapian-bindings-1.3.5/perl'
Makefile:733: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/var/tmp/portage/dev-libs/xapian-bindings-1.3.5/work/xapian-bindings-1.3.5/perl'
Makefile:514: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-libs/xapian-bindings-1.3.5/work/xapian-bindings-1.3.5'
Makefile:436: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: dev-libs/xapian-bindings-1.3.5::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-libs/xapian-bindings-1.3.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/xapian-bindings-1.3.5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/xapian-bindings-1.3.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/xapian-bindings-1.3.5/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/xapian-bindings-1.3.5/work/xapian-bindings-1.3.5'
 * S: '/var/tmp/portage/dev-libs/xapian-bindings-1.3.5/work/xapian-bindings-1.3.5'
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =xapian-bindings-1.3.5


Reproducible: Always




# emerge --info =xapian-bindings-1.3.5
Portage 2.2.28 (python 3.5.1-final-0, default/linux/amd64/13.0/no-multilib, gcc-5.3.0, glibc-2.22-r4, 4.4.5-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.4.5-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_L5630_@_2.13GHz-with-gentoo-2.2
KiB Mem:   148221236 total,  52965092 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 08 Apr 2016 07:45:01 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.3_p42-r2::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.5.1-r2::gentoo
dev-util/cmake:           3.5.1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.5::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -fvect-cost-model -ftree-vectorize -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/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/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=corei7 -O2 -fvect-cost-model -ftree-vectorize -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=3 --load-average=11.1 --keep-going --quiet-build=y"
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="rsync://gentoo.mirror.dkm.cz/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="64bit amd64 apache2 berkdb bzip2 cdr cxx dbm dvd dvdr dynamic emacs encode extensions gnutls gpm icu ithreads jpeg jpeg2k kmod lua matrox mp3 mysqli ncurses nls openrc pam pcre pdf perl php png readline sasl sse sse2 ssl ssse3 threads udev unicode yaml zlib" ABI_X86="64" APACHE2_MODULES="access_compat actions alias auth_basic auth_digest authn_anon authn_core authn_dbd authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif slotmem_shm so socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" APACHE2_MPMS="worker" COLLECTD_PLUGINS="apache cpu cpufreq df disk filecount fscache hddtemp interface ipmi iptables libvirt load logfile memory network nfs nginx ntpd perl ping python rrdtool sensors swap syslog uptime users uuid vmem" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" CURL_SSL="gnutls" ELIBC="glibc" KERNEL="linux" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby20*" USERLAND="GNU" VIDEO_CARDS="matrox"
USE_PYTHON="3.5"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Felix Janda 2016-04-09 10:32:02 UTC
The excerpt from the build log does not contain the actual error.
Please post a complete build log.
Comment 2 PetaMem R&D 2016-04-09 14:47:11 UTC
Created attachment 430002 [details]
Complete build log

Please educate me where the "actual error" is visible here.
Comment 3 Felix Janda 2016-04-09 20:53:32 UTC
Thanks for the build log!

Sorry for not looking carefully at your description. It contains the
error after all:

make[3]: *** No rule to make target 'docs/index.html', needed by 'all-am'.  Stop.

In the full build log I can see a "make -j16". Does emerging with
MAKEOPTS="-j1" help? If so, the Makefile is not parallel safe.
Comment 4 PetaMem R&D 2016-04-10 08:10:35 UTC
> In the full build log I can see a "make -j16". Does emerging with
> MAKEOPTS="-j1" help? If so, the Makefile is not parallel safe.

Ok.

# MAKEOPTS="-j1" emerge -a dev-libs/xapian-bindings

yields exactly the same result. I mean 1.3.4 worked as well with parallel build (btw - we have not -j16 but load limitation, so the 16 seems to come from autodetecting the number of CPUs)

I solved the problem for now by masking 1.3.5 and above
so far so good:


# emerge -a app-text/xapian-omega dev-libs/xapian dev-libs/xapian-bindings

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     UD ] dev-libs/xapian-1.3.4-r2 [1.3.5]
[ebuild     UD ] app-text/xapian-omega-1.3.4 [1.3.5]
[ebuild   R    ] dev-libs/xapian-bindings-1.3.4 

Would you like to merge these packages? [Yes/No] Yes
>>> Verifying ebuild manifests
>>> Emerging (1 of 3) dev-libs/xapian-1.3.4-r2::gentoo
>>> Installing (1 of 3) dev-libs/xapian-1.3.4-r2::gentoo
>>> Recording dev-libs/xapian in "world" favorites file...
>>> Emerging (2 of 3) app-text/xapian-omega-1.3.4::gentoo
>>> Emerging (3 of 3) dev-libs/xapian-bindings-1.3.4::gentoo
>>> Installing (2 of 3) app-text/xapian-omega-1.3.4::gentoo
>>> Installing (3 of 3) dev-libs/xapian-bindings-1.3.4::gentoo
>>> Jobs: 3 of 3 complete                           Load avg: 3.87, 2.72, 1.75

 * Messages for package dev-libs/xapian-1.3.4-r2:

 * 
 * Using sse2
 * 
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.
Comment 5 Franz Trischberger 2016-04-10 12:37:29 UTC
It might help to deactivate perl USE flags - if you don't need the perl-bindings.
Comment 6 PetaMem R&D 2016-04-10 13:32:26 UTC
We use ONLY the Perl bindings. :-)
Comment 7 Sam Jorna (wraeth) gentoo-dev 2016-04-11 01:28:43 UTC
I have reproduced this in a minimal testing environment with most flags disabled. Building with USE=perl produces this error, and building with USE=-perl produces a different error.
Comment 8 Anthony Basile gentoo-dev 2016-04-14 00:27:29 UTC
(In reply to Sam Jorna (wraeth) from comment #7)
> I have reproduced this in a minimal testing environment with most flags
> disabled. Building with USE=perl produces this error, and building with
> USE=-perl produces a different error.

can you give steps to reproduce from a clean stage3.  the reason is i can't reproduce this at my end.  looking at the error, i agree with Felix that this looks like a parallel build error.  but the reporter says its not.
Comment 9 Anthony Basile gentoo-dev 2016-04-14 00:30:48 UTC
(In reply to Anthony Basile from comment #8)
> (In reply to Sam Jorna (wraeth) from comment #7)
> > I have reproduced this in a minimal testing environment with most flags
> > disabled. Building with USE=perl produces this error, and building with
> > USE=-perl produces a different error.
> 
> can you give steps to reproduce from a clean stage3.  the reason is i can't
> reproduce this at my end.  looking at the error, i agree with Felix that
> this looks like a parallel build error.  but the reporter says its not.

oh wait, my bad.  i see what's going on.  sorry for the noise.
Comment 10 Anthony Basile gentoo-dev 2016-04-14 23:23:07 UTC
okay this should be fixed.  please reopen if this is still a problem.