[MacPorts] #23490: geant4 links with Apple X11 libraries
#23490: geant4 links with Apple X11 libraries -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: cristiano.fontana@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: -------------------------------------+-------------------------------------- geant4 links with Apple X11 libraries. See "/usr/X11" in the output of otool -L: {{{ $ otool -L /opt/local/lib/libG4FR.dylib /opt/local/lib/libG4FR.dylib: /opt/local/var/macports/build/_Users_rschmidt_macports_dports_science_geant4/work/geant4.9.3/lib/libG4FR.dylib (compatibility version 0.0.0, current version 0.0.0) /usr/X11/lib/libGLU.1.dylib (compatibility version 1.3.0, current version 1.3.0) /usr/X11/lib/libGL.1.dylib (compatibility version 1.2.0, current version 1.2.0) /opt/local/lib/libXm.4.dylib (compatibility version 5.0.0, current version 5.2.0) /usr/X11/lib/libXpm.4.dylib (compatibility version 16.0.0, current version 16.0.0) /usr/X11/lib/libXmu.6.dylib (compatibility version 9.0.0, current version 9.0.0) /usr/X11/lib/libXt.6.dylib (compatibility version 7.0.0, current version 7.0.0) /usr/X11/lib/libXext.6.dylib (compatibility version 11.0.0, current version 11.0.0) /usr/X11/lib/libX11.6.dylib (compatibility version 9.0.0, current version 9.0.0) /usr/X11/lib/libXi.6.dylib (compatibility version 7.0.0, current version 7.0.0) /usr/X11/lib/libSM.6.dylib (compatibility version 7.0.0, current version 7.0.0) /usr/X11/lib/libICE.6.dylib (compatibility version 10.0.0, current version 10.0.0) /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.0.0) }}} geant4 should instead link with MacPorts X11 libraries in /opt/local, and declare dependencies on the appropriate xorg ports. -- Ticket URL: <http://trac.macports.org/ticket/23490> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23490: geant4 links with Apple X11 libraries -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: cristiano.fontana@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: geant4 -------------------------------------+-------------------------------------- Changes (by jmr@…): * port: => geant4 -- Ticket URL: <http://trac.macports.org/ticket/23490#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23490: geant4 links with Apple X11 libraries -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: cristiano.fontana@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: geant4 -------------------------------------+-------------------------------------- Changes (by jmr@…): * owner: cristiano.fontana@… => cristiano.fontana@… -- Ticket URL: <https://trac.macports.org/ticket/23490#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23490: geant4 links with Apple X11 libraries ---------------------------+-------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: | Keywords: Port: geant4 | ---------------------------+-------------------------------- Changes (by ryandesign@…): * cc: mojca@… (added) * owner: cristiano.fontana@… => macports-tickets@… -- Ticket URL: <https://trac.macports.org/ticket/23490#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#23490: geant4 links with Apple X11 libraries ---------------------------+-------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: geant4 | ---------------------------+-------------------------------- Changes (by mojca@…): * version: 1.8.2 => Comment: I upgraded the port in r111720 with substantial changes (including removal of search for X11 headers in system folders). Please let me know if this is still an issue. Honestly, I did an extensive check for `+opengl_x11` alone, but `raytracer_x11` or `motif_x11` might need a few extra dependencies. -- Ticket URL: <https://trac.macports.org/ticket/23490#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#23490: geant4 links with Apple X11 libraries ---------------------------+--------------------- Reporter: ryandesign@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: geant4 | ---------------------------+--------------------- Changes (by mojca@…): * owner: macports-tickets@… => mojca@… -- Ticket URL: <https://trac.macports.org/ticket/23490#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#23490: geant4 links with Apple X11 libraries ---------------------------+--------------------- Reporter: ryandesign@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: geant4 | ---------------------------+--------------------- Comment (by mojca@…): If I compile without `opengl_x11`, but with `motif_x11`, I get the following links: {{{ /opt/local/lib/libICE.6.dylib is provided by: xorg-libice /opt/local/lib/libSM.6.dylib is provided by: xorg-libsm /opt/local/lib/libX11.6.dylib is provided by: xorg-libX11 /opt/local/lib/libXext.6.dylib is provided by: xorg-libXext /opt/local/lib/libXmu.6.dylib is provided by: xorg-libXmu /opt/local/lib/libXt.6.dylib is provided by: xorg-libXt }}} but I'm again not sure which ones of these are true dependencies and which ones are just "recursive ones" (dependency of a dependency). Again another option might be to simply combine `opengl_x11` and `motif_x11` into a single option. -- Ticket URL: <https://trac.macports.org/ticket/23490#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#23490: geant4 links with Apple X11 libraries ---------------------------+--------------------- Reporter: ryandesign@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: geant4 | ---------------------------+--------------------- Comment (by mojca@…): The new Geant4 links against {{{ /System/Library/Frameworks/AGL.framework/Versions/A/AGL /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL }}} as well as {{{ /opt/local/lib/libGL.1.dylib /opt/local/lib/libGLU.1.dylib }}} but I call it quits. This is a problem upstream that could in principle be reported, but more and more users probably switch to Qt anyway. The commit r121601 should clean up the x11 dependencies, even though the original problem was already fixed much earlier. -- Ticket URL: <https://trac.macports.org/ticket/23490#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#23490: geant4 links with Apple X11 libraries ---------------------------+--------------------- Reporter: ryandesign@… | Owner: mojca@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: geant4 | ---------------------------+--------------------- Changes (by mojca@…): * status: new => closed * cc: mojca@… (removed) * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/23490#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts