Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510692 - =sci-physics/geant-data-4.10.00 blocks =sci-physics/geant-4.10.00_p01
Summary: =sci-physics/geant-data-4.10.00 blocks =sci-physics/geant-4.10.00_p01
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Physics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-18 22:33 UTC by Oliver Freyermuth
Modified: 2014-05-29 16:12 UTC (History)
0 users

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 Oliver Freyermuth 2014-05-18 22:33:49 UTC
=sci-physics/geant-data-4.10.00:4 depends on the exact matching package-version of sci-physics/geant, so =sci-physics/geant-4.10.00_p01:4 is blocked by it. 

My suggestion would be to loosen the dependency of =sci-physics/geant-data-4.10.00:4 - the dependency of geant upon the datafiles (when USE=data) should anyways be sufficient, is the dependency the other way around really needed? 

Output from portage (shortened): 
[ebuild  N     ] sci-physics/geant-4.10.00:4
[ebuild  N     ] sci-physics/geant-data-4.10.00:4
[ebuild  N     ] sci-physics/geant-4.10.00_p01:4

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

sci-physics/geant:4
  (sci-physics/geant-4.10.00_p01:4/4::gentoo_prefix, ebuild scheduled for merge) pulled in by
    =sci-physics/geant-4.10.00_p01 (Argument)

  (sci-physics/geant-4.10.00:4/4::gentoo_prefix, ebuild scheduled for merge) pulled in by
    ~sci-physics/geant-4.10.00:4 required by (sci-physics/geant-data-4.10.00:4/4::gentoo_prefix, ebuild scheduled for merge)
 

Reproducible: Always
Comment 1 Benda Xu gentoo-dev 2014-05-19 00:06:43 UTC
The upstream release geant and geant-data together. Any mismatch in the versions of the two is not supported. Our packaging practice is just a reflect of this reality.

Why do you want the two versions of geant and geant-data in the first place?
Comment 2 Oliver Freyermuth 2014-05-19 03:07:21 UTC
You are right, but I do not want to mix versions: 
- Upstream did not release new data files for 4.10.00_p01 over 4.10.00 (unless I missed that)
- there is no =geant-data-4.10.00_p01 in the tree, which geant-data should I use with =geant-4.10.00_p01?

This basically means
USE=data emerge =geant-4.10.00_p01 
has to fail unless either the dependencies of =geant-data-4.10.00 are loosened or =geant-data-4.10.00_p01 is provided.
Comment 3 Benda Xu gentoo-dev 2014-05-19 05:56:17 UTC
Ah, I see. Sorry I didn't understand the problem on the first sight. Yes the patch level is a pain in the version.

I've thought on this issue months ago, but without a conclusion.

@sebastian, do you have any insight on this?
Comment 4 Sébastien Fabbro (RETIRED) gentoo-dev 2014-05-29 16:12:25 UTC
+  29 May 2014; Sébastien Fabbro <bicatali@gentoo.org> geant-data-4.10.00.ebuild:
+  Relaxed hard dependency on exactly same version of sci-physics/geant
+

i don't use geant, but feel free to do something else (such as slotting, or different versioning r1 vs p01) if you think geant data version has to be strictly compatible with geant