#42875: Failure upgrading Geant4 --------------------------------+-------------------------------- Reporter: graziosi.angelo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: geant4 | --------------------------------+-------------------------------- Comment (by graziosi.angelo@…): Replying to [comment:4 mojca@…]:
About playing with the `Portfile` ... just run {{{ cd $(port dir geant4) }}} and add those two lines to the `Portfile` and try to rebuild. (The command `port selfupdate` overwrites that, but you would have a working port by that time.)
Thanks for suggestions...
I blindly applied the patch in r117906 now. I'm now curious how the
commit r117901 interferes with building Geant4 (with the set of allowed compilers). Now Geant4 upgrades... and ROOT too, {{{ $ sudo port upgrade outdated ---> Computing dependencies for root ---> Fetching archive for root ---> Attempting to fetch root-5.34.18_0+avahi+cocoa+fftw3+fitsio+gcc48+graphviz+gsl+ldap+minuit2+mysql55+odbc+opengl+postgresql92+pythia+python32+qt_mac+roofit+ruby+soversion+sqlite3+ssl+tmva+xml+xrootd.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/root ---> Attempting to fetch root-5.34.18_0+avahi+cocoa+fftw3+fitsio+gcc48+graphviz+gsl+ldap+minuit2+mysql55+odbc+opengl+postgresql92+pythia+python32+qt_mac+roofit+ruby+soversion+sqlite3+ssl+tmva+xml+xrootd.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/root ---> Attempting to fetch root-5.34.18_0+avahi+cocoa+fftw3+fitsio+gcc48+graphviz+gsl+ldap+minuit2+mysql55+odbc+opengl+postgresql92+pythia+python32+qt_mac+roofit+ruby+soversion+sqlite3+ssl+tmva+xml+xrootd.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/root ---> Fetching distfiles for root ---> Attempting to fetch root_v5.34.18.source.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/root ---> Attempting to fetch root_v5.34.18.source.tar.gz from http://root.cern.ch/download/ ---> Verifying checksums for root ---> Extracting root ---> Applying patches to root ---> Configuring root ---> Building root ---> Staging root into destroot ---> Installing root @5.34.18_0+avahi+cocoa+fftw3+fitsio+gcc48+graphviz+gsl+ldap+minuit2+mysql55+odbc+opengl+postgresql92+pythia+python32+qt_mac+roofit+ruby+soversion+sqlite3+ssl+tmva+xml+xrootd ---> Cleaning root ---> Computing dependencies for root ---> Deactivating root @5.34.17_0+avahi+cocoa+fftw3+fitsio+gcc48+graphviz+gsl+ldap+minuit2+mysql55+odbc+opengl+postgresql92+pythia+python32+qt_mac+roofit+ruby+soversion+sqlite3+ssl+tmva+xml+xrootd ---> Cleaning root ---> Activating root @5.34.18_0+avahi+cocoa+fftw3+fitsio+gcc48+graphviz+gsl+ldap+minuit2+mysql55+odbc+opengl+postgresql92+pythia+python32+qt_mac+roofit+ruby+soversion+sqlite3+ssl+tmva+xml+xrootd ---> Cleaning root Portfile changed since last build; discarding previous state. ---> Computing dependencies for geant4.9.6 ---> Fetching archive for geant4.9.6 ---> Attempting to fetch geant4.9.6-4.9.6.p02_1+gdml+qt.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/geant4.9.6 ---> Attempting to fetch geant4.9.6-4.9.6.p02_1+gdml+qt.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/geant4.9.6 ---> Attempting to fetch geant4.9.6-4.9.6.p02_1+gdml+qt.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/geant4.9.6 ---> Fetching distfiles for geant4.9.6 ---> Attempting to fetch geant4.9.6.p02.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/geant4 ---> Verifying checksums for geant4.9.6 ---> Extracting geant4.9.6 ---> Applying patches to geant4.9.6 ---> Configuring geant4.9.6 ---> Building geant4.9.6 ---> Staging geant4.9.6 into destroot ---> Installing geant4.9.6 @4.9.6.p02_1+gdml+qt ---> Cleaning geant4.9.6 ---> Computing dependencies for geant4.9.6 ---> Deactivating geant4.9.6 @4.9.6.p02_0+gdml+qt ---> Cleaning geant4.9.6 ---> Activating geant4.9.6 @4.9.6.p02_1+gdml+qt NOTE: Use 'sudo port select geant4 geant4.9.6' if you need geant4-config or geant4.(c)sh in PATH. Otherwise source /opt/local/libexec/Geant4/Geant4.9.6/geant4.(c)sh ---> Cleaning geant4.9.6 ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> No broken files found. }}}
Also, maybe [https://github.com/root-
mirror/root/commit/4da8475ff345d6c34c6537f2bcaf8cd56741199e ROOT's commit] can give a hint of what is needed to get CLHEP working properly under clang >= 3.4. I would suggest to follow FRM... Ciao (oops... happy sleeping!), Angelo. -- Ticket URL: <https://trac.macports.org/ticket/42875#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X