Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 486846 - kde-base/kimgio-4.11.1 failes to build with error: No rule to make target `install'
Summary: kde-base/kimgio-4.11.1 failes to build with error: No rule to make target `in...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-03 05:05 UTC by Marco Clocchiatti
Modified: 2013-10-19 19:45 UTC (History)
0 users

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


Attachments
build log (build.log,8.24 KB, text/x-log)
2013-10-03 05:07 UTC, Marco Clocchiatti
Details
build.log with MAKEOPTS="-j1" (build.log,9.05 KB, text/x-log)
2013-10-03 19:23 UTC, Marco Clocchiatti
Details
build.log with debug emerge option (build.log,366.28 KB, text/x-log)
2013-10-04 04:53 UTC, Marco Clocchiatti
Details
a build.log again, with no tmp PORTAGE_TMPDIR and debug emerge option (build.log,376.38 KB, text/x-log)
2013-10-11 19:54 UTC, Marco Clocchiatti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Clocchiatti 2013-10-03 05:05:45 UTC
kde-base/kimgio-4.11.1 failes to build with error: No rule to make target `install'

Reproducible: Always

Steps to Reproduce:
1. emerge kde-base/kimgio
2.
3.



ezio ~ # emerge --info kde-base/kimgio
Portage 2.2.1 (default/linux/x86/13.0, gcc-4.8.1, glibc-2.15-r3, 3.10.7-gentoo-r1-minimal i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.10.7-gentoo-r1-minimal-i686-QEMU_Virtual_CPU_version_1.6.0-with-gentoo-2.2
KiB Mem:     2073476 total,   1857932 free
KiB Swap:    2047996 total,   2047996 free
Timestamp of tree: Tue, 01 Oct 2013 20:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 i686-pc-linux-gnu [enabled]
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r2, 3.2.5-r2
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.12.6, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.8.1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
Installed sets: @chost, @mioSistema
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distcc 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 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-s -j6"
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="/tmp/ramtmp/.emu"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="X acl berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm gles2 gudev iconv ipv6 libkms minizip modules mudflap ncurses nls nptl openmp pam pcre qt3support readline session ssl systemd tcpd unicode wayland x86 zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="intel nouveau radeon i915" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Marco Clocchiatti 2013-10-03 05:07:20 UTC
Created attachment 360006 [details]
build log
Comment 2 Rafał Mużyło 2013-10-03 05:34:01 UTC
Two things of note:
- "tar extract command failed at least partially - continuing anyway" - the plugin doesn't seem to be extracted at all (no webp check)
- a build log with '-s' in MAKEOPTS usually is of little use
Comment 3 Marco Clocchiatti 2013-10-03 19:23:30 UTC
Created attachment 360084 [details]
build.log with MAKEOPTS="-j1"
Comment 4 Rafał Mużyło 2013-10-04 03:35:28 UTC
(In reply to Marco Clocchiatti from comment #3)
> Created attachment 360084 [details]
> build.log with MAKEOPTS="-j1"

Better.
Now add '-d' to emerge options - this will make the log significantly larger, but as yet again "tar extract command failed at least partially" we might see why exactly is it failing.
Though, what are the chances that you gave not enough disk space for your VM ?
Comment 5 Marco Clocchiatti 2013-10-04 04:53:52 UTC
Created attachment 360098 [details]
build.log with debug emerge option

that's a better build.log again.

I' don't know if the warn about is really relevant.
On another gentoo box (64-bit), kimgio compiles fine despite of the same warn.

anyway:
ezio ~ # df -h
Filesystem      Size  Used Avail Use% Mounted on
rootfs          3.8G  3.4G  101M  98% /
udev             10M  4.0K   10M   1% /dev
/dev/vda2       3.8G  3.4G  101M  98% /
tmpfs           203M  340K  203M   1% /run
shm            1013M     0 1013M   0% /dev/shm
cgroup_root      10M     0   10M   0% /sys/fs/cgroup
ramtmp         1013M  1.5M 1011M   1% /tmp/ramtmp
/dev/vdb2        30G  8.3M   28G   1% /usr/portage/distfiles
ezio ~ # ls -l /usr/portage/distfiles/kde-runtime-4.11.1.tar.xz
-rw-rw-r-- 1 portage portage 7973404 Sep  3 22:21 /usr/portage/distfiles/kde-runtime-4.11.1.tar.xz

I think disk space should be enough.
look at /tmp/ramtmp, where it's setted my PORTAGE_TMPDIR: it's 1G disk space.
Comment 6 Johannes Huber (RETIRED) gentoo-dev 2013-10-11 16:56:13 UTC
Please sync the tree, 4.11.2 is in tree. Builds fine for me and can't reproduce the bug. If you have the same error try without ramdisk.
Comment 7 Rafał Mużyło 2013-10-11 19:22:12 UTC
As it seems it's following command that fails:
tar -xpf /tmp/ramtmp/.emu/portage/kde-base/kimgio-4.11.1/distdir/kde-runtime-4.11.1.tar.xz --xz kde-runtime-4.11.1/cmake/ kde-runtime-4.11.1/CMakeLists.txt kde-runtime-4.11.1/ConfigureChecks.cmake kde-runtime-4.11.1/config.h.cmake kde-runtime-4.11.1/kimgio kde-runtime-4.11.1/cmake/modules/ kde-runtime-4.11.1/CTestConfig.cmake kde-runtime-4.11.1/config-runtime.h.cmake

you could check it manually, but given it's a ramdisk, chances are it's a resource conflict - unpacking xz archives on occasions may take a nice chunk of memory. It could also be some kind of permission problem. Also, does ramdisk allow symlinks ? If not, combined size of the archive and the memory reqs of xz might have been too much.
Comment 8 Marco Clocchiatti 2013-10-11 19:52:38 UTC
sorry if I reopen this bug, but my issue happens again with kimgio-4.11.2 and without tmpdir.

ezio kimgio-4.11.2 # grep TMPDIR /etc/portage/make.conf
#PORTAGE_TMPDIR="/tmp/ramtmp/.emu"
PORTAGE_TMPDIR="/usr/portage/distfiles/fakeTmpDir"
ezio kimgio-4.11.2 # df -h
Filesystem                              Size  Used Avail Use% Mounted on
rootfs                                  3.8G  3.4G   90M  98% /
udev                                     10M  4.0K   10M   1% /dev
/dev/vda2                               3.8G  3.4G   90M  98% /
tmpfs                                   203M  352K  203M   1% /run
shm                                    1013M     0 1013M   0% /dev/shm
cgroup_root                              10M     0   10M   0% /sys/fs/cgroup
192.168.0.12:/var/gentoo-var/distfiles   50G   41G  6.7G  86% /usr/portage/distfiles

now, I'm using a nfs tmpdir with more than 6G.

kimgio is the only ebuild not working in my system, and this error is really funny
Comment 9 Marco Clocchiatti 2013-10-11 19:54:18 UTC
Created attachment 360666 [details]
a build.log again, with no tmp PORTAGE_TMPDIR and debug emerge option
Comment 10 Rafał Mużyło 2013-10-11 20:17:07 UTC
It seems that once again unpacking fails.

Do check what happens, when that unpacking command is run manually.
Comment 11 Marco Clocchiatti 2013-10-12 07:54:10 UTC
ezio distdir # pwd
/usr/portage/distfiles/fakeTmpDir/portage/kde-base/kimgio-4.11.2/distdir
ezio distdir # ls -l kde-runtime-4.11.2.tar.xz 
lrwxrwxrwx 1 root root 48 Oct 11 21:48 kde-runtime-4.11.2.tar.xz -> /usr/portage/distfiles/kde-runtime-4.11.2.tar.xz
ezio distdir # sha256sum /usr/portage/distfiles/kde-runtime-4.11.2.tar.xz
045f38375be1c6c0753a6fc85e7211d3d2dadc974ffc3848920ebfa5d0569df0  /usr/portage/distfiles/kde-runtime-4.11.2.tar.xz
ezio distdir # grep -rH kde-runtime /usr/portage/kde-base/kimgio/Manifest 
/usr/portage/kde-base/kimgio/Manifest:DIST kde-runtime-4.11.2.tar.xz 7974692 SHA256 045f38375be1c6c0753a6fc85e7211d3d2dadc974ffc3848920ebfa5d0569df0 SHA512 21ecca605d94215d6fa68d1b988a8c2c5efeba7ec264bf9ac607462577d3dac0321b4b09af55078a8bc556b2dd68e53c1a4163c87a0300e1c4bff945f71f9396 WHIRLPOOL 14c05b1554eeda1466640dd3f70a2284180bf223f208123e565e420d9cc2f024dae0464a42a9c11b8f996d87d2f52c48f7973f357673cf5c2d3b637484a7c0b9
ezio distdir # tar -xpf kde-runtime-4.11.2.tar.xz --xz kde-runtime-4.11.1/cmake/ kde-runtime-4.11.1/CMakeLists.txt kde-runtime-4.11.1/ConfigureChecks.cmake kde-runtime-4.11.1/config.h.cmake kde-runtime-4.11.1/kimgio kde-runtime-4.11.1/cmake/modules/ kde-runtime-4.11.1/CTestConfig.cmake kde-runtime-4.11.1/config-runtime.h.cmake
tar: kde-runtime-4.11.1/cmake: Not found in archive
tar: kde-runtime-4.11.1/CMakeLists.txt: Not found in archive
tar: kde-runtime-4.11.1/ConfigureChecks.cmake: Not found in archive
tar: kde-runtime-4.11.1/config.h.cmake: Not found in archive
tar: kde-runtime-4.11.1/kimgio: Not found in archive
tar: kde-runtime-4.11.1/cmake/modules: Not found in archive
tar: kde-runtime-4.11.1/CTestConfig.cmake: Not found in archive
tar: kde-runtime-4.11.1/config-runtime.h.cmake: Not found in archive
tar: Exiting with failure status due to previous errors
Comment 12 Rafał Mużyło 2013-10-12 11:17:14 UTC
*Ahem*, adjust the command beforehand - why did you expect kde-runtime-4.11.1 dir in kde-runtime-4.11.2 tarball ? If one were there, it would just mean upstream mispackaged it.
Comment 13 Marco Clocchiatti 2013-10-12 15:14:07 UTC
ops. simply cutting and pasting your command is wrong, because now I'm using a different kde-runtime version.
:)

now, I cut and paste line 10900 directly from my build.log, and this is the ouput:

ezio distdir # tar -xpf /usr/portage/distfiles/fakeTmpDir/portage/kde-base/kimgio-4.11.2/distdir/kde-runtime-4.11.2.tar.xz --xz kde-runtime-4.11.2/cmake/ kde-runtime-4.11.2/CMakeLists.txt kde-runtime-4.11.2/ConfigureChecks.cmake kde-runtime-4.11.2/config.h.cmake kde-runtime-4.11.2/kimgio kde-runtime-4.11.2/cmake/modules/ kde-runtime-4.11.2/CTestConfig.cmake kde-runtime-4.11.2/config-runtime.h.cmake
tar: kde-runtime-4.11.2/ConfigureChecks.cmake: Not found in archive
tar: kde-runtime-4.11.2/config.h.cmake: Not found in archive
tar: kde-runtime-4.11.2/cmake/modules: Not found in archive
tar: Exiting with failure status due to previous errors

really something seems missing. Despite of the error message, the modules dir is extracted the same:

ezio distdir # ls kde-runtime-4.11.2/cmake/modules/
CMakeLists.txt  COPYING-CMAKE-SCRIPTS  FindCLucene.cmake  FindLibSSH.cmake  FindQNtrack.cmake  FindSLP.cmake  MacroDBusAddActivationService.cmake
Comment 14 Michael Palimaka (kensington) gentoo-dev 2013-10-19 14:04:25 UTC
Which version of media-libs/libwebp do you have?
Comment 15 Rafał Mużyło 2013-10-19 16:51:32 UTC
(In reply to Michael Palimaka (kensington) from comment #14)
> Which version of media-libs/libwebp do you have?

It doesn't seem to be a problem with libwebp.
It's more like something goes wrong during unpacking.
First of all, it's "tar: kde-runtime-4.11.2/cmake/modules: Not found in archive".
This dir should be present (though it gets unpacked, as kde-runtime-4.11.2/cmake comes first).
The other two may indeed not exist.
I suspect kde-runtime-4.11.2/kimgio simply doesn't get unpacked, cause unpacking gets interrupted by previous errors. Therefore no libwebp check.
Comment 16 Michael Palimaka (kensington) gentoo-dev 2013-10-19 17:35:45 UTC
(In reply to Rafał Mużyło from comment #15)
> It doesn't seem to be a problem with libwebp.
> It's more like something goes wrong during unpacking.

More information is better than less. Half of KDE produces a "tar extract command failed at least partially - continuing anyway" message due to eclass artifacts.
Comment 17 Marco Clocchiatti 2013-10-19 19:18:57 UTC
(In reply to Michael Palimaka (kensington) from comment #16)
> (In reply to Rafał Mużyło from comment #15)
> > It doesn't seem to be a problem with libwebp.
> > It's more like something goes wrong during unpacking.
> 
> More information is better than less.

sorry for my delay:

ezio ~ # eix libwe
[I] media-libs/libwebp
     Available versions:  0.2.1 ~0.3.0 0.3.1 {abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_x86_32 abi_x86_64 abi_x86_x32 experimental gif +jpeg opengl +png static-libs swap-16bit-csp tiff}
     Installed versions:  0.3.1(17:08:42 09/30/13)(abi_x86_32 jpeg png -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_x86_64 -abi_x86_x32 -experimental -gif -opengl -static-libs -swap-16bit-csp -tiff)
     Homepage:            http://code.google.com/p/webp/
     Description:         A lossy image compression format
Comment 18 Marco Clocchiatti 2013-10-19 19:30:22 UTC
wonderfull!

downgrading to libwebp-0.2.1, kimgio compiles fine.
upgrading again to libwebp-0.3.1, the problems doesn't appire anymore.

thank's a lot for your support.