NetBSD Problem Report #51421
From www@NetBSD.org Wed Aug 17 17:00:42 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id D06A07A266
for <gnats-bugs@gnats.NetBSD.org>; Wed, 17 Aug 2016 17:00:41 +0000 (UTC)
Message-Id: <20160817170040.EEC3E7A2D3@mollari.NetBSD.org>
Date: Wed, 17 Aug 2016 17:00:40 +0000 (UTC)
From: denafcm@gmail.com
Reply-To: denafcm@gmail.com
To: gnats-bugs@NetBSD.org
Subject: net/net-snmp doesn't build on FreeBSD 10+
X-Send-Pr-Version: www-1.0
>Number: 51421
>Category: pkg
>Synopsis: net/net-snmp doesn't build on FreeBSD 10+
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Aug 17 17:05:00 +0000 2016
>Last-Modified: Mon Jul 13 20:12:08 +0000 2020
>Originator: Dennis Lindroos
>Release: pkgsrc-2016Q2
>Organization:
>Environment:
FreeBSD 10.2-PRERELEASE
>Description:
Package net/net-snmp-5.7.3 does not build on FreeBSD 10, configure fails with "configure: error: Perl support requires --enable-shared", and two other problems.
This should be added to patches/patch-af, freebsd1* should not match freebsd10 (does anybody use freebsd1 anyway ?:)
--- configure.orig 2014-12-08 22:23:37.000000000 +0200
+++ configure 2016-08-17 17:59:41.062784000 +0300
@@ -13023,7 +13023,7 @@
hardcode_shlibpath_var=no
;;
- freebsd1*)
+ freebsd1)
ld_shlibs=no
;;
@@ -14017,7 +14017,7 @@
shlibpath_var=LD_LIBRARY_PATH
;;
-freebsd1*)
+freebsd1)
dynamic_linker=no
;;
In patches/patch-agent_mibgroup_hardware_fsys_fsys_getfsstats.c, the "ifdef __APPLE__" should also include __FreeBSD__ (or similar..)
In patches/patch-agent_mibgroup_hardware_cpu_cpu__sysctl.c should add a semi-colon to the line 46 "snmp_log(LOG_ERR, "sysctl machdep.cpu_brand failed (errno %d)\n", errno)".
>How-To-Repeat:
Build with the "perl" option (which is in PKG_SUGGESTED_OPTIONS anyway).
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->freebsd-pkg-people
Responsible-Changed-By: leot@NetBSD.org
Responsible-Changed-When: Thu, 18 Aug 2016 13:30:21 +0000
Responsible-Changed-Why:
Over to FreeBSD Bug People
Responsible-Changed-From-To: freebsd-pkg-people->sevan
Responsible-Changed-By: sevan@NetBSD.org
Responsible-Changed-When: Thu, 18 Aug 2016 14:19:36 +0000
Responsible-Changed-Why:
take
From: Sevan Janiyan <sevan@NetBSD.org>
To: "gnats-bugs@netbsd.org" <gnats-bugs@NetBSD.org>
Cc:
Subject: Re: pkg/51421: net/net-snmp doesn't build on FreeBSD 10+
Date: Thu, 18 Aug 2016 16:26:12 +0100
Hi Dennis,
Thanks for the patch, it seems that there are further issues with v11 &
up which remain to be addressed. Workaround for one issue is disabling
mibII/ipv6 support as per FreeBSD ports but I've not had a chance to
look into it yet.
Sevan
From: Sevan Janiyan <sevan@NetBSD.org>
To: "gnats-bugs@netbsd.org" <gnats-bugs@NetBSD.org>
Cc:
Subject: Re: pkg/51421: net/net-snmp doesn't build on FreeBSD 10+
Date: Fri, 12 Jun 2020 03:35:23 +0100
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--7NHkUF8tVHTDjH4VQqDHJDrpFvqGL3zzD
Content-Type: multipart/mixed; boundary="I1paWVTjIZRDH5KMcYefcGWgseNsBcFmS";
protected-headers="v1"
From: Sevan Janiyan <sevan@NetBSD.org>
To: "gnats-bugs@netbsd.org" <gnats-bugs@NetBSD.org>
Message-ID: <eb46db6f-dbcb-f8ca-ac45-48440405bf61@NetBSD.org>
Subject: Re: pkg/51421: net/net-snmp doesn't build on FreeBSD 10+
References: <pr-pkg-51421@gnats.netbsd.org>
<20160817170040.EEC3E7A2D3@mollari.NetBSD.org>
<20160817170500.250D37A2A8@mollari.NetBSD.org>
<4ff2ec37-0ec1-cc64-cb06-b9e36d5ec0e8@NetBSD.org>
In-Reply-To: <4ff2ec37-0ec1-cc64-cb06-b9e36d5ec0e8@NetBSD.org>
--I1paWVTjIZRDH5KMcYefcGWgseNsBcFmS
Content-Type: text/plain; charset=windows-1252
Content-Language: en-GB
Content-Transfer-Encoding: quoted-printable
With the 5.8 update the configure script is patched to support FreeBSD
version numbers 10 & above.
Still unable to build yet on 13-CURRENT due to
"error: if-mib/data_access/interface: *** This platform does not yet
support IF-MIB rewrites ***"
--I1paWVTjIZRDH5KMcYefcGWgseNsBcFmS--
--7NHkUF8tVHTDjH4VQqDHJDrpFvqGL3zzD
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEElwgxuAnr98OKuBdvyC3LQFM/SzsFAl7i6ewACgkQyC3LQFM/
SzvFxRAAlvBIvH58Y5sKxBX3bSRNyFkfPYEdEqrWEI1XW70T2l8Ob80Z0pD/O4HJ
eW2s0q4LEMblAJA7GuXUzfRyvaAN7h75+78uI/NzVA3ZL7dCSRgLrCF/oq7+bXFn
eIVINb2oF0+aIb3yroFWSlZHAyslSmFDvUpta3apyTELVVXo16/4nAX30o19Fyab
fhs7tAkKI+tb4pwAYr/GrGm8Yde0ddh+0KSkTwBw8+cU4OyoIAl0rR2cb8AHrgis
vUshwS25Kh+bpCIIczRehPCMCo5J1fsYjucdxQj2Sy+sk1yx4kXdgXexJBiN+HEc
evFNXfYHN7OPH9bW+f5YGZaEkmbKQ/dtYRoGDKgMajhlzPLzftQwXtaWW7QHXk4K
ojcCPy1STEY99UILG+Rad1IcHh6tZ2r5NVCwBbnQ82jWYLqlaA/8bBdePbLj60Ck
j3mesWMi35oECnX9LtAcygadHl75P/WcwVvKLjdZMU1MMd3bIUOmvAKSAnofh+M3
FjQuLQDXsijYmn3YXoA9+99Yy5vCJhGRym/v5KiqmmVZYr+lCV9Oakew5r4u7XYp
sbG/3Y6vL7p3DOFDViUcxm9Owvsf4UN8d2bHjMVTMXWMhy0FRMXA9g+i+M+ETWkf
gab0pmzVsZtywqkje/AzPRl3VoP2bi1BYOBj7SKjMBsk4ZHBvj4=
=VZCb
-----END PGP SIGNATURE-----
--7NHkUF8tVHTDjH4VQqDHJDrpFvqGL3zzD--
Responsible-Changed-From-To: sevan->pkg-manager
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Mon, 13 Jul 2020 20:12:08 +0000
Responsible-Changed-Why:
Reset to role account
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.