Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 247076 - net-libs/libpcap-1.0.0-r1 net-analyzer/tcpdump-4.0.0 rekeyword request
Summary: net-libs/libpcap-1.0.0-r1 net-analyzer/tcpdump-4.0.0 rekeyword request
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Keywording and Stabilization (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: KEYWORDREQ
Depends on: 262060
Blocks: 313827
  Show dependency tree
 
Reported: 2008-11-16 15:16 UTC by Peter Volkov (RETIRED)
Modified: 2014-05-26 17:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Volkov (RETIRED) gentoo-dev 2008-11-16 15:16:17 UTC
Keywords on libpcap were dropped due to new dependency - net-wireless/bluez-libs. Please either mask bluetooth USE flag or keyword net-wireless/bluez-libs and libpcap-1.0.0-r1.

Keywords on tcpdump-4.0.0 were dropped due to net-libs/libsmi. Either mask smi USE flag or keyword libsmi.

Thank you in advance.
Comment 1 Alexis Ballier gentoo-dev 2008-11-28 14:10:04 UTC
(In reply to comment #0)
> Keywords on libpcap were dropped due to new dependency -
> net-wireless/bluez-libs. Please either mask bluetooth USE flag or keyword
> net-wireless/bluez-libs and libpcap-1.0.0-r1.

use maksed on bsd; this seems too tight to linux

x86-fbsd done, i'll do sparc-fbsd later
Comment 2 Alexis Ballier gentoo-dev 2008-12-14 15:59:05 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > Keywords on libpcap were dropped due to new dependency -
> > net-wireless/bluez-libs. Please either mask bluetooth USE flag or keyword
> > net-wireless/bluez-libs and libpcap-1.0.0-r1.
> 
> use maksed on bsd; this seems too tight to linux
> 
> x86-fbsd done, i'll do sparc-fbsd later

Completely broken on sparc-fbsd: its not built with pic for the shared lib and causes runtime errors (x86 allows textrels but we should avoid them).
There is that in configure.in:
linux*) 
        V_CCOPT="$V_CCOPT -fPIC"
        ;;

A quick hack would be to append-flags -fPIC
A better one would be to do this V_CCOPT assignment on every system; but i'm unsure about other weird systems in this 'case'...
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2008-12-14 18:53:00 UTC
Alexis could you provide patch for configure.in?
Comment 4 Raúl Porcel (RETIRED) gentoo-dev 2009-02-20 18:54:53 UTC
~arm/~s390/~sh done
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2010-04-02 05:57:50 UTC
@bsd-sparc, could you retry with 1.1.0?
Comment 6 Alexis Ballier gentoo-dev 2010-04-27 11:42:29 UTC
(In reply to comment #5)
> @bsd-sparc, could you retry with 1.1.0?
> 

some patch went in; it uses -fpic but we need -fPIC otherwise gcc is too nice and then fails to link:

VER=`cat ./VERSION`; \
        MAJOR_VER=`sed 's/\([0-9][0-9]*\)\..*/\1/' ./VERSION`; \
        sparc64-gentoo-freebsd7.2-gcc -shared -Wl,-soname,libpcap.so.$MAJOR_VER  \
            -o libpcap.so.$VER pcap-bpf.o fad-getad.o pcap.o inet.o gencode.o optimize.o nametoaddr.o etherent.o savefile.o sf-pcap.o sf-pcap-ng.o pcap-common.o bpf_image.o bpf_dump.o  scanner.o grammar.o bpf_filter.o version.o   
sparc64-gentoo-freebsd7.2-ranlib libpcap.a
pcap-bpf.o: In function `pcap_cleanup_bpf':
pcap-bpf.c:(.text+0x6cc): relocation truncated to fit: R_SPARC_GOT13 against symbol `__stderrp@@FBSD_1.0' defined in .data section in /usr/lib/gcc/sparc64-gentoo-freebsd7.2/4.4.3/../../../libc.so
pcap-bpf.c:(.text+0x744): relocation truncated to fit: R_SPARC_GOT13 against symbol `__stderrp@@FBSD_1.0' defined in .data section in /usr/lib/gcc/sparc64-gentoo-freebsd7.2/4.4.3/../../../libc.so
pcap-bpf.c:(.text+0x770): relocation truncated to fit: R_SPARC_GOT13 against symbol `__stderrp@@FBSD_1.0' defined in .data section in /usr/lib/gcc/sparc64-gentoo-freebsd7.2/4.4.3/../../../libc.so
Comment 7 Matt Turner gentoo-dev 2010-12-14 02:54:21 UTC
libpcap had its ~mips keyword readded by vapier on 19 Jun 2010, looks like without use.mask'ing bluetooth.
Comment 8 Matt Turner gentoo-dev 2011-01-17 23:14:11 UTC
Can't run tests. Filing bug as a blocker. I've done everything but keyword tcpdump on mips: masked smi and bluetooth and rekeyworded libpcap.
Comment 9 Matt Turner gentoo-dev 2011-07-09 00:19:24 UTC
Clearly no one cares about even looking at bug 348670, so I'm just going to go ahead and mark as ~mips.
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-28 19:03:29 UTC
  11 Dec 2011; Raúl Porcel <armin76@gentoo.org> libpcap-1.1.1-r1.ebuild:
  alpha/ia64/m68k/s390/sh/sparc stable wrt #385875
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-28 19:08:46 UTC
oh, tcpdump still needs keywording.
Comment 12 Alexis Ballier gentoo-dev 2012-04-23 19:28:25 UTC
bsd done, sparc-fbsd is dead
Comment 13 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-26 17:33:15 UTC
Continued in bug #498896.