[MacPorts] #36094: gmsh @2.5.0_1 update error - build failure
#36094: gmsh @2.5.0_1 update error - build failure --------------------------------+------------------------------------------- Reporter: aeronova@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: gmsh | Port: --------------------------------+------------------------------------------- Hello all, I got the following error when I tried upgrading gmsh on my Mac 10.6.8: {{{ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gmsh/gmsh/work/gmsh-2.5.0-source/Graphics/gl2png.cpp :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gmsh/gmsh/work/gmsh-2.5.0-source/Graphics/gl2png.cpp: In function ‘void create_png(FILE*, PixelBuffer*, int)’: :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gmsh/gmsh/work/gmsh-2.5.0-source/Graphics/gl2png.cpp:60: error: ‘Z_DEFAULT_COMPRESSION’ was not declared in this scope :info:build make[2]: *** [CMakeFiles/gmsh.dir/Graphics/gl2png.cpp.o] Error 1 :info:build make[2]: *** Waiting for unfinished jobs.... :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gmsh/gmsh/work/gmsh-2.5.0-source' :info:build make[1]: *** [CMakeFiles/gmsh.dir/all] Error 2 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gmsh/gmsh/work/gmsh-2.5.0-source' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gmsh/gmsh/work/gmsh-2.5.0-source' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gmsh/gmsh/work/gmsh-2.5.0-source" && /usr/bin/make -j2 -w all :info:build Exit code: 2 :error:build org.macports.build for port gmsh returned: command execution failed :debug:build Error code: CHILDSTATUS 77496 2 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: targets not executed for gmsh: org.macports.install org.macports.build org.macports.destroot :notice:build Please see the log file for port gmsh for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gmsh/gmsh/main.log }}} Looks like it has something to do with libpng. -- Ticket URL: <https://trac.macports.org/ticket/36094> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36094: gmsh @2.5.0_1 update error - build failure --------------------------------+------------------------------------------- Reporter: aeronova@… | Owner: Christophe.Prudhomme@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: gmsh --------------------------------+------------------------------------------- Changes (by ciserlohn@…): * keywords: gmsh => * owner: macports-tickets@… => Christophe.Prudhomme@… * port: => gmsh Comment: Please try a clean install: {{{ $ sudo port clean gmsh $ sudo port -d install gmsh }}} and attach the log file if it fails. In the future please remember to cc the maintainer and fill in the port field. For keyword usage see [wiki:DraftKeywordGuidelines]. -- Ticket URL: <https://trac.macports.org/ticket/36094#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36094: gmsh @2.5.0_1 update error - build failure --------------------------------+------------------------------------------- Reporter: aeronova@… | Owner: Christophe.Prudhomme@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: gmsh --------------------------------+------------------------------------------- Changes (by ciserlohn@…): * type: update => defect -- Ticket URL: <https://trac.macports.org/ticket/36094#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36094: gmsh @2.5.0_1 update error - build failure --------------------------------+------------------------------------------- Reporter: aeronova@… | Owner: Christophe.Prudhomme@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: gmsh --------------------------------+------------------------------------------- Comment(by aeronova@…): I followed the instruction, clean then install, and I've attached the complete log. For a quick check, plz see the below: {{{ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gmsh/gmsh/work/gmsh-2.5.0-source/Graphics/gl2png.cpp: In function ‘void create_png(FILE*, PixelBuffer*, int)’: :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gmsh/gmsh/work/gmsh-2.5.0-source/Graphics/gl2png.cpp:60: error: ‘Z_DEFAULT_COMPRESSION’ was not declared in this scope :info:build make[2]: *** [CMakeFiles/gmsh.dir/Graphics/gl2png.cpp.o] Error 1 :info:build make[2]: *** Waiting for unfinished jobs.... :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gmsh/gmsh/work/gmsh-2.5.0-source' :info:build make[1]: *** [CMakeFiles/gmsh.dir/all] Error 2 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gmsh/gmsh/work/gmsh-2.5.0-source' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gmsh/gmsh/work/gmsh-2.5.0-source' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gmsh/gmsh/work/gmsh-2.5.0-source" && /usr/bin/make -j2 -w all :info:build Exit code: 2 :error:build org.macports.build for port gmsh returned: command execution failed :debug:build Error code: CHILDSTATUS 80629 2 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: targets not executed for gmsh: org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Please see the log file for port gmsh for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gmsh/gmsh/main.log }}} -- Ticket URL: <https://trac.macports.org/ticket/36094#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36094: gmsh @2.5.0_1 update error - build failure --------------------------------+------------------------------------------- Reporter: aeronova@… | Owner: Christophe.Prudhomme@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: gmsh --------------------------------+------------------------------------------- Changes (by ciserlohn@…): * cc: aeronova@… (removed) Comment: If you're the ticket reporter there is no need to cc yourself. -- Ticket URL: <https://trac.macports.org/ticket/36094#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36094: gmsh: error: ‘Z_DEFAULT_COMPRESSION’ was not declared in this scope -------------------------+------------------------------------ Reporter: aeronova@… | Owner: Christophe.Prudhomme@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: gmsh | -------------------------+------------------------------------ -- Ticket URL: <https://trac.macports.org/ticket/36094#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36094: gmsh: error: ‘Z_DEFAULT_COMPRESSION’ was not declared in this scope -------------------------+------------------------------------ Reporter: aeronova@… | Owner: Christophe.Prudhomme@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: gmsh | -------------------------+------------------------------------ Changes (by ryandesign@…): * cc: david.libault@… (added) Comment: Has duplicate #36185. -- Ticket URL: <https://trac.macports.org/ticket/36094#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36094: gmsh: error: ‘Z_DEFAULT_COMPRESSION’ was not declared in this scope -------------------------+------------------------------------ Reporter: aeronova@… | Owner: Christophe.Prudhomme@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: gmsh | -------------------------+------------------------------------ Changes (by ryandesign@…): * status: new => closed * cc: ryandesign@… (added) * resolution: => fixed Comment: r98771 -- Ticket URL: <https://trac.macports.org/ticket/36094#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts