Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 572294 - cross-armv7a-hardfloat-linux-gnueabi/gcc-5.3.0 - file collisions
Summary: cross-armv7a-hardfloat-linux-gnueabi/gcc-5.3.0 - file collisions
Status: RESOLVED DUPLICATE of bug 547754
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-18 17:40 UTC by Conrad Kostecki
Modified: 2016-02-01 04:37 UTC (History)
1 user (show)

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


Attachments
gcc-build-logs.tar.bz2 (gcc-build-logs.tar.bz2,231.52 KB, application/x-bzip)
2016-01-18 17:40 UTC, Conrad Kostecki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Conrad Kostecki gentoo-dev 2016-01-18 17:40:37 UTC
I've currently installed cross-armv7a-hardfloat-linux-gnueabi/gcc-4.9.3, in order to do distcc with my Raspberry Pi 2.

Now, I want to update to GCC 5.3.0, but unable to do so, as I am getting file collisions..

>>> Installing (1 of 3) cross-armv7a-hardfloat-linux-gnueabi/gcc-5.3.0::galactica
 * checking 1200 files for package collisions
1000 files checked ...
 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at http://bugs.gentoo.org unless you report exactly which
 * two packages install the same file(s). See
 * http://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how to
 * solve the problem. And once again, please do NOT file a bug report
 * unless you have completely understood the above message.
 *
 * Detected file collision(s):
 *
 *      /usr/lib64/libcc1.so.0.0.0
 *      /usr/lib64/libcc1.la
 *      /usr/lib64/libcc1.so.0
 *      /usr/lib64/libcc1.so
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * cross-avr/gcc-5.3.0:5.3.0::galactica
 *      /usr/lib64/libcc1.la
 *      /usr/lib64/libcc1.so
 *      /usr/lib64/libcc1.so.0
 *      /usr/lib64/libcc1.so.0.0.0
 *
 * Package 'cross-armv7a-hardfloat-linux-gnueabi/gcc-5.3.0' NOT merged
 * due to file collisions. If necessary, refer to your elog messages for
 * the whole content of the above message.

Why? Did I do something wrong?

Reproducible: Always




Portage 2.2.26 (python 3.4.3-final-0, default/linux/amd64/13.0, gcc-5.3.0, glibc-2.22-r1, 4.3.3-gentoo x86_64)
=================================================================
System uname: Linux-4.3.3-gentoo-x86_64-Intel-R-_Atom-TM-_CPU_E680_@_1.60GHz-with-gentoo-2.2
KiB Mem:     2051676 total,    185428 free
KiB Swap:    2621436 total,   2475216 free
Timestamp of repository gentoo: Fri, 15 Jan 2016 15:45:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
ccache version 3.2.4 [disabled]
app-shells/bash:          4.3_p42-r1::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.4.1::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.2::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.9.6-r4::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r1::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.3.0::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: --delete-before --delete-excluded --exclude-from=/etc/portage/rsync_excludes --stats

galactica
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=atom -O3 -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -mmovbe -msahf -pipe -fomit-frame-pointer -mfpmath=sse"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=atom -O3 -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -mmovbe -msahf -pipe -fomit-frame-pointer -mfpmath=sse -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build=n --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch 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"
INSTALL_MASK="/etc/systemd/network/* /etc/systemd/system/* /etc/xinetd.d/* /usr/lib64/systemd/system/* /usr/lib64/systemd/system-shutdown/*"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,-z,now"
MAKEOPTS="-j3 -l2"
PKGDIR="/usr/portage/packages"
PORTAGE_BUNZIP2_COMMAND="pbunzip2"
PORTAGE_BZIP2_COMMAND="pbzip2"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-9e"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--delete-before --delete-excluded --exclude-from=/etc/portage/rsync_excludes --stats"
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"
USE="amd64 bash-completion berkdb bzip2 cairo caps cgi cracklib crypt ctype curl cvs cxx exif fontconfig fortran ftp gd gif git gmp gnutls graphviz hddtemp iconv icu idn ipv6 javascript jit jpeg jpeg2k lcms ldap lm_sensors lzma lzo mbox mime mysql mysqli ncurses nls nntp nptl offensive openmp pam pcre perl pie png python readline samba seccomp session simplexml slang sockets spell sqlite ssl subversion suid svg symlink tcpd threads tiff truetype udev unicode usb vhosts vim-syntax xml zlib" ABI_X86="64" COLLECTD_PLUGINS="apcups cgroups conntrack contextswitch cpu df disk dns entropy ethstat exec filecount hddtemp interface iptables irq load logfile md memory mysql netlink nfs nginx ntpd openvpn ping processes rrdcached sensors serial swap table tcpconns unixsock uptime users wireless" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" CURL_SSL="openssl" ELIBC="glibc" GRUB_PLATFORMS="pc" KERNEL="linux" LCD_DEVICES="lcd2usb glcd2usb" LINGUAS="de" NGINX_MODULES_HTTP="access auth_basic autoindex charset fancyindex fastcgi gzip proxy rewrite stub_status" PHP_TARGETS="php5-6 php7-0" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4 python3_5" USERLAND="GNU"
USE_PYTHON="2.7 3.4 3.5"
Unset:  CC, CPPFLAGS, CTARGET, CXX, LC_ALL
Comment 1 Conrad Kostecki gentoo-dev 2016-01-18 17:40:57 UTC
Created attachment 423294 [details]
gcc-build-logs.tar.bz2
Comment 2 Conrad Kostecki gentoo-dev 2016-01-18 17:44:44 UTC
It seems to collision with my second cross-gcc, cross-avr/gcc-5.3.0 

root@Galactica / $ equery belongs -e /usr/lib64/libcc1.so.0.0.0
 * Searching for /usr/lib64/libcc1.so.0.0.0 ...
cross-avr/gcc-5.3.0 (/usr/lib64/libcc1.so.0.0.0)

root@Galactica / $ equery belongs -e /usr/lib64/libcc1.la
 * Searching for /usr/lib64/libcc1.la ...
cross-avr/gcc-5.3.0 (/usr/lib64/libcc1.la)

root@Galactica / $ equery belongs -e /usr/lib64/libcc1.so.0
 * Searching for /usr/lib64/libcc1.so.0 ...
cross-avr/gcc-5.3.0 (/usr/lib64/libcc1.so.0.0.0)

root@Galactica / $ equery belongs -e  /usr/lib64/libcc1.so
 * Searching for /usr/lib64/libcc1.so ...
cross-avr/gcc-5.3.0 (/usr/lib64/libcc1.so.0.0.0)
Comment 3 SpanKY gentoo-dev 2016-02-01 04:37:30 UTC
you'll need to rebuild your cross-avr/gcc package

*** This bug has been marked as a duplicate of bug 547754 ***