[MacPorts] #36094: gmsh @2.5.0_1 update error - build failure

MacPorts noreply at macports.org
Tue Sep 11 00:52:05 PDT 2012


#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


More information about the macports-tickets mailing list