NetBSD Problem Report #47943
From www@NetBSD.org Wed Jun 19 11:08:00 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 5319B70B3B
for <gnats-bugs@gnats.NetBSD.org>; Wed, 19 Jun 2013 11:08:00 +0000 (UTC)
Message-Id: <20130619110758.D8C5370E80@mollari.NetBSD.org>
Date: Wed, 19 Jun 2013 11:07:58 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: recent update to libpcap breaks tcpdump, nmap and wireshark on Solaris
X-Send-Pr-Version: www-1.0
>Number: 47943
>Category: pkg
>Synopsis: recent update to libpcap breaks tcpdump, nmap and wireshark on Solaris
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: solaris-pkg-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jun 19 11:10:00 +0000 2013
>Closed-Date: Wed Jul 10 13:19:59 +0000 2013
>Last-Modified: Wed Jul 10 13:19:59 +0000 2013
>Originator: Jörn Clausen
>Release:
>Organization:
University of Bielefeld
>Environment:
>Description:
The recent update to net/libpcap breaks net/tcpdump
checking for local pcap library... not found
checking for i386-sun-solaris2.10-pcap-config... no
checking for pcap-config... /usr/pkgsrc/20130422/bin/pcap-config
checking for pcap_loop... no
configure: error: Report this to tcpdump-workers@lists.tcpdump.org, and include the
config.log file in your report. If you have downloaded libpcap from
tcpdump.org, and built it yourself, please also include the config.log
file from the libpcap source directory, the Makefile from the libpcap
source directory, and the output of the make process for libpcap, as
this could be a problem with the libpcap that was built, and we will
not be able to determine why this is happening, and thus will not be
able to fix it, without that information, as we have not been able to
reproduce this problem ourselves.
*** Error code 1
net/nmap
gcc -O2 -fpic -O -I/usr/include -I/usr/pkgsrc/20130422/include -I/usr/pkgsrc/20130422/include/gettext -I/usr/pkgsrc/20130422/include/freetype2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -O -I/usr/include -I/usr/pkgsrc/20130422/include -I/usr/pkgsrc/20130422/include/gettext -I/usr/pkgsrc/20130422/include/freetype2 -c ./pcap.c
./pcap.c:1466:1: error: conflicting types for 'pcap_offline_filter'
In file included from ./pcap-int.h:39:0,
from ./pcap.c:74:
and net/wireshark:
checking whether to use libpcap for packet capture... yes
checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking for pcap_open_live in -lpcap... no
checking for pcap_open_live in -lpcap with -lcfg -lodm... no
checking for pcap_open_live in -lpcap with -lpfring... no
configure: error: Can't link with library libpcap.
*** Error code 1
on Solaris. All three packages built successfully a few days ago. net/libpcap did build and install.
The detailed error messages from the config.logs for tcpdump and wireshark are identical:
configure:5843: gcc -o conftest -DINET6 -I/usr/inet6/include -O -I/usr/pkgsrc/20130422/include -I/usr/pkgsrc/20130422/include -L/usr/pkgsr
c/20130422/lib -Wl,-R/usr/pkgsrc/20130422/lib -lnsl -lsocket conftest.c -L/usr/pkgsrc/20130422/lib -Wl,-R,/usr/pkgsrc/20130422/lib -lpcap
>&5
Undefined first referenced
symbol in file
pcap_conf_bufmod /pkgsrc/source/pkgsrc/net/tcpdump/work.pkgsrc-i86/.buildlink/lib/libpcap.so
pcap_stats_dlpi /pkgsrc/source/pkgsrc/net/tcpdump/work.pkgsrc-i86/.buildlink/lib/libpcap.so
strioctl /pkgsrc/source/pkgsrc/net/tcpdump/work.pkgsrc-i86/.buildlink/lib/libpcap.so
pcap_alloc_databuf /pkgsrc/source/pkgsrc/net/tcpdump/work.pkgsrc-i86/.buildlink/lib/libpcap.so
pcap_process_pkts /pkgsrc/source/pkgsrc/net/tcpdump/work.pkgsrc-i86/.buildlink/lib/libpcap.so
pcap_process_mactype /pkgsrc/source/pkgsrc/net/tcpdump/work.pkgsrc-i86/.buildlink/lib/libpcap.so
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: error: ld returned 1 exit status
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->adam
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Wed, 19 Jun 2013 11:42:55 +0000
Responsible-Changed-Why:
Over to updater.
Responsible-Changed-From-To: adam->solaris-pkg-people
Responsible-Changed-By: adam@NetBSD.org
Responsible-Changed-When: Thu, 20 Jun 2013 15:10:30 +0000
Responsible-Changed-Why:
Updater does not have access to Solaris.
From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org
Cc: adam@NetBSD.org, solaris-pkg-people@NetBSD.org, pkgsrc-bugs@NetBSD.org,
gnats-admin@NetBSD.org
Subject: Re: pkg/47943 (recent update to libpcap breaks tcpdump,
nmap and wireshark on Solaris)
Date: Fri, 21 Jun 2013 09:02:34 +0200
> Updater does not have access to Solaris.
You broke it, you should fix it...
This
--- configure.orig 2013-03-25 14:51:40.000000000 +0000
+++ configure
@@ -8835,7 +8835,6 @@ echo "${ECHO_T}$ac_cv_lbl_have_siocglifc
#
# Needed for common functions used by
pcap-[dlpi,libdlpi].c
#
- SSRC="dlpisubs.c"
;;
*)
combined with this
.if ${OPSYS} == "SunOS"
CONFIGURE_ARGS+= --with-pcap=dlpi
.endif
is a contradiction. After removing patches/patch-configure, the library
contains the missing functions:
$ nm ./work.pkgsrc-i86/libpcap-1.4.0/.libs/libpcap.so | grep
pcap_conf_bufmod
[309] | 105276| 401|FUNC |GLOB |0 |12 |pcap_conf_bufmod
--
Jörn Clausen joern.clausen@uni-bielefeld.de
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld
From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org
Cc: adam@NetBSD.org, solaris-pkg-people@NetBSD.org, pkgsrc-bugs@NetBSD.org,
gnats-admin@NetBSD.org
Subject: Re: pkg/47943 (recent update to libpcap breaks tcpdump,
nmap and wireshark on Solaris)
Date: Fri, 21 Jun 2013 09:05:51 +0200
On 21.06.13 09:02, Jörn Clausen wrote:
> After removing patches/patch-configure
After removing the critical part, I should have said. The changes to the
man-page suffixes are still necessary.
--
Jörn Clausen joern.clausen@uni-bielefeld.de
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld
From: Jonathan Perkin <jperkin@pkgsrc.org>
To: gnats-bugs@NetBSD.org
Cc: solaris-pkg-people@NetBSD.org, gnats-admin@netbsd.org,
pkgsrc-bugs@netbsd.org, joern.clausen@uni-bielefeld.de
Subject: Re: pkg/47943 (recent update to libpcap breaks tcpdump, nmap and
wireshark on Solaris)
Date: Fri, 21 Jun 2013 09:35:48 +0100
> You broke it, you should fix it...
Well, please provide a patch which works, then. While regrettable, the
simple fact is that we have many orders of magnitude more illumos-based
users than legacy Solaris, and the priority is on supporting those
systems.
I try very hard not to break older SunOS releases but it isn't always
possible due to the lack of testing environments, and it is not clear if
we would be in violation of Oracle's licensing agreement if we were to
build one without a support contract.
So, we are reliant on users of these legacy systems to provide patches for
the rare cases where we have broken support, and if the patches look good
we will integrate them. Simply telling us that things are broken is not
helpful as we have no way of developing fixes.
Regards,
--
Jonathan Perkin www.perkin.org.uk
github.com/jperkin twitter.com/jperkin
From: =?iso-8859-2?Q?Adam_Ciarci=F1ski?= <adam@NetBSD.org>
To: =?iso-8859-1?Q?J=F6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
Cc: gnats-bugs@NetBSD.org,
solaris-pkg-people@NetBSD.org,
pkgsrc-bugs@NetBSD.org,
gnats-admin@NetBSD.org
Subject: Re: pkg/47943 (recent update to libpcap breaks tcpdump, nmap and wireshark on Solaris)
Date: Fri, 21 Jun 2013 11:40:41 +0200
>> After removing patches/patch-configure
>=20
> After removing the critical part, I should have said. The changes to =
the man-page suffixes are still necessary.
Can you confirm the following fixes the problem?
% cvs diff patches/patch-configure
Index: patches/patch-configure
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/pkgsrc/net/libpcap/patches/patch-configure,v
retrieving revision 1.2
diff -r1.2 patch-configure
5,12d4
< @@ -8835,7 +8835,6 @@ echo "${ECHO_T}$ac_cv_lbl_have_siocglifc
< #
< # Needed for common functions used by =
pcap-[dlpi,libdlpi].c
< #
< - SSRC=3D"dlpisubs.c"
< ;;
< =20
< *)
Kind regards,
Adam=
From: =?UTF-8?B?SsO2cm4gQ2xhdXNlbg==?= <joern.clausen@uni-bielefeld.de>
To: =?UTF-8?B?QWRhbSBDaWFyY2nFhHNraQ==?= <adam@NetBSD.org>
Cc: gnats-bugs@NetBSD.org, solaris-pkg-people@NetBSD.org,
pkgsrc-bugs@NetBSD.org, gnats-admin@NetBSD.org
Subject: Re: pkg/47943 (recent update to libpcap breaks tcpdump,
nmap and wireshark on Solaris)
Date: Fri, 21 Jun 2013 12:52:32 +0200
On 21.06.13 11:40, Adam Ciarciński wrote:
>>> After removing patches/patch-configure
>>
>> After removing the critical part, I should have said. The changes to the man-page suffixes are still necessary.
>
> Can you confirm the following fixes the problem?
>
>
> % cvs diff patches/patch-configure
> Index: patches/patch-configure
> ===================================================================
> RCS file: /cvsroot/pkgsrc/net/libpcap/patches/patch-configure,v
> retrieving revision 1.2
> diff -r1.2 patch-configure
> 5,12d4
> < @@ -8835,7 +8835,6 @@ echo "${ECHO_T}$ac_cv_lbl_have_siocglifc
> < #
> < # Needed for common functions used by pcap-[dlpi,libdlpi].c
> < #
> < - SSRC="dlpisubs.c"
> < ;;
> <
> < *)
I'm not 100% sure how to parse this. This takes back the removal of
'SSRC="dlpisubs.c"'? At the moment, I have this version of
patches/patch-configure in my source tree, and everything works for me:
--- configure.orig 2013-03-25 14:51:40.000000000 +0000
+++ configure
@@ -9986,8 +9985,6 @@ fi
# Individual cases can override this.
#
DYEXT="none"
-MAN_FILE_FORMATS=5
-MAN_MISC_INFO=7
case "$host_os" in
aix*)
@@ -10255,6 +10252,9 @@ fi
test "x$enable_shared" = "xno" && DYEXT="none"
+MAN_FILE_FORMATS=5
+MAN_MISC_INFO=7
+
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be
a program name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
NB: This works for me, i.e. on Solaris 10. I can't confirm this for
other flavors of Solaris.
--
Jörn Clausen joern.clausen@uni-bielefeld.de
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld
From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: Jonathan Perkin <jperkin@pkgsrc.org>
Cc: gnats-bugs@NetBSD.org, solaris-pkg-people@NetBSD.org,
gnats-admin@NetBSD.org, pkgsrc-bugs@NetBSD.org
Subject: Re: pkg/47943 (recent update to libpcap breaks tcpdump,
nmap and wireshark on Solaris)
Date: Fri, 21 Jun 2013 13:06:19 +0200
On 21.06.13 10:35, Jonathan Perkin wrote:
>> You broke it, you should fix it...
>
> Well, please provide a patch which works, then.
I did.
> While regrettable, the
> simple fact is that we have many orders of magnitude more illumos-based
> users than legacy Solaris,
How do you know?
> and the priority is on supporting those
> systems.
That was decided by who?
> Simply telling us that things are broken is not
> helpful as we have no way of developing fixes.
Okay, so if I find a problem, but lack the ability and knowledge to
develop a fix, I'll keep my mouth shut from now on.
But then, please, revise the list of supported operating systems and
clarify, that Solaris means "Solaris 11", but not any earlier releases.
--
Jörn Clausen joern.clausen@uni-bielefeld.de
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld
From: Tim Zingelman <zingelman@gmail.com>
To: Jonathan Perkin <jperkin@pkgsrc.org>
Cc: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern.clausen@uni-bielefeld.de>,
gnats-bugs@netbsd.org, solaris-pkg-people@netbsd.org, gnats-admin@netbsd.org,
pkgsrc-bugs@netbsd.org
Subject: Re: pkg/47943 (recent update to libpcap breaks tcpdump, nmap and
wireshark on Solaris)
Date: Fri, 21 Jun 2013 06:18:16 -0500
On Fri, Jun 21, 2013 at 6:06 AM, J=F6rn Clausen
<joern.clausen@uni-bielefeld.de> wrote:
> On 21.06.13 10:35, Jonathan Perkin wrote:
>> Simply telling us that things are broken is not helpful as we have no wa=
y of developing fixes.
You personally have no way, but please do not speak for all of pkgsrc
developers when you say things like this.
I am a pkgsrc developer and ONLY use 'legacy' Solaris. When Solaris
10 is sufficiently broken in pkgsrc, you will find me gone.
> Okay, so if I find a problem, but lack the ability and knowledge to devel=
op a fix, I'll keep my mouth shut from now on.
Please don't. While a patch is always much appreciated, trying to fix
this PR was on my todo list, but admittedly my time is limited at the
moment.
- Tim
From: Jonathan Perkin <jperkin@pkgsrc.org>
To: Tim Zingelman <zingelman@gmail.com>
Cc: =?iso-8859-1?Q?J=F6rn?= Clausen <joern.clausen@uni-bielefeld.de>,
gnats-bugs@netbsd.org, solaris-pkg-people@netbsd.org,
gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/47943 (recent update to libpcap breaks tcpdump, nmap and
wireshark on Solaris)
Date: Fri, 21 Jun 2013 12:42:17 +0100
Let me clarify:
- As someone who has worked on pkgsrc for Solaris for over a decade now,
and been a strong advocate for it, I would still love for us to support
as many releases as possible (I even had most of SunOS 4.x support done
at one point).
- There is no desire, and never will be at least on my part, to drop
support for older releases. It is the entire point of pkgsrc to be
portable to as many operating systems as possible.
- As part of my continued work on pkgsrc/Solaris I do not deliberately
set out to break older releases - on the contrary I will often do what
I can to avoid this, by adding conditionals for the correct OPSYS
version or PKGSRC_COMPILER, etc.
- Unfortunately, I am unable to test my changes on older releases, due to
the concerns regarding Oracle licensing, and therefore lack of access
to those systems.
Therefore:
- I am reliant on users of older releases to point out where we have
broken things and to help us to resolve these problems. "You broke it,
you fix it" is not helpful as I do not have the means necessary to fix
it.
- If Tim is monitoring solaris-pkg-people for patch-less PRs then I will
take back my assertion that they aren't helpful. My opinion on that
matter is based on the fact that there are 94 open PRs against
solaris-pkg-people, many of which do not include any suggested fix or
patch, and my concern has always been that all these do is clutter up
the PR database. Broken packages can simply be determined by results
sent to the pkgsrc-bulk list and will therefore remain current rather
than stagnate (we still have some open since 2005).
- It would be fantastic if we could get either:
- regular pbulk runs from yourselves, or
- access to older systems (Joyent provide access to a SmartOS machine
for pkgsrc developers).
to dynamically pick up these regressions.
So, that said, let's get back to the PR in hand.
I confess to being confused now. Originally the problem was described to
be missing symbols which may or may not be caused by the removal of
dlpisubs.c, however the latest update says that the only changes you have
made are for manual pages.
Please can you provide the full patch which works for you, I will verify
it on SmartOS, and if it looks good will commit it.
Thanks,
--
Jonathan Perkin www.perkin.org.uk
github.com/jperkin twitter.com/jperkin
From: =?UTF-8?B?SsO2cm4gQ2xhdXNlbg==?= <joern.clausen@uni-bielefeld.de>
To: Jonathan Perkin <jperkin@pkgsrc.org>
Cc: gnats-bugs@netbsd.org, solaris-pkg-people@netbsd.org,
gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/47943 (recent update to libpcap breaks tcpdump,
nmap and wireshark on Solaris)
Date: Fri, 21 Jun 2013 14:20:20 +0200
Let me also address the PR first, I will probably comment on the more
general issues later.
> - I am reliant on users of older releases to point out where we have
> broken things and to help us to resolve these problems. "You broke it,
> you fix it" is not helpful as I do not have the means necessary to fix
> it.
I was not talking to you, but to Adam, because I was under the
impression he committed these changes.
> I confess to being confused now. Originally the problem was described to
> be missing symbols which may or may not be caused by the removal of
> dlpisubs.c, however the latest update says that the only changes you have
> made are for manual pages.
In reply to Adam's mail I have sent my version of
patches/patch-configure, which only reverts his(?) removal of
SSRC="dlpisubs.c"
Everything else he/you have changed is okay.
> Please can you provide the full patch which works for you, I will verify
> it on SmartOS, and if it looks good will commit it.
I have a hard time believing that
- requesting '--with-pcap=dlpi' in Makefile
- removing dlpisubs.c in configure
at the same time has ever worked in SmartOS. NB: The package builds just
fine, it's the dependencies that don't compile any longer.
--
Jörn Clausen joern.clausen@uni-bielefeld.de
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld
From: Jonathan Perkin <jperkin@pkgsrc.org>
To: =?iso-8859-1?Q?J=F6rn?= Clausen <joern.clausen@uni-bielefeld.de>
Cc: gnats-bugs@netbsd.org, solaris-pkg-people@netbsd.org,
gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/47943 (recent update to libpcap breaks tcpdump, nmap and
wireshark on Solaris)
Date: Fri, 21 Jun 2013 13:23:59 +0100
* On 2013-06-21 at 13:20 BST, Jörn Clausen wrote:
> In reply to Adam's mail I have sent my version of
> patches/patch-configure, which only reverts his(?) removal of
>
> SSRC="dlpisubs.c"
>
> Everything else he/you have changed is okay.
Ok.
> I have a hard time believing that
>
> - requesting '--with-pcap=dlpi' in Makefile
>
> - removing dlpisubs.c in configure
>
> at the same time has ever worked in SmartOS. NB: The package builds
> just fine, it's the dependencies that don't compile any longer.
It used to work on SmartOS but does not since the most recent update. I
am working on it, and will get you to test a patch before I commit.
--
Jonathan Perkin www.perkin.org.uk
github.com/jperkin twitter.com/jperkin
From: "Jonathan Perkin" <jperkin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/47943 CVS commit: pkgsrc/net/libpcap
Date: Fri, 21 Jun 2013 13:35:06 +0000
Module Name: pkgsrc
Committed By: jperkin
Date: Fri Jun 21 13:35:06 UTC 2013
Modified Files:
pkgsrc/net/libpcap: Makefile distinfo
pkgsrc/net/libpcap/patches: patch-configure
Log Message:
PR#47943: recent update to libpcap breaks tcpdump, nmap and wireshark on Solaris
Remove bogus removal of dlpisubs.c, and force the configure script to
avoid any getifaddrs implementation on SunOS which would result in it
not being included.
Fixes build on SunOS. Thanks to Jörn Clausen for testing on Solaris 10.
Bump PKGREVISION. Approved during freeze by wiz.
To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 pkgsrc/net/libpcap/Makefile
cvs rdiff -u -r1.28 -r1.29 pkgsrc/net/libpcap/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/net/libpcap/patches/patch-configure
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/47943 (recent update to libpcap breaks tcpdump, nmap and
wireshark on Solaris)
Date: Thu, 4 Jul 2013 04:14:37 +0000
These two mails didn't make it to gnats. (If replying to yourself,
please double-check the send address and set it to gnats-bugs; at
least mutt and probably other mailers do the wrong thing by default.)
------
From: Jonathan Perkin <jperkin@pkgsrc.org>
To: solaris-pkg-people@NetBSD.org, gnats-admin@netbsd.org,
pkgsrc-bugs@netbsd.org, joern.clausen@uni-bielefeld.de
Subject: Re: pkg/47943 (recent update to libpcap breaks tcpdump, nmap and
wireshark on Solaris)
Date: Fri, 21 Jun 2013 13:33:25 +0100
Ok, in addition to removing the dlpisubs.c removal from configure, can you
also add:
CONFIGURE_ENV+= ac_cv_func_getifaddrs=no
to Makefile and try that? This is enough to get it working again on
SmartOS.
The problem is that dlpisubs.c is only activated if getifaddrs() is
missing, which is not the case on newer Solaris. This is a bit of a hack,
but a proper fix for the configure script would be a lot more work.
Thanks,
--
Jonathan Perkin www.perkin.org.uk
github.com/jperkin twitter.com/jperkin
From: J?rn Clausen <joern.clausen@uni-bielefeld.de>
To: Jonathan Perkin <jperkin@pkgsrc.org>
Cc: solaris-pkg-people@NetBSD.org, gnats-admin@NetBSD.org,
pkgsrc-bugs@NetBSD.org
Subject: Re: pkg/47943 (recent update to libpcap breaks tcpdump, nmap and
wireshark on Solaris)
Date: Fri, 21 Jun 2013 15:27:11 +0200
On 21.06.13 14:33, Jonathan Perkin wrote:
> Ok, in addition to removing the dlpisubs.c removal from configure, can you
> also add:
>
> CONFIGURE_ENV+= ac_cv_func_getifaddrs=no
>
> to Makefile and try that? This is enough to get it working again on
> SmartOS.
>
> The problem is that dlpisubs.c is only activated if getifaddrs() is
> missing, which is not the case on newer Solaris. This is a bit of a hack,
> but a proper fix for the configure script would be a lot more work.
libpcap.so still includes the necessary functions:
$ nm ./work.pkgsrc-i86/libpcap-1.4.0/.libs/libpcap.so | grep
pcap_conf_bufmod
[309] | 105276| 401|FUNC |GLOB |0 |12 |pcap_conf_bufmod
and net/tcpdump does compile. Looks good to me.
--
J?rn Clausen joern.clausen@uni-bielefeld.de
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universit?t Bielefeld
State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 04 Jul 2013 04:15:25 +0000
State-Changed-Why:
This got committed; is it fixed?
From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org
Cc: dholland@NetBSD.org, solaris-pkg-people@NetBSD.org, pkgsrc-bugs@NetBSD.org,
gnats-admin@NetBSD.org
Subject: Re: pkg/47943 (recent update to libpcap breaks tcpdump,
nmap and wireshark on Solaris)
Date: Wed, 10 Jul 2013 13:48:32 +0200
On 04.07.13 06:15, dholland@NetBSD.org wrote:
> Synopsis: recent update to libpcap breaks tcpdump, nmap and wireshark on Solaris
>
> State-Changed-From-To: open->feedback
> State-Changed-By: dholland@NetBSD.org
> State-Changed-When: Thu, 04 Jul 2013 04:15:25 +0000
> State-Changed-Why:
> This got committed; is it fixed?
Yes, everything now compiles out of the box again, please close this PR.
--
Jörn Clausen joern.clausen@uni-bielefeld.de
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld
State-Changed-From-To: feedback->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Wed, 10 Jul 2013 13:19:59 +0000
State-Changed-Why:
Confirmed fixed, thanks!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.