Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 631834

Summary: media-libs/partio-1.1.0_p20170829 : file collision with dev-games/crystalspace-2.0-r1
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED OBSOLETE    
Severity: normal CC: agrigo2001, dracwyrm, games, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
etc.portage.tbz2
logs.tbz2
media-libs:partio-1.1.0_p20170829:20170923-122753.log
emerge-info.txt
dev-games:crystalspace-2.0-r1:20170927-084047.log.bz2
emerge-history.txt
etc.portage.tbz2
logs.tbz2

Description Toralf Förster gentoo-dev 2017-09-23 13:41:40 UTC
 * Detected file collision(s):
 * 
 * 	/usr/bin/partconv
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * dev-games/crystalspace-2.0-r1:0::gentoo
 * 	/usr/bin/partconv
 * 
 * Package 'media-libs/partio-1.1.0_p20170829' NOT merged due to file

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0_libressl_20170909-193047

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

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

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

emerge -qpv media-libs/partio
[ebuild  N    ] media-libs/partio-1.1.0_p20170829  USE="-doc" PYTHON_SINGLE_TARGET="python3_4 -python2_7 -python3_5 -python3_6" PYTHON_TARGETS="python2_7 python3_4 -python3_5 -python3_6"
Comment 1 Toralf Förster gentoo-dev 2017-09-23 13:41:43 UTC
Created attachment 496158 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-09-23 13:41:46 UTC
Created attachment 496160 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-09-23 13:41:49 UTC
Created attachment 496162 [details]
etc.portage.tbz2
Comment 4 Toralf Förster gentoo-dev 2017-09-23 13:41:52 UTC
Created attachment 496164 [details]
logs.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-09-23 13:41:55 UTC
Created attachment 496166 [details]
media-libs:partio-1.1.0_p20170829:20170923-122753.log
Comment 6 Jonathan Scruggs (RETIRED) gentoo-dev 2017-09-23 15:33:46 UTC
I'm not sure what to do about this as I don't know if that file can be renamed or it might break something. I can check upstream.
Comment 7 Larry the Git Cow gentoo-dev 2017-09-23 16:20:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20f5135974db37f56ae4c7d80f1267b421f21ebd

commit 20f5135974db37f56ae4c7d80f1267b421f21ebd
Author:     Jonathan Scruggs <j.scruggs@gmail.com>
AuthorDate: 2017-09-23 15:59:39 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2017-09-23 16:20:37 +0000

    media-libs/partio: Add patch to avoid naming conflicts
    
    * partconv collides with a file from dev-games/crystalspace
    
    Closes: https://bugs.gentoo.org/631834
    Closes: https://github.com/gentoo/gentoo/pull/5776

 .../files/partio-1.1.0-Rename-partconv.patch       | 65 ++++++++++++++++++++++
 media-libs/partio/partio-1.1.0_p20170829.ebuild    |  2 +
 2 files changed, 67 insertions(+)
Comment 8 Toralf Förster gentoo-dev 2017-09-27 17:03:40 UTC
got at the unstable amd64 chroot image 13.0-systemd_20170903-225953 this : dev-games/crystalspace-2.0-r1 : file collision with media-libs/partio-1.1.0_p20170829
Comment 9 Toralf Förster gentoo-dev 2017-09-27 17:03:43 UTC
Created attachment 496702 [details]
emerge-info.txt
Comment 10 Toralf Förster gentoo-dev 2017-09-27 17:03:46 UTC
Created attachment 496704 [details]
dev-games:crystalspace-2.0-r1:20170927-084047.log.bz2
Comment 11 Toralf Förster gentoo-dev 2017-09-27 17:03:49 UTC
Created attachment 496706 [details]
emerge-history.txt
Comment 12 Toralf Förster gentoo-dev 2017-09-27 17:03:52 UTC
Created attachment 496708 [details]
etc.portage.tbz2
Comment 13 Toralf Förster gentoo-dev 2017-09-27 17:03:55 UTC
Created attachment 496710 [details]
logs.tbz2
Comment 14 Jonathan Scruggs (RETIRED) gentoo-dev 2017-09-27 17:43:49 UTC
You need to retry as the ebuild was updated with a patch to rename the file to partconvert, so there is no more collision. :)
Comment 15 Toralf Förster gentoo-dev 2017-09-27 19:54:55 UTC
(In reply to Jonathan Scruggs from comment #14)
Made 4 days ago right, and b/c I do sync my tinderbox every 2 hours why does it still happen ?
Comment 16 Jonathan Scruggs (RETIRED) gentoo-dev 2017-09-27 20:27:04 UTC
(In reply to Toralf Förster from comment #15)
> (In reply to Jonathan Scruggs from comment #14)
> Made 4 days ago right, and b/c I do sync my tinderbox every 2 hours why does
> it still happen ?

Is it still partconv you are colliding with?

This is the file list of Partio on my system using the ebuild in main repo and not my test overlay (Note: I uninstalled Partio, and then reinstalled fresh):
 * Contents of media-libs/partio-1.1.0_p20170829:
/usr
/usr/bin
/usr/bin/partattr
/usr/bin/partconvert
/usr/bin/partinfo
/usr/bin/partview
/usr/include
/usr/include/Partio.h
/usr/include/PartioAttribute.h
/usr/include/PartioIterator.h
/usr/include/PartioSe.h
/usr/include/PartioVec3.h
/usr/lib64
/usr/lib64/libpartio.so
/usr/lib64/python3.5
/usr/lib64/python3.5/site-packages
/usr/lib64/python3.5/site-packages/_partio.so
/usr/lib64/python3.5/site-packages/partio.py
/usr/share
/usr/share/doc
/usr/share/doc/partio-1.1.0_p20170829
/usr/share/doc/partio-1.1.0_p20170829/README.md.bz2
/usr/share/swig
/usr/share/swig/partio.i

There is /usr/bin/partconvert, but no /usr/bin/partconv which is what was colliding with Crystal Space. Maybe it's still using the old ebuild somehow or not applying the patch?

Only thing that I can think of is that this part is the trouble:
+diff --git a/src/tools/partconv.cpp b/src/tools/partconvert.cpp
+similarity index 100%
+rename from src/tools/partconv.cpp
+rename to src/tools/partconvert.cpp

Maybe some patch tools can't do a git diff? I'm just completely guessing now.
Comment 17 Pacho Ramos gentoo-dev 2018-04-29 18:05:35 UTC
dev-games/crystalspace was removed