Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 648984 - net-ftp/uftpd-2.4 : file collision with net-ftp/atftp-0.7-r5
Summary: net-ftp/uftpd-2.4 : file collision with net-ftp/atftp-0.7-r5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: OzTiram
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-27 19:44 UTC by Toralf Förster
Modified: 2018-05-16 08:34 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.07 KB, text/plain)
2018-02-27 19:45 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,206.78 KB, text/plain)
2018-02-27 19:45 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.78 KB, application/x-bzip)
2018-02-27 19:45 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.69 KB, application/x-bzip)
2018-02-27 19:45 UTC, Toralf Förster
Details
net-ftp:uftpd-2.4:20180227-191415.log (net-ftp:uftpd-2.4:20180227-191415.log,8.48 KB, text/plain)
2018-02-27 19:45 UTC, Toralf Förster
Details
emerge-info.txt (emerge-info.txt,15.79 KB, text/plain)
2018-03-07 15:31 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,238.72 KB, text/plain)
2018-03-07 15:31 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.19 KB, application/x-bzip)
2018-03-07 15:31 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.66 KB, application/x-bzip)
2018-03-07 15:31 UTC, Toralf Förster
Details
net-ftp:atftp-0.7-r5:20180307-101901.log (net-ftp:atftp-0.7-r5:20180307-101901.log,14.83 KB, text/plain)
2018-03-07 15:31 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-02-27 19:44:59 UTC
 * Detected file collision(s):
 * 
 * 	/usr/share/man/man8/in.tftpd.8.bz2
 * 	/usr/sbin/in.tftpd
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * net-ftp/atftp-0.7-r5:0::gentoo
 * 	/usr/sbin/in.tftpd
 * 	/usr/share/man/man8/in.tftpd.8.bz2
 * 
 * Package 'net-ftp/uftpd-2.4' NOT merged due to file collisions. If

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-systemd_libressl_20180223-184508

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems)
  [2]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv net-ftp/uftpd
[ebuild  N    ] net-ftp/uftpd-2.4 

!!! The following installed packages are masked:
- sys-fs/cryptsetup-2.0.1::gentoo (masked by: package.mask)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Comment 1 Toralf Förster gentoo-dev 2018-02-27 19:45:02 UTC
Created attachment 521324 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-02-27 19:45:05 UTC
Created attachment 521326 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-02-27 19:45:08 UTC
Created attachment 521328 [details]
etc.portage.tbz2
Comment 4 Toralf Förster gentoo-dev 2018-02-27 19:45:11 UTC
Created attachment 521330 [details]
logs.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-02-27 19:45:14 UTC
Created attachment 521332 [details]
net-ftp:uftpd-2.4:20180227-191415.log
Comment 6 Larry the Git Cow gentoo-dev 2018-03-02 19:57:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d009421b60bdefa207b70b5206a570e35663fd5

commit 7d009421b60bdefa207b70b5206a570e35663fd5
Author:     Oz N Tiram <oz.tiram@gmail.com>
AuthorDate: 2018-02-28 07:53:43 +0000
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: 2018-03-02 19:57:09 +0000

    net-ftp/uftpd: fix file collision.
    
    Package-Manager: Portage-2.3.19, Repoman-2.3.6
    Closes: https://bugs.gentoo.org/648984
    Closes: https://github.com/gentoo/gentoo/pull/7315

 net-ftp/uftpd/uftpd-2.4-r1.ebuild | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
Comment 7 Toralf Förster gentoo-dev 2018-03-07 15:31:29 UTC
got at the unstable amd64 chroot image 17.0-no-multilib-hardened_libressl_20180302-172939 this : file collision with net-ftp/uftpd-2.4-r1
Comment 8 Toralf Förster gentoo-dev 2018-03-07 15:31:32 UTC
Created attachment 522810 [details]
emerge-info.txt
Comment 9 Toralf Förster gentoo-dev 2018-03-07 15:31:35 UTC
Created attachment 522812 [details]
emerge-history.txt
Comment 10 Toralf Förster gentoo-dev 2018-03-07 15:31:38 UTC
Created attachment 522814 [details]
etc.portage.tbz2
Comment 11 Toralf Förster gentoo-dev 2018-03-07 15:31:40 UTC
Created attachment 522816 [details]
logs.tbz2
Comment 12 Toralf Förster gentoo-dev 2018-03-07 15:31:43 UTC
Created attachment 522818 [details]
net-ftp:atftp-0.7-r5:20180307-101901.log
Comment 13 OzTiram 2018-03-07 18:20:23 UTC
As far as I understand, the fix for this issue is easy, one should simply add a
soft dependency on aftpd ebuild that says it can't co-exists with uftpd.

RDEPEND="${DEPEND}
	!net-ftp/netkit-tftp
	!net-ftp/tftp-hpa
        !net-ftp/uftpd   <---- Add this.
	selinux? ( sec-policy/selinux-tftp )"

I can create a PR for this, if you agree with the suggested solution.
Comment 14 Larry the Git Cow gentoo-dev 2018-05-16 08:34:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=116ec623eab06dac9459e536db2db58ccad0cb94

commit 116ec623eab06dac9459e536db2db58ccad0cb94
Author:     Oz N Tiram <oz.tiram@gmail.com>
AuthorDate: 2018-05-15 01:50:34 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-05-16 08:34:46 +0000

    net-ftp/atftp: fix collision with net-ftp/uftpd
    
    Closes: https://bugs.gentoo.org/648984
    Closes: https://github.com/gentoo/gentoo/pull/8413
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-ftp/atftp/atftp-0.7-r3.ebuild | 1 +
 net-ftp/atftp/atftp-0.7-r5.ebuild | 1 +
 2 files changed, 2 insertions(+)