Bug 277823 - devel/matreshka: Build fails in package phase
Summary: devel/matreshka: Build fails in package phase
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL: https://pkg-status.freebsd.org/beefy1...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-20 01:20 UTC by Alastair Hogge
Modified: 2024-04-09 22:57 UTC (History)
2 users (show)

See Also:
fernape: maintainer-feedback? (agh)


Attachments
Restore build; update (30.23 KB, patch)
2024-04-05 00:11 UTC, Alastair Hogge
agh: maintainer-approval+
Details | Diff
Restore build; update (30.24 KB, patch)
2024-04-05 04:00 UTC, Alastair Hogge
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alastair Hogge 2024-03-20 01:20:06 UTC
Log:
https://pkg-status.freebsd.org/beefy16/data/132amd64-default/9f8772775dc8/logs/matreshka-21.0_1.log

Log excerpt:
> pkg-static: Unable to access file /wrkdirs/usr/ports/devel/matreshka/work/stage/usr/local/lib/matreshka/wsse/libmatreshka-soap-wsse-12.2.so.20:No such file or directory
> pkg-static: Unable to access file /wrkdirs/usr/ports/devel/matreshka/work/stage/usr/local/lib/matreshka/wsse/libmatreshka-soap-wsse-12.2.so.20.0:No such file or directory
> pkg-static: Unable to access file /wrkdirs/usr/ports/devel/matreshka/work/stage/usr/local/lib/matreshka/xml/libmatreshka-xml-12.2.so:No such file or directory
> pkg-static: Unable to access file /wrkdirs/usr/ports/devel/matreshka/work/stage/usr/local/lib/matreshka/xml/libmatreshka-xml-12.2.so.20:No such file or directory
> pkg-static: Unable to access file /wrkdirs/usr/ports/devel/matreshka/work/stage/usr/local/lib/matreshka/xml/libmatreshka-xml-12.2.so.20.0:No such file or directory
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/devel/matreshka
> =>> Cleaning up wrkdir
> ===>  Cleaning for matreshka-21.0_1
> build of devel/matreshka | matreshka-21.0_1 ended at Wed Mar 20 01:10:51 UTC 2024
> build time: 00:44:22
> !!! build failure encountered !!!
Comment 1 Alastair Hogge 2024-03-20 04:48:08 UTC
Can reproduce locally on all AMD64 releases and -CURRENT.

Working build/install on my current desktop was 1500003 on 2023-11-19.
Comment 2 Alastair Hogge 2024-03-20 04:58:40 UTC
s/1500003/1500013/
Comment 3 Alastair Hogge 2024-03-20 09:14:05 UTC
The shared library version numbers are sync'd with the GNAT compiler. Giving the recent[1] update for GNAT-12 to 12.3.0, matreshka needs an updated pkg-plist.

1: https://cgit.freebsd.org/ports/commit/?id=8d9daace01d0b71130cd0e8fbfcf4dc987ff756c
Comment 4 Alastair Hogge 2024-04-05 00:11:58 UTC
Created attachment 249725 [details]
Restore build; update

* Cannot test Oracle DB, so remove from OPTIONS
* Increase build log verbosity
* Prefix Port with "ada-"
* Restore build following update to GNAT-12
* Sync with upstream
Comment 5 Alastair Hogge 2024-04-05 00:15:20 UTC
[TESTPORT] poudriere-testport devel/ada-matreshka:
[TESTPORT] main-amd64-current: PASS
[TESTPORT] 13_2-amd64-release: PASS
[TESTPORT] 13_3-amd64-release: PASS
[TESTPORT] 13_3-i386-release: PASS
[TESTPORT] 14_0-amd64-release: PASS
[TESTPORT] main-i386-current: FAIL
[TESTPORT] 13_2-i386-release: FAIL
[TESTPORT] 14_0-i386-release: FAIL
Comment 6 Alastair Hogge 2024-04-05 04:00:54 UTC
Created attachment 249728 [details]
Restore build; update

Update commit log with PR.
Comment 7 Alastair Hogge 2024-04-09 01:29:19 UTC
> Fernando Apesteguía <fernape@FreeBSD.org> has asked Alastair Hogge
> <agh@riseup.net> for maintainer-feedback:
> Bug 277823: devel/matreshka: Build fails in package phase
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277823

Hello,

What feedback are you after?
Comment 8 Fernando Apesteguía freebsd_committer freebsd_triage 2024-04-09 07:55:30 UTC
(In reply to Alastair Hogge from comment #7)
Sorry, the comment was lost somehow.
My question is why the renaming of the port to ada-*.
We don't seem to follow that convention.
Comment 9 Alastair Hogge 2024-04-09 22:56:06 UTC
(In reply to Fernando Apesteguía from comment #8)
> My question is why the renaming of the port to ada-*.
> We don't seem to follow that convention.

My mistake, thinking language prefixes were core to the structure of the Ports Tree, not addressed piecemeal. I will redo, and upload patch without the prefix.

Thanks.
Comment 10 Alastair Hogge 2024-04-09 22:57:46 UTC
Comment on attachment 249728 [details]
Restore build; update

Patch is incorrect, will upload correct patch leaving matreshka in devel/matreshka.