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

Bug 833117

Summary: sci-physics/geant4_vmc-6.0 fails to compile: OpNoviceGDMLDetectorConstruction.cc:31:10: fatal error: G4GDMLParser.hh: No such file or directory
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Oliver Freyermuth <o.freyermuth>
Status: RESOLVED FIXED    
Severity: normal CC: amadio, proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/24158
https://bugs.gentoo.org/show_bug.cgi?id=833126
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-02-11 09:22:40 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-physics/geant4_vmc-6.0 fails to compile.
Discovered on: amd64 (internal ref: ci)

NOTE:
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2022-02-11 09:22:42 UTC
Created attachment 764828 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-02-11 09:22:43 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


/var/tmp/portage/sci-physics/geant4_vmc-6.0/work/geant4_vmc-6-0/g4root/test/OpNovice/src/OpNoviceDetectorConstruction.cc:36:10: fatal error: G4GDMLParser.hh: No such file or directory
/var/tmp/portage/sci-physics/geant4_vmc-6.0/work/geant4_vmc-6-0/g4root/test/OpNovice/src/OpNoviceGDMLDetectorConstruction.cc:31:10: fatal error: G4GDMLParser.hh: No such file or directory
/var/tmp/portage/sci-physics/geant4_vmc-6.0/work/geant4_vmc-6-0/g4root/test/OpNovice/src/OpNoviceGDMLDetectorConstruction.cc:31:10: fatal error: G4GDMLParser.hh: No such file or directory
Comment 3 Oliver Freyermuth 2022-02-11 10:14:52 UTC
Thanks for the report! The Tinderbox is really helpful to find the more exotic USE flag combinations between these packages. 

The cause is indeed a new "test-only" dependency (requires sci-physics/geant[gdml]), adressed in the linked PR.
Comment 4 Larry the Git Cow gentoo-dev 2022-02-11 10:37:10 UTC
The bug has been closed via the following commit(s):

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

commit ef47cdb32537211e48864fff411507c0631f56f7
Author:     Oliver Freyermuth <o.freyermuth@googlemail.com>
AuthorDate: 2022-02-11 10:03:34 +0000
Commit:     Guilherme Amadio <amadio@gentoo.org>
CommitDate: 2022-02-11 10:36:44 +0000

    sci-physics/geant4_vmc: Depend on sci-physics/geant[gdml] for test.
    
    The latest release has added a silent dependency on
    sci-physics/geant[gdml] for USE=test.
    
    Closes: https://bugs.gentoo.org/833117
    Closes: https://github.com/gentoo/gentoo/pull/24158
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com>
    Signed-off-by: Guilherme Amadio <amadio@gentoo.org>

 sci-physics/geant4_vmc/geant4_vmc-6.0.ebuild  | 3 ++-
 sci-physics/geant4_vmc/geant4_vmc-9999.ebuild | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
Comment 5 Guilherme Amadio gentoo-dev 2022-02-11 15:03:23 UTC
*** Bug 833126 has been marked as a duplicate of this bug. ***