compilers PortGroup lacking dependencies for libgfortran

Mihai Moldovan ionic at macports.org
Fri Nov 28 21:08:33 PST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 29.11.2014 05:07 am, Ryan Schmidt wrote:
> 
> On Nov 27, 2014, at 11:06 PM, Joshua Root wrote:
> 
>> On 2014-11-28 15:53 , Mihai Moldovan wrote:
>>>
>>> The compilers PortGroup is currently only putting library dependencies on libgcc.
>>>
>>> We hit a bug with octave today, where octave defaults to +gcc48, uses fortran.
>>> but does only build-depend on gcc48.
>>>
>>> That's fine when compiling from source (and not using port_cutleaves), but will
>>> fail blatantly when installing from binary archives. In that case, libgfortran
>>> will be missing the package broken.
>>
>> Isn't libgfortran meant to be in libgcc?
> 
> Not only is it meant to be there, it actually is there:
> 
> $ port contents libgcc | grep gfortran
>   /opt/local/lib/libgcc/libgfortran.3.dylib

Yes, we have determined that yesterday. So the patch is obsolete and the
PortGroup's behavior is fine.

The real problem is that octave-nan depends on the compiler octave has been
built with (insert horror here) and, additionally, that its build system is
broken in the sense that it does not use -L${prefix}/libgcc (where libgfortran
resides in.)



Mihai
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCgAGBQJUeVTPAAoJEB/WLtluJTqH9YgP/jPdRZPSzwLQbC39oQywnO5G
P5RCCp+p/5TyOX7z27TkF4p76lRcP9hrLLC78LpokZfhEZ6TKz5ffbzNy2e+x7MX
KaPC8E6IpN6Nsmq0pgTCVY717IgKpLKSTtUzAu7bsxUnDnqUtsA8G9DXDSHvDbJU
OsUe8yu1+9duo29g8Os/cs0HAeAJxTXZnEBk75ugIc5rX6A9YyKUiy5NeOm0vidy
4GQjDBatgCphOKXOjF4/yrMpJXVWVoQvgoPBv8mZvh75v9kL3lxddGFK3WV76JG4
sPXOlv6vNbWabZwdCQgxOk8vmCEp56oYkUgqfu89rTi/C8s3MCXEce5gQwEpt9kP
hfDEty9Mkf349A5ou/OsbFZcTtWZLFae0TMIs0YC/nwYNfkM8KguuW2wM80yWJqF
+Mf6D5Quw99Bc4UM3Qwqo7HxwSx7NuEnAVZIre91AybUyvWrev0xFnsEzRddFT7X
+h5uiMzfOm9VrkPvXnCF1BUcgf9cRxWywSzdeslq1RgMTRdO9FqZY6hnzzYTPo+4
jgRmHDoU6EeKVz6PFbwYSeMxCcmwv4EDE7020/mZ89OEae6PDeqVFF2LsM8BFEQk
GaRxMNx5YDyJWQGFVPOxoWG/xNfyhsAUyq16cvR/c+odnqdwR/9rC8e8+PENcXMw
9buYiCsDCdwp+dE+JjjF
=8zu9
-----END PGP SIGNATURE-----


More information about the macports-dev mailing list