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

Bug 755476

Summary: sci-physics/clhep-2.4.4.0 : file collision with dev-cpp/range-v3-0.10.0-r1
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Science Physics related packages <sci-physics>
Status: RESOLVED FIXED    
Severity: normal CC: gyakovlev
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
CMakeCache.txt
emerge-history.txt
etc.portage.tbz2
logs.tbz2
sci-physics:clhep-2.4.4.0:20201119-005455.log

Description Toralf Förster gentoo-dev 2020-11-19 08:24:48 UTC
 * Detected file collision(s):
 * 
 * 	/usr/include/module.modulemap
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * dev-cpp/range-v3-0.10.0-r1:0::gentoo
 * 	/usr/include/module.modulemap
 * 
 * Package 'sci-physics/clhep-2.4.4.0' NOT merged due to file collisions.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-20201109-205253

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems)
  [2]   ruby26 (with Rubygems)
  [3]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.47.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.17.0 [icedtea-8]
2)	JamVM JDK 2.0.0 [jamvm]
*)	AdoptOpenJDK 8.272_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   jamvm 
  [3]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu Nov 19 12:06:15 AM UTC 2020

emerge -qpvO sci-physics/clhep
[ebuild  N    ] sci-physics/clhep-2.4.4.0  USE="-doc -test -threads"
Comment 1 Toralf Förster gentoo-dev 2020-11-19 08:24:49 UTC
Created attachment 672844 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-11-19 08:24:51 UTC
Created attachment 672847 [details]
CMakeCache.txt
Comment 3 Toralf Förster gentoo-dev 2020-11-19 08:24:52 UTC
Created attachment 672850 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-11-19 08:24:54 UTC
Created attachment 672853 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-11-19 08:24:55 UTC
Created attachment 672856 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-11-19 08:24:57 UTC
Created attachment 672859 [details]
sci-physics:clhep-2.4.4.0:20201119-005455.log
Comment 7 Guilherme Amadio gentoo-dev 2020-11-19 08:43:59 UTC
Actually, this is a problem with both clhep and range-v3. Packages should not install /usr/include/module.modulemap to enable support for C++ modules, as that will collide with any other package trying to do the same. I will take care of clhep, but a similar bug should be filed for dev-cpp/range-v3.
Comment 8 Guilherme Amadio gentoo-dev 2020-11-19 09:02:21 UTC
See also: https://github.com/ericniebler/range-v3/issues/1522
Comment 9 Larry the Git Cow gentoo-dev 2020-11-19 15:36:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29b5e3eb423b5f52518941765dc6326f578f87ef

commit 29b5e3eb423b5f52518941765dc6326f578f87ef
Author:     Guilherme Amadio <amadio@gentoo.org>
AuthorDate: 2020-11-19 08:58:22 +0000
Commit:     Guilherme Amadio <amadio@gentoo.org>
CommitDate: 2020-11-19 15:35:59 +0000

    sci-physics/clhep: fix bug 755476
    
    Closes: https://bugs.gentoo.org/755476
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: Guilherme Amadio <amadio@gentoo.org>

 sci-physics/clhep/clhep-2.4.4.0.ebuild        |  5 ++++-
 sci-physics/clhep/files/clhep-modulemap.patch | 24 ++++++++++++++++++++++++
 2 files changed, 28 insertions(+), 1 deletion(-)