Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 537222 - sys-devel/llvm-3.5.1 - rm: cannot remove ‘.../work/llvm-3.5.1-manpages/clang.1’: No such file or directory
Summary: sys-devel/llvm-3.5.1 - rm: cannot remove ‘.../work/llvm-3.5.1-manpages/clang....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
: 537238 537242 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-01-21 11:07 UTC by tman
Modified: 2015-01-22 09:08 UTC (History)
4 users (show)

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


Attachments
build.log.tar.gz (build.log.tar.gz,76.62 KB, application/gzip)
2015-01-21 15:53 UTC, Alexey Skobkin
Details
build.log.tar.gz with USE=clang (build.log_clang.tar.gz,155.62 KB, application/gzip)
2015-01-21 16:14 UTC, Alexey Skobkin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2015-01-21 11:07:47 UTC
lvm[2]: Installing cmake modules: AddSphinxTarget.cmake
/usr/bin/install -c -m 0644 /var/tmp/portage/sys-devel/llvm-3.5.1/work/llvm-3.5.1.src/cmake/modules/AddSphinxTarget.cmake /var/tmp/portage/sys-devel/llvm-3.5.1/image//_amd64/usr/share/llvm/cmake
llvm[2]: Installing cmake modules: GetSVN.cmake
/usr/bin/install -c -m 0644 /var/tmp/portage/sys-devel/llvm-3.5.1/work/llvm-3.5.1.src/cmake/modules/GetSVN.cmake /var/tmp/portage/sys-devel/llvm-3.5.1/image//_amd64/usr/share/llvm/cmake
llvm[2]: Installing cmake modules: TableGen.cmake
/usr/bin/install -c -m 0644 /var/tmp/portage/sys-devel/llvm-3.5.1/work/llvm-3.5.1.src/cmake/modules/TableGen.cmake /var/tmp/portage/sys-devel/llvm-3.5.1/image//_amd64/usr/share/llvm/cmake
llvm[2]: Installing cmake modules: LLVMProcessSources.cmake
/usr/bin/install -c -m 0644 /var/tmp/portage/sys-devel/llvm-3.5.1/work/llvm-3.5.1.src/cmake/modules/LLVMProcessSources.cmake /var/tmp/portage/sys-devel/llvm-3.5.1/image//_amd64/usr/share/llvm/cmake
llvm[2]: Installing cmake modules: LLVMParseArguments.cmake
/usr/bin/install -c -m 0644 /var/tmp/portage/sys-devel/llvm-3.5.1/work/llvm-3.5.1.src/cmake/modules/LLVMParseArguments.cmake /var/tmp/portage/sys-devel/llvm-3.5.1/image//_amd64/usr/share/llvm/cmake
llvm[2]: Installing cmake modules: LLVMConfig.cmake
/usr/bin/install -c -m 0644 /var/tmp/portage/sys-devel/llvm-3.5.1/work/llvm-3.5.1.src-abi_x86_64.amd64/cmake/modules/LLVMConfig.cmake /var/tmp/portage/sys-devel/llvm-3.5.1/image//_amd64/usr/share/llvm/cmake
llvm[2]: Installing cmake modules: LLVMConfigVersion.cmake
/usr/bin/install -c -m 0644 /var/tmp/portage/sys-devel/llvm-3.5.1/work/llvm-3.5.1.src-abi_x86_64.amd64/cmake/modules/LLVMConfigVersion.cmake /var/tmp/portage/sys-devel/llvm-3.5.1/image//_amd64/usr/share/llvm/cmake
llvm[2]: Installing cmake modules: LLVMExports.cmake
/usr/bin/install -c -m 0644 /var/tmp/portage/sys-devel/llvm-3.5.1/work/llvm-3.5.1.src-abi_x86_64.amd64/cmake/modules/LLVMExports.cmake /var/tmp/portage/sys-devel/llvm-3.5.1/image//_amd64/usr/share/llvm/cmake
llvm[2]: Installing cmake modules: ChooseMSVCCRT.cmake
/usr/bin/install -c -m 0644 /var/tmp/portage/sys-devel/llvm-3.5.1/work/llvm-3.5.1.src/cmake/modules/ChooseMSVCCRT.cmake /var/tmp/portage/sys-devel/llvm-3.5.1/image//_amd64/usr/share/llvm/cmake
make[2]: Leaving directory '/var/tmp/portage/sys-devel/llvm-3.5.1/work/llvm-3.5.1.src-abi_x86_64.amd64/cmake/modules'
make[1]: Leaving directory '/var/tmp/portage/sys-devel/llvm-3.5.1/work/llvm-3.5.1.src-abi_x86_64.amd64/cmake'
for dir in bindings; do \
  if [ -d /var/tmp/portage/sys-devel/llvm-3.5.1/work/llvm-3.5.1.src/$dir ]; then\
    if ([ ! -f $dir/Makefile ] || \
        command test $dir/Makefile -ot /var/tmp/portage/sys-devel/llvm-3.5.1/work/llvm-3.5.1.src/$dir/Makefile ); then \
      /var/tmp/portage/sys-devel/llvm-3.5.1/work/llvm-3.5.1.src/autoconf/mkinstalldirs $dir; \
      /bin/cp /var/tmp/portage/sys-devel/llvm-3.5.1/work/llvm-3.5.1.src/$dir/Makefile $dir/Makefile; \
    fi; \
    (make -C$dir install ) || exit 1; \
  fi \
done
make[1]: Entering directory '/var/tmp/portage/sys-devel/llvm-3.5.1/work/llvm-3.5.1.src-abi_x86_64.amd64/bindings'
make[1]: Nothing to be done for 'install'.
make[1]: Leaving directory '/var/tmp/portage/sys-devel/llvm-3.5.1/work/llvm-3.5.1.src-abi_x86_64.amd64/bindings'
rm: cannot remove ‘/var/tmp/portage/sys-devel/llvm-3.5.1/work/llvm-3.5.1-manpages/clang.1’: No such file or directory
 * ERROR: sys-devel/llvm-3.5.1::gentoo failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_install
 *   environment, line 4623:  Called multilib-minimal_src_install
 *   environment, line 2748:  Called multilib_foreach_abi 'multilib-minimal_abi_src_install'
 *   environment, line 2935:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
 *   environment, line 2636:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
 *   environment, line 2634:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_install'
 *   environment, line  479:  Called multilib-minimal_abi_src_install
 *   environment, line 2738:  Called multilib_src_install
 *   environment, line 3217:  Called die
 * The specific snippet of code:
 *                   rm "${WORKDIR}"/${P}-manpages/clang.1 || die;


Reproducible: Always



Expected Results:  
Portage 2.2.15 (python 3.4.2-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.2, glibc-2.20-r1, 3.18.3-gentoo x86_64)
=================================================================
System uname: Linux-3.18.3-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    24626780 total,  21379584 free
KiB Swap:   25461756 total,  25461756 free
Timestamp of tree: Wed, 21 Jan 2015 10:30:01 +0000
sh bash 4.3_p33
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p33
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.4.2
dev-util/cmake:           3.1.0
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6-r1, 1.13.4, 1.15
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.4, 4.9.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.5
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.20-r1
Repositories: gentoo bitcoin steam-overlay bumblebee printer-drivers media-overlay lokal
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -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.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/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 -pipe"
DISTDIR="/mnt/portage/distfiles"
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="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/mnt/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="/mnt/portage"
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-21 11:33:22 UTC
Please attach the entire build log to this bug report.
Comment 2 Holger Hoffstätte 2015-01-21 11:56:48 UTC
I get a different error (probably due to build concurrency) after successful build but right before installation:

..
!!! doman: /tmp/portage/sys-devel/llvm-3.5.1/work/llvm-3.5.1-manpages/*.1 does not exist
..

Which is not surprising:

root>ll /tmp/portage/sys-devel/llvm-3.5.1/work/          
total 0
drwxr-xr-x  2 portage portage 520 Sep  5 14:44 llvm-3.5.0-manpages/
drwxr-xr-x 14 portage portage 580 Jan 21 12:25 llvm-3.5.1.src/
drwxr-xr-x 14 portage portage 440 Jan 21 12:25 llvm-3.5.1.src-abi_x86_64.amd64/

The ebuild references the previous 3.5.0 manpages as dependency, but then tries to install based on the current ebuild version, which does not exist.

The solution is either to update the USE="doc" dependency to 3.5.1 (requiring a new tarball at http://dev.gentoo.org/~voyageur/distfiles/) or use the dependency's version for doman (not sure if that's possible).
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-21 14:28:55 UTC
*** Bug 537238 has been marked as a duplicate of this bug. ***
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-21 14:29:28 UTC
Build log attached to duplicate bug #537238.
Comment 5 Alexey Skobkin 2015-01-21 15:53:42 UTC
Created attachment 394508 [details]
build.log.tar.gz

Same problem.

# emerge --info
Portage 2.2.15 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.8.4, glibc-2.20-r1, 3.18.3-gentoo-skobkin x86_64)
=================================================================
System uname: Linux-3.18.3-gentoo-skobkin-x86_64-Intel-R-_Core-TM-_i7-4820K_CPU_@_3.70GHz-with-gentoo-2.2
KiB Mem:    32882836 total,  15297440 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Wed, 21 Jan 2015 14:15:01 +0000
sh bash 4.3_p33-r1
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p33-r1
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.4.2
dev-util/cmake:           3.1.0
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6-r1, 1.13.4, 1.14.1, 1.15
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.4, 4.9.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.5
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.20-r1
Repositories: gentoo steam-overlay rion multimedia abnorm jorgicio
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
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="http://mirror.yandex.ru/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/steam /var/lib/layman/rion /var/lib/layman/multimedia /var/lib/layman/abnorm /var/lib/layman/jorgicio"
SYNC="rsync://rsync.ru.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avx bash-completion bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups curl curlwrappers cxx dbus declarative dga djvu dri dts dv dvd dvdr emboss encode exif fam fbcon ffmpeg firefox flac fortran gdbm gif git glamor gles2 gnutls gpm gtk gzip hddtemp iconv idn imagemagick inotify ipv6 jabber jit jpeg kde kipi lame lcms ldap libass libnotify lm_sensors lzma lzo mad matroska mhash mime mmap mmx mmxext mng modules mp3 mp4 mpeg mplayer multilib ncurses nls nptl nsplugin ogg openal opengl openmp pam pango pch pcre pdf phonon plasma png policykit posix ppds pulseaudio qt3support qt4 raw readline samba sasl scanner sdl semantic-desktop session sharedmem smp sockets sound spell sse sse2 sse3 sse4_1 ssl ssse3 startup-notification svg syslog taglib tcmalloc tcpd theora threads tiff truetype udev udisks unicode upnp upnp-av upower usb v4l vhosts videos vnc vorbis wxwidgets x264 xattr xcb xcomposite xft xinerama xml xmpp xscreensaver xv xvid xvmc 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon sony_dscf1 sony_dscf55" 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="evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ru" NETBEANS_MODULES="apisupport ergonomics ide identity nb php webcommon websvccommon" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5 php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4 pypy pypy3" QEMU_SOFTMMU_TARGETS="x86_64 arm" QEMU_USER_TARGETS="x86_64 arm" RUBY_TARGETS="ruby20" SANE_BACKENDS="hp hp3500 hp3900" USERLAND="GNU" VIDEO_CARDS="nvidia" 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"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Alexey Skobkin 2015-01-21 16:14:49 UTC
Created attachment 394510 [details]
build.log.tar.gz with USE=clang

When I user 'clang' flag while compiling llvm, the error has changed.
Comment 7 Bernard Cafarelli gentoo-dev 2015-01-21 16:27:43 UTC
*** Bug 537242 has been marked as a duplicate of this bug. ***
Comment 8 Bernard Cafarelli gentoo-dev 2015-01-21 16:30:24 UTC
Thanks everyone, I actually pushed the fix about an hour ago, so it should be fine on your next sync (with USE=-doc, both USE=clang and USE=-clang)

Will mark this as fixed when the fix is available
Comment 9 Account removed 2015-01-21 18:11:56 UTC
(In reply to Bernard Cafarelli from comment #8)
> Thanks everyone, I actually pushed the fix about an hour ago, so it should
> be fine on your next sync (with USE=-doc, both USE=clang and USE=-clang)
> 
> Will mark this as fixed when the fix is available

thank you for the quick fix! builds fine now here after a new sync :}
Comment 10 Bernard Cafarelli gentoo-dev 2015-01-22 09:08:45 UTC
Thanks for the confirmation, marking fixed then :)