[MacPorts] #35948: grace build fail after libpng related change
#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@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
#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 --------------------------------+------------------------------------------- Comment(by bcbarnes@…): for what it's worth, the povray port seems to have similar errors: this may be widespread after the libpng change. I will wait on opening a povray ticket. -- Ticket URL: <https://trac.macports.org/ticket/35948#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 --------------------------------+------------------------------------------- Comment(by angelo.graziosi@…): The same occurs on Lion 10.7.4 and Xcode 4.4.1 with all command line tools installed. -- Ticket URL: <https://trac.macports.org/ticket/35948#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35948: grace build fail after libpng related change --------------------------------+------------------------------------------- Reporter: bcbarnes@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: grace --------------------------------+------------------------------------------- Changes (by macsforever2000@…): * keywords: grace libpng => -- Ticket URL: <https://trac.macports.org/ticket/35948#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35948: grace build fail after libpng related change --------------------------------+------------------------------------------- Reporter: bcbarnes@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: haspatch | Port: grace --------------------------------+------------------------------------------- Changes (by ryandesign@…): * keywords: => haspatch * cc: jvianalopes@… (added) Comment: Duplicate #35962 has a link to a [https://gist.github.com/1183385 patch]. -- Ticket URL: <https://trac.macports.org/ticket/35948#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35948: grace build fail after libpng related change --------------------------------+------------------------------------------- Reporter: bcbarnes@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: haspatch | Port: grace --------------------------------+------------------------------------------- Comment(by dstaple@…): I am also experiencing this problem, using OS X 10.8.1 and Xcode 4.4.1. The error also persists for different compilers. This isn't surprising considering that it's a libpng related error: Installing apple-gcc42 was a giant waste of time. (Thanks a lot, [https://trac.macports.org/wiki/ProblemHotlist ProblemHotList].) Anyway, all three of these fail in a similar fashion: sudo port install grace sudo port install grace configure.compiler=llvm-gcc-4.2 sudo port install grace configure.compiler=apple-gcc-4.2 configure.cxx=g++-apple-4.2 -- Ticket URL: <https://trac.macports.org/ticket/35948#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35948: grace build fail after libpng related change --------------------------------+------------------------------------------- Reporter: bcbarnes@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Keywords: haspatch | Port: grace --------------------------------+------------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => ryandesign@… * status: new => assigned -- Ticket URL: <https://trac.macports.org/ticket/35948#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35948: grace: build fails with libpng 1.5 ---------------------------------+------------------------------------------ Reporter: bcbarnes@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: haspatch Port: grace | ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: r97409 -- Ticket URL: <https://trac.macports.org/ticket/35948#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35948: grace: build fails with libpng 1.5 ---------------------------------+------------------------------------------ Reporter: bcbarnes@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: haspatch Port: grace | ---------------------------------+------------------------------------------ Comment(by dstaple@…): I am still getting the same error. {{{ sudo port install grace }}} gives {{{ Error: Processing of port grace failed }}} The main log file looks the the same as before. Am I missing something? -- Ticket URL: <https://trac.macports.org/ticket/35948#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35948: grace: build fails with libpng 1.5 ---------------------------------+------------------------------------------ Reporter: bcbarnes@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: haspatch Port: grace | ---------------------------------+------------------------------------------ Comment(by ryandesign@…): Did you first run: {{{ sudo port clean grace sudo port selfupdate }}} If not, try that. -- Ticket URL: <https://trac.macports.org/ticket/35948#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35948: grace: build fails with libpng 1.5 ---------------------------------+------------------------------------------ Reporter: bcbarnes@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: haspatch Port: grace | ---------------------------------+------------------------------------------ Comment(by dstaple@…): Yes, I did try {{{ sudo port clean grace }}} and {{{ sudo port selfupdate }}} although not necessarily in that order. I also tried uninstalling libpng (and the packages that depend on it) prior to installing grace, but that didn't help. I uninstalled macports altogether and am now in the process of reinstalling. Maybe a stupid idea, but grace was the only package installed and I have to leave my computer for an hour shortly anyway. -- Ticket URL: <https://trac.macports.org/ticket/35948#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35948: grace: build fails with libpng 1.5 ---------------------------------+------------------------------------------ Reporter: bcbarnes@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: haspatch Port: grace | ---------------------------------+------------------------------------------ Comment(by dstaple@…): Uninstalling and reinstalling macports did the job. I'm relieved that grace is working but frustrated that I wasted so much time uninstalling and reinstalling packages. Just bad luck that I upgraded my ports in the short window when grace was broken, and needed to use grace during that time. Thanks for fixing it so quickly. -- Ticket URL: <https://trac.macports.org/ticket/35948#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35948: grace: build fails with libpng 1.5 ---------------------------------+------------------------------------------ Reporter: bcbarnes@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: haspatch Port: grace | ---------------------------------+------------------------------------------ Comment(by ryandesign@…): Perhaps also you selfupdated too quickly after the fix was committed. Fixes are only propagated from the Subversion repository to the rsync server every thirty minutes. -- Ticket URL: <https://trac.macports.org/ticket/35948#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts