Bug 286608 - audio/jack: Error compiling with SOSSO option
Summary: audio/jack: Error compiling with SOSSO option
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:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-05 16:34 UTC by Goran Mekić
Modified: 2025-06-01 22:50 UTC (History)
2 users (show)

See Also:
dev: maintainer-feedback+


Attachments
jackit.log (5.31 KB, text/plain)
2025-05-05 16:34 UTC, Goran Mekić
no flags Details
jack.patch (691 bytes, patch)
2025-05-18 10:43 UTC, Goran Mekić
no flags Details | Diff
Fix build with SOSSO option after waf update patch. (1.18 KB, patch)
2025-05-24 18:50 UTC, Florian Walpen
dev: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Goran Mekić 2025-05-05 16:34:47 UTC
Created attachment 260179 [details]
jackit.log

Patches are not applied cleanly. I attached the log of "make -DBATCH all deinstall install clean".
Comment 1 Goran Mekić 2025-05-18 10:43:10 UTC
Created attachment 260503 [details]
jack.patch

My guess is that the patch is already in the sources. I tried compiling with and without SOSSO and it builds. As the patch I removed is for waf (the build system), not the code, no functionality should be changed.
Comment 2 Goran Mekić 2025-05-21 10:38:11 UTC
The proposed patch totally disables SOSSO, so please ignore my clumsy attempt to fix the build.
Comment 3 Florian Walpen 2025-05-24 13:13:20 UTC
Hi Meka,

sorry for the long wait, I was drowning in work at my new job. There is a second patch to fix this in bug #285953 (which actually introduced) the problem, but it seems to be ignored by the committer.
How about we migrate that patch to this PR here and then call for it to be committed? I'll probably do that later today, still working through my backlog of missed FreeBSD duties.

Cheers,

Flo
Comment 4 Florian Walpen 2025-05-24 18:50:33 UTC
Created attachment 260692 [details]
Fix build with SOSSO option after waf update patch.

This fixes the build of audio/jack with SOSSO option set. The sources used for SOSSO already include the waf update that was brought in by bug #285953.
Comment 5 Goran Mekić 2025-05-26 09:11:23 UTC
Hello Florian,

Just take your time and I hope your new job is fun! As for the patch, it works, but please bump PORTREVISION. Thank you so much for the patch!
Comment 6 Zsolt Udvari freebsd_committer freebsd_triage 2025-06-01 13:01:32 UTC
(In reply to Florian Walpen from comment #4)
Option-depend patch should be EXTRA_PATCHES (see [1], Example 3).

[1] https://docs.freebsd.org/en/books/porters-handbook/book/#slow-patch-extra
Comment 7 Florian Walpen 2025-06-01 22:45:18 UTC
(In reply to Goran Mekić from comment #5)

@Meka, why bump PORTREVISION? There's no functional change apart from fixing the build, or am I missing something?
Comment 8 Florian Walpen 2025-06-01 22:50:25 UTC
(In reply to Zsolt Udvari from comment #6)

> Option-depend patch should be EXTRA_PATCHES (see [1], Example 3).

It's not obvious to me whether this applies to downloaded patches, and how that would work. For example we don't have a full path to the patch, which seems required for EXTRA_PATCHES?