Opened 11 years ago

Closed 7 years ago

#43003 closed defect (invalid)

gdal @1.10.1_4 +curl +geos +hdf4 +hdf5 +jasper +mysql5 +netcdf build failure

Reported by: William.Capehart@… Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: cooljeanius (Eric Gallager), petrrr
Port: gdal

Description

GDAL is providing me with the following errors:

:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/ogr/ogrsf_frmts/pdf'
:info:build /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/libtool --mode=compile --tag=CXX /usr/bin/clang++ -pipe -Os -arch x86_64 -DHAVE_SSE_AT_COMPILE_TIME  -Wall  -I.. -I../.. -I../mem -I../../../frmts/mem -I../../../frmts/pdf -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/port -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/gcore -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/alg -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/ogr -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/ogr/ogrsf_frmts -DOGR_ENABLED -I/opt/local/include -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/port -I/opt/local -I/opt/local/include -I/opt/local/include -I/opt/local -I/opt/local/include -I/opt/local -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local -I/opt/local/include -I/opt/local -I/opt/local/include  -c -o ../o/ogrpdfdriver.lo ogrpdfdriver.cpp
:info:build In file included from hdf5dataset.cpp:36:
:info:build In file included from /opt/local/include/hdf5.h:24:
:info:build /opt/local/include/H5public.h:61:13: fatal error: 'mpi.h' file not found
:info:build #   include <mpi.h>
:info:build             ^

and

:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/frmts/hdf4/hdf-eos'
:info:build /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/libtool --mode=compile --tag=CC /usr/bin/clang -pipe -Os -arch x86_64 -DHAVE_SSE_AT_COMPILE_TIME  -Wall -Wdeclaration-after-statement  -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/port -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/gcore -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/alg -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/ogr -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/ogr/ogrsf_frmts -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/ogr -I. -I.. -DOGR_ENABLED -I/opt/local/include -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/port -I/opt/local -I/opt/local/include -I/opt/local/include -I/opt/local -I/opt/local/include -I/opt/local -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local -I/opt/local/include -I/opt/local -I/opt/local/include   -c -o ../../o/EHapi.lo EHapi.c
:info:build libtool: compile:  /usr/bin/clang++ -pipe -Os -arch x86_64 -DHAVE_SSE_AT_COMPILE_TIME -Wall -I.. -I../.. -I../mem -I../../../frmts/mem -I../../../frmts/pdf -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/port -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/gcore -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/alg -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/ogr -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/ogr/ogrsf_frmts -DOGR_ENABLED -I/opt/local/include -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/port -I/opt/local -I/opt/local/include -I/opt/local/include -I/opt/local -I/opt/local/include -I/opt/local -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local -I/opt/local/include -I/opt/local -I/opt/local/include -c ogrpdfdriver.cpp  -fno-common -DPIC -o ../o/.libs/ogrpdfdriver.o
:info:build libtool: compile:  /usr/bin/clang -pipe -Os -arch x86_64 -DHAVE_SSE_AT_COMPILE_TIME -Wall -Wdeclaration-after-statement -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/port -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/gcore -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/alg -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/ogr -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/ogr/ogrsf_frmts -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/ogr -I. -I.. -DOGR_ENABLED -I/opt/local/include -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/port -I/opt/local -I/opt/local/include -I/opt/local/include -I/opt/local -I/opt/local/include -I/opt/local -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local -I/opt/local/include -I/opt/local -I/opt/local/include -c EHapi.c  -fno-common -DPIC -o ../../o/.libs/EHapi.o
:info:build In file included from netcdfdataset.cpp:30:
:info:build ./netcdfdataset.h:30:9: warning: '_NETCDFDATASET_H_INCLUDED_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
:info:build #ifndef _NETCDFDATASET_H_INCLUDED_
:info:build         ^~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build ./netcdfdataset.h:31:9: note: '_NETCDFATASET_H_INCLUDED_' is defined here; did you mean '_NETCDFDATASET_H_INCLUDED_'?
:info:build #define _NETCDFATASET_H_INCLUDED_
:info:build         ^~~~~~~~~~~~~~~~~~~~~~~~~
:info:build         _NETCDFDATASET_H_INCLUDED_
:info:build 1 error generated.
:info:build make[2]: *** [../o/hdf5dataset.lo] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/frmts/hdf5'
:info:build make[1]: *** [hdf5-install-obj] Error 2
:info:build make[1]: *** Waiting for unfinished jobs....

and finally

:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/ogr/ogrsf_frmts/pdf'
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/ogr/ogrsf_frmts'
: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.10.1/ogr'
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-1.10.1/frmts/wms'
: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.10.1/frmts'
:info:build make: *** [frmts-target] 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.10.1'

Log file is attached

Attachments (1)

gdl_main.log (2.9 MB) - added by William.Capehart@… 11 years ago.
gdal log file

Change History (12)

Changed 11 years ago by William.Capehart@…

Attachment: gdl_main.log added

gdal log file

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

Cc: seanasy@… removed
Owner: changed from macports-tickets@… to seanasy@…

comment:2 Changed 11 years ago by petrrr

Cc: Peter.Danecek@… added

Cc Me!

comment:3 Changed 11 years ago by petrrr

I have seen this before. The problem here probably arises from the fact that you installed with some MPI variant active. This port fails to handle this correctly. Can you confirm a MPI variant is active?

A fast workaround would be to deactivate the currently installed hdf5-18 port and install w/o a MPI variant. (If this is possible).

Of cause, this port still needs fixing!

comment:4 Changed 11 years ago by William.Capehart@…

There is indeed MPI Variants active in several HDF5-18 Dependancies (netcdf, ncarg, gnudatalanguage).

Deactivating hdf5-18 (which also requires other things to be deactivated) produces the mpi error.

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

Owner: changed from seanasy@… to macports-tickets@…

This port is no longer maintained. See #44038.

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

Can you try again and tell me what you get? Thanks!

comment:7 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:8 Changed 10 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:9 Changed 10 years ago by petrrr

Cc: Peter.Danecek@… removed

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

Owner: changed from macports-tickets@… to Veence
Status: newassigned

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

Resolution: invalid
Status: assignedclosed

GDAL 1 doesn't exist anymore.

Note: See TracTickets for help on using tickets.