From nobody Wed Nov 22 03:01:35 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SZmH36y7Fz51d0P for ; Wed, 22 Nov 2023 03:01:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SZmH35cgNz3Sl9 for ; Wed, 22 Nov 2023 03:01:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700622095; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=x66S24Kwpj5qT5dQzABszyEGno9WPxxhBRjY2diB8JQ=; b=VNd5vqkae5z4yU6pZIz1QUSKCXWOJF7dXRFy2NDBTVaL6bjMekJt+rYMZhmQE0hItLrVLo 9bsN8j5G+i11Z9MKUcRk9e3H3VsSmpHRVC7p5srGogj5NWh/mEKNHAKB8mvcsEM/XKLCOM BBedq9O2b91ImkWgQ4gGNU4LBNT21VNaWqI9fITUvR04hCvzB1mUEt37dx+MCN/9k8x5KV aPabgu+2vjatW6TU6gaIMdZDxFNWhGez4MvqkHjCezdKdJJGOHjZA9hDeRNFM84rUvuuvf hNwioqxAPtTcq1vqZ5+XumMr8+MEnMHCJKRi8HWlsFSaFoWuAPJnOWoxOI2Udw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700622095; a=rsa-sha256; cv=none; b=OWW6GuNAtPKF0UCWDrZaHDC+MXnWj1JqnC3mZQ3dvBt7E32eCh8p/oIORtyzf6YHB1xapM FuVrunyzDuSc0iawD5iVBAd3ZlGB1JqZlp+NQPBrB15R/dXZ067g0ew3osLXJGoEWDujUv VAz5PFCJMe9S5e44yCt56HYOrRoyIi+7pFNeBAKQRJuAtbd65iNaLzjbBa91NQx1tXxQ8f UvTrmpmKcLYewkuO9U5Q7gpmcXNj/aJ/gqCxqIaGD3A3OnMqHAjrkiSdK2quJKlwwUOihY 3n4eKF9hDzhAPrv54k0jr+J5TkzlfVxfAy5j95vnkUgf7UODD1wMYzTz0Id4EQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SZmH34hYdz128P for ; Wed, 22 Nov 2023 03:01:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3AM31Z6D097454 for ; Wed, 22 Nov 2023 03:01:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AM31ZP9097417 for ports-bugs@FreeBSD.org; Wed, 22 Nov 2023 03:01:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 275252] net/frr9: snmp issue Undefined symbol "netsnmp_enable_subagent" Date: Wed, 22 Nov 2023 03:01:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: yiftachswr@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: olivier@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275252 Bug ID: 275252 Summary: net/frr9: snmp issue Undefined symbol "netsnmp_enable_subagent" Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: olivier@freebsd.org Reporter: yiftachswr@gmail.com Flags: maintainer-feedback?(olivier@freebsd.org) Assignee: olivier@freebsd.org When installing on a fresh FreeBSD 14 machine FRR9 (or FRR8) it seems that = the snmp is broken: ``` root@freebsd-14:/usr/ports/net/frr9 # /usr/local/sbin/bgpd -v bgpd version 9.0.1 Copyright 1996-2005 Kunihiro Ishiguro, et al. configured with: '--enable-user=3Dfrr' '--enable-group=3Dfrr' '--enable-vty-group=3D= frrvty' '--enable-vtysh' '--disable-doc-html' '--sysconfdir=3D/usr/local/etc/frr' '--localstatedir=3D/var/run/frr' '--disable-nhrpd' '--disable-pathd' '--disable-ospfclient' '--disable-pimd' '--disable-pbrd' '--with-vtysh-pager=3Dcat' '--enable-backtrace' '--disable-config-rollbacks' '--disable-datacenter' '--enable-fpm' '--disable-ldpd' '--without-libpam' '--enable-rpki' '--disable-sharpd' '--disable-shell-access' '--enable-snmp' '--disable-tcmalloc' '--prefix=3D/usr/local' '--mandir=3D/usr/local/man' '--disable-silent-rules' '--infodir=3D/usr/local/share/info/' '--build=3Damd64-portbld-freebsd14.0' 'build_alias=3Damd64-portbld-freebsd1= 4.0' 'PKG_CONFIG=3Dpkgconf' 'PKG_CONFIG_LIBDIR=3D/usr/ports/net/frr9/work/.pkgconfig:/usr/local/libdata= /pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig' 'CC=3Dcc' 'CFLAGS=3D-O2 -pipe -fstack-protector-strong -fno-strict-aliasing= ' 'LDFLAGS=3D -L/usr/local/lib -L/usr/local/lib -fstack-protector-strong ' 'L= IBS=3D' 'CPPFLAGS=3D-I/usr/local/include -I/usr/local/include' 'CPP=3Dcpp' 'CXX=3Dc= ++' 'CXXFLAGS=3D-O2 -pipe -fstack-protector-strong -fno-strict-aliasing ' 'PYTHON=3D/usr/local/bin/python3.9' ``` but when trying to run FRR with snmp module on we see the following errors: ``` root@freebsd-14:/usr/ports/net/frr9 # bgpd -M snmp frr_init: loader error: dlopen(/usr/local/lib/frr/modules/bgpd_snmp.so): /usr/local/lib/libfrrsnmp.so.0: Undefined symbol "netsnmp_enable_subagent" frr_init: loader error: dlopen(/usr/local/lib/frr/modules/snmp.so): Cannot = open "/usr/local/lib/frr/modules/snmp.so" frr_init: loader error: dlopen(snmp): Shared object "snmp" not found, requi= red by "bgpd" ``` This issue is also mentioned here:=20 - OpenSense: https://github.com/opnsense/ports/issues/179 - PfSense: https://redmine.pfsense.org/issues/14491#change-68711 --=20 You are receiving this mail because: You are the assignee for the bug.=