[MacPorts] #36742: exact-image: error: invalid use of incomplete type 'struct png_info_def' (was: exact-image @0.8.4_1 - build failure on osx 10.8)

MacPorts noreply at macports.org
Fri Oct 26 12:36:13 PDT 2012


#36742: exact-image: error: invalid use of incomplete type 'struct png_info_def'
--------------------------+--------------------------------
  Reporter:  paoloyx@…    |      Owner:  macports-tickets@…
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.1.2
Resolution:               |   Keywords:
      Port:  exact-image  |
--------------------------+--------------------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)


Old description:

> MacOsX 10.8 (MountainLion), Xcode4.3, Trying to install exact-image
> 0.8.4_1. As building with ''clang'' gives an error, according to
> [https://trac.macports.org/wiki/ProblemHotlist#compiler| 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.

New description:

 MacOsX 10.8 (MountainLion), Xcode4.3, Trying to install exact-image
 0.8.4_1. As building with ''clang'' gives an error, according to
 [wiki:ProblemHotlist#compiler| 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.

--

Comment:

 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 [ticket:33798 update the port to a newer version].

-- 
Ticket URL: <https://trac.macports.org/ticket/36742#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list