Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 544488 - net-dns/nsd: file collisions...net-misc/mico-2.3.13-r7:0::gentoo * /usr/share/man/man8/nsd.8.bz2
Summary: net-dns/nsd: file collisions...net-misc/mico-2.3.13-r7:0::gentoo * /usr/sha...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Haubenwallner (RETIRED)
URL: http://sourceforge.net/p/mico/mailman...
Whiteboard:
Keywords:
: 593062 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-03-25 17:34 UTC by Toralf Förster
Modified: 2017-05-29 13:47 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 Toralf Förster gentoo-dev 2015-03-25 17:34:29 UTC
* Detected file collision(s):
 * 
 * 	/usr/share/man/man8/nsd.8.bz2
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * net-misc/mico-2.3.13-r7:0::gentoo
 * 	/usr/share/man/man8/nsd.8.bz2
 * 
 * Package 'net-dns/nsd-4.1.0' NOT merged due to file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.

 * GNU info directory index is up-to-date.


This is an amd64 unstable chroot image at a hardened host acting as a tinderbox.
The log is stored in amd64-unstable-libtool_20150314//var/log/portage/_emerge_20150325-180739.log
quick search: https://bugs.gentoo.org/buglist.cgi?quicksearch=net-dns%2Fnsd


Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.8.3, glibc-2.20-r2, 3.19.2-hardened x86_64)
=================================================================
System uname: Linux-3.19.2-hardened-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16164756 total,   5164348 free
KiB Swap:   16777212 total,  16707736 free
Timestamp of repository gentoo: Wed, 25 Mar 2015 15:30:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.25 p1.0) 2.25
ccache version 3.2.1 [disabled]
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/ccache:          3.2.1-r1::gentoo
dev-util/cmake:           3.1.0::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.8.3::gentoo, 4.9.2::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: 3.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/entropy /opt/openfire/resources/security/ /usr/lib64/fax /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb /var/lib/neatx/home /var/spool/fax/etc /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --tree --quiet-build --jobs 1"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://mirror.netcologne.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gor.bytemark.co.uk/gentoo/ rsync://ftp.snt.utwente.nl/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="X a52 aac acl acpi aes-ni alsa amd64 apache2 avx avx2 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit corefonts cracklib crypt cups cxx dbus declarative dnssec dot dri drmkms dts dvd dvdr ecc emboss encode exif extraengine fam ffmpeg firefox flac fontconfig fortran fpm gd gdbm gif glamor gpm gtk gudev gui iconv icu isag jadetex jpeg kde kipi kvm lapack lcms libav libkms libnotify libvirtd logrotate macvtap mad mbox minizip mmx mmxext mng modules mp3 mp4 mpeg multilib mysql ncurses nls nptl ogg opengl openmp openssl pam pango pax_kernel pcre pcre16 pdf phonon plasma png policykit ppds python qemu qt3support qt4 readline sdl session spell spice sqlite sse sse2 sse4 sse4_1 sse4_2 ssh-askpass ssl ssse3 startup-notification svg tcpd theora thinkpad threads tiff tk tls truetype udev udisks uml unicode upower usb usbredir uxa v4l v4l2 video vorbis wxwidgets x264 xa xcb xcomposite xinerama xkb xml xmp xscreensaver xslt xv xvfb xvid xvmc zenmap zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver  oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2015-03-30 23:50:01 UTC
1)
~/cvsPortage/gentoo-x86/net-dns/nsd $ ebuild nsd-4.1.0.ebuild clean install

>>> Completed installing nsd-4.1.0 into /mnt/gen2/TmpDir/portage/net-dns/nsd-4.1.0/image/

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version
   usr/sbin/nsd
   usr/sbin/nsd-checkconf
   usr/sbin/nsd-checkzone
   usr/sbin/nsd-control
ecompressdir: bzip2 -9 /usr/share/doc
ecompressdir: bzip2 -9 /usr/share/man

2)
emerge -1 =net-dns/nsd-3.2.1

>>> Emerging (1 of 1) net-dns/nsd-3.2.18::gentoo
>>> Installing (1 of 1) net-dns/nsd-3.2.18::gentoo

repeat 1)

>>> Completed installing nsd-4.1.0 into /mnt/gen2/TmpDir/portage/net-dns/nsd-4.1.0/image/


I don't know how you managed this.  Initially there was no file /usr/share/man/man8/nsd.8.bz2 present, so I installed one, and still it installed without issue.  You could do a qfile on the /usr/share/man/man8/nsd.8.bz2 and see what pacage it is that with which portage is reporting its collision.
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2015-03-30 23:56:36 UTC
Also technically this blocks 541036 despite that it was submitted months ago and that it hasn't been done.  This needs replicating and fixing or closing to re-establish a valid state to the version bump request.
Comment 3 Toralf Förster gentoo-dev 2015-03-31 13:36:07 UTC
tinderbox@tor-relay ~ $ sudo ./chr.sh old/amd64-unstable-libtool_20150314/

tor-relay / # equery b /usr/share/man/man8/nsd.8.bz2
 * Searching for /usr/share/man/man8/nsd.8.bz2 ...
net-misc/mico-2.3.13-r7 (/usr/share/man/man8/nsd.8.bz2)


tor-relay / # eix -I mico
[I] net-misc/mico
     Available versions:  (~)2.3.13-r4^t (~)2.3.13-r5^t (~)2.3.13-r6^t (~)2.3.13-r7^t **9999^t {X gtk postgres qt4 ssl tcl threads}
     Installed versions:  2.3.13-r7^t(10:20:23 PM 03/19/2015)(X gtk qt4 ssl threads -postgres -tcl)
     Homepage:            http://www.mico.org/
     Description:         A freely available and fully compliant implementation of the CORBA standard

tor-relay / # eix -I nsd
[I] app-laptop/pbbuttonsd
     Available versions:  (~)0.8.1-r3 (~)0.8.1-r4 {acpi alsa debug doc ibam macbook oss}
     Installed versions:  0.8.1-r4(12:04:13 AM 03/17/2015)(acpi alsa -debug -doc -ibam -macbook -oss)
     Homepage:            http://pbbuttons.berlios.de
     Description:         Handles power management and special keys on laptops

[I] net-dns/pdnsd
     Available versions:  1.2.9a-r1 {debug ipv6 isdn test +urandom}
     Installed versions:  1.2.9a-r1(04:40:24 PM 03/24/2015)(urandom -debug -ipv6 -isdn -test)
     Homepage:            http://members.home.nl/p.a.rombouts/pdnsd/
     Description:         Proxy DNS server with permanent caching

[I] net-dns/rbldnsd
     Available versions:  0.996b (~)0.997 (~)0.997a 0.997a-r1 {ipv6 test zlib PYTHON_TARGETS="python2_7"}
     Installed versions:  0.997a-r1(05:22:03 PM 03/17/2015)(zlib -ipv6 -test PYTHON_TARGETS="python2_7")
     Homepage:            http://www.corpit.ru/mjt/rbldnsd.html
     Description:         DNS server designed to serve blacklist zones

Found 3 matches.
Comment 4 Tom Hendrikx 2015-04-01 07:32:07 UTC
I googled a bit and found: https://github.com/raghunayak/mico/blob/master/src/man/man8/nsd.8

So, indeed there seems to be a nsd man page in the mico package. 

I'm not familiar with mico, or the ebuild for it, but since the net-dns/nsd package actually is named 'nsd', and the core product also is named that way, it might be the easiest solution to rename the man page in the mico ebuild to 'mico-nsd' upon install?
Comment 5 Michael Haubenwallner (RETIRED) gentoo-dev 2015-04-01 08:23:06 UTC
Apparently this isn't just the man page, but there is /usr/bin/nsd provided by mico as well. Although I don't use mico nsd myself, the man page talks about:

NAME:
  nsd - MICO name service server

SYNOPSIS
  nsd

DESCRIPTION
  nsd  implements the COS compliant naming service. To use it you have to run micod, create an entry for the naming service in the implementation repository using the imr tool and pass the clients the address of the naming service using the -ORBNamingAddr option.
Comment 6 Michael Haubenwallner (RETIRED) gentoo-dev 2015-04-01 08:48:06 UTC
I could think of renaming to "mico-nsd" while keeping USE-flag controlled symlinks "nsd -> mico-nsd", along a simple blocker like:
  IUSE="oldnsdname"
  RDEPEND="oldnsdname? ( !net-dns/nsd )"

Also, this name collision IMO should be brought to upstream's attention.
Comment 7 Ian Delaney (RETIRED) gentoo-dev 2015-04-01 12:26:43 UTC
(In reply to Michael Haubenwallner from comment #6)
> I could think of renaming to "mico-nsd" while keeping USE-flag controlled
> symlinks "nsd -> mico-nsd", along a simple blocker like:
>   IUSE="oldnsdname"
>   RDEPEND="oldnsdname? ( !net-dns/nsd )"
> 

Yes, the above looks a valid options, though I'd have thought 1 one be enough. Not sure

> Also, this name collision IMO should be brought to upstream's attention.

You.re the designated maintainer, please proceed.  A link to <URL:  > or if that doesn't work to  < See Also: 	(add) > would work
Comment 8 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-08-24 22:15:14 UTC
Ping. Any news here? I'd like to get this resolved.
Comment 9 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-09-07 09:40:59 UTC
Sorry, did the reassignment wrong...
Comment 10 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-09-08 06:22:17 UTC
*** Bug 593062 has been marked as a duplicate of this bug. ***
Comment 11 Michael Haubenwallner (RETIRED) gentoo-dev 2017-05-29 13:47:53 UTC
Fixed in net-misc/mico-2.3.13-r9.