Opened 10 years ago

Closed 10 years ago

#47683 closed defect (invalid)

gdal @1.11.2_1 +netcdf build failure

Reported by: john.w.robbins@… Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: gdal

Description

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!

Attachments (1)

gdal_main.log (2.5 MB) - added by john.w.robbins@… 10 years ago.
complete gdal failure log file

Change History (5)

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to vince@…
Port: gdal added

In the future, please fill in the Port field and Cc the port maintainers (port info --maintainers gdal), if any.

Please attach the complete main.log file after running port clean on the port

Changed 10 years ago by john.w.robbins@…

Attachment: gdal_main.log added

complete gdal failure log file

comment:2 Changed 10 years ago by Veence (Vincent)

Sorry, my Internet hitch has been broken for the three previous weeks. It should be fixed next Monday, so I’ll try to tackle this as soon as everything works again.

Last edited 10 years ago by Veence (Vincent) (previous) (diff)

comment:3 Changed 10 years ago by john.w.robbins@…

I wish to withdraw this ticket. After complete uninstall of all ports and re-installation, I had no problem with gdal +netcdf installation. Must have been a conflicting port. Sorry for any inconvenience.

comment:4 Changed 10 years ago by Veence (Vincent)

Resolution: invalid
Status: newclosed

No problem. Sorry for the delay, caused by a flaky Internet access on my side. It's fixed now (at last).

Note: See TracTickets for help on using tickets.