Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 408603 - dev-libs/libelf fails to install with parallel make
Summary: dev-libs/libelf fails to install with parallel make
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: new-fbsd-stage
  Show dependency tree
 
Reported: 2012-03-17 16:36 UTC by Yuta SATOH
Modified: 2012-05-14 05:33 UTC (History)
0 users

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


Attachments
patch for libelf-0.8.13-r1.ebuild (408603.patch,268 bytes, patch)
2012-03-17 16:39 UTC, Yuta SATOH
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH 2012-03-17 16:36:53 UTC
This package fails in install phase, when MAKEOPTS=-j5 options is set.

/usr/bin/install -c -m 644 libelf.a /var/tmp/portage/dev-libs/libelf-0.8.13-r1/image/usr/lib
/usr/bin/install -c libelf.so.0.8.13 /var/tmp/portage/dev-libs/libelf-0.8.13-r1/image/usr/lib
cd /var/tmp/portage/dev-libs/libelf-0.8.13-r1/image/usr/lib && i686-gentoo-freebsd8.2-ranlib libelf.a
if test "libelf.so.0" = "libelf.so.0.8.13"; then true; else \
  cd /var/tmp/portage/dev-libs/libelf-0.8.13-r1/image/usr/lib && rm -f libelf.so.0 && ln -s libelf.so.0.8.13 libelf.so.0; \
fi
if test "libelf.so" = "libelf.so.0.8.13"; then true; else \
  cd /var/tmp/portage/dev-libs/libelf-0.8.13-r1/image/usr/lib && rm -f libelf.so && ln -s libelf.so.0.8.13 libelf.so; \
fi
files="libelf.h nlist.h gelf.h sys_elf.h elf_repl.h"; for file in $files; do \
  if test -r $file; then \
    /usr/bin/install -c -m 644 $file /var/tmp/portage/dev-libs/libelf-0.8.13-r1/image/usr/include/libelf; \
  else \
    /usr/bin/install -c -m 644 ./$file /var/tmp/portage/dev-libs/libelf-0.8.13-r1/image/usr/include/libelf; \
  fi; \
done
gmake[1]: Leaving directory `/var/tmp/portage/dev-libs/libelf-0.8.13-r1/work/libelf-0.8.13/lib'
making install in po
gmake[1]: Entering directory `/var/tmp/portage/dev-libs/libelf-0.8.13-r1/work/libelf-0.8.13/po'
catalogs="de.cat"; for cat in $catalogs; do \
  lang=`echo $cat | sed 's,.cat$,,'`; \
  dir=/var/tmp/portage/dev-libs/libelf-0.8.13-r1/image/usr/lib/locale/$lang/LC_MESSAGES; \
  /bin/sh ../mkinstalldirs $dir; \
  if test -r $cat; then \
    /usr/bin/install -c -m 644 $cat $dir/libelf.cat; \
  else \
    /usr/bin/install -c -m 644 ./$cat $dir/libelf.cat; \
  fi; \
done
mkdir /var/tmp/portage/dev-libs/libelf-0.8.13-r1/image/usr/lib/locale
mkdir /var/tmp/portage/dev-libs/libelf-0.8.13-r1/image/usr/lib/locale/de
mkdir /var/tmp/portage/dev-libs/libelf-0.8.13-r1/image/usr/lib/locale/de/LC_MESSAGES
gmake[1]: Leaving directory `/var/tmp/portage/dev-libs/libelf-0.8.13-r1/work/libelf-0.8.13/po'
emake failed
 * ERROR: dev-libs/libelf-0.8.13-r1 failed (install phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  85:  Called src_install
 *   environment, line 2534:  Called die
 * The specific snippet of code:
 *       emake prefix="${D}usr" libdir="${D}usr/$(get_libdir)" install install-compat || die;
 *
 * If you need support, post the output of 'emerge --info =dev-libs/libelf-0.8.13-r1',
 * the complete build log and the output of 'emerge -pqv =dev-libs/libelf-0.8.13-r1'.
 * The complete build log is located at '/var/tmp/portage/dev-libs/libelf-0.8.13-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libelf-0.8.13-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-libs/libelf-0.8.13-r1/work/libelf-0.8.13'



Reproducible: Always

Steps to Reproduce:
1. echo 'export MAKEOPTS="-j5"' >> /etc/catalyst/catalystrc
2. Create a new stage3 using catalyst.
Comment 1 Yuta SATOH 2012-03-17 16:39:05 UTC
Created attachment 305719 [details, diff]
patch for libelf-0.8.13-r1.ebuild