[MacPorts] #66710: gdal 3.4.3 build failure

MacPorts noreply at macports.org
Wed Jan 18 05:05:55 UTC 2023


#66710: gdal 3.4.3 build failure
-------------------------+--------------------
  Reporter:  EJFielding  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.8.0
Resolution:              |   Keywords:
      Port:  gdal        |
-------------------------+--------------------
Description changed by EJFielding:

Old description:

> I was running a `port upgrade outdated` after some time, and it found
> that my `gdal` port was broken and tried to rebuild it but failed. There
> are a bunch of errors listed in the `main.log` file that is attached. The
> gdal is with these variants `gdal
> @3.4.3_0+hdf5+netcdf+openmpi+postgresql13+proj8`. It was working before I
> did the port upgrade, but there were a lot of ports upgraded as it had
> been maybe two months since the last upgrade. This is one of many similar
> errors:
> ```
> info:build In file included from hdf5dataset.cpp:36:
> :info:build ./hdf5vfl.h:83:5: error: cannot initialize a member subobject
> of type 'H5FD_class_value_t' (aka 'int') with an lvalue of type 'const
> char[5]'
> :info:build     "vsil",                     /* name */
> :info:build     ^~~~~~
> ```

New description:

 I was running a `port upgrade outdated` after some time, and it found that
 my `gdal` port was broken and tried to rebuild it but failed. There are a
 bunch of errors listed in the `main.log` file that is attached. The gdal
 is with these variants `gdal
 @3.4.3_0+hdf5+netcdf+openmpi+postgresql13+proj8`. It was working before I
 did the port upgrade, but there were a lot of ports upgraded as it had
 been maybe two months since the last upgrade. This is one of many similar
 errors:
 {{{
 info:build In file included from hdf5dataset.cpp:36:
 :info:build ./hdf5vfl.h:83:5: error: cannot initialize a member subobject
 of type 'H5FD_class_value_t' (aka 'int') with an lvalue of type 'const
 char[5]'
 :info:build     "vsil",                     /* name */
 :info:build     ^~~~~~
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/66710#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list