Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 511812 - sys-apps/util-linux-2.24.2 - /bin/sh: line 2: libuuid/uuid.pc.tmp: No such file or directory / /bin/sh: sys-utils/x86_64.8: No such file or directory (parallel make install?)
Summary: sys-apps/util-linux-2.24.2 - /bin/sh: line 2: libuuid/uuid.pc.tmp: No such fi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://thread.gmane.org/gmane.linux.u...
Whiteboard:
Keywords:
: 516824 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-05-29 20:59 UTC by Thomas Deutschmann (RETIRED)
Modified: 2015-05-04 03:53 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,24.79 KB, text/plain)
2014-05-30 10:40 UTC, Thomas Deutschmann (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2014-05-29 20:59:01 UTC
Hi,

run

  # MAKEOPTS="--jobs --load-average 9" emerge =sys-apps/util-linux-2.24.2

and it will fail with

>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-apps/util-linux-2.24.2/work/util-linux-2.24.2 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_compile
make --jobs --load-average 9
make  all-recursive
make[1]: Entering directory '/var/tmp/portage/sys-apps/util-linux-2.24.2/work/util-linux-2.24.2-abi_x86_64.amd64'
Making all in po
make[2]: Entering directory '/var/tmp/portage/sys-apps/util-linux-2.24.2/work/util-linux-2.24.2-abi_x86_64.amd64/po'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/var/tmp/portage/sys-apps/util-linux-2.24.2/work/util-linux-2.24.2-abi_x86_64.amd64/po'
make[2]: Entering directory '/var/tmp/portage/sys-apps/util-linux-2.24.2/work/util-linux-2.24.2-abi_x86_64.amd64'
  GEN      libmount/mount.pc
  GEN      libblkid/blkid.pc
  GEN      libuuid/uuid.pc
/bin/sh: line 2: libuuid/uuid.pc.tmp: No such file or directory
Makefile:11093: recipe for target 'libuuid/uuid.pc' failed
make[2]: *** [libuuid/uuid.pc] Error 1
make[2]: Leaving directory '/var/tmp/portage/sys-apps/util-linux-2.24.2/work/util-linux-2.24.2-abi_x86_64.amd64'
Makefile:10326: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/sys-apps/util-linux-2.24.2/work/util-linux-2.24.2-abi_x86_64.amd64'
Makefile:4324: recipe for target 'all' failed
make: *** [all] Error 2


Setting a fixed "--jobs" value will prevent this error.

I wasn't sure if I should report this or not but because I saw bug 510752 I decided to report this problem, too.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-30 10:06:03 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2014-05-30 10:40:23 UTC
Created attachment 377840 [details]
build.log

# emerge --info
Portage 2.2.10 (default/linux/amd64/13.0, gcc-4.8.2, glibc-2.19, 3.14.4-gentoo x86_64)
=================================================================
System uname: Linux-3.14.4-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:     4050276 total,   3011080 free
KiB Swap:    1048572 total,   1046480 free
Timestamp of tree: Thu, 29 May 2014 19:15:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p47
dev-lang/python:          2.7.6-r1, 3.3.5, 3.4.0
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.14 (virtual/os-headers)
sys-libs/glibc:           2.19
ABI="amd64"
ABI_X86="64"
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ARCH="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core-avx-i -mno-movbe -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm
 -mno-avx2 -mno-lzcnt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=generic"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnux32"
CHOST_x86="i686-pc-linux-gnu"
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-30 10:44:57 UTC
You got a different result the second time, it seems. Parallel make issue?
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-30 10:45:19 UTC
"make --jobs --load-average 9"

Test req.
Comment 5 Olivier van der Toorn 2014-07-11 21:23:16 UTC
I've hit this bug today on my Raspberry Pi. In #gentoo-arm I was told to use "-j1" for MAKEOPTS and disable the "distcc" feature. I normally use "-j9 -l1" with the distcc feature. With "-j1" I was able to successfully build util-linux.

Portage 2.2.8-r1 (default/linux/arm/13.0/armv6j, gcc-4.7.3, glibc-2.17, 3.12.24+ armv6l)
=================================================================
System uname: Linux-3.12.24+-armv6l-with-gentoo-2.2
KiB Mem:      496736 total,    377664 free
KiB Swap:     524284 total,    524284 free
Timestamp of tree: Fri, 11 Jul 2014 16:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
distcc 3.1 armv6j-hardfloat-linux-gnueabi [disabled]
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.6, 3.3.3
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv6j-hardfloat-linux-gnueabi"
CFLAGS="-O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard"
CHOST="armv6j-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/boot/cmdline.txt /boot/config.txt /etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe -march=armv6j"
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 -march=armv6j"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="acl arm berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm iconv modules ncurses nls nptl openmp pam pcre pulseaudio readline session ssl tcpd unicode zlib" 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="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_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="exynos fbdev omap omapfb 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 6 Daniel.Savard 2014-08-29 03:54:05 UTC
I ran into this problem with sys-apps/util-linux-2.24.1-r3 and it is a parallel compilation problem. Once you reduce the number of parallel compilation process you can build the package without any other problem.
Comment 7 SpanKY gentoo-dev 2015-05-04 03:18:38 UTC
*** Bug 516824 has been marked as a duplicate of this bug. ***