Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86153 - pylibpcap works on amd64
Summary: pylibpcap works on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-21 09:48 UTC by Michaelian Ennis
Modified: 2005-04-03 03:46 UTC (History)
0 users

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 Michaelian Ennis 2005-03-21 09:48:47 UTC
I noticed there is no amd64 flag on pylibpcap.  Is there some testing I
can help with.  I use this library in a production environment today in on a
amd64 native environment.  It should at least go unstable.

13c13
< KEYWORDS="x86"
---
> KEYWORDS="~amd64 x86"

Here is the output of the install:
=====================================

ACCEPT_KEYWORDS="~amd64" emerge  pylibpcap       
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-python/pylibpcap-0.4 to /
>>> md5 src_uri ;-) pylibpcap-0.4.tar.gz
>>> Unpacking source...
>>> Unpacking pylibpcap-0.4.tar.gz to /var/tmp/portage/pylibpcap-0.4/work
>>> Source unpacked.
/usr/lib/python2.3/distutils/dist.py:213: UserWarning: 'licence' distribution option is deprecated; use 'license'
  warnings.warn(msg)
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.3
copying pcap.py -> build/lib.linux-x86_64-2.3
running build_ext
building 'pcapcmodule' extension
creating build/temp.linux-x86_64-2.3
x86_64-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=athlon64 -pipe -fPIC -I/usr/local/include -I/usr/include/python2.3 -c err                        or.c -o build/temp.linux-x86_64-2.3/error.o
In file included from /usr/include/python2.3/Python.h:8,
                 from error.c:16:
/usr/include/python2.3/pyconfig.h:856:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/sys/types.h:27,
                 from /usr/include/pcap.h:43,
                 from error.c:15:
/usr/include/features.h:190:1: warning: this is the location of the previous definition
x86_64-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=athlon64 -pipe -fPIC -I/usr/local/include -I/usr/include/python2.3 -c exc                        eption.c -o build/temp.linux-x86_64-2.3/exception.o
x86_64-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=athlon64 -pipe -fPIC -I/usr/local/include -I/usr/include/python2.3 -c pca                        p.c -o build/temp.linux-x86_64-2.3/pcap.o
In file included from /usr/include/python2.3/Python.h:8,
                 from pcap.c:222:
/usr/include/python2.3/pyconfig.h:856:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/string.h:26,
                 from pcap.c:27:
/usr/include/features.h:190:1: warning: this is the location of the previous definition
x86_64-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=athlon64 -pipe -fPIC -I/usr/local/include -I/usr/include/python2.3 -c pca                        p_interface.c -o build/temp.linux-x86_64-2.3/pcap_interface.o
x86_64-pc-linux-gnu-gcc -pthread -shared -O2 -march=athlon64 -pipe build/temp.linux-x86_64-2.3/pcap.o build/temp.linux-x86_64-2.3/pcap_interface.o                         build/temp.linux-x86_64-2.3/exception.o build/temp.linux-x86_64-2.3/error.o -lpcap -o build/lib.linux-x86_64-2.3/pcapcmodule.so
>>> Test phase [not enabled]: dev-python/pylibpcap-0.4

>>> Install pylibpcap-0.4 into /var/tmp/portage/pylibpcap-0.4/image/ category dev-python
/usr/lib/python2.3/distutils/dist.py:213: UserWarning: 'licence' distribution option is deprecated; use 'license'
  warnings.warn(msg)
running install
running build
running build_py
running build_ext
running install_lib
creating /var/tmp/portage/pylibpcap-0.4/image/usr
creating /var/tmp/portage/pylibpcap-0.4/image/usr/lib
creating /var/tmp/portage/pylibpcap-0.4/image/usr/lib/python2.3
creating /var/tmp/portage/pylibpcap-0.4/image/usr/lib/python2.3/site-packages
copying build/lib.linux-x86_64-2.3/pcapcmodule.so -> /var/tmp/portage/pylibpcap-0.4/image/usr/lib/python2.3/site-packages
copying build/lib.linux-x86_64-2.3/pcap.py -> /var/tmp/portage/pylibpcap-0.4/image/usr/lib/python2.3/site-packages
man:
prepallstrip:
strip: x86_64-pc-linux-gnu-strip --strip-unneeded
strip: x86_64-pc-linux-gnu-strip --strip-unneeded
   usr/lib/python2.3/site-packages/pcapcmodule.so
>>> Completed installing pylibpcap-0.4 into /var/tmp/portage/pylibpcap-0.4/image/

>>> Merging dev-python/pylibpcap-0.4 to /
--- /usr/
--- /usr/lib/
--- /usr/lib/python2.3/
--- /usr/lib/python2.3/site-packages/
>>> /usr/lib/python2.3/site-packages/pcapcmodule.so
>>> /usr/lib/python2.3/site-packages/pcap.py
--- /usr/share/
--- /usr/share/doc/
--- /usr/share/doc/pylibpcap-0.4/
>>> /usr/share/doc/pylibpcap-0.4/README.gz
>>> /usr/share/doc/pylibpcap-0.4/MANIFEST.in.gz
>>> /usr/share/doc/pylibpcap-0.4/COPYING.gz
--- /usr/share/doc/pylibpcap-0.4/examples/
>>> /usr/share/doc/pylibpcap-0.4/examples/findalldevs.py
>>> /usr/share/doc/pylibpcap-0.4/examples/sniff.py
>>> /usr/share/doc/pylibpcap-0.4/PKG-INFO.gz
>>> Safely unmerging already-installed instance...
--- !mtime obj /usr/share/doc/pylibpcap-0.4/examples/sniff.py
--- !mtime obj /usr/share/doc/pylibpcap-0.4/examples/findalldevs.py
--- !mtime obj /usr/share/doc/pylibpcap-0.4/README.gz
--- !mtime obj /usr/share/doc/pylibpcap-0.4/PKG-INFO.gz
--- !mtime obj /usr/share/doc/pylibpcap-0.4/MANIFEST.in.gz
--- !mtime obj /usr/share/doc/pylibpcap-0.4/COPYING.gz
--- !mtime obj /usr/lib/python2.3/site-packages/pcapcmodule.so
--- !mtime obj /usr/lib/python2.3/site-packages/pcap.py
--- !empty dir /usr/share/doc/pylibpcap-0.4/examples
--- !empty dir /usr/share/doc/pylibpcap-0.4
--- !empty dir /usr/share/doc
--- !empty dir /usr/share
--- !empty dir /usr/lib/python2.3/site-packages
--- !empty dir /usr/lib/python2.3
--- !empty dir /usr/lib
--- !empty dir /usr
 * Performing Python Module Cleanup .. ...
 * Cleaning orphaned Python bytecode from /usr/lib/python2.3/site-packages ..
 * Cleaning orphaned Python bytecode from /usr/lib64/python2.3/site-pack  [ ok ]
>>> original instance of package unmerged safely.
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies ...                                                                                                                                  [ ok ]
>>> dev-python/pylibpcap-0.4 merged.

>>> clean: No packages selected for removal.

>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


 * GNU info directory index is up-to-date.
 * IMPORTANT: 1 config files in /etc need updating.
 * Type emerge --help config to learn how to update config files.

My info:
==========
Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.9-gentoo-r14 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar 19 2005, 14:47:04)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r6
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r3
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon64 -pipe "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -pipe "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X adns apache2 bitmap-fonts ccache cdr crypt css csv dvd ethereal fb gd gif glep gmail graphviz html http imlib inline ipv6 jpeg kdexdeltas kerberos lcd ldap lm_sensors messages mng mozsvg mp3 mpeg mpeg4 msn mythtv nvidia oscar pam pcapnav pdf pdflib plotutils png python qt rdesktop rpm rrdtool sguil snmp snortsam ssl subversion svg tga tidy tiff truetype truetype-fonts type1-fonts usb wifi wxwindows xanim xine xinerama xmlrpc xmms xpm xsl xslt zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2005-03-25 06:50:20 UTC
that package doesn't exist. it's pretty hard to keyword imaginary packages ;)
Comment 2 Michaelian Ennis 2005-04-02 19:20:03 UTC
Not only does it exist, it has since March 2003.  

dev-python/pylibpcap
Comment 3 Simon Stelling (RETIRED) gentoo-dev 2005-04-03 03:46:42 UTC
shame on me, i missread the name twice :S

~amd64 now, thanks!