[MacPorts] #66344: librsvg fails to compile for multiple issues on Leopard
MacPorts
noreply at macports.org
Fri Nov 25 12:28:30 UTC 2022
#66344: librsvg fails to compile for multiple issues on Leopard
----------------------------+---------------------
Reporter: rmottola | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: leopard legacy | Port: librsvg
----------------------------+---------------------
First, on 10.5 it uses the default apple gcc 4.2 compile
{{{
Rsvg-2.0-custom.vala:35.3-35.12: warning: [Deprecated] is deprecated. Use
[Version (deprecated = true, deprecated_since = "", replacement = "")]
35 | [Deprecated (since = "2.36")]
| ^~~~~~~~~~
GdkPixbuf-2.0.gir:6286.55-6286.55: error: The symbol `GModule' could not
be found
6286 | <type name="GModule.Module" c:type="GModule*"/>
| ^
Generation failed: 1 error(s), 13 warning(s)
make[2]: *** [librsvg-2.0.vapi] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_librsvg/librsvg/work/librsvg-2.40.20'
}}}
This looks similar to bug https://trac.macports.org/ticket/65407
I force the use of GCC 7 and get this error then:
{{{
./libtool: eval: line 1719: syntax error near unexpected token `|'
}}}
--
Ticket URL: <https://trac.macports.org/ticket/66344>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list