[Bug 285180] net/samba420: Missing build dependency: devel/bison

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 05 Mar 2025 15:26:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285180

            Bug ID: 285180
           Summary: net/samba420: Missing build dependency: devel/bison
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: chris@chrullrich.net
                CC: samba@FreeBSD.org, sunpoet@FreeBSD.org
                CC: samba@FreeBSD.org, sunpoet@FreeBSD.org

Building net/samba420 in poudriere fails for lack of bison:

[00:02:51] [ 639/2665] Processing libcli/wsp/wsp_aqs_parser.y
[00:02:51] runner ['-d', '--no-line',
'/wrkdirs/usr/ports/net/samba420/work/samba-4.20.7/libcli/wsp/wsp_aqs_parser.y',
'-o', 'wsp_aqs_parser.tab.c']
[00:02:51] Waf: Leaving directory
`/wrkdirs/usr/ports/net/samba420/work/samba-4.20.7/bin/default'
[00:02:51] Build failed
[00:02:51] Traceback (most recent call last):
[00:02:51]   File
"/wrkdirs/usr/ports/net/samba420/work/samba-4.20.7/third_party/waf/waflib/Task.py",
line 350, in process
[00:02:51]     ret = self.run()
[00:02:51]           ^^^^^^^^^^
[00:02:51]   File "<string>", line 23, in f
[00:02:51]   File
"/wrkdirs/usr/ports/net/samba420/work/samba-4.20.7/third_party/waf/waflib/Task.py",
line 333, in exec_command
[00:02:51]     return self.generator.bld.exec_command(cmd, **kw)
[00:02:51]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[00:02:51]   File
"/wrkdirs/usr/ports/net/samba420/work/samba-4.20.7/third_party/waf/waflib/Context.py",
line 351, in exec_command
[00:02:51]     raise Errors.WafError('Program %s not found!' % cmd[0])
[00:02:51] waflib.Errors.WafError: Program -d not found!


In previous versions bison was apparently not always required (it's a
GSSAPI_BUILTIN_USES in all three ports), but 4.20 adds support for Windows
Search, and this is where it ends up failing.

Adding a BUILD_DEPENDS fixes the build.

-- 
You are receiving this mail because:
You are the assignee for the bug.