Bug 279866 - ports-mgmt/synth: update to 3.01
Summary: ports-mgmt/synth: update to 3.01
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dima Panov
URL:
Keywords:
Depends on: 279804
Blocks:
  Show dependency treegraph
 
Reported: 2024-06-19 20:06 UTC by Jonathan Chen
Modified: 2024-08-12 09:06 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (fluffy)


Attachments
3.01 git-diff (2.25 KB, patch)
2024-06-19 20:06 UTC, Jonathan Chen
no flags Details | Diff
Refined patch for ports-mgmt/synth/Makefile adding +wxneeded using elfctl(1) (1.18 KB, patch)
2024-06-20 20:08 UTC, Trond Endrestøl
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Chen 2024-06-19 20:06:18 UTC
Created attachment 251583 [details]
3.01 git-diff

3.01 introduces SUBPACKAGES support

Additionally, update the port to use gnat12 and misc/ini_file_manager-11
Comment 1 Robert William Vesterman 2024-06-20 05:40:01 UTC
I'm wondering about the "Additionally, update the port to use gnat12 and misc/ini_file_manager-11":

Would the current lack of those things be (or at least plausibly be) the cause of bug #279870? I just opened that a few minutes ago:

Synth's build used to be failing because misc/ini_file_manager's build failed, but as of today that was fixed (bug #278922). Unfortunately, synth's build now fails for a different reason (which is beyond my understanding), described in the bug I just opened.

Also, thanks for this - I would love to see 3.01 happen!
Comment 2 Jonathan Chen 2024-06-20 08:38:47 UTC
(In reply to Robert William Vesterman from comment #1)

Currently, synth-2.13 will fail to build because:
  1. it needs to be patched to work with ini_file_manager-11
  2. the adacurses port is incomplete. Bug 279804
Comment 3 Trond Endrestøl 2024-06-20 20:08:19 UTC
Created attachment 251592 [details]
Refined patch for ports-mgmt/synth/Makefile adding +wxneeded using elfctl(1)

+wxneeded is necessary on systems having sysctl kern.elf64.allow_wx=0
I think everyone will benefit from this small addition.
Comment 4 Trond Endrestøl 2024-06-20 21:49:05 UTC
(In reply to Trond Endrestøl from comment #3)

I hit one snag while trying the new version:

Bind
   [gprbind]      synth.bexch
   [Ada]          synth.ali
error: "terminal_interface.ali" not found, "terminal_interface.ads" must be compiled
gprbind: invocation of gnatbind failed
gprbuild: unable to bind synth.adb
*** Error code 4

Stop.
make: stopped in /xports/ports-mgmt/synth

Does anyone else see this?
Comment 5 Trond Endrestøl 2024-06-20 22:19:13 UTC
(In reply to Trond Endrestøl from comment #4)

Sorry for the false alarm. I fixed my devel/adacurses and all is good.
Comment 6 Dima Panov freebsd_committer freebsd_triage 2024-07-22 18:25:14 UTC
(In reply to Trond Endrestøl from comment #5)
>error: "terminal_interface.ali" not found, "terminal_interface.ads" must be compiled

Please share ur fix for adacurses
Comment 7 Trond Endrestøl 2024-07-22 22:41:17 UTC
(In reply to Dima Panov from comment #6)
It's no more magic than deleting the existing adacurses package in the package repository, and then rebuilding adacurses in an environment where ncurses 6.5 is available in base. I'm not sure if simply bumping PORTREVISION is sufficient for this case. Consumers such as ports-mgmt/synth must also be forcefully rebuilt after rebuilding adacurses.
Comment 8 Trond Endrestøl 2024-07-22 22:43:47 UTC
(In reply to Trond Endrestøl from comment #7)
Maybe this showcases why ports-mgmt/synth should be statically linked.
Comment 9 Jonathan Chen 2024-07-22 22:49:06 UTC
(In reply to Dima Panov from comment #6)

The fix for adacurses in the Bug 279804
Comment 10 commit-hook freebsd_committer freebsd_triage 2024-08-12 09:05:07 UTC
A commit in branch main references this bug:

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

commit 8df72f129d791a1d80b2d47e43fb2569ba865c95
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2024-08-12 09:03:00 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2024-08-12 09:03:58 +0000

    ports-mgmt/synth: update to 3.01 release (+)

    PR:     279866

 ports-mgmt/synth/Makefile | 12 +++++++-----
 ports-mgmt/synth/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 8 deletions(-)
Comment 11 Dima Panov freebsd_committer freebsd_triage 2024-08-12 09:06:52 UTC
landed, thanks!