Opened 12 years ago

Closed 12 years ago

#35953 closed defect (fixed)

autotrace: build fails with libpng 1.5

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: autotrace

Description

While trying to update autotrace @0.31.1, Revision 5 this error occurs:

input-png.c: In function 'handle_warning':
input-png.c:45: error: dereferencing pointer to incomplete type
input-png.c: In function 'handle_error':
input-png.c:53: error: dereferencing pointer to incomplete type
input-png.c: In function 'read_png':
input-png.c:160: error: dereferencing pointer to incomplete type
input-png.c:161: error: dereferencing pointer to incomplete type
input-png.c:187: error: dereferencing pointer to incomplete type
input-png.c:188: error: dereferencing pointer to incomplete type
input-png.c:192: error: dereferencing pointer to incomplete type
input-png.c:193: error: dereferencing pointer to incomplete type
input-png.c:196: error: dereferencing pointer to incomplete type
input-png.c:197: error: dereferencing pointer to incomplete type

This certainly means that the installed version of

  libpng @1.5.12_0 (active)

is not correct. It should be libpng14. At least the working /opt/local/bin/autotrace from autotrace @0.31.1_4 (active) has listed:

	/opt/local/lib/libpng14.14.dylib (compatibility version 26.0.0, current version 26.0.0)

Attachments (1)

main.log (12.4 KB) - added by ballapete (Peter "Pete" Dyballa) 12 years ago.
main.log

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

main.log

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Keywords: libpng14 libpng15 removed
Summary: autotrace needs libpng14autotrace needs libpng version 1.4

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

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned
Summary: autotrace needs libpng version 1.4autotrace: build fails with libpng 1.5

autotrace needs to be patched for libpng 1.5 compatibility.

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

r97333 (patch taken from gentoo)

Note: See TracTickets for help on using tickets.