[Fdo-trac] [fdo-trac] #999: Build failures in Ubuntu 22.04 LTS

FDO trac_fdo at osgeo.org
Thu Aug 18 08:50:28 PDT 2022


#999: Build failures in Ubuntu 22.04 LTS
--------------------------+------------------------
 Reporter:  jng           |        Owner:  jng
     Type:  defect        |       Status:  assigned
 Priority:  major         |    Milestone:
Component:  Build System  |      Version:
 Severity:  3             |   Resolution:
 Keywords:                |  External ID:
--------------------------+------------------------
Description changed by jng:

Old description:

> Building FDO when trying to use all available system libs fails in Ubuntu
> 22.04 LTS due to the following environmental/lib changes:
>
> FDOCommon:
>  * System `xalan-c` is now `1.12`, which removes several macros that
> break compilation of `TransformerXalan.cpp`
>  * Usage of `FILE` internal implementation details for testing read/write
> capabilities in `FdoIoFileStream` that are no longer valid in this
> environment.
> MySQL Provider:
>  * System `libmysqlclient` no longer ships the `my_global.h` header and
> no longer defines `my_bool` (see:
> https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-1.html#mysqld-8-0-1-compiling)
> OWS:
>  * References to the long deprecated `std::auto_ptr` that should now be
> `std::unique_ptr`
> WMS/WFS Provider:
>  * Link failure on `pthread_nonshared`. We can probably just get rid of
> these link references.

New description:

 Building FDO when trying to use all available system libs fails in Ubuntu
 22.04 LTS due to the following environmental/lib changes:

 FDOCommon:
  * System `xalan-c` is now `1.12`, which removes several macros that break
 compilation of `TransformerXalan.cpp`
  * Usage of `FILE` internal implementation details for testing read/write
 capabilities in `FdoIoFileStream` that are no longer valid in this
 environment.
 MySQL Provider:
  * System `libmysqlclient` no longer ships the `my_global.h` header and no
 longer defines `my_bool` (see:
 https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-1.html#mysqld-8-0-1-compiling)
 OWS:
  * References to the long deprecated `std::auto_ptr` that should now be
 `std::unique_ptr`
 WMS/WFS Provider:
  * Link failure in `UnitTest` executable on `pthread_nonshared`. We can
 probably just get rid of these link references.

--
-- 
Ticket URL: <https://trac.osgeo.org/fdo/ticket/999#comment:1>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list