#37962: Error: org.macports.build for port gnuplot returned: command execution failed ---------------------------+-------------------------------- Reporter: jp+macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: ---------------------------+-------------------------------- I am attempting to install gnuplot with 'sudo port install gnuplot'. I have tried 'sudo port clean gnuplot' with no luck. Here is the output of the failed install: {{{ ---> Computing dependencies for gnuplot ---> Fetching archive for gnuplot ---> Attempting to fetch gnuplot-4.6.1_0+aquaterm+luaterm+pangocairo+x11.darwin_10.x86_64.tbz2 from http://packages.macports.org/gnuplot ---> Attempting to fetch gnuplot-4.6.1_0+aquaterm+luaterm+pangocairo+x11.darwin_10.x86_64.tbz2 from http://lil.fr.packages.macports.org/gnuplot ---> Attempting to fetch gnuplot-4.6.1_0+aquaterm+luaterm+pangocairo+x11.darwin_10.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gnuplot ---> Fetching distfiles for gnuplot ---> Verifying checksum(s) for gnuplot ---> Extracting gnuplot ---> Applying patches to gnuplot ---> Configuring gnuplot ---> Building gnuplot Error: org.macports.build for port gnuplot returned: command execution failed Please see the log file for port gnuplot for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_gnuplot/gnuplot/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port gnuplot failed }}} Here is the end of main.log: {{{ :info:build /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../term -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -D_REE NTRANT -I/opt/local/include/cairo -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/inc lude/libpng15 -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -O2 -arch x86_64 -Obj C -F/opt/local/Library/Frameworks -c termdoc.c :info:build /usr/bin/gcc-4.2 -O2 -arch x86_64 -ObjC -F/opt/local/Library/Frameworks -L/opt/local/l ib -arch x86_64 -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -o doc2gih doc2gih.o termdoc.o -framework Foundation -framework AquaTerm -F/op t/local/Library/Frameworks -L/opt/local/lib -lz -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1. 0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -lintl :info:build ./doc2gih ./gnuplot.doc gnuplot.gih :info:build dyld: Library not loaded: /opt/local/lib/libpng14.14.dylib :info:build Referenced from: /opt/local/lib/libcairo.2.dylib:info:build Reason: image not found :info:build make[2]: *** [gnuplot.gih] Trace/BPT trap:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_gnuplot/gnuplot/work/gnuplot-4.6.1/docs' :info:build make[1]: *** [all-recursive] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sour ces_rsync.macports.org_release_ports_math_gnuplot/gnuplot/work/gnuplot-4.6.1' :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_math_gnuplot/gnuplot/work/gnuplot-4.6.1' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsy nc.macports.org_release_ports_math_gnuplot/gnuplot/work/gnuplot-4.6.1" && /usr/bin/make -j16 -w al l :info:build Exit code: 2 :error:build org.macports.build for port gnuplot returned: command execution failed :debug:build Error code: CHILDSTATUS 4227 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 gnuplot: org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Please see the log file for port gnuplot for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_gnuplot/gnuplot/main.log }}} I tried to 'sudo port activate libpng @1.4.5_0' and then install gnuplot again, but this time main.log says: {{{ info:build Making all in docs :info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_gnuplot/gnuplot/work/gnuplot-4.6.1/docs' :info:build ./doc2gih ./gnuplot.doc gnuplot.gih :info:build dyld: Library not loaded: /opt/local/lib/libpng15.15.dylib :info:build Referenced from: /opt/local/lib/libpangocairo-1.0.0.dylib :info:build Reason: image not found :info:build make[2]: *** [gnuplot.gih] Trace/BPT trap :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_gnuplot/gnuplot/work/gnuplot-4.6.1/docs' :info:build make[1]: *** [all-recursive] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_gnuplot/gnuplot/work/gnuplot-4.6.1' :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_math_gnuplot/gnuplot/work/gnuplot-4.6.1' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_gnuplot/gnuplot/work/gnuplot-4.6.1" && /usr/bin/make -j16 -w all :info:build Exit code: 2 :error:build org.macports.build for port gnuplot returned: command execution failed :debug:build Error code: CHILDSTATUS 5106 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 gnuplot: org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Please see the log file for port gnuplot for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_gnuplot/gnuplot/main.log }}} Any guidance would be appreciated. Thanks! -- Ticket URL: <https://trac.macports.org/ticket/37962> MacPorts <http://www.macports.org/> Ports system for Mac OS