[MacPorts] #50426: geant4.10.2: broken links of dylibs
#50426: geant4.10.2: broken links of dylibs ---------------------+------------------------- Reporter: mojca@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: geant4.10.2 ---------------------+------------------------- Due to lack of proper/extensive testing the new geant4.10.2 port appears to be broken: {{{ ---> Scanning binaries for linking errors Could not open /opt/local/lib/libG4zlib.dylib: Error opening or reading file (referenced from /opt/local/lib/Geant4/Geant4.10.2/libG4FR.dylib) DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4FR.dylib as broken Could not open /opt/local/lib/libG4clhep.dylib: Error opening or reading file (referenced from /opt/local/lib/Geant4/Geant4.10.2/libG4FR.dylib) DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4FR.dylib as broken Could not open /opt/local/lib/libG4global.dylib: Error opening or reading file (referenced from /opt/local/lib/Geant4/Geant4.10.2/libG4FR.dylib) Could not open /opt/local/lib/libG4intercoms.dylib: Error opening or reading file (referenced from /opt/local/lib/Geant4/Geant4.10.2/libG4FR.dylib) DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4FR.dylib as broken Could not open /opt/local/lib/libG4materials.dylib: Error opening or reading file (referenced from /opt/local/lib/Geant4/Geant4.10.2/libG4FR.dylib) DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4FR.dylib as broken Could not open /opt/local/lib/libG4graphics_reps.dylib: Error opening or reading file (referenced from /opt/local/lib/Geant4/Geant4.10.2/libG4FR.dylib) DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4FR.dylib as broken Could not open /opt/local/lib/libG4geometry.dylib: Error opening or reading file (referenced from /opt/local/lib/Geant4/Geant4.10.2/libG4FR.dylib) DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4FR.dylib as broken Could not open /opt/local/lib/libG4particles.dylib: Error opening or reading file (referenced from /opt/local/lib/Geant4/Geant4.10.2/libG4FR.dylib) DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4FR.dylib as broken Could not open /opt/local/lib/libG4track.dylib: Error opening or reading file (referenced from /opt/local/lib/Geant4/Geant4.10.2/libG4FR.dylib) DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4FR.dylib as broken Could not open /opt/local/lib/libG4digits_hits.dylib: Error opening or reading file (referenced from /opt/local/lib/Geant4/Geant4.10.2/libG4FR.dylib) DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4FR.dylib as broken Could not open /opt/local/lib/libG4processes.dylib: Error opening or reading file (referenced from /opt/local/lib/Geant4/Geant4.10.2/libG4FR.dylib) DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4FR.dylib as broken Could not open /opt/local/lib/libG4tracking.dylib: Error opening or reading file (referenced from /opt/local/lib/Geant4/Geant4.10.2/libG4FR.dylib) DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4FR.dylib as broken Could not open /opt/local/lib/libG4event.dylib: Error opening or reading file (referenced from /opt/local/lib/Geant4/Geant4.10.2/libG4FR.dylib) Could not open /opt/local/lib/libG4run.dylib: Error opening or reading file (referenced from /opt/local/lib/Geant4/Geant4.10.2/libG4FR.dylib) DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4FR.dylib as broken Could not open /opt/local/lib/libG4modeling.dylib: Error opening or reading file (referenced from /opt/local/lib/Geant4/Geant4.10.2/libG4FR.dylib) DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4FR.dylib as broken Could not open /opt/local/lib/libG4vis_management.dylib: Error opening or reading file (referenced from /opt/local/lib/Geant4/Geant4.10.2/libG4FR.dylib) DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4GMocren.dylib as broken Could not open /opt/local/lib/libG4FR.dylib: Error opening or reading file (referenced from /opt/local/lib/Geant4/Geant4.10.2/libG4GMocren.dylib) DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4GMocren.dylib as broken DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4OpenGL.dylib as broken Could not open /opt/local/lib/libG4interfaces.dylib: Error opening or reading file (referenced from /opt/local/lib/Geant4/Geant4.10.2/libG4OpenGL.dylib) DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4OpenGL.dylib as broken Could not open /opt/local/lib/libG4gl2ps.dylib: Error opening or reading file (referenced from /opt/local/lib/Geant4/Geant4.10.2/libG4OpenGL.dylib) DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4OpenGL.dylib as broken DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4RayTracer.dylib as broken DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4Tree.dylib as broken DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4VRML.dylib as broken DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4analysis.dylib as broken DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4digits_hits.dylib as broken DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4error_propagation.dylib as broken DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4event.dylib as broken DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4geometry.dylib as broken DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4gl2ps.dylib as broken DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4global.dylib as broken DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4graphics_reps.dylib as broken DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4intercoms.dylib as broken DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4interfaces.dylib as broken DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4materials.dylib as broken DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4modeling.dylib as broken DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4parmodels.dylib as broken DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4persistency.dylib as broken DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4physicslists.dylib as broken DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4processes.dylib as broken DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4readout.dylib as broken DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4run.dylib as broken DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4track.dylib as broken DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4tracking.dylib as broken DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4visHepRep.dylib as broken DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4visXXX.dylib as broken DEBUG: Marking /opt/local/lib/Geant4/Geant4.10.2/libG4vis_management.dylib as broken ---> Found 316 broken file(s), matching files to ports }}} Maybe the new version of Geant4 partially ignores the setting {{{ -DCMAKE_INSTALL_LIBDIR=${prefix}/lib/Geant4/Geant${geant.version_simple} }}} but this needs more testing. -- Ticket URL: <https://trac.macports.org/ticket/50426> MacPorts <https://www.macports.org/> Ports system for OS X
#50426: geant4.10.2: broken links of dylibs --------------------------+--------------------- Reporter: mojca@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: geant4.10.2 | --------------------------+--------------------- Comment (by mojca@…): I have no idea how to debug this. I submitted a bug report here: * http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1848 -- Ticket URL: <https://trac.macports.org/ticket/50426#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#50426: geant4.10.2: broken links of dylibs --------------------------+--------------------- Reporter: mojca@… | Owner: mojca@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: geant4.10.2 | --------------------------+--------------------- Changes (by mojca@…): * status: new => closed * resolution: => fixed Comment: Fixed in r147160. The problem was that the cmake PortGroup automatically adds `-DCMAKE_INSTALL_NAME_DIR=/opt/local/lib` and a few other settings which conflicted with `-DCMAKE_INSTALL_LIBDIR=/opt/local/lib/Geant4/Geant4.10.2`. I hope this didn't break the older versions of Geant4. We probably need better support for these kind of scenarios in `cmake-1.0.tcl`. -- Ticket URL: <https://trac.macports.org/ticket/50426#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts