[MacPorts] #70497: glpong @1.3: error: incomplete definition of type 'struct png_struct_def' (was: glpong @1.3 install failed)
MacPorts
noreply at macports.org
Tue Aug 6 19:34:44 UTC 2024
#70497: glpong @1.3: error: incomplete definition of type 'struct png_struct_def'
----------------------------+--------------------
Reporter: doomed-theory | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: glpong |
----------------------------+--------------------
Changes (by ryandesign):
* port: GLPong => glpong
Old description:
> {{{Warning: reinplace s|-lGLU||g didn't change anything in}}}
> {{{/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_glpong/glpong/work/glpong-1.3/src/Makefile}}}
> {{{Warning: reinplace s|-lGL||g didn't change anything in
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_glpong/glpong/work/glpong-1.3/src/Makefile}}}
>
> {{{---> Building glpong}}}
>
> {{{Error: Failed to build glpong: command execution failed}}}
New description:
{{{
Warning: reinplace s|-lGLU||g didn't change anything in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_glpong/glpong/work/glpong-1.3/src/Makefile
Warning: reinplace s|-lGL||g didn't change anything in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_glpong/glpong/work/glpong-1.3/src/Makefile
---> Building glpong
Error: Failed to build glpong: command execution failed
}}}
--
Comment:
The error in the log is:
{{{
image.c:87:42: error: incomplete definition of type 'struct
png_struct_def'
}}}
So glpong is not compatible with libpng 1.5 or later, which we have had in
MacPorts for a long time already, so this port has been broken for a long
time.
#59554 is an example of this problem in another port and how it can be
fixed.
--
Ticket URL: <https://trac.macports.org/ticket/70497#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list