Opened 12 years ago
Last modified 12 years ago
#36742 closed defect
exact-image: error: invalid use of incomplete type 'struct png_info_def' — at Version 1
Reported by: | paoloyx@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | ryandesign@… | |
Port: | exact-image |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
MacOsX 10.8 (MountainLion), Xcode4.3, Trying to install exact-image 0.8.4_1. As building with clang gives an error, according to building using another compiler, i'm trying to build using llvm-gcc-4.2. But i receive the following error:
---> Computing dependencies for exact-image ---> Fetching archive for exact-image ---> Attempting to fetch exact-image-0.8.4_1.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/exact-image ---> Attempting to fetch exact-image-0.8.4_1.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/exact-image ---> Attempting to fetch exact-image-0.8.4_1.darwin_12.x86_64.tbz2 from http://packages.macports.org/exact-image ---> Fetching distfiles for exact-image ---> Verifying checksum(s) for exact-image ---> Extracting exact-image ---> Applying patches to exact-image ---> Configuring exact-image ---> Building exact-image Error: org.macports.build for port exact-image returned: command execution failed Please see the log file for port exact-image for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_exact-image/exact-image/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port exact-image failedfailed
Then i've tried to build using apple-gcc-4.2, but i receive the same error as before.
Change History (3)
Changed 12 years ago by paoloyx@…
Attachment: | main_llvm_gcc42.log added |
---|
Changed 12 years ago by paoloyx@…
Attachment: | main_apple_gcc42.log added |
---|
Build log using apple-gcc-4.2
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Description: | modified (diff) |
Summary: | exact-image @0.8.4_1 - build failure on osx 10.8 → exact-image: error: invalid use of incomplete type 'struct png_info_def' |
Both logs show the error:
error: invalid use of incomplete type 'struct png_info_def'
which indicates an incompatibility with libpng 1.5. The first thing we should try is to update the port to a newer version.
Note: See
TracTickets for help on using
tickets.
Build log using llvm-gcc-4.2