#66971 closed defect (fixed)

libsvg @0.1.4 failed to build: implicit declaration of function 'png_set_gray_1_2_4_to_8'

Reported by: amadeus24 Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: libsvg

Description


Attachments (2)

main.log (78.7 KB) - added by amadeus24 14 months ago.
main.2.log (78.6 KB) - added by amadeus24 14 months ago.

Download all attachments as: .zip

Change History (6)

Changed 14 months ago by amadeus24

Attachment: main.log added

comment:1 Changed 14 months ago by jmroot (Joshua Root)

Keywords: libsvg failed to build on Apple Silicon removed
Port: 0.1.4 removed
Summary: libsvg failed to build on Apple Siliconlibsvg @0.1.4 failed to build: implicit declaration of function 'png_set_gray_1_2_4_to_8'

comment:2 Changed 14 months ago by jmroot (Joshua Root)

Owner: set to jmroot
Resolution: fixed
Status: newclosed

In 5a33a1cf4ef9bbc19f5853c7264278219dcbfc3e/macports-ports (master):

libsvg: fix build

Closes: #66971

Changed 14 months ago by amadeus24

Attachment: main.2.log added

comment:3 Changed 14 months ago by amadeus24

Resolution: fixed
Status: closedreopened

Cleaned and tried to install again, but with same error:

:info:build svg_image.c:274:2: error: implicit declaration of function 'png_set_gray_1_2_4_to_8' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build png_set_gray_1_2_4_to_8 (png);

comment:4 Changed 14 months ago by jmroot (Joshua Root)

Resolution: fixed
Status: reopenedclosed

Your log shows you are still using the old Portfile, just as in the last ticket. You have to selfupdate to get the latest changes.

Note: See TracTickets for help on using tickets.