Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 540592 - app-shells/mpibash-1.1 USE=-examples - rm: cannot remove ‘.../image//usr/share/doc/mpibash-1.1/examples’: No such file or directory
Summary: app-shells/mpibash-1.1 USE=-examples - rm: cannot remove ‘.../image//usr/shar...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christoph Junghans (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-18 23:43 UTC by Mark Dominik Bürkle
Modified: 2015-02-19 16:00 UTC (History)
1 user (show)

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


Attachments
build.log USE=-examples (var_tmp_portage_app-shells_mpibash-1.1_temp_build.log,32.16 KB, text/plain)
2015-02-19 00:20 UTC, Mark Dominik Bürkle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Dominik Bürkle 2015-02-18 23:43:30 UTC
app-shells/mpibash-1.1 fails in src_install when NOT having USE=examples

Reproducible: Always

Steps to Reproduce:
1.a) add app-shells/mpi-bash ~amd64 to portage.keywords
1.b) add app-shells/bash plugins to portage.use
2. emerge mpi-bash
Actual Results:  
 * Messages for package app-shells/mpibash-1.1:

 * ERROR: app-shells/mpibash-1.1::gentoo failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_install
 *   environment, line 198:  Called die
 * The specific snippet of code:
 *       use examples || rm -r "${ED}/usr/share/doc/${PF}/examples" || die
 * 
 * If you need support, post the output of `emerge --info '=app-shells/mpibash-1.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-shells/mpibash-1.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-shells/mpibash-1.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-shells/mpibash-1.1/temp/environment'.
 * Working directory: '/var/tmp/portage/app-shells/mpibash-1.1/work/mpibash-1.1'
 * S: '/var/tmp/portage/app-shells/mpibash-1.1/work/mpibash-1.1'

 * The following package has failed to build or install:
 * 
 *  (app-shells/mpibash-1.1:0/0::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/app-shells/mpibash-1.1/temp/build.log'
 * 


Expected Results:  
build/install of package

emerge --info created after adding app-shells/mpi-bash examples to package.use:

lapmdb-hpl ~ #>> emerge --info
Portage 2.2.14 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.8.3, glibc-2.19-r1, 3.19.0-gentoo x86_64)
=================================================================
System uname: Linux-3.19.0-gentoo-x86_64-Intel-R-_Core-TM-_i5-2430M_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:     6051792 total,   2787280 free
KiB Swap:   10485756 total,   9567504 free
Timestamp of tree: Tue, 17 Feb 2015 22:45:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.9
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6-r1, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.5
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo java local
ACCEPT_KEYWORDS="amd64"
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 /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /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"
CXXFLAGS="-march=core-avx-i -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=3 --load-average=6 --with-bdeps=y --keep-going=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg 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://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://www.ibiblio.org/pub/Linux/distributions/gentoo http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/java /usr/local/portage"
SYNC="rsync://mirror.wheel.sk/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cddb cdinstall cdparanoia cdr cgi cli colord cracklib crypt cryptsetup css cups cxx dbus dedicated dga dri dts dvd dvdr eds emboss encode evo exif fam fastcgi firefox flac fortran gdbm gif glamor glut gnome gnome-keyring gnome-online-accounts gnutls gpm gsm gstreamer gtk gzip hddtemp iconv idn introspection ipv6 java java6 javascript jpeg jpeg2k kerberos lame lash lcms ldap libav libnotify libsecret lm_sensors mad matroska mbox mikmod mime mmap mms mmx mng mod modules mp3 mp4 mpeg mplayer multilib musepack nautilus ncurses nls nptl nsplugin ogg openal openexr opengl openmp pam pango pcre pdf perl php png policykit posix ppds pulseaudio qt3support qt4 quicktime raw rdesktop readline recode samba sasl savedconfig sdl session sharedmem simplexml smp socialweb sound spell sse sse2 ssl startup-notification subversion svg symlink syslog systemd sysvipc tcl tcmalloc tcpd theora tiff tokenizer truetype udev udisks unicode upower usb vcd videos vim-syntax vnc vorbis wavpack wayland wifi win32codecs wmf wxwidgets x264 xcb xcomposite xml xosd xsl xulrunner xv xvid 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" APACHE2_MPMS="prefork" 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="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 pypy1_9 jython2_5" QEMU_SOFTMMU_TARGETS="arm" QEMU_USER_TARGETS="arm armeb" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel radeon" 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

lapmdb-hpl ~ #>>
Comment 1 Mark Dominik Bürkle 2015-02-19 00:20:59 UTC
Created attachment 396914 [details]
build.log USE=-examples
Comment 2 Mark Dominik Bürkle 2015-02-19 00:24:58 UTC
as can be seen in the build.log and in the installed (with USE=examples) pkg list, the examples are src_installed to .../image/.../mpibash/examples/ while the README.md.bz2 resides in .../mpibash-1.1/:

lapmdb-hpl ~ #>> equery f mpibash
 * Searching for mpibash ...
 * Contents of app-shells/mpibash-1.1:
/usr
/usr/bin
/usr/bin/mbcp
/usr/bin/mbtar
/usr/bin/mbxz
/usr/bin/mpibash
/usr/libexec
/usr/libexec/mpibash
/usr/libexec/mpibash/circlebash.so
/usr/libexec/mpibash/mpibash.so
/usr/share
/usr/share/doc
/usr/share/doc/mpibash
/usr/share/doc/mpibash-1.1
/usr/share/doc/mpibash-1.1/README.md.bz2
/usr/share/doc/mpibash/examples
/usr/share/doc/mpibash/examples/pingpong.bz2
/usr/share/doc/mpibash/examples/testcircle.bz2
/usr/share/doc/mpibash/examples/testmpi.bz2
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/mbcp.1.bz2
/usr/share/man/man1/mbtar.1.bz2
/usr/share/man/man1/mbxz.1.bz2
lapmdb-hpl ~ #>>
Comment 3 Christoph Junghans (RETIRED) gentoo-dev 2015-02-19 16:00:36 UTC
Fixed in mpibash-1.2

+  19 Feb 2015; Christoph Junghans <ottxor@gentoo.org> -mpibash-1.1.ebuild,
+  mpibash-1.2.ebuild, mpibash-9999.ebuild:
+  fixed build without examples (bug #540592)
+