Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187140 - add FAKE_TARGET support to gcc-config to maintain kgcc64 wrappers
Summary: add FAKE_TARGET support to gcc-config to maintain kgcc64 wrappers
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on: 349405
Blocks:
  Show dependency tree
 
Reported: 2007-07-30 15:34 UTC by Dustin Polke
Modified: 2012-02-29 20:32 UTC (History)
1 user (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 Dustin Polke 2007-07-30 15:34:04 UTC
Check for file-collision emerging sys-devel/kgcc64-4.1.2 yields a clash with sys-devel/kgcc64-4.1.1, which I consider quite strange since this is an ordenary upgrade of sys-devel/kgcc64, isn't it.

Here is last output and available versions:

* checking 31 files for package collisions
existing file /usr/bin/sparc64-linux-cpp is not owned by this package
existing file /usr/bin/sparc64-linux-gcc is not owned by this package
* This package is blocked because it wants to overwrite
* files belonging to other packages (see messages above).
* If you have no clue what this is all about report it
* as a bug for this package on http://bugs.gentoo.org

package sys-devel/kgcc64-4.1.2 NOT merged


Searching all installed packages for file collisions...
Press Ctrl-C to Stop

 * sys-devel/kgcc64-4.1.1:

     '/usr/bin/sparc64-linux-cpp'
     '/usr/bin/sparc64-linux-gcc'

gandalf serveradm # eix kgcc64
[U] sys-devel/kgcc64
     Available versions:
        (x86_64-pc-linux-gnu-3.4)       3.4.6
        (x86_64-pc-linux-gnu-4.1)       4.1.1 4.1.2
     Installed versions:  4.1.1(x86_64-pc-linux-gnu-4.1)(07-06-13 13:29)(-multislot test)
     Homepage:            http://gcc.gnu.org/
     Description:         64bit kernel compiler


And my emerge --info:

Portage 2.1.2.9 (default-linux/sparc/sparc64/2007.0/server, gcc-4.1.2, glibc-2.5-r3, 2.6.20-gentoo-r9 sparc64)
=================================================================
System uname: 2.6.20-gentoo-r9 sparc64 sun4u
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 30 Jul 2007 09:50:01 +0000
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=ultrasparc -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mcpu=ultrasparc -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict test userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gentoo.inode.at/source/"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS=""
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/modified /usr/local/portage/own"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="apache2 bitmap-fonts cli cracklib cups dri fortran gdbm glibc-omitfp gpm iconv iproute2 isdnlog kerberos ldap libg++ logrotate mailwrapper midi mime mudflap mysql ncurses nls nptl nptlonly openmp pam pam_timestamp pcre php posix ppds pppd reflection session smbkrb5passwd snmp sparc spl ssl syslog test truetype truetype-fonts type1-fonts unicode userlocales xml xorg" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="mach64"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS_FLAGS


Reproducible: Always

Steps to Reproduce:
1. Have kgcc64-4.1.1 installed
2. Emerge kgcc64-4.1.2
3.

Actual Results:  
file-collision detected

Expected Results:  
Replace files since they belong to the same package
Comment 1 SpanKY gentoo-dev 2012-02-29 20:32:18 UTC
i think we're obsoleting the idea of FAKE_TARGET's.  most of the targets that use kgcc64 no longer need it: ppc, ppc64, sparc, sparc64, x86, x86_64/amd64 now install bi-arch toolchains so the native gcc can do -m32/-m64 just fine.

that leaves hppa, but hopefully they'll get on the biarch bandwagon and we can forget all about this business ...