Opened 7 years ago

Closed 7 years ago

#54470 closed defect (fixed)

gdal-2.2.1 +expat+hdf4+hdf5+mrsid+netcdf+gcc5: failed to build

Reported by: ForTozs Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: Cc:
Port: gdal

Description

I am getting build failure on gdal. Here is the last of the log output. I am running MacOS 10.12.5 and Xcode 8.3. Any ideas?

: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-2.2.1/ogr'
: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-2.2.1'
: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-2.2.1" && /usr/bin/make -j4 -w 
:info:build Exit code: 2
:info:build The following files would have been hidden from the build system by trace mode if they existed:
:info:build   /lib/x86_64-apple-darwin16/5.4.0
:info:build   /usr/gnu/include
:info:build   /usr/tmp
:error:build Failed to build gdal: command execution failed
:debug:build Error code: CHILDSTATUS 70148 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/main.log for details.

Attachments (1)

main.log (4.2 MB) - added by ForTozs 7 years ago.
main.log

Change History (5)

Changed 7 years ago by ForTozs

Attachment: main.log added

main.log

comment:1 Changed 7 years ago by kencu (Ken)

This looks kinda suspicious:

:info:build In file included from /opt/local/share/Geo_DSDK/Raster_DSDK/include/lt_types.h:28:0,
:info:build                  from mrsiddataset.cpp:63:
:info:build /opt/local/share/Geo_DSDK/Raster_DSDK/include/lt_platform.h:94:5: error: #error PLATFORM ERROR: unknown compiler
:info:build     #error PLATFORM ERROR: unknown compiler
:info:build      ^
:info:build In file included from mrsiddataset.cpp:63:0:
:info:build /opt/local/share/Geo_DSDK/Raster_DSDK/include/lt_types.h:72:5: error: #error NOT YET PORTED TO TARGET COMPILER
:info:build     #error NOT YET PORTED TO TARGET COMPILER
:info:build      ^
:info:build /opt/local/share/Geo_DSDK/Raster_DSDK/include/lt_types.h:131:5: error: #error NOT YET PORTED TO TARGET COMPILER
:info:build     #error NOT YET PORTED TO TARGET COMPILER
:info:build      ^

comment:2 Changed 7 years ago by mf2k (Frank Schima)

Cc: Veence removed
Owner: set to Veence
Status: newassigned

comment:3 in reply to:  1 Changed 7 years ago by ForTozs

Yes! Thank you! The problem I am having indeed lies with Mr. Sid. Installing without Mr. Sid fixed it. I don't really need Mr. Sid at the moment, so I have gdal working again.

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

Resolution: fixed
Status: assignedclosed

Great! Sorry I'm half in vacation so it might take longer for me to answer. Glad to know you were able to solve this.

Note: See TracTickets for help on using tickets.