Summary: | graphics/gdal: fails to build on 14.1 because of missing files | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Kurt Jaeger <pi> | ||||||||
Component: | Individual Port(s) | Assignee: | Po-Chuan Hsieh <sunpoet> | ||||||||
Status: | Closed FIXED | ||||||||||
Severity: | Affects Only Me | CC: | 000.fbsd, freebsdbugs, julien, mord0d, pi, vishwin | ||||||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(sunpoet) |
||||||||
Version: | Latest | ||||||||||
Hardware: | Any | ||||||||||
OS: | Any | ||||||||||
Attachments: |
|
Description
Kurt Jaeger
2024-06-08 13:17:14 UTC
Can confirm. - FreeBSD 14.1-RELEASE-p0 - poudriere-devel 3.4.99.20240424 Log tail: ===> Building gdal-3.9.0 pkg-static: Unable to access file /wrkdirs/usr/ports/graphics/gdal/work/stage/usr/local/share/gdal/gmlasconf.xml:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/graphics/gdal/work/stage/usr/local/share/gdal/gmlasconf.xsd:No such file or directory *** Error code 1 Stop. make: stopped in /usr/ports/graphics/gdal I cannot reproduce this with default configuration. Do you use any non-default configuration and/or options? (In reply to Po-Chuan Hsieh from comment #2) I've tested graphics/gdal on a newly-built 14.1-RELEASE poudriere jail. And I don't think it is related to 14.1. Created attachment 251865 [details]
default-settings
Created attachment 251866 [details]
failing-settings
I've added the failing settings and the default settings, and they differ by a lot. So I should probably dig into this to find out which settings cause the problem. Will be traveling, so this will take time. (In reply to Kurt Jaeger from comment #4) (In reply to Kurt Jaeger from comment #5) (In reply to Kurt Jaeger from comment #6) Check the XERCES option. It is the build dependency of GMLAS driver. It failed for me in the Poudriere (poudriere-devel-3.4.99.20240122_1) on FreeBSD 13.3 too. The error is the same 3 files: gmlasconf.xml, gmlasconf.xsd and osmconf.ini. I have disabled XERCES and SQLITE for a long time, I have package from previous build gdal-3.8.5 on FreeBSD 13.2 where these options are also disabled but the build went without error. Shouldn't these files be made conditional in pkg-plist? %%DATADIR%%/gmlasconf.xml and %%DATADIR%%/gmlasconf.xsd need the %%XERCES%% PLIST_SUB. Attached patch fixes it for me (disabled XERCES and SQLITE), I didn't check other options if there should be other conditional files. Created attachment 252526 [details]
add %%XERCES%% and %%SQLITE%% to pkg-plist
Fixes disabled options XERCES and SQLITE
It should be fixed in ports 47f8c40769987ae666b565f91d95c95b52eb9732. Thanks. Hello, would it be possible to merge this in 2024Q3? thanks! (In reply to Po-Chuan Hsieh from comment #14) Thank you ! |