Bug 266221 - science/libkml: latest commit broke several ports
Summary: science/libkml: latest commit broke several ports
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Po-Chuan Hsieh
URL: http://package19.nyi.freebsd.org/data...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-04 12:34 UTC by Thierry Thomas
Modified: 2023-09-29 16:21 UTC (History)
1 user (show)

See Also:
thierry: maintainer-feedback? (sunpoet)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry Thomas freebsd_committer freebsd_triage 2022-09-04 12:34:35 UTC
It seems that d71ac7da15cc8597e464a064c7a4ee5fb04874ad broke several ports:

/usr/local/bin/ld: /usr/local/lib/libkmlregionator.so.1: undefined reference
to `kmlconvenience::FeatureList::Save(boost::intrusive_ptr<kmldom::Container>)
const'
/usr/local/bin/ld: /usr/local/lib/libkmlregionator.so.1: undefined reference
to `kmlconvenience::AtomUtil::CreateBasicLink(std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > const&,
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > const&, std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
/usr/local/bin/ld: /usr/local/lib/libkmlregionator.so.1: undefined reference
to
`kmlconvenience::FeatureList::RegionSplit(boost::intrusive_ptr<kmldom::Region>
const&, unsigned long, kmlconvenience::FeatureList*)'
c++: error: linker command failed with exit code 1 (use -v to see invocation)


See https://www.mail-archive.com/freebsd-pkg-fallout@freebsd.org/msg1990249.html for graphics\/cimg or http://beefy18.nyi.freebsd.org/data/main-amd64-default/pcfc19930a459_se120d3b2d4/logs/cimg-3.1.6,3.log

And https://www.mail-archive.com/freebsd-pkg-fallout@freebsd.org/msg1990030.html or http://beefy15.nyi.freebsd.org/data/130i386-default/542fb2297a9e/logs/postgresql13-ogr_fdw-1.1.1_1.log for databases\/postgresql\-ogr_fdw

Or http://package19.nyi.freebsd.org/data/123amd64-default-build-as-user/a1a8a02eac5b/logs/paraview-5.10.1_3.log for science/paraview
Comment 1 Rainer Hurling freebsd_committer freebsd_triage 2022-09-04 13:07:22 UTC
Also true for graphics/qgis ...
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2022-09-04 15:20:40 UTC
I would revert it now. I'll investigate the issue when I have more free time.
Comment 3 Rainer Hurling freebsd_committer freebsd_triage 2022-09-04 15:22:53 UTC
(In reply to Po-Chuan Hsieh from comment #2)

Nice, that would be ok for me. Thanks!
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-09-04 15:31:35 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=357b6cc9c09c1d3eedd36f9d93757bd00cc0641e

commit 357b6cc9c09c1d3eedd36f9d93757bd00cc0641e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-09-04 15:24:42 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-09-04 15:24:42 +0000

    science/libkml: Revert 71a4cedd0383a76f847f0fa1ab32b9209df20959

    - Bump PORTREVISION for dependency and package change

    PR:             266221
    Reported by:    thierry

 science/libkml/Makefile                                   |  8 ++------
 science/libkml/distinfo                                   |  6 +++---
 .../files/patch-examples-domviewer-CMakeLists.txt (new)   |  7 +++++++
 .../files/patch-examples-engine-CMakeLists.txt (new)      | 10 ++++++++++
 .../libkml/files/patch-examples-gpx-CMakeLists.txt (new)  | 10 ++++++++++
 .../libkml/files/patch-examples-gx-CMakeLists.txt (new)   | 11 +++++++++++
 .../files/patch-examples-hellonet-CMakeLists.txt (new)    | 15 +++++++++++++++
 .../libkml/files/patch-examples-java-CMakeLists.txt (new) | 14 ++++++++++++++
 .../libkml/files/patch-examples-kml-CMakeLists.txt (new)  | 10 ++++++++++
 .../files/patch-examples-python-CMakeLists.txt (new)      | 10 ++++++++++
 .../files/patch-examples-regionator-CMakeLists.txt (new)  | 10 ++++++++++
 .../libkml/files/patch-examples-xsd-CMakeLists.txt (new)  | 12 ++++++++++++
 science/libkml/pkg-plist                                  | 13 ++++++-------
 13 files changed, 120 insertions(+), 16 deletions(-)
Comment 5 commit-hook freebsd_committer freebsd_triage 2023-09-29 16:21:42 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e17f183ac7cb12907ae44e3e4d71258de6e6afda

commit e17f183ac7cb12907ae44e3e4d71258de6e6afda
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-09-29 16:13:35 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-09-29 16:13:35 +0000

    science/libkml: Update to newer snapshot (916a801)

    - Re-apply 71a4cedd0383a76f847f0fa1ab32b9209df20959
    - Clean up BUILD_DEPENDS: all of them are in the ports tree for years
    - Bump PORTREVISION of dependent port (graphics/gdal) for shlib change
    - Bump PORTREVISION for package change

    Local patches have been merged by upstream in 916a801 [1].
    Tested all dependent ports of graphics/gdal in case of potential breakage.
    - math/openturns and science/paraview are skipped due to ceres-solver breakage
    - graphics/mapnik is skipped due to potential boost-libs breakage [2][3]

    Changes:        https://github.com/libkml/libkml/commits/master
    Reference:      https://github.com/libkml/libkml/commit/916a801ed3143ab82c07ec108bad271aa441da16 [1]
                    https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p3b548e384d0b_sfc4a676827/logs/mapnik-3.1.0_3.log [2]
                    https://pkg-status.freebsd.org/beefy16/data/132amd64-default/3b548e384d0b/logs/mapnik-3.1.0_3.log [3]
    PR:             266221, 266252

 graphics/gdal/Makefile                                    |  1 +
 science/libkml/Makefile                                   |  8 ++++----
 science/libkml/distinfo                                   |  6 +++---
 .../files/patch-examples-domviewer-CMakeLists.txt (gone)  |  7 -------
 .../files/patch-examples-engine-CMakeLists.txt (gone)     | 10 ----------
 .../libkml/files/patch-examples-gpx-CMakeLists.txt (gone) | 10 ----------
 .../libkml/files/patch-examples-gx-CMakeLists.txt (gone)  | 11 -----------
 .../files/patch-examples-hellonet-CMakeLists.txt (gone)   | 15 ---------------
 .../files/patch-examples-java-CMakeLists.txt (gone)       | 14 --------------
 .../libkml/files/patch-examples-kml-CMakeLists.txt (gone) | 10 ----------
 .../files/patch-examples-python-CMakeLists.txt (gone)     | 10 ----------
 .../files/patch-examples-regionator-CMakeLists.txt (gone) | 10 ----------
 .../libkml/files/patch-examples-xsd-CMakeLists.txt (gone) | 12 ------------
 science/libkml/pkg-plist                                  | 13 +++++++------
 14 files changed, 15 insertions(+), 122 deletions(-)