#47683: gdal @1.11.2_1 +netcdf build failure ------------------------------+-------------------------------- Reporter: john.w.robbins@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: ------------------------------+-------------------------------- OS 10.10.3, latest Macports. Without netcdf variant, gdal installs without issue. Netcdf installed through Macports [netcdf @4.3.3.1_1+dap+netcdf4 (active)]. Receiving this error message: {{{ Error: org.macports.build for port gdal returned: command execution failed Please see the log file for port gdal for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/main.log }}} A tail of the log file gives this information: {{{ :info:build "_png_write_info", referenced from: :info:build PNGDataset::CreateCopy(char const*, GDALDataset*, int, char**, int (*)(double, char const*, void*), void*) in pngdataset.o :info:build "_png_write_rows", referenced from: :info:build PNGDataset::CreateCopy(char const*, GDALDataset*, int, char**, int (*)(double, char const*, void*), void*) in pngdataset.o :info:build ld: symbol(s) not found for architecture x86_64 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make[1]: *** [libgdal.la] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.11.2' :info:build make: *** [check-lib] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.11.2' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.11.2" && /usr/bin/make -j8 -w :info:build Exit code: 2 :error:build org.macports.build for port gdal returned: command execution failed :debug:build Error code: CHILDSTATUS 85829 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 "portbuild::build_main org.macports.build" ("eval" body line 1) invoked from within "eval $procedure $targetname" :info:build Warning: targets not executed for gdal: org.macports.activate org.macports.build org.macports.destroot org.macports.install }}} Any thoughts? Thanks! -- Ticket URL: <https://trac.macports.org/ticket/47683> MacPorts <https://www.macports.org/> Ports system for OS X