Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219190 - file collision between net-print/foomatic-db-20060720 and net-print/foo2zjs-20080225
Summary: file collision between net-print/foomatic-db-20060720 and net-print/foo2zjs-2...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-24 20:24 UTC by nichocouk
Modified: 2012-01-18 21:06 UTC (History)
2 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 nichocouk 2008-04-24 20:24:57 UTC
A collision occurs when installing net-print/foo2zjs-20080225 when net-print/foomatic-db-20060720 is already installed. In total 37 files are found to belong to these two packages.

Reproducible: Always

Steps to Reproduce:
1. Emerge net-print/foo2zjs-20080225 when net-print/foomatic-db-20060720 is already installed
2. 
3.

Actual Results:  
Installation fails if collision-protect is set in PORTAGE FEATURES, succeeds otherwise. A warning is issued in both cases.

Expected Results:  
This collision should not occur and emerging net-print/foo2zjs-20080225 should succeed even with the collision-protect feature set.

$ emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-tuxonice-r4 i686)
=================================================================
System uname: 2.6.24-tuxonice-r4 i686 Intel(R) Core(TM)2 CPU U7600 @ 1.20GHz
Timestamp of tree: Tue, 22 Apr 2008 08:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.virginmedia.com/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ "
LC_ALL="en_GB.UTF-8"
LINGUAS="en_GB en fr"
MAKEOPTS="-j3"
PKGDIR="/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="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://uzeste.astro.gla.ac.uk/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa berkdb caps cddb cdparanoia cli cracklib crypt cups curl dbus dga doc dri dvd dvdread encode exif ffmpeg firefox flac foomaticdb fortran ftp gd gdbm gif gpm gtk hal iconv imagemagick ipv6 isdnlog java jpeg lame lcms libnotify mad midi mmx mng mp3 mpeg mplayer mudflap musepack ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl plotutils png portaudio ppds pppd python qt3 quicktime readline real reflection session speex spell spl sse sse2 ssl startup-notification svg symlink tcpd tetex theora tiff tk truetype unicode usb vim-syntax vorbis wifi win32codecs wmf x264 x86 xanim xcomposite xine xml xorg xprint xscreensaver xv xvid zlib" ALSA_CARDS="hda-intel intel8x0 intel8x0m" 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" 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="glibc" FOO2ZJS_DEVICES="hp2600n" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en fr" USERLAND="GNU" VIDEO_CARDS="i810 vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

End of ebuild log:

* checking 230 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 net-print/foo2zjs-20080225 NOT merged
 * 
 * Detected file collision(s):
 * 
 * 	/usr/share/foomatic/db/source/opt/foo2zjs-Duplex.xml
 * 	/usr/share/foomatic/db/source/opt/foo2hp-BitsPerPlane.xml
 * 	/usr/share/foomatic/db/source/opt/foo2hp-InputSlot.xml
 * 	/usr/share/foomatic/db/source/opt/foo2zjs-ICM.xml
 * 	/usr/share/foomatic/db/source/opt/foo2zjs-ColorMode.xml
 * 	/usr/share/foomatic/db/source/opt/foo2oak-MediaType.xml
 * 	/usr/share/foomatic/db/source/opt/foo2hp-Duplex.xml
 * 	/usr/share/foomatic/db/source/opt/foo2hp-MediaType.xml
 * 	/usr/share/foomatic/db/source/opt/foo2zjs-PrinterType.xml
 * 	/usr/share/foomatic/db/source/opt/foo2zjs-PageSize.xml
 * 	/usr/share/foomatic/db/source/opt/foo2zjs-Resolution.xml
 * 	/usr/share/foomatic/db/source/opt/foo2oak-InputSlot.xml
 * 	/usr/share/foomatic/db/source/opt/foo2oak-BitsPerPlane.xml
 * 	/usr/share/foomatic/db/source/opt/foo2hp-ColorMode.xml
 * 	/usr/share/foomatic/db/source/opt/foo2oak-ColorMode.xml
 * 	/usr/share/foomatic/db/source/opt/foo2hp-ICM.xml
 * 	/usr/share/foomatic/db/source/opt/foo2zjs-Intent.xml
 * 	/usr/share/foomatic/db/source/opt/foo2oak-ICM.xml
 * 	/usr/share/foomatic/db/source/opt/foo2zjs-MediaType.xml
 * 	/usr/share/foomatic/db/source/opt/foo2zjs-InputSlot.xml
 * 	/usr/share/foomatic/db/source/driver/foo2oak.xml
 * 	/usr/share/foomatic/db/source/driver/foo2zjs.xml
 * 	/usr/share/foomatic/db/source/driver/foo2hp.xml
 * 	/usr/share/foomatic/db/source/printer/HP-LaserJet_1022.xml
 * 	/usr/share/foomatic/db/source/printer/HP-Color_LaserJet_1600.xml
 * 	/usr/share/foomatic/db/source/printer/HP-Color_LaserJet_2600n.xml
 * 	/usr/share/foomatic/db/source/printer/HP-Color_LaserJet_1500.xml
 * 	/usr/share/foomatic/db/source/printer/HP-LaserJet_1018.xml
 * 	/usr/share/foomatic/db/source/printer/Generic-OAKT_Printer.xml
 * 	/usr/share/foomatic/db/source/printer/Minolta-magicolor_2200_DL.xml
 * 	/usr/share/foomatic/db/source/printer/HP-LaserJet_1005.xml
 * 	/usr/share/foomatic/db/source/printer/Generic-ZjStream_Printer.xml
 * 	/usr/share/foomatic/db/source/printer/HP-LaserJet_1000.xml
 * 	/usr/share/foomatic/db/source/printer/Minolta-magicolor_2430_DL.xml
 * 	/usr/share/foomatic/db/source/printer/Minolta-Color_PageWorks_Pro_L.xml
 * 	/usr/share/foomatic/db/source/printer/Minolta-magicolor_2300_DL.xml
 * 	/usr/share/foomatic/db/source/printer/HP-LaserJet_1020.xml
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * net-print/foomatic-db-20060720
 * 	/usr/share/foomatic/db/source/opt/foo2zjs-Duplex.xml
 * 	/usr/share/foomatic/db/source/opt/foo2hp-BitsPerPlane.xml
 * 	/usr/share/foomatic/db/source/opt/foo2hp-InputSlot.xml
 * 	/usr/share/foomatic/db/source/opt/foo2zjs-ICM.xml
 * 	/usr/share/foomatic/db/source/opt/foo2zjs-ColorMode.xml
 * 	/usr/share/foomatic/db/source/opt/foo2oak-MediaType.xml
 * 	/usr/share/foomatic/db/source/opt/foo2hp-Duplex.xml
 * 	/usr/share/foomatic/db/source/opt/foo2hp-MediaType.xml
 * 	/usr/share/foomatic/db/source/opt/foo2zjs-PrinterType.xml
 * 	/usr/share/foomatic/db/source/opt/foo2zjs-PageSize.xml
 * 	/usr/share/foomatic/db/source/opt/foo2zjs-Resolution.xml
 * 	/usr/share/foomatic/db/source/opt/foo2oak-InputSlot.xml
 * 	/usr/share/foomatic/db/source/opt/foo2oak-BitsPerPlane.xml
 * 	/usr/share/foomatic/db/source/opt/foo2hp-ColorMode.xml
 * 	/usr/share/foomatic/db/source/opt/foo2oak-ColorMode.xml
 * 	/usr/share/foomatic/db/source/opt/foo2hp-ICM.xml
 * 	/usr/share/foomatic/db/source/opt/foo2zjs-Intent.xml
 * 	/usr/share/foomatic/db/source/opt/foo2oak-ICM.xml
 * 	/usr/share/foomatic/db/source/opt/foo2zjs-MediaType.xml
 * 	/usr/share/foomatic/db/source/opt/foo2zjs-InputSlot.xml
 * 	/usr/share/foomatic/db/source/driver/foo2oak.xml
 * 	/usr/share/foomatic/db/source/driver/foo2zjs.xml
 * 	/usr/share/foomatic/db/source/driver/foo2hp.xml
 * 	/usr/share/foomatic/db/source/printer/HP-LaserJet_1022.xml
 * 	/usr/share/foomatic/db/source/printer/HP-Color_LaserJet_1600.xml
 * 	/usr/share/foomatic/db/source/printer/HP-Color_LaserJet_2600n.xml
 * 	/usr/share/foomatic/db/source/printer/HP-Color_LaserJet_1500.xml
 * 	/usr/share/foomatic/db/source/printer/HP-LaserJet_1018.xml
 * 	/usr/share/foomatic/db/source/printer/Generic-OAKT_Printer.xml
 * 	/usr/share/foomatic/db/source/printer/Minolta-magicolor_2200_DL.xml
 * 	/usr/share/foomatic/db/source/printer/HP-LaserJet_1005.xml
 * 	/usr/share/foomatic/db/source/printer/Generic-ZjStream_Printer.xml
 * 	/usr/share/foomatic/db/source/printer/HP-LaserJet_1000.xml
 * 	/usr/share/foomatic/db/source/printer/Minolta-magicolor_2430_DL.xml
 * 	/usr/share/foomatic/db/source/printer/Minolta-Color_PageWorks_Pro_L.xml
 * 	/usr/share/foomatic/db/source/printer/Minolta-magicolor_2300_DL.xml
 * 	/usr/share/foomatic/db/source/printer/HP-LaserJet_1020.xml

Example of collision:
$ portageq owners / /usr/share/foomatic/db/source/opt/foo2zjs-Duplex.xml
net-print/foomatic-db-20060720
	/usr/share/foomatic/db/source/opt/foo2zjs-Duplex.xml
net-print/foo2zjs-20080225
	/usr/share/foomatic/db/source/opt/foo2zjs-Duplex.xml
Comment 1 meyerm 2008-05-28 15:32:30 UTC
Another bug concerning this problem: bug 220965
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2010-02-05 23:07:45 UTC
please check if also on version 4.
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2012-01-18 21:06:08 UTC
Not happening anymore with foo2zjs (pmasked) and net-print/foomatic-db-4.0.20110506 (to be stabilized).