Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#56522 closed defect (fixed)

version 2.3.0.20180522_0 fails to compile

Reported by: aaschwanden (Andy Aschwanden) Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.4.4
Keywords: maintainer Cc:
Port: gdal

Description

Hi,

I currently have

 gdal @2.3.0_0+clang50+expat+geos+hdf5+mpich_devel+netcdf+postgresql10

installed. Updating to ersion 2.3.0.20180522_0 fails to compile:

_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-4243624/gdal/port  -DGDAL_COMPILATION -I/opt/local/include -c -o ../o/hfaentry.lo hfaentry.cpp
:info:build make[2]: *** wait: Interrupted system call.  Stop.
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build make[2]: *** [../o/hfaentry.lo] Interrupt: 2
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-4243624/gdal/frmts/hfa'

PS: I use clang50 and mpich_devel so I can compile CDO and other ports with OpenMP support. I hope the issues is not related to clang50.

Attachments (1)

main.log (2.1 MB) - added by aaschwanden (Andy Aschwanden) 3 years ago.
The whole main.log file

Change History (8)

Changed 3 years ago by aaschwanden (Andy Aschwanden)

Attachment: main.log added

The whole main.log file

comment:1 Changed 3 years ago by Veence (Vincent)

Ah. Darn. I had removed MPI support thinking no one was using it. I’m going to restore it.

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

Owner: set to Veence
Resolution: fixed
Status: newclosed

In ee3577f6dc5749916d3be01e41ece8f976857a78/macports-ports (master):

gdal: restore mpi support for netcdf/hdf5

comment:3 Changed 3 years ago by aaschwanden (Andy Aschwanden)

Thanks.

sudo port -vN install gdal +clang50 +expat +geos +hdf5 +mpich_devel +netcdf +postgresql10

now leads to:

--->  Fetching distfiles for gdal
Error: Need to select variant +mpich_devel
Error: Failed to fetch gdal: netcdf +mpich_devel is installed, so +mpich_devel needs to be selected for gdal
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port gdal failed

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

Uh. Give me five.

comment:5 Changed 3 years ago by Veence (Vincent)

I had forgotten to restore two lines. Please try again as soon as you get the new version.

comment:6 Changed 3 years ago by aaschwanden (Andy Aschwanden)

This works for me now.

Thanks.

comment:7 in reply to:  5 Changed 3 years ago by ryandesign (Ryan Schmidt)

Replying to Veence:

I had forgotten to restore two lines.

You now restored them in [5bad89d2ca18e0ffbaa1823064b304fcfc695e28/macports-ports].

Note: See TracTickets for help on using tickets.