[MacPorts] #48522: ifeffit: add gcc5 variant
#48522: ifeffit: add gcc5 variant --------------------------+-------------------------- Reporter: ryandesign@… | Owner: joe.fowler@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: ifeffit --------------------------+-------------------------- Can we add a gcc5 variant to ifeffit and make it the default? gcc5 is the latest stable version of gcc. -- Ticket URL: <https://trac.macports.org/ticket/48522> MacPorts <https://www.macports.org/> Ports system for OS X
#48522: ifeffit: add gcc5 variant ---------------------------+-------------------------- Reporter: ryandesign@… | Owner: joe.fowler@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: ifeffit | ---------------------------+-------------------------- Changes (by ryandesign@…): * cc: mcalhoun@… (added) Comment: Comments in the port say the same change would need to be made simultaneously in p5-ifeffit and pgplot. -- Ticket URL: <https://trac.macports.org/ticket/48522#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#48522: ifeffit, p5-ifeffit, pgplot: add gcc5 variant ------------------------------------------+-------------------------- Reporter: ryandesign@… | Owner: joe.fowler@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: ifeffit, p5-ifeffit, pgplot | ------------------------------------------+-------------------------- Changes (by ryandesign@…): * port: ifeffit => ifeffit, p5-ifeffit, pgplot -- Ticket URL: <https://trac.macports.org/ticket/48522#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#48522: ifeffit, p5-ifeffit, pgplot: add gcc5 variant ------------------------------------------+-------------------------- Reporter: ryandesign@… | Owner: joe.fowler@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: ifeffit, p5-ifeffit, pgplot | ------------------------------------------+-------------------------- Comment (by devans@…): Replying to [comment:1 ryandesign@…]:
Comments in the port say the same change would need to be made simultaneously in p5-ifeffit and pgplot.
Yes, they all need to be built and linked with the same compiler/libraries. In addition, the Makefile.PL used to build p5-ifeffit (which is compiler specific) is autogenerated during the build of ifeffit. It would probably be a simplification to unify ifeffit and p5-ifeffit. -- Ticket URL: <https://trac.macports.org/ticket/48522#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#48522: ifeffit, p5-ifeffit, pgplot: add gcc5 variant ------------------------------------------+-------------------------- Reporter: ryandesign@… | Owner: joe.fowler@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: ifeffit, p5-ifeffit, pgplot | ------------------------------------------+-------------------------- Comment (by ryandesign@…): Replying to [comment:4 devans@…]:
Yes, they all need to be built and linked with the same compiler/libraries.
Does it make a difference that all the stable MacPorts gcc ports already use the same libraries (from the libgcc port)? -- Ticket URL: <https://trac.macports.org/ticket/48522#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#48522: ifeffit, p5-ifeffit, pgplot: add gcc5 variant ------------------------------------------+-------------------------- Reporter: ryandesign@… | Owner: joe.fowler@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: ifeffit, p5-ifeffit, pgplot | ------------------------------------------+-------------------------- Comment (by devans@…): Replying to [comment:5 ryandesign@…]:
Replying to [comment:4 devans@…]:
Yes, they all need to be built and linked with the same compiler/libraries.
Does it make a difference that all the stable MacPorts gcc ports already use the same libraries (from the libgcc port)?
That wasn't clear to me. Previously, p5-ifeffit was broken due to this type of mismatch with ifeffit and ifeffit did recognize plplot and silently built without it for similar reasons. I did what was necessary to make it work. Doesn't seem to make much difference now anyway, since, according to its [http://cars.uchicago.edu/ifeffit/Downloads download page] it's considered to be obsolete and hasn't been updated/maintained since 2008. The preferred replacement is [http://cars.uchicago.edu/xraylarch/ Larch]. Maybe we should port that. -- Ticket URL: <https://trac.macports.org/ticket/48522#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#48522: ifeffit, p5-ifeffit, pgplot: add gcc5 variant ------------------------------------------+-------------------------- Reporter: ryandesign@… | Owner: joe.fowler@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: ifeffit, p5-ifeffit, pgplot | ------------------------------------------+-------------------------- Comment (by ryandesign@…): Replying to [comment:6 devans@…]:
Replying to [comment:5 ryandesign@…]:
Replying to [comment:4 devans@…]:
Yes, they all need to be built and linked with the same compiler/libraries.
Does it make a difference that all the stable MacPorts gcc ports already use the same libraries (from the libgcc port)?
That wasn't clear to me.
Yup, that was done two years ago in r109291; see #38814. -- Ticket URL: <https://trac.macports.org/ticket/48522#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#48522: ifeffit, p5-ifeffit, pgplot: add gcc5 variant ------------------------------------------+-------------------------- Reporter: ryandesign@… | Owner: joe.fowler@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: ifeffit, p5-ifeffit, pgplot | ------------------------------------------+-------------------------- Comment (by mojca@…): I committed r148587, but I'm not yet sure how to add a runtime dependency on gcc. I changed that because `p5-ifeffit` build was broken on the buildbot, but I would be grateful if someone could review it. -- Ticket URL: <https://trac.macports.org/ticket/48522#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#48522: ifeffit, p5-ifeffit, pgplot: add gcc5 variant ------------------------------------------+-------------------------- Reporter: ryandesign@… | Owner: joe.fowler@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: ifeffit, p5-ifeffit, pgplot | ------------------------------------------+-------------------------- Changes (by mojca@…): * cc: dstrubbe@… (added) Comment: r145996 added the variants to ifeffit. -- Ticket URL: <https://trac.macports.org/ticket/48522#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#48522: ifeffit, p5-ifeffit, pgplot: add gcc5 variant ------------------------------------------+-------------------------- Reporter: ryandesign@… | Owner: joe.fowler@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: ifeffit, p5-ifeffit, pgplot | ------------------------------------------+-------------------------- Comment (by dstrubbe@…): Mojca, the runtime dependencies are automatic from the compilers portgroup. -- Ticket URL: <https://trac.macports.org/ticket/48522#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
#48522: ifeffit, p5-ifeffit, pgplot: add gcc5 variant ------------------------------------------+-------------------------- Reporter: ryandesign@… | Owner: joe.fowler@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: ifeffit, p5-ifeffit, pgplot | ------------------------------------------+-------------------------- Comment (by mojca@…): Can you please check if I got other options right? Maybe some of the options are not needed. If it looks ok, we can probably close the ticket, right? I still don't fully grasp how the portgroup works, but are you saying that there is no way to tell the portgroup that no runtime dependencies are needed? I can imagine that there is one group of ports that needs a compiler to work (runtime) and another group of ports that only needs fortran to compile the sources and doesn't need a runtime dependency. -- Ticket URL: <https://trac.macports.org/ticket/48522#comment:12> MacPorts <https://www.macports.org/> Ports system for OS X
#48522: ifeffit, p5-ifeffit, pgplot: add gcc5 variant ------------------------------------------+-------------------------- Reporter: ryandesign@… | Owner: joe.fowler@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: ifeffit, p5-ifeffit, pgplot | ------------------------------------------+-------------------------- Comment (by dstrubbe@…): compilers.enforce_fortran can only be used on a port which is a dependency. I fixed this in r148774. Runtime dependencies are always needed corresponding to the compiler, as far as I know -- if you compile and link, the resulting executable needs libraries provided by the compiler. -- Ticket URL: <https://trac.macports.org/ticket/48522#comment:13> MacPorts <https://www.macports.org/> Ports system for OS X
#48522: ifeffit, p5-ifeffit, pgplot: add gcc5 variant ------------------------------------------+-------------------------- Reporter: ryandesign@… | Owner: joe.fowler@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: ifeffit, p5-ifeffit, pgplot | ------------------------------------------+-------------------------- Changes (by dstrubbe@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/48522#comment:14> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts