Gdal error during ports upgrade

Ted Kord teddy.kord at gmail.com
Wed Sep 11 14:01:49 PDT 2013


Hi

Uprading the ports fails at gdal with the error:

--->  Fetching distfiles for gdal
--->  Verifying checksums for gdal
--->  Extracting gdal
--->  Applying patches to gdal
--->  Configuring gdal
--->  Building gdal
Error: org.macports.build for port gdal returned: command execution failed

The last few lines of the log file are:

:info:build Undefined symbols:
:info:build   "_environ", referenced from:
:info:build       _CPLSpawnAsync in cpl_spawn.o
:info:build       _CPLSpawnAsync in cpl_spawn.o
:info:build ld: symbol(s) not found
:info:build collect2: ld returned 1 exit status
: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_ports_gis_gdal/gdal/work/gdal-1.10.1'
: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_ports_gis_gdal/gdal/work/gdal-1.10.1'
:info:build Command failed:  cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gis_gdal/gdal/work/gdal-1.10.1"
&& /usr/bin/make -j2 -w
:info:build Exit code: 2
:error:build org.macports.build for port gdal returned: command execution
failed
:debug:build Error code: CHILDSTATUS 48181 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 gdal: org.macports.install
org.macports.build org.macports.destroot
:notice:build Please see the log file for port gdal for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gis_gdal/gdal/main.log


Has there been a resolution to this?

Thanks

-- 
Best regards,

Theodore
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20130911/0ba3dc69/attachment.html>


More information about the macports-users mailing list