Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943657 - sci-physics/geant4_vmc-6.6_p1 - [ncurses-6.5] /.../TG4GeometryManager.cxx: fatal error: TG4RootDetectorConstruction.h: No such file or directory
Summary: sci-physics/geant4_vmc-6.6_p1 - [ncurses-6.5] /.../TG4GeometryManager.cxx: fa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Oliver Freyermuth
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-11-17 09:55 UTC by Toralf Förster
Modified: 2024-12-02 14:53 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.98 KB, text/plain)
2024-11-17 09:55 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,127.44 KB, text/plain)
2024-11-17 09:55 UTC, Toralf Förster
Details
environment (environment,102.38 KB, text/plain)
2024-11-17 09:55 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-11-17 09:55 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,14.46 KB, application/x-xz)
2024-11-17 09:55 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,19.79 KB, application/x-xz)
2024-11-17 09:55 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,253.70 KB, text/plain)
2024-11-17 09:55 UTC, Toralf Förster
Details
sci-physics:geant4_vmc-6.6_p1:20241117-014341.log (sci-physics:geant4_vmc-6.6_p1:20241117-014341.log,76.48 KB, text/plain)
2024-11-17 09:55 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,23.71 KB, application/x-xz)
2024-11-17 09:55 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 2024-11-17 09:55:38 UTC
too long lines were shrinked:

[27/119] /usr/bin/x86_64-pc-linux-gnu-g++ -DG4LIB_BUILD_DLL -DG4UI_USE_QT -DG4VIS_USE_OPENGLQT -DG4VIS_USE_OPENGLX -DG4VIS_USE_QT3D -DG4VIS_USE_TOOLSSG_QT_GLES -DG4VIS_USE_TOOLSSG_QT_ZB -DG4VIS_USE_TOOLSSG_X11_GLES -DPTL_BUILD_DLL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS
[28/119] /usr/bin/x86_64-pc-linux-gnu-g++ -DG4LIB_BUILD_DLL -DG4UI_USE_QT -DG4VIS_USE_OPENGLQT -DG4VIS_USE_OPENGLX -DG4VIS_USE_QT3D -DG4VIS_USE_TOOLSSG_QT_GLES -DG4VIS_USE_TOOLSSG_QT_ZB -DG4VIS_USE_TOOLSSG_X11_GLES -DPTL_BUILD_DLL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS
[29/119] /usr/bin/x86_64-pc-linux-gnu-g++ -DG4LIB_BUILD_DLL -DG4UI_USE_QT -DG4VIS_USE_OPENGLQT -DG4VIS_USE_OPENGLX -DG4VIS_USE_QT3D -DG4VIS_USE_TOOLSSG_QT_GLES -DG4VIS_USE_TOOLSSG_QT_ZB -DG4VIS_USE_TOOLSSG_X11_GLES -DPTL_BUILD_DLL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS
[30/119] /usr/bin/x86_64-pc-linux-gnu-g++ -DG4LIB_BUILD_DLL -DG4UI_USE_QT -DG4VIS_USE_OPENGLQT -DG4VIS_USE_OPENGLX -DG4VIS_USE_QT3D -DG4VIS_USE_TOOLSSG_QT_GLES -DG4VIS_USE_TOOLSSG_QT_ZB -DG4VIS_USE_TOOLSSG_X11_GLES -DPTL_BUILD_DLL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS
FAILED: source/CMakeFiles/geant4vmc.dir/geometry/src/TG4GeometryManager.cxx.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DG4LIB_BUILD_DLL -DG4UI_USE_QT -DG4VIS_USE_OPENGLQT -DG4VIS_USE_OPENGLX -DG4VIS_USE_QT3D -DG4VIS_USE_TOOLSSG_QT_GLES -DG4VIS_USE_TOOLSSG_QT_ZB -DG4VIS_USE_TOOLSSG_X11_GLES -DPTL_BUILD_DLL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -Dge
/var/tmp/portage/sci-physics/geant4_vmc-6.6_p1/work/geant4_vmc-6-6-p1/source/geometry/src/TG4GeometryManager.cxx:32:10: fatal error: TG4RootDetectorConstruction.h: No such file or directory
   32 | #include "TG4RootDetectorConstruction.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma_systemd-20241113-213003

  UNMASKED:
    Issues involving opaque types / incomplete typedefs should block bug 930805
  >=sys-libs/ncurses-6.5

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 19.1.3
llvm-config: 19.1.3
Python 3.12.7
go version go1.23.2 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1
  [2]   rust-bin-1.81.0
  [3]   rust-bin-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 508fd135194e06483924787a47bb2ea0a7cb96a7
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Nov 16 09:03:52 2024 +0000

    2024-11-16 09:03:51 UTC

emerge -qpvO =sci-physics/geant4_vmc-6.6_p1
[ebuild  N    ] sci-physics/geant4_vmc-6.6_p1  USE="-doc -examples -g4root -geant3 -test -vgm"
Comment 1 Toralf Förster gentoo-dev 2024-11-17 09:55:39 UTC
Created attachment 908822 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-17 09:55:40 UTC
Created attachment 908823 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-11-17 09:55:42 UTC
Created attachment 908824 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-11-17 09:55:42 UTC
Created attachment 908825 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-11-17 09:55:43 UTC
Created attachment 908826 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-17 09:55:44 UTC
Created attachment 908827 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-17 09:55:46 UTC
Created attachment 908828 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-11-17 09:55:47 UTC
Created attachment 908829 [details]
sci-physics:geant4_vmc-6.6_p1:20241117-014341.log
Comment 9 Toralf Förster gentoo-dev 2024-11-17 09:55:48 UTC
Created attachment 908830 [details]
temp.tar.xz
Comment 10 Oliver Freyermuth 2024-11-17 16:00:51 UTC
Thanks for the report, this appears to affect USE="-g4root" builds. 

Reported upstream:
https://github.com/vmc-project/geant4_vmc/issues/68
Comment 11 Oliver Freyermuth 2024-11-29 00:28:22 UTC
Upstream has developed a fix, I backported the patch and it will be applied after the PR above is merged. 
Thanks again for the report!
Comment 12 Larry the Git Cow gentoo-dev 2024-12-02 14:52:20 UTC
The bug has been closed via the following commit(s):

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

commit f4c51faec44b6dd21c329666b3e1bc46b64d8629
Author:     Oliver Freyermuth <o.freyermuth@googlemail.com>
AuthorDate: 2024-11-28 23:51:49 +0000
Commit:     Guilherme Amadio <amadio@gentoo.org>
CommitDate: 2024-12-02 14:52:11 +0000

    sci-physics/geant4_vmc: fix build failure with -g4root
    
    Closes: https://bugs.gentoo.org/943657
    Closes: https://github.com/gentoo/gentoo/pull/39513
    Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com>
    Signed-off-by: Guilherme Amadio <amadio@gentoo.org>

 .../files/geant4_vmc-6.6_p1-no-g4root.patch        | 44 ++++++++++++++++++++++
 sci-physics/geant4_vmc/geant4_vmc-6.6_p1.ebuild    |  1 +
 2 files changed, 45 insertions(+)