Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 210048 - unifdef and darwin-miscutils have a file collision
Summary: unifdef and darwin-miscutils have a file collision
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 OS X
: High normal (vote)
Assignee: osx porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-13 21:09 UTC by Peter Ansell
Modified: 2008-03-24 18:47 UTC (History)
0 users

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 Peter Ansell 2008-02-13 21:09:36 UTC
I unmasked distcc to see if it would actually work on my Leopard 10.5 prefix. It worked fine keywording the ebuild with ~x86-macos and testing with 

$ ebuild distcc-2.18.3-r12.ebuild digest install

It then promptly failed when I tried emerge distcc as it had a masked dependency on unifdef. I keyworded unifdef and compiled it fine using ebuild, but when I went to emerge it, I found there was a file collision with darwin-miscutils-5, which also seems to be installing unifdef itself.

This may require a virtual/unifdef, or making a dependency on either darwin-miscutils or unifdef instead of just unifdef.

Reproducible: Always

Actual Results:  
>>> Completed installing unifdef-1.20 into /Users/peter/Library/Gentoo/var/tmp/portage/dev-util/unifdef-1.20/image/Users/peter/Library/Gentoo/

ecompressdir: bzip2 -9 /Users/peter/Library/Gentoo/usr/share/man
* checking 4 files for package collisions
 * 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). Once again, please do NOT file
 * a bug report unless you have completely understood the above message.
 * 
 * package dev-util/unifdef-1.20 NOT merged
 * 
 * Detected file collision(s):
 * 
 * 	/Users/peter/Library/Gentoo/usr/bin/unifdef
 * 	/Users/peter/Library/Gentoo/usr/share/man/man1/unifdef.1.bz2
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * sys-apps/darwin-miscutils-5-r1
 * 	/Users/peter/Library/Gentoo/usr/bin/unifdef
 * 	/Users/peter/Library/Gentoo/usr/share/man/man1/unifdef.1.bz2

 * Messages for package dev-util/unifdef-1.20:

 * 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). Once again, please do NOT file
 * a bug report unless you have completely understood the above message.
 * 
 * package dev-util/unifdef-1.20 NOT merged
 * 
 * Detected file collision(s):
 * 
 * 	/Users/peter/Library/Gentoo/usr/bin/unifdef
 * 	/Users/peter/Library/Gentoo/usr/share/man/man1/unifdef.1.bz2
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * sys-apps/darwin-miscutils-5-r1
 * 	/Users/peter/Library/Gentoo/usr/bin/unifdef
 * 	/Users/peter/Library/Gentoo/usr/share/man/man1/unifdef.1.bz2

Expected Results:  
Install distcc fine as it has access to an unifdef logically but not according to portage


peter@Macintosh ~/Library/Gentoo/usr/portage/dev-util/unifdef $ emerge --info
Portage 2.2.00.9271-prefix (default-prefix/darwin/macos/10.5/x86, gcc-4.0.1, unavailable, 9.1.0 i386)
=================================================================
System uname: 9.1.0 i386 i386
Timestamp of tree: Wed, 13 Feb 2008 08:07:39 +0000
distcc 2.18.5-Apple.1 powerpc-apple-darwin9.0 (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.5.1-r5
sys-devel/autoconf:  2.61-r01.1
sys-devel/automake:  1.7.9-r1, 1.10.1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
ACCEPT_KEYWORDS="~x86-macos"
CBUILD="i686-apple-darwin9"
CFLAGS="-O2 -pipe -march=prescott"
CHOST="i686-apple-darwin9"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=prescott"
DISTDIR="/Users/peter/Library/Gentoo/usr/portage/distfiles"
EPREFIX="/Users/peter/Library/Gentoo"
FEATURES="collision-protect distlocks metadata-transfer nostrip parallel-fetch preserve-libs sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_AU.UTF-8"
PKGDIR="/Users/peter/Library/Gentoo/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/Users/peter/Library/Gentoo/var/tmp"
PORTDIR="/Users/peter/Library/Gentoo/usr/portage"
PORTDIR_OVERLAY="/Users/peter/Library/Gentoo/usr/local/portage"
SYNC="svn://overlays.gentoo.org/proj/alt/trunk/prefix-overlay"
USE="aqua coreaudio cracklib midi mmx mmxext ncurses nls objc objc++ prefix readline sse sse2 ssl unicode x86-macos zlib" APACHE2_MODULES="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 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" ELIBC="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Fabian Groffen gentoo-dev 2008-03-24 18:47:58 UTC
the dependency has been extended to also be satisfied by darwin-miscutils, thanks.