[MacPorts] #36093: ROOT is broken after GCC47 upgrade

MacPorts noreply at macports.org
Tue Sep 11 14:47:20 PDT 2012


#36093: ROOT is broken after GCC47 upgrade
--------------------------------+--------------------------------
  Reporter:  angelo.graziosi@…  |      Owner:  macports-tickets@…
      Type:  defect             |     Status:  new
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.1.2
Resolution:                     |   Keywords:
      Port:                     |
--------------------------------+--------------------------------

Comment (by angelo.graziosi@…):

 Replying to [comment:3 jonesc@…]:
 > It doesn't look to me like there is anything wrong with the ROOT port
 here.
 >
 > The problem is during your upgrade it found a lot of broken ports, and
 it is trying to fix them. During this it tries to reinstall iAIDA but this
 falls over with the variants mis-match
 >
 > {{{
 > --->  Found 195 broken file(s), matching files to ports
 > --->  Found 1 broken port(s), determining rebuild order
 > --->  Rebuilding in order
 >      iAIDA @1.0.22
 > --->  Computing dependencies for iAIDA
 > --->  Dependencies to be installed: root
 > Error: Requested variants
 "+graphviz+gsl+minuit2+opengl+roofit+soversion+ssl+tmva+xml" do not match
 original selection
 "+avahi+fftw3+fitsio+gcc47+graphviz+gsl+ldap+minuit2+mysql+odbc+opengl+postgresql92+pythia+python32+roofit+ruby+soversion+ssl+tmva+xml".
 > Please use the same variants again, perform 'port clean root' or specify
 the force option (-f).
 > Error: Failed to install root
 > }}}
 >
 > It looks like the automate rebuild at this point is not respecting the
 custom variants you have installed. If so, this is one for the MacPorts
 devs...
 >
 > I suggest uninstalling iAIDA and root, then rerun the 'upgrade outdated'
 to make sure everything else is updated and all the other broken files are
 fixed.
 >
 > Once all that is OK, then add back root followed by iAIDA.

 I have done this:


 {{{
 $ sudo port -f uninstall geant4
 Password:
 --->  Deactivating geant4
 @4.9.4.p02_0+aida+athena+gdml+global+motif+raytracerx+shared
 --->  Cleaning geant4
 --->  Uninstalling geant4
 @4.9.4.p02_0+aida+athena+gdml+global+motif+raytracerx+shared
 --->  Cleaning geant4


 $ sudo port -f uninstall iAIDA
 --->  Deactivating iAIDA @1.0.22_0
 --->  Cleaning iAIDA
 --->  Uninstalling iAIDA @1.0.22_0
 --->  Cleaning iAIDA


 $ sudo port selfupdate
 --->  Updating MacPorts base sources using rsync
 MacPorts base version 2.1.2 installed,
 MacPorts base version 2.1.2 downloaded.
 --->  Updating the ports tree
 --->  MacPorts base is already the latest version

 The ports tree has been updated. To upgrade your installed ports, you
 should run
   port upgrade outdated

 $ sudo port outdated
 The following installed ports are outdated:
 gcc45                          4.5.4_2 < 4.5.4_3
 gcc46                          4.6.3_5 < 4.6.3_6
 gcc47                          4.7.1_3 < 4.7.1_4
 gcc48                          4.8-20120909_1 < 4.8-20120909_2



 $ sudo port upgrade outdated
 --->  Computing dependencies for gcc45
 --->  Fetching archive for gcc45
 --->  Attempting to fetch gcc45-4.5.4_3.darwin_11.x86_64.tbz2 from
 http://packages.macports.org/gcc45
 --->  Attempting to fetch gcc45-4.5.4_3.darwin_11.x86_64.tbz2.rmd160 from
 http://packages.macports.org/gcc45
 --->  Installing gcc45 @4.5.4_3
 --->  Cleaning gcc45
 --->  Computing dependencies for gcc45
 --->  Deactivating gcc45 @4.5.4_2
 --->  Cleaning gcc45
 --->  Activating gcc45 @4.5.4_3
 --->  Cleaning gcc45
 --->  Computing dependencies for gcc46
 --->  Fetching archive for gcc46
 --->  Attempting to fetch gcc46-4.6.3_6.darwin_11.x86_64.tbz2 from
 http://packages.macports.org/gcc46
 --->  Attempting to fetch gcc46-4.6.3_6.darwin_11.x86_64.tbz2.rmd160 from
 http://packages.macports.org/gcc46
 --->  Installing gcc46 @4.6.3_6
 --->  Cleaning gcc46
 --->  Computing dependencies for gcc46
 --->  Deactivating gcc46 @4.6.3_5
 --->  Cleaning gcc46
 --->  Activating gcc46 @4.6.3_6
 --->  Cleaning gcc46
 --->  Computing dependencies for gcc47
 --->  Fetching archive for gcc47
 --->  Attempting to fetch gcc47-4.7.1_4.darwin_11.x86_64.tbz2 from
 http://packages.macports.org/gcc47
 --->  Attempting to fetch gcc47-4.7.1_4.darwin_11.x86_64.tbz2.rmd160 from
 http://packages.macports.org/gcc47
 --->  Installing gcc47 @4.7.1_4
 --->  Cleaning gcc47
 --->  Computing dependencies for gcc47
 --->  Deactivating gcc47 @4.7.1_3
 --->  Cleaning gcc47
 --->  Activating gcc47 @4.7.1_4
 --->  Cleaning gcc47
 --->  Computing dependencies for gcc48
 --->  Fetching archive for gcc48
 --->  Attempting to fetch gcc48-4.8-20120909_2.darwin_11.x86_64.tbz2 from
 http://packages.macports.org/gcc48
 --->  Attempting to fetch
 gcc48-4.8-20120909_2.darwin_11.x86_64.tbz2.rmd160 from
 http://packages.macports.org/gcc48
 --->  Installing gcc48 @4.8-20120909_2
 --->  Cleaning gcc48
 --->  Computing dependencies for gcc48
 --->  Deactivating gcc48 @4.8-20120909_1
 --->  Cleaning gcc48
 --->  Activating gcc48 @4.8-20120909_2
 --->  Cleaning gcc48
 --->  Updating database of binaries: 100.0%
 --->  Scanning binaries for linking errors: 100.0%
 --->  No broken files found.

 $ sudo port install root +avahi +fftw3 +fitsio +gcc47 +ldap +mysql +odbc
 +postgresql92 +pythia +python32 +ruby
 Password:
 --->  Computing dependencies for root
 --->  Fetching archive for root
 --->  Attempting to fetch
 root-5.34.01_1+avahi+fftw3+fitsio+gcc47+graphviz+gsl+ldap+minuit2+mysql+odbc+opengl+postgresql92+pythia+python32+roofit+ruby+soversion+ssl+tmva+xml.darwin_11.x86_64.tbz2
 from http://packages.macports.org/root
 --->  Attempting to fetch
 root-5.34.01_1+avahi+fftw3+fitsio+gcc47+graphviz+gsl+ldap+minuit2+mysql+odbc+opengl+postgresql92+pythia+python32+roofit+ruby+soversion+ssl+tmva+xml.darwin_11.x86_64.tbz2
 from http://lil.fr.packages.macports.org/root
 --->  Attempting to fetch
 root-5.34.01_1+avahi+fftw3+fitsio+gcc47+graphviz+gsl+ldap+minuit2+mysql+odbc+opengl+postgresql92+pythia+python32+roofit+ruby+soversion+ssl+tmva+xml.darwin_11.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.01.source.tar.gz from
 http://root.cern.ch/download/
 --->  Verifying checksum(s) for root
 --->  Extracting root
 --->  Applying patches to root
 --->  Configuring root
 --->  Building root
 Error: org.macports.build for port root returned: command execution failed
 Please see the log file for port root for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_root/root/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port root failed
 }}}

 I think it is related to recent changes in GCC47,46,45,48. The same
 failure of the build of PDFTK (see ticket # 36092).

 I have tried to sent the main.log (compressed) but the tracker says it is
 too large (70K). So I will sent in some other way.

 Ciao, Angelo.

-- 
Ticket URL: <https://trac.macports.org/ticket/36093#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list