Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 758005 - sys-devel/clang-11.0 fails with profile 17.1
Summary: sys-devel/clang-11.0 fails with profile 17.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: no-symlink-lib
  Show dependency tree
 
Reported: 2020-12-02 05:01 UTC by Adam Stylinski
Modified: 2020-12-02 20:24 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Stylinski 2020-12-02 05:01:35 UTC
Compilation succeeds but install fails, pointing to /lib when the actual install into the build dir resides in /lib32.

Here's the output:
-- Install configuration: "RelWithDebInfo"
-- Installing: /mnt/builddir/portage/sys-devel/clang-11.0.0/image/usr/lib/llvm/11/lib32/libclang.so.11
-- Installing: /mnt/builddir/portage/sys-devel/clang-11.0.0/image/usr/lib/llvm/11/lib32/libclang.so
mv: cannot stat '/mnt/builddir/portage/sys-devel/clang-11.0.0/image/usr/lib/llvm/11/lib/clang': No such file or directory


Reproducible: Always

Steps to Reproduce:
1. eselect profile (to 17.1)
2. emerge -1 =sys-devel/clang-11.0.0



emerge --info output:

Portage 3.0.10 (python 3.6.12-final-0, default/linux/amd64/17.1/desktop, gcc-9.3.0, glibc-2.32-r3, 5.6.6-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.6.6-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.7
KiB Mem:    32836752 total,  24815092 free
KiB Swap:    7815616 total,   7815616 free
Timestamp of repository gentoo: Sat, 28 Nov 2020 18:30:01 +0000
Head commit of repository gentoo: 21c3d9ba810ae35fe90b7a5c5ba0ebdb6b502f70
sh bash 5.0_p18
ld GNU ld (Gentoo 2.35.1 p2) 2.35.1
ccache version 4.1 [enabled]
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3-r1::gentoo
dev-lang/python:          2.7.18-r4::gentoo, 3.6.12::gentoo, 3.7.9::gentoo, 3.8.6::gentoo, 3.9.0::gentoo
dev-util/ccache:          4.1::gentoo
dev-util/cmake:           3.19.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.1-r1::gentoo
sys-devel/gcc:            9.3.0-r2::gentoo, 10.2.0-r3::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.9::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r3::gentoo
Repositories:

gentoo
    location: /scratchdir/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes

LocalOverlay
    location: /usr/local/portage/overlay
    masters: gentoo

steam-overlay
    location: /var/lib/layman/steam
    masters: gentoo
    priority: 0

haskell
    location: /var/lib/layman/haskell
    masters: gentoo
    priority: 50

mysql
    location: /var/lib/layman/mysql
    sync-uri: git://anongit.gentoo.org/proj/mysql.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=corei7-avx -mtune=corei7-avx -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"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/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="-O3 -pipe -march=corei7-avx -mtune=corei7-avx -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --complete-graph"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://lug.mtu.edu/gentoo/ http://mirror.leaseweb.com/gentoo/ http://gentoo.osuosl.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US"
MAKEOPTS="-j12"
PKGDIR="/var/cache/binpkgs"
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 --exclude=/.git"
PORTAGE_TMPDIR="/mnt/builddir"
USE="X a52 a52codec aac aalib acl acpi alsa amd64 amd64codecs apache2 asm avi avx bash-completion berkdb bluetooth branding bzip2 cairo cd-r cdda cddb cdparanoia cdr cli cpudetection crypt cscope cups curl custom-cflags custom-cpuopts custom-cxxflags dav1d dbus dirac djbfft djvu dri dts dv dvb dvd dvd-r dvdnav dvdr dvdread elogind emboss encode exif f77 ffmpeg flac fortran gdbm gif gpm gs gtk gui hal iconv icu ieee1394 imagemagick imlib ipv6 jack jbig jemalloc joystick jpeg jpeg2k latin1 lcms libcaca libdvdread libg++ libglvnd libnotify libtirpc libwww lzma lzo mad matroska mikmod mjpeg mmx mmxext mng mp2 mp3 mp4 mpeg mpeg2 mplayer multilib musepack musicbrainz mysql ncurses nls nptl nvidia nvidia% offensive ogg openal opencl opengl openmp openntpd openrc oss pam pango pcre pdf pdflib perl php php5 png pnm policykit posix ppds python qt qt3support qt4 qt5 quicktime rar readline real ruby samba sasl sdl seccomp smp speex spell split-usr srt sse sse2 sse3 sse4 sse4.1 sse4_2 ssl ssse3 startup-notification suexec svg tcpd theora threads tiff transcode truetype udev udisks unicode upower usb v4l v4l2 vcd vdpau vim-syntax vorbis win32codecs wxwidgets x264 xattr xcb xinerama xml xpm xv xvid zip zlib" ABI_X86="64 32" ADA_TARGET="gnat_2018" 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="karbon sheets words" 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" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFED_DRIVERS="mlx4" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_6 python3_7 python3_8" RUBY_TARGETS="ruby25 ruby26 ruby27" 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"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Adam Stylinski 2020-12-02 18:41:42 UTC
So _something_ being rebuilt fixed this.  I'm not entirely sure, but I'm guessing it was some indirect dependency, as several other packages seem to suffer from this (e.g. the libX*/xcb packages).
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-12-02 20:24:52 UTC
Hmm, if anything, it could have been sys-devel/llvm.