[MacPorts] #35948: grace build fail after libpng related change

MacPorts noreply at macports.org
Mon Sep 3 10:05:40 PDT 2012


#35948: grace build fail after libpng related change
--------------------------------+-------------------------------------------
 Reporter:  bcbarnes@…          |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:                                       
 Keywords:  grace libpng        |        Port:  grace                                
--------------------------------+-------------------------------------------
 The latest revision of grace, 5.1.22_7, fails to build on OS X 10.8.1 with
 Xcode 4.4.1 and latest command line tools.

 {{{

 :info:build /usr/bin/clang -pipe -O2 -arch x86_64 -I.. -I.  -I../Xbae
 -I/opt/local/include -I/opt/local/include -I/opt/local/include  -c -o
 rstdrv.o rstdrv.c
 :info:build rstdrv.c:888:23: error: incomplete definition of type 'struct
 png_struct_def'
 :info:build     if (setjmp(png_ptr->jmpbuf)) {
 :info:build                ~~~~~~~^
 :info:build /opt/local/include/png.h:854:16: note: forward declaration of
 'struct png_struct_def'
 :info:build typedef struct png_struct_def png_struct;
 :info:build                ^
 :info:build rstdrv.c:1030:22: error: use of undeclared identifier
 'Z_NO_COMPRESSION'
 :info:build             (double) Z_NO_COMPRESSION, (double)
 Z_BEST_COMPRESSION, 1.0);
 :info:build                      ^
 :info:build 2 errors generated.
 :info:build make[1]: *** [rstdrv.o] Error 1
 :info:build make[1]: *** Waiting for unfinished jobs....
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_grace/grace/work/grace-5.1.22/src'
 }}}

 The change which prompted this upgrade was apparently a libpng bump:
 {{{
 Revision 97300, 2.2 KB (checked in by rmstonecipher at macports.org, 14 hours
 ago)
 graphics/libpng upgraded to version 1.5.12, 232 dependent ports revision
 bumped due to library version number change
 }}}

 {{{
 Apple clang version 4.0 (tags/Apple/clang-421.0.60) (based on LLVM 3.1svn)
 Target: x86_64-apple-darwin12.1.0
 Thread model: posix
 }}}

 grace is listed as "nomaintainer" so I cc'd the person who checked in this
 portfile revision.   ryandesign is the libpng maintainer so he may be
 interested in this too.

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


More information about the macports-tickets mailing list