[MacPorts] #42728: gnutls @3.1.22_0: stray -R flags during build
MacPorts
noreply at macports.org
Wed Mar 5 23:23:29 PST 2014
#42728: gnutls @3.1.22_0: stray -R flags during build
-------------------------+--------------------------
Reporter: jwhowse4@… | Owner: larryv@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords: mountainlion
Port: gnutls |
-------------------------+--------------------------
Comment (by wiml@…):
I just hit this as well, on SnowLeopard. I think the underlying problem
may be with autogen rather than gnutls:
* The stray '-R' in gnutls' link command comes from `LIBOPTS_LDADD`
* According to config.log, that variable was derived from `autooopts-
config`:
{{{
configure:55587: checking whether autoopts-config can be found
configure:55594: checking whether autoopts-config is specified
configure:55605: result: autoopts-config
configure:55631: result: -R -L/opt/local/lib -lopts
}}}
And in fact `/opt/local/bin/autoopts-config ldopts` or `ldflags` produces
flags with the bogus '-R'. `autoopts-config` is part of the `autogen`
package.
It looks like the gnutls port does not list autogen as a dependency;
instead it contains its own copy which it uses iff there isn't an
installed copy. So probably what's going on is that the macports autoopts-
config is buggy, but the copy bundled with gnutls is not buggy. (Macports
says my copy of autogen is `autogen @5.17.4_0+universal`.)
--
Ticket URL: <https://trac.macports.org/ticket/42728#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list