Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268298 - File collision: app-arch/dpkg-1.14.25 vs sys-apps/openrc-0.4.3-r2
Summary: File collision: app-arch/dpkg-1.14.25 vs sys-apps/openrc-0.4.3-r2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Debian-related package maintainers [DISBANDED]
URL:
Whiteboard:
Keywords:
: 268659 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-02 14:55 UTC by Andrew Savchenko
Modified: 2009-05-04 20:16 UTC (History)
8 users (show)

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


Attachments
dpkg-1.15.0-no-ssd-man.patch (dpkg-1.15.0-no-ssd-man.patch,982 bytes, patch)
2009-05-04 16:03 UTC, Yuri Vasilevski (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Savchenko gentoo-dev 2009-05-02 14:55:30 UTC
Both packages are trying to install /usr/share/man/man8/start-stop-daemon.8.bz2:

 * package app-arch/dpkg-1.14.25 NOT merged
 *
 * Detected file collision(s):
 *
 *      /usr/share/man/man8/start-stop-daemon.8.bz2
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * sys-apps/openrc-0.4.3-r2
 *      /usr/share/man/man8/start-stop-daemon.8.bz2
 *
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2009-05-03 17:20:12 UTC
It would seem that the issue has already been fixed:

  01 May 2009; Fabian Groffen <grobian@gentoo.org> dpkg-1.14.25.ebuild:
  Instead of removing start-stop-daemon, just don't compile it.

We would know for sure if you had posted your `emerge --info'. Please sync your portage tree and try again, and do attach the required information before reopening this bug report if you find the issue has not been fixed.
Comment 2 Andrew Savchenko gentoo-dev 2009-05-03 19:00:11 UTC
The problem still persists:

* Messages for package app-arch/dpkg-1.15.0:

 * 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 app-arch/dpkg-1.15.0 NOT merged
 *
 * Detected file collision(s):
 *
 *      /usr/share/man/man8/start-stop-daemon.8.bz2
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * sys-apps/openrc-0.4.3-r2
 *      /usr/share/man/man8/start-stop-daemon.8.bz2
 *
 * Package 'app-arch/dpkg-1.15.0' NOT merged due to file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.

$ emerge --info
Portage 2.2_rc32 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28.9-sheryl x86_64)
=================================================================
System uname: Linux-2.6.28.9-sheryl-x86_64-Intel-R-_Celeron-R-_CPU_2.53GHz-with-gentoo-2.0.0
Timestamp of tree: Sun, 03 May 2009 18:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p17-r1
dev-lang/python:     2.6.2
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.6.3, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -fomit-frame-pointer -pipe -fstack-protector"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -fomit-frame-pointer -pipe -fstack-protector"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="ccache collision-protect distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-march=nocona -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -fomit-frame-pointer -pipe -fstack-protector"
GENTOO_MIRRORS="ftp://ftp.chg.ru/pub/Linux/gentoo http://mirror.yandex.ru//gentoo-distfiles  http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/science /usr/local/portage/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="aalib acl acpi adns amd64 apache2 bash-completion blas bluetooth bzip2 caps cdb cli clisp cracklib crypt cscope ctype cups curl curlwrappers cvs cxx cyrillic djvu doc eap-tls editor encode enscript examples exif expat fftw foomaticdb fortran ftp gdbm geoip gif ginac git gmp gnuplot gnutls gpgme gpm gsl hardened hdf5 iconv idn imap iproute2 ipv6 isdnlog javascript jpeg jpeg2k keyscrub kpathsea lapack latex libcaca libwww lm_sensors logrotate lzo maildir mailwrapper mbox md5sum mhash midi mime mmap mmx mng mppe-mppc mudflap multilib mysql mysqli ncurses netcdf network-cron nls nntp nocd nptlonly objc objc++ offensive openexr openmp otr pam pch pcntl pcre pdf perl plotutils png pop posix ppds pppd raw readline recode reflection rle samba scanner session sharedmem slang slp smtp sockets socks5 sparse spell spl sse sse2 sse3 ssl subversion supernodal sysfs syslog szip tcpd tiff unicode usb vim vim-syntax wifi xattr yaz zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authz_host dir mime" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Yury Katuar 2009-05-04 04:05:36 UTC
(In reply to comment #2)
> The problem still persists:
> 
> * Messages for package app-arch/dpkg-1.15.0:

I confirm.
Comment 4 Kenneth Lakin 2009-05-04 06:15:43 UTC
Confirmed:
app-arch/dpkg-1.15.0
vs
sys-apps/openrc-0.4.3-r2

Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoosimoncion.dyndns.org i686)
=================================================================
System uname: Linux-2.6.28-gentoosimoncion.dyndns.org-i686-AMD_Athlon-tm-_XP-with-gentoo-2.0.0
Timestamp of tree: Mon, 04 May 2009 05:00:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:     4.0_p17-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.4.4-r15, 2.5.4-r2, 2.6.2
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon-xp -mtune=athlon-xp -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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 /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=athlon-xp -mtune=athlon-xp -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/kde-testing /usr/local/portage"
SYNC="rsync://acm.cs.rpi.edu/gentoo-portage/"
USE="3dnow X acl acpi alsa apache2 avahi avi berkdb bluetooth branding bzip2 cairo caps cdr cjk cli cracklib crypt cups dbus dev-db/sqlite doc dri dvd dvdr dvdread eds emboss encode esd evo examples fam firefox flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk hal iconv inotify ipv6 isdnlog jack jpeg kde kdexdeltas kerberos ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap mysql ncurses networkmanager nls no-htdocs nptl nptlonly offensive ogg oggvorbis openal opengl openmp pam pcre pdf perl pic pie png postgres ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse ssl startup-notification svg sysfs tcl tcpd test theora threads tiff truetype unicode usb vorbis win32codecs x86 xattr xinerama xml xorg xulrunner xv xvid zeroconf zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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" INPUT_DEVICES="keyboard mouse joystick evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon vesa vmware tdfx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Martin Jansa 2009-05-04 08:28:06 UTC
I just locally reverted change in line for man page of start-stop-daemon removal.

rm "${D}"/usr/share/man/man?/{install-info,start-stop-daemon}.?

from http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/dpkg/dpkg-1.14.25.ebuild?r1=1.1&r2=1.2
Comment 6 Martin von Gagern 2009-05-04 12:36:10 UTC
(In reply to comment #1)
>   01 May 2009; Fabian Groffen <grobian@gentoo.org> dpkg-1.14.25.ebuild:
>   Instead of removing start-stop-daemon, just don't compile it.

It would seem that not compiling it doesn't prevent its man pages to get installed. I don't know if that's worth filing upstream or not.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2009-05-04 14:36:58 UTC
(In reply to comment #6)
> (In reply to comment #1)
> >   01 May 2009; Fabian Groffen <grobian@gentoo.org> dpkg-1.14.25.ebuild:
> >   Instead of removing start-stop-daemon, just don't compile it.
> 
> It would seem that not compiling it doesn't prevent its man pages to get
> installed. I don't know if that's worth filing upstream or not.

Yes, in utils/Makefile.am it does check whether to build start-stop-daemon, but in man/Makefile.am it does not. Furthermore it automatically installs it for all LINGUAS, disregarding (autocompleting) its own dist_man_MANS list...
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2009-05-04 15:32:36 UTC
I have patched 1.14.25, 1.14.26 and 1.15.0 to not install the English start-stop-daemon.8 when --without-start-stop-daemon is passed to ./configure, as that was the easiest solution for now. As openrc currently doesn't install man page translations, this bug should now be fixed and the partial patch can be sent upstream.

Please test and report back. :)
Comment 9 Yuri Vasilevski (RETIRED) gentoo-dev 2009-05-04 16:03:01 UTC
Created attachment 190318 [details, diff]
dpkg-1.15.0-no-ssd-man.patch

jer, your patch brakes man pages installation when --without-start-stop-daemon is not passed to ./configure.

Attaching a patch that does not brake w/o --without-start-stop-daemon flag and handles NLS.

Care if I commit it overwriting your commit?
Comment 10 Florian Streibelt 2009-05-04 16:17:53 UTC
on ~amd64, five minutes ago on a new version there still is this conflict:

>>> Installing (28 of 71) app-arch/dpkg-1.15.0

[...]

 * Detected file collision(s):
 * 
 *      /usr/share/man/man8/start-stop-daemon.8.bz2
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * sys-apps/openrc-0.4.3-r2
 *      /usr/share/man/man8/start-stop-daemon.8.bz2
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2009-05-04 16:20:36 UTC
(In reply to comment #9)
> Created an attachment (id=190318) [edit]
> dpkg-1.15.0-no-ssd-man.patch
> 
> jer, your patch brakes man pages installation when --without-start-stop-daemon
> is not passed to ./configure.
> 
> Attaching a patch that does not brake w/o --without-start-stop-daemon flag and
> handles NLS.

Looks good to me. It appears to fix the problem with translated man pages too.

> Care if I commit it overwriting your commit?

Go right ahead.
Comment 12 Jeroen Roovers (RETIRED) gentoo-dev 2009-05-04 16:21:54 UTC
(In reply to comment #10)
> on ~amd64, five minutes ago on a new version there still is this conflict:

That's the exact same problem and your sync probably didn't get the updated version that patches man/Makefile.am yet...
Comment 13 Yuri Vasilevski (RETIRED) gentoo-dev 2009-05-04 16:34:58 UTC
Fixed in CVS.
Comment 14 Yuri Vasilevski (RETIRED) gentoo-dev 2009-05-04 17:51:14 UTC
Reported upstream: http://lists.debian.org/debian-dpkg/2009/05/msg00014.html
Comment 15 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-05-04 20:16:43 UTC
*** Bug 268659 has been marked as a duplicate of this bug. ***