Opened 4 years ago

Closed 4 years ago

#60538 closed defect (fixed)

AfterStep @2.2.11 build failure: incomplete definition of type 'struct png_struct_def'

Reported by: eisGeist Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: AfterStep

Description

I entered the command to install afterstep:

    sudo port install afterstep

after a few attempt to fetch the files

--->  ...
--->  Attempting to fetch AfterStep-2.2.11_0.darwin_19.x86_64.tbz2 from http://fco.it.packages.macports.org/AfterStep
--->  Building AfterStep

The built was started and ended with an error:

Error: Failed to build AfterStep: command execution failed
Error: See /opt/local/var/macports/...
Error: Follow https://guide.macports...
Error: Failed to build AfterStep: command execution failed

I tried to build it twice and had the same error both times.

Attachments (1)

main.log (324.8 KB) - added by eisGeist 4 years ago.
Build log with errors

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by eisGeist

Attachment: main.log added

Build log with errors

comment:1 Changed 4 years ago by jmroot (Joshua Root)

Port: AfterStep added
Summary: Failed to build AfterStep: command execution failedAfterStep @2.2.11 build failure: incomplete definition of type 'struct png_struct_def'

The error is

:info:build export.c:499:22: error: incomplete definition of type 'struct png_struct_def'
:info:build                         if( setjmp(png_ptr->jmpbuf) )
:info:build                                    ~~~~~~~^
:info:build /opt/local/include/libpng16/png.h:439:16: note: forward declaration of 'struct png_struct_def'
:info:build typedef struct png_struct_def png_struct;
:info:build                ^

comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In b0a87db6772dabb9acc5047edda65ec269219758/macports-ports (master):

AfterStep: Fix build with libpng 1.5 and later

Closes: #60538

Note: See TracTickets for help on using tickets.