[MacPorts] #48613: About root6 dependencies

MacPorts noreply at macports.org
Tue Aug 18 10:47:45 PDT 2015


#48613: About root6 dependencies
--------------------------------+----------------------
  Reporter:  graziosi.angelo@…  |      Owner:  jonesc@…
      Type:  defect             |     Status:  new
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.3.3
Resolution:                     |   Keywords:
      Port:  root6              |
--------------------------------+----------------------
Changes (by ryandesign@…):

 * cc: jonesc@…, sean@… (added)


Comment:

 Replying to [ticket:48613 graziosi.angelo@…]:
 > In my previous MacPorts installation (Yosemite 10.0.4), I installed
 root6 with:
 >
 >
 > {{{
 > sudo port install root6 +avahi +fftw3 +fitsio +gcc5 +ldap +mysql56 +odbc
 +postgresql92 +pythia +python34 +sqlite3 +vc +xrootd
 > }}}
 >
 > and only gcc5 compiler was installed

 By specifying "+gcc5" here, you're requesting that gcc5 be used both for
 root6 and for all the dependencies of root6 that have a gcc5 variant that
 were not already installed.


 > Now, I did a new Yosemite 10.10.5 installation (from scratch) and
 reinstalled MacPorts. This time, I saw that root6 has gcc5 variant by
 default so I installed root6 with:
 >
 > {{{
 > sudo port install root6 +avahi +cxx14 +fftw3 +fitsio +ldap +mysql56
 +odbc +postgresql92 +pythia +python34 +sqlite3 +vc +xrootd
 > }}}
 >
 > adding the cxx14 variant and removing the explicit call "+gcc5". Now it
 has installed also gcc49:

 > It seems that adding cxx14 variant has triggered this.. Is really so?
 What's happening?

 Adding the cxx14 variant has not triggered this; rather, not requesting
 the gcc5 variant has triggered this. Although the root6 port defaults to
 gcc5 now, I guess some of its dependencies don't default to gcc5 yet.
 Since you did not request a specific gcc variant, each port used its
 default. Any port that offers gcc variants should ideally be enhanced to
 have a gcc5 variant and make it the default. (For most ports, this should
 be possible, but for some, like pdftk, which I see you have installed, it
 is [ticket:40058 not possible] right now.)


 > I wonder if there is a better way to handle this.
 >
 > For example, I notice that in my previous installation I had:
 >
 > {{{
 > port installed | grep num
 >   py27-numpy @1.9.2_2+gcc5 (active)
 > }}}
 >
 > Instead now,
 >
 > {{{
 > port installed | grep num
 >   py27-numpy @1.9.2_2+gfortran (active)
 > }}}
 >
 >
 > Which gfortran?

 I really can't tell you. I've tried to read the
 [browser:trunk/dports/_resources/port1.0/group/compilers-1.0.tcl compilers
 1.0 portgroup] to see what it does in this case, but it is too complicated
 for me to figure out.

-- 
Ticket URL: <https://trac.macports.org/ticket/48613#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list