Bug 272757 - net/frr8: SNMP option fails to build
Summary: net/frr8: SNMP option fails to build
Status: Closed DUPLICATE of bug 273797
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Olivier Cochard
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-27 15:27 UTC by Brad Davis
Modified: 2023-09-28 17:31 UTC (History)
2 users (show)

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


Attachments
patch (604 bytes, patch)
2023-07-27 15:27 UTC, Brad Davis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brad Davis freebsd_committer freebsd_triage 2023-07-27 15:27:45 UTC
Created attachment 243650 [details]
patch

I am seeing a build failure with the SNMP option set:

configure: error: ISO C11 compiler support (with GNU extensions) is required.

Removing the SNMP_CFLAGS= line allows the build to succeed.
Comment 1 R. Christian McDonald 2023-09-15 13:39:10 UTC
This can be superseded by https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273797
Comment 2 Olivier Cochard freebsd_committer freebsd_triage 2023-09-28 15:23:35 UTC

*** This bug has been marked as a duplicate of bug 273797 ***
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-09-28 17:31:48 UTC
A commit in branch main references this bug:

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

commit cf8cec813d73b0ace176ae1d98b9358e8e2d02ae
Author:     Olivier Cochard <olivier@FreeBSD.org>
AuthorDate: 2023-09-28 16:32:46 +0000
Commit:     Olivier Cochard <olivier@FreeBSD.org>
CommitDate: 2023-09-28 17:31:12 +0000

    net/frr8: remove vtysh port option, housekeeping, fix build with SNMP

    Remove the vtysh port option due to upstream breakage. At this time, both
    net/frr8 and net/frr9 cannot be built without vtysh. This is an uncommon
    scenario and upstream does not currently test this build option.
    Also cleanup the Makefile and pkg-plist structure and ordering.

    PR:             272757
    Reported by:    R. Christian McDonald <rcm@rcm.sh>, brd
    Obtained from:  R. Christian McDonald <rcm@rcm.sh>

 net/frr8/Makefile  | 51 ++++++++++++++---------------
 net/frr8/pkg-plist | 95 ++++++++++++++++++++++++++++--------------------------
 2 files changed, 74 insertions(+), 72 deletions(-)