Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31092 - libcap-1.10 fails to emerge for ntp
Summary: libcap-1.10 fails to emerge for ntp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
: 32809 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-13 22:31 UTC by matt
Modified: 2003-11-09 19:21 UTC (History)
1 user (show)

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


Attachments
results of emerge --debug (logfile,74.85 KB, text/plain)
2003-10-15 21:17 UTC, matt
Details
output of new ebuild (libcap.txt,75.02 KB, text/plain)
2003-11-02 21:06 UTC, matt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matt 2003-10-13 22:31:39 UTC
While trying to emerge ntp, portage fails while emerging libcap:

emerge -u ntp
.....
libcap_wrap.c:317: warning: `swig_varlink_setattr' defined but not used
libcap_wrap.c:361: warning: `SWIG_addvarlink' declared `static' but never defined
libcap_wrap.c:506: warning: `SWIG_ConvertPacked' defined but not used
make[1]: *** [libcap_wrap.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/libcap-1.10/work/libcap-1.10/libcap'
make: *** [install] Error 2

!!! ERROR: sys-libs/libcap-1.10 failed.
!!! Function src_install, Line 52, Exitcode 2
!!! (no error message)


Here's my emerge info:
myhostname root # emerge info
Portage 2.0.49-r13 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r1)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /opt/tomcat/conf /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apm avi crypt encode foomaticdb gif gpm libg++ libwww mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline svga java X tcpd pam ssl python esd imlib oggvorbis gtk qt kde motif opengl sdl arts voodoo3 3dfx cdr alsa -oss dvd gphoto2 -gnome cups -perl scanner jpeg"
Comment 1 SpanKY gentoo-dev 2003-10-13 22:43:03 UTC
thats not the error ... you didnt post enough of the output ...
Comment 2 matt 2003-10-13 23:04:23 UTC
Sorry about that, I've put more below.  Looks like it's having problems finding
python, hmmm...

myhostname root # locate Python.h
/usr/include/python2.2/Python.h

So here's more:

gcc -Dlinux -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual
-Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
-Winline -Wshadow -pedantic -g   -I/var/tmp/portage/libcap-1.10/work/libcap-1.10/libcap/include
-c libcap_wrap.c -o libcap_wrap.o
libcap_wrap.c:13:20: Python.h: No such file or directory
libcap_wrap.c:225:20: Python.h: No such file or directory
libcap_wrap.c:274: parse error before "PyObject"
libcap_wrap.c:274: warning: no semicolon at end of struct or union
libcap_wrap.c:275: parse error before '*' token
libcap_wrap.c:275: warning: function declaration isn't a prototype
libcap_wrap.c:277: parse error before '}' token
libcap_wrap.c:277: warning: type defaults to `int' in declaration of `swig_globalvar'
libcap_wrap.c:277: ISO C forbids data definition with no type or storage
class
libcap_wrap.c:280: parse error before "PyObject_HEAD"
libcap_wrap.c:280: warning: no semicolon at end of struct or union
libcap_wrap.c:282: warning: type defaults to `int' in declaration of `swig_varlinkobject'
libcap_wrap.c:282: ISO C forbids data definition with no type or storage
class
libcap_wrap.c:284: parse error before '*' token
libcap_wrap.c:285: parse error before '*' token
libcap_wrap.c:285: warning: return type defaults to `int'
libcap_wrap.c:285: warning: function declaration isn't a prototype
libcap_wrap.c: In function `swig_varlink_repr':
libcap_wrap.c:286: `v' undeclared (first use in this function)
libcap_wrap.c:286: (Each undeclared identifier is reported only once
libcap_wrap.c:286: for each function it appears in.)
libcap_wrap.c:287: warning: implicit declaration of function `PyString_FromString'
libcap_wrap.c:287: warning: return makes pointer from integer without a cast
libcap_wrap.c: At top level:
libcap_wrap.c:291: parse error before '*' token
libcap_wrap.c:291: warning: function declaration isn't a prototype
libcap_wrap.c: In function `swig_varlink_print':
libcap_wrap.c:292: `var' undeclared (first use in this function)
libcap_wrap.c:293: `flags' undeclared (first use in this function)
libcap_wrap.c:294: warning: implicit declaration of function `fprintf'
libcap_wrap.c:294: `fp' undeclared (first use in this function)
libcap_wrap.c:295: `v' undeclared (first use in this function)
libcap_wrap.c: At top level:
libcap_wrap.c:303: parse error before '*' token
libcap_wrap.c:304: parse error before '*' token
libcap_wrap.c:304: warning: return type defaults to `int'
libcap_wrap.c:304: warning: function declaration isn't a prototype
libcap_wrap.c: In function `swig_varlink_getattr':
libcap_wrap.c:305: `var' undeclared (first use in this function)
libcap_wrap.c:305: `v' undeclared (first use in this function)
libcap_wrap.c:307: `n' undeclared (first use in this function)
libcap_wrap.c:312: warning: implicit declaration of function `PyErr_SetString'
libcap_wrap.c:312: `PyExc_NameError' undeclared (first use in this function)
libcap_wrap.c: At top level:
libcap_wrap.c:317: parse error before '*' token
libcap_wrap.c:317: warning: function declaration isn't a prototype
libcap_wrap.c: In function `swig_varlink_setattr':
libcap_wrap.c:318: `var' undeclared (first use in this function)
libcap_wrap.c:318: `v' undeclared (first use in this function)
libcap_wrap.c:320: `n' undeclared (first use in this function)
libcap_wrap.c:321: `p' undeclared (first use in this function)
libcap_wrap.c:325: warning: function `PyErr_SetString' was previously declared
within a block
libcap_wrap.c:325: `PyExc_NameError' undeclared (first use in this function)
libcap_wrap.c: At top level:
libcap_wrap.c:329: parse error before "PyTypeObject"
libcap_wrap.c:329: warning: type defaults to `int' in declaration of `varlinktype'
libcap_wrap.c:330: warning: implicit declaration of function `PyObject_HEAD_INIT'
libcap_wrap.c:331: initializer element is not constant
libcap_wrap.c:331: (near initialization for `varlinktype')
libcap_wrap.c:331: parse error before numeric constant
libcap_wrap.c:332: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c:332: warning: excess elements in scalar initializer
libcap_wrap.c:332: warning: (near initialization for `varlinktype')
libcap_wrap.c:333: warning: excess elements in scalar initializer
libcap_wrap.c:333: warning: (near initialization for `varlinktype')
libcap_wrap.c:334: warning: excess elements in scalar initializer
libcap_wrap.c:334: warning: (near initialization for `varlinktype')
libcap_wrap.c:335: warning: excess elements in scalar initializer
libcap_wrap.c:335: warning: (near initialization for `varlinktype')
libcap_wrap.c:336: `printfunc' undeclared here (not in a function)
libcap_wrap.c:336: warning: excess elements in scalar initializer
libcap_wrap.c:336: warning: (near initialization for `varlinktype')
libcap_wrap.c:336: parse error before "swig_varlink_print"
libcap_wrap.c:337: `getattrfunc' undeclared here (not in a function)
libcap_wrap.c:337: warning: excess elements in scalar initializer
libcap_wrap.c:337: warning: (near initialization for `varlinktype')
libcap_wrap.c:337: parse error before "swig_varlink_getattr"
libcap_wrap.c:338: `setattrfunc' undeclared here (not in a function)
libcap_wrap.c:338: warning: excess elements in scalar initializer
libcap_wrap.c:338: warning: (near initialization for `varlinktype')
libcap_wrap.c:338: parse error before "swig_varlink_setattr"
libcap_wrap.c:339: warning: excess elements in scalar initializer
libcap_wrap.c:339: warning: (near initialization for `varlinktype')
libcap_wrap.c:340: `reprfunc' undeclared here (not in a function)
libcap_wrap.c:340: warning: excess elements in scalar initializer
libcap_wrap.c:340: warning: (near initialization for `varlinktype')
libcap_wrap.c:340: parse error before "swig_varlink_repr"
libcap_wrap.c:341: warning: excess elements in scalar initializer
libcap_wrap.c:341: warning: (near initialization for `varlinktype')
libcap_wrap.c:342: warning: excess elements in scalar initializer
libcap_wrap.c:342: warning: (near initialization for `varlinktype')
libcap_wrap.c:343: warning: excess elements in scalar initializer
libcap_wrap.c:343: warning: (near initialization for `varlinktype')
libcap_wrap.c:344: ISO C forbids data definition with no type or storage
class
libcap_wrap.c:347: parse error before '*' token
libcap_wrap.c:348: warning: return type defaults to `int'
libcap_wrap.c:348: warning: no previous prototype for `SWIG_newvarlink'
libcap_wrap.c: In function `SWIG_newvarlink':
libcap_wrap.c:349: `result' undeclared (first use in this function)
libcap_wrap.c:350: warning: implicit declaration of function `PyMem_NEW'
libcap_wrap.c:351: request for member `ob_type' in something not a structure
or union
libcap_wrap.c:351: `PyType_Type' undeclared (first use in this function)
libcap_wrap.c:355: warning: implicit declaration of function `Py_XINCREF'
libcap_wrap.c:355: `PyObject' undeclared (first use in this function)
libcap_wrap.c:355: parse error before ')' token
libcap_wrap.c:356: parse error before ')' token
libcap_wrap.c: At top level:
libcap_wrap.c:360: parse error before '*' token
libcap_wrap.c:361: `SWIG_addvarlink' declared as function returning a function
libcap_wrap.c:361: warning: function declaration isn't a prototype
libcap_wrap.c:361: parse error before "int"
libcap_wrap.c:363: warning: type defaults to `int' in declaration of `gv'
libcap_wrap.c:363: ISO C forbids data definition with no type or storage
class
libcap_wrap.c:364: warning: type defaults to `int' in declaration of `v'
libcap_wrap.c:364: `v' used prior to declaration
libcap_wrap.c:364: parse error before ')' token
libcap_wrap.c:365: warning: type defaults to `int' in declaration of `gv'
libcap_wrap.c:365: conflicting types for `gv'
libcap_wrap.c:363: previous declaration of `gv'
libcap_wrap.c:365: parse error before ')' token
libcap_wrap.c:367: parse error before '->' token
libcap_wrap.c:367: warning: type defaults to `int' in declaration of `strcpy'
libcap_wrap.c:367: warning: function declaration isn't a prototype
libcap_wrap.c:367: ISO C forbids data definition with no type or storage
class
libcap_wrap.c:368: parse error before '->' token
libcap_wrap.c:414: parse error before '*' token
libcap_wrap.c:414: warning: function declaration isn't a prototype
libcap_wrap.c: In function `SWIG_ConvertPtr':
libcap_wrap.c:417: warning: ISO C forbids nested functions
libcap_wrap.c:417: syntax error before '*' token
libcap_wrap.c:419: `PyObject' undeclared (first use in this function)
libcap_wrap.c:419: `pyobj' undeclared (first use in this function)
libcap_wrap.c:421: `obj' undeclared (first use in this function)
libcap_wrap.c:422: `Py_None' undeclared (first use in this function)
libcap_wrap.c:423: `ptr' undeclared (first use in this function)
libcap_wrap.c:444: warning: implicit declaration of function `PyString_Check'
libcap_wrap.c:445: `SWIG_this' undeclared (first use in this function)
libcap_wrap.c:446: warning: function `PyString_FromString' was previously
declared within a block
libcap_wrap.c:448: warning: implicit declaration of function `PyObject_GetAttr'
libcap_wrap.c:452: warning: implicit declaration of function `Py_DECREF'
libcap_wrap.c:456: warning: implicit declaration of function `PyString_AsString'
libcap_wrap.c:456: warning: assignment makes pointer from integer without
a cast
libcap_wrap.c:461: warning: function `Py_DECREF' was previously declared
within a block
libcap_wrap.c:464: warning: function `Py_DECREF' was previously declared
within a block
libcap_wrap.c:470: warning: function `Py_DECREF' was previously declared
within a block
libcap_wrap.c:477: `ty' undeclared (first use in this function)
libcap_wrap.c:483: `flags' undeclared (first use in this function)
libcap_wrap.c:484: `zero' undeclared (first use in this function)
libcap_wrap.c:484: warning: implicit declaration of function `PyInt_FromLong'
libcap_wrap.c:485: warning: implicit declaration of function `PyObject_SetAttrString'
libcap_wrap.c:485: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c:486: warning: function `Py_DECREF' was previously declared
within a block
libcap_wrap.c:493: warning: implicit declaration of function `malloc'
libcap_wrap.c:494: warning: implicit declaration of function `sprintf'
libcap_wrap.c:495: warning: function `PyErr_SetString' was previously declared
within a block
libcap_wrap.c:495: `PyExc_TypeError' undeclared (first use in this function)
libcap_wrap.c:496: warning: implicit declaration of function `free'
libcap_wrap.c:498: warning: function `PyErr_SetString' was previously declared
within a block
libcap_wrap.c: At top level:
libcap_wrap.c:506: parse error before '*' token
libcap_wrap.c:506: warning: function declaration isn't a prototype
libcap_wrap.c: In function `SWIG_ConvertPacked':
libcap_wrap.c:510: `obj' undeclared (first use in this function)
libcap_wrap.c:510: warning: function `PyString_Check' was previously declared
within a block
libcap_wrap.c:511: warning: function `PyString_AsString' was previously declared
within a block
libcap_wrap.c:511: warning: assignment makes pointer from integer without
a cast
libcap_wrap.c:515: `ptr' undeclared (first use in this function)
libcap_wrap.c:515: `sz' undeclared (first use in this function)
libcap_wrap.c:516: `ty' undeclared (first use in this function)
libcap_wrap.c:524: `flags' undeclared (first use in this function)
libcap_wrap.c:526: warning: function `malloc' was previously declared within
a block
libcap_wrap.c:527: warning: function `sprintf' was previously declared within
a block
libcap_wrap.c:528: warning: function `PyErr_SetString' was previously declared
within a block
libcap_wrap.c:528: `PyExc_TypeError' undeclared (first use in this function)
libcap_wrap.c:529: warning: function `free' was previously declared within
a block
libcap_wrap.c:531: warning: function `PyErr_SetString' was previously declared
within a block
libcap_wrap.c: At top level:
libcap_wrap.c:538: parse error before '*' token
libcap_wrap.c:539: warning: return type defaults to `int'
libcap_wrap.c:539: warning: no previous prototype for `SWIG_NewPointerObj'
libcap_wrap.c: In function `SWIG_NewPointerObj':
libcap_wrap.c:540: `PyObject' undeclared (first use in this function)
libcap_wrap.c:540: `robj' undeclared (first use in this function)
libcap_wrap.c:542: warning: implicit declaration of function `Py_INCREF'
libcap_wrap.c:542: `Py_None' undeclared (first use in this function)
libcap_wrap.c:554: warning: function `PyString_FromString' was previously
declared within a block
libcap_wrap.c:559: `inst' undeclared (first use in this function)
libcap_wrap.c:560: `args' undeclared (first use in this function)
libcap_wrap.c:560: warning: implicit declaration of function `Py_BuildValue'
libcap_wrap.c:560: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c:561: warning: function `Py_DECREF' was previously declared
within a block
libcap_wrap.c:562: warning: implicit declaration of function `PyObject_CallObject'
libcap_wrap.c:562: parse error before ')' token
libcap_wrap.c:566: `n' undeclared (first use in this function)
libcap_wrap.c:566: warning: function `PyInt_FromLong' was previously declared
within a block
libcap_wrap.c:567: warning: function `PyObject_SetAttrString' was previously
declared within a block
libcap_wrap.c:567: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c: At top level:
libcap_wrap.c:576: parse error before '*' token
libcap_wrap.c:577: warning: return type defaults to `int'
libcap_wrap.c:577: warning: no previous prototype for `SWIG_NewPackedObj'
libcap_wrap.c: In function `SWIG_NewPackedObj':
libcap_wrap.c:584: warning: function `PyString_FromString' was previously
declared within a block
libcap_wrap.c:584: warning: return makes pointer from integer without a cast
libcap_wrap.c: At top level:
libcap_wrap.c:589: parse error before '*' token
libcap_wrap.c:589: warning: function declaration isn't a prototype
libcap_wrap.c: In function `SWIG_InstallConstants':
libcap_wrap.c:591: `PyObject' undeclared (first use in this function)
libcap_wrap.c:591: `obj' undeclared (first use in this function)
libcap_wrap.c:592: `constants' undeclared (first use in this function)
libcap_wrap.c:595: warning: function `PyInt_FromLong' was previously declared
within a block
libcap_wrap.c:598: warning: implicit declaration of function `PyFloat_FromDouble'
libcap_wrap.c:601: warning: function `PyString_FromString' was previously
declared within a block
libcap_wrap.c:614: warning: implicit declaration of function `PyDict_SetItemString'
libcap_wrap.c:614: `d' undeclared (first use in this function)
libcap_wrap.c:615: warning: function `Py_DECREF' was previously declared
within a block
In file included from libcap_wrap.c:653:
libcap.h:57:3: warning: suggest hiding #error from traditional C with an
indented #
libcap.h:58:3: warning: suggest hiding #error from traditional C with an
indented #
libcap.h:101:25: warning: ISO C does not permit named variadic macros
libcap_wrap.c: At top level:
libcap_wrap.c:658: parse error before '*' token
libcap_wrap.c:658: parse error before '*' token
libcap_wrap.c:658: warning: return type defaults to `int'
libcap_wrap.c:658: warning: function declaration isn't a prototype
libcap_wrap.c: In function `_wrap_cap_dup':
libcap_wrap.c:659: `PyObject' undeclared (first use in this function)
libcap_wrap.c:659: `resultobj' undeclared (first use in this function)
libcap_wrap.c:660: warning: ISO C89 forbids mixed declarations and code
libcap_wrap.c:662: `obj0' undeclared (first use in this function)
libcap_wrap.c:664: warning: implicit declaration of function `PyArg_ParseTuple'
libcap_wrap.c:664: `args' undeclared (first use in this function)
libcap_wrap.c:664: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c: At top level:
libcap_wrap.c:675: parse error before '*' token
libcap_wrap.c:675: parse error before '*' token
libcap_wrap.c:675: warning: return type defaults to `int'
libcap_wrap.c:675: warning: function declaration isn't a prototype
libcap_wrap.c: In function `_wrap_cap_free':
libcap_wrap.c:676: `PyObject' undeclared (first use in this function)
libcap_wrap.c:676: `resultobj' undeclared (first use in this function)
libcap_wrap.c:677: warning: ISO C89 forbids mixed declarations and code
libcap_wrap.c:679: `obj0' undeclared (first use in this function)
libcap_wrap.c:681: warning: function `PyArg_ParseTuple' was previously declared
within a block
libcap_wrap.c:681: `args' undeclared (first use in this function)
libcap_wrap.c:681: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c:685: warning: function `PyInt_FromLong' was previously declared
within a block
libcap_wrap.c: At top level:
libcap_wrap.c:692: parse error before '*' token
libcap_wrap.c:692: parse error before '*' token
libcap_wrap.c:692: warning: return type defaults to `int'
libcap_wrap.c:692: warning: function declaration isn't a prototype
libcap_wrap.c: In function `_wrap_cap_init':
libcap_wrap.c:693: `PyObject' undeclared (first use in this function)
libcap_wrap.c:693: `resultobj' undeclared (first use in this function)
libcap_wrap.c:694: warning: ISO C89 forbids mixed declarations and code
libcap_wrap.c:696: warning: function `PyArg_ParseTuple' was previously declared
within a block
libcap_wrap.c:696: `args' undeclared (first use in this function)
libcap_wrap.c:696: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c: At top level:
libcap_wrap.c:706: parse error before '*' token
libcap_wrap.c:706: parse error before '*' token
libcap_wrap.c:706: warning: return type defaults to `int'
libcap_wrap.c:706: warning: function declaration isn't a prototype
libcap_wrap.c: In function `_wrap_cap_get_flag':
libcap_wrap.c:707: `PyObject' undeclared (first use in this function)
libcap_wrap.c:707: `resultobj' undeclared (first use in this function)
libcap_wrap.c:708: warning: ISO C89 forbids mixed declarations and code
libcap_wrap.c:713: `obj0' undeclared (first use in this function)
libcap_wrap.c:714: `obj3' undeclared (first use in this function)
libcap_wrap.c:716: warning: function `PyArg_ParseTuple' was previously declared
within a block
libcap_wrap.c:716: `args' undeclared (first use in this function)
libcap_wrap.c:716: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c:721: warning: function `PyInt_FromLong' was previously declared
within a block
libcap_wrap.c: At top level:
libcap_wrap.c:728: parse error before '*' token
libcap_wrap.c:728: parse error before '*' token
libcap_wrap.c:728: warning: return type defaults to `int'
libcap_wrap.c:728: warning: function declaration isn't a prototype
libcap_wrap.c: In function `_wrap_cap_set_flag':
libcap_wrap.c:729: `PyObject' undeclared (first use in this function)
libcap_wrap.c:729: `resultobj' undeclared (first use in this function)
libcap_wrap.c:730: warning: ISO C89 forbids mixed declarations and code
libcap_wrap.c:736: `obj0' undeclared (first use in this function)
libcap_wrap.c:737: `obj3' undeclared (first use in this function)
libcap_wrap.c:739: warning: function `PyArg_ParseTuple' was previously declared
within a block
libcap_wrap.c:739: `args' undeclared (first use in this function)
libcap_wrap.c:739: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c:744: warning: function `PyInt_FromLong' was previously declared
within a block
libcap_wrap.c: At top level:
libcap_wrap.c:751: parse error before '*' token
libcap_wrap.c:751: parse error before '*' token
libcap_wrap.c:751: warning: return type defaults to `int'
libcap_wrap.c:751: warning: function declaration isn't a prototype
libcap_wrap.c: In function `_wrap_cap_clear':
libcap_wrap.c:752: `PyObject' undeclared (first use in this function)
libcap_wrap.c:752: `resultobj' undeclared (first use in this function)
libcap_wrap.c:753: warning: ISO C89 forbids mixed declarations and code
libcap_wrap.c:755: `obj0' undeclared (first use in this function)
libcap_wrap.c:757: warning: function `PyArg_ParseTuple' was previously declared
within a block
libcap_wrap.c:757: `args' undeclared (first use in this function)
libcap_wrap.c:757: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c:761: warning: function `PyInt_FromLong' was previously declared
within a block
libcap_wrap.c: At top level:
libcap_wrap.c:768: parse error before '*' token
libcap_wrap.c:768: parse error before '*' token
libcap_wrap.c:768: warning: return type defaults to `int'
libcap_wrap.c:768: warning: function declaration isn't a prototype
libcap_wrap.c: In function `_wrap_cap_get_proc':
libcap_wrap.c:769: `PyObject' undeclared (first use in this function)
libcap_wrap.c:769: `resultobj' undeclared (first use in this function)
libcap_wrap.c:770: warning: ISO C89 forbids mixed declarations and code
libcap_wrap.c:772: warning: function `PyArg_ParseTuple' was previously declared
within a block
libcap_wrap.c:772: `args' undeclared (first use in this function)
libcap_wrap.c:772: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c: At top level:
libcap_wrap.c:782: parse error before '*' token
libcap_wrap.c:782: parse error before '*' token
libcap_wrap.c:782: warning: return type defaults to `int'
libcap_wrap.c:782: warning: function declaration isn't a prototype
libcap_wrap.c: In function `_wrap_cap_set_proc':
libcap_wrap.c:783: `PyObject' undeclared (first use in this function)
libcap_wrap.c:783: `resultobj' undeclared (first use in this function)
libcap_wrap.c:784: warning: ISO C89 forbids mixed declarations and code
libcap_wrap.c:786: `obj0' undeclared (first use in this function)
libcap_wrap.c:788: warning: function `PyArg_ParseTuple' was previously declared
within a block
libcap_wrap.c:788: `args' undeclared (first use in this function)
libcap_wrap.c:788: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c:792: warning: function `PyInt_FromLong' was previously declared
within a block
libcap_wrap.c: At top level:
libcap_wrap.c:799: parse error before '*' token
libcap_wrap.c:799: parse error before '*' token
libcap_wrap.c:799: warning: return type defaults to `int'
libcap_wrap.c:799: warning: function declaration isn't a prototype
libcap_wrap.c: In function `_wrap_cap_size':
libcap_wrap.c:800: `PyObject' undeclared (first use in this function)
libcap_wrap.c:800: `resultobj' undeclared (first use in this function)
libcap_wrap.c:801: warning: ISO C89 forbids mixed declarations and code
libcap_wrap.c:803: `obj0' undeclared (first use in this function)
libcap_wrap.c:805: warning: function `PyArg_ParseTuple' was previously declared
within a block
libcap_wrap.c:805: `args' undeclared (first use in this function)
libcap_wrap.c:805: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c: At top level:
libcap_wrap.c:821: parse error before '*' token
libcap_wrap.c:821: parse error before '*' token
libcap_wrap.c:821: warning: return type defaults to `int'
libcap_wrap.c:821: warning: function declaration isn't a prototype
libcap_wrap.c: In function `_wrap_cap_copy_ext':
libcap_wrap.c:822: `PyObject' undeclared (first use in this function)
libcap_wrap.c:822: `resultobj' undeclared (first use in this function)
libcap_wrap.c:823: warning: ISO C89 forbids mixed declarations and code
libcap_wrap.c:828: `obj0' undeclared (first use in this function)
libcap_wrap.c:829: `obj1' undeclared (first use in this function)
libcap_wrap.c:830: `obj2' undeclared (first use in this function)
libcap_wrap.c:832: warning: function `PyArg_ParseTuple' was previously declared
within a block
libcap_wrap.c:832: `args' undeclared (first use in this function)
libcap_wrap.c:832: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c: At top level:
libcap_wrap.c:851: parse error before '*' token
libcap_wrap.c:851: parse error before '*' token
libcap_wrap.c:851: warning: return type defaults to `int'
libcap_wrap.c:851: warning: function declaration isn't a prototype
libcap_wrap.c: In function `_wrap_cap_copy_int':
libcap_wrap.c:852: `PyObject' undeclared (first use in this function)
libcap_wrap.c:852: `resultobj' undeclared (first use in this function)
libcap_wrap.c:853: warning: ISO C89 forbids mixed declarations and code
libcap_wrap.c:855: `obj0' undeclared (first use in this function)
libcap_wrap.c:857: warning: function `PyArg_ParseTuple' was previously declared
within a block
libcap_wrap.c:857: `args' undeclared (first use in this function)
libcap_wrap.c:857: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c: At top level:
libcap_wrap.c:868: parse error before '*' token
libcap_wrap.c:868: parse error before '*' token
libcap_wrap.c:868: warning: return type defaults to `int'
libcap_wrap.c:868: warning: function declaration isn't a prototype
libcap_wrap.c: In function `_wrap_cap_from_text':
libcap_wrap.c:869: `PyObject' undeclared (first use in this function)
libcap_wrap.c:869: `resultobj' undeclared (first use in this function)
libcap_wrap.c:870: warning: ISO C89 forbids mixed declarations and code
libcap_wrap.c:873: warning: function `PyArg_ParseTuple' was previously declared
within a block
libcap_wrap.c:873: `args' undeclared (first use in this function)
libcap_wrap.c:873: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c: At top level:
libcap_wrap.c:883: parse error before '*' token
libcap_wrap.c:883: parse error before '*' token
libcap_wrap.c:883: warning: return type defaults to `int'
libcap_wrap.c:883: warning: function declaration isn't a prototype
libcap_wrap.c: In function `_wrap_cap_to_text':
libcap_wrap.c:884: `PyObject' undeclared (first use in this function)
libcap_wrap.c:884: `resultobj' undeclared (first use in this function)
libcap_wrap.c:885: warning: ISO C89 forbids mixed declarations and code
libcap_wrap.c:888: `obj0' undeclared (first use in this function)
libcap_wrap.c:889: `obj1' undeclared (first use in this function)
libcap_wrap.c:891: warning: function `PyArg_ParseTuple' was previously declared
within a block
libcap_wrap.c:891: `args' undeclared (first use in this function)
libcap_wrap.c:891: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c:896: warning: function `PyString_FromString' was previously
declared within a block
libcap_wrap.c:896: warning: function `Py_BuildValue' was previously declared
within a block
libcap_wrap.c:896: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c: At top level:
libcap_wrap.c:903: parse error before "SwigMethods"
libcap_wrap.c:903: warning: type defaults to `int' in declaration of `SwigMethods'
libcap_wrap.c:904: warning: braces around scalar initializer
libcap_wrap.c:904: warning: (near initialization for `SwigMethods[0]')
libcap_wrap.c:904: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c:904: warning: initialization makes integer from pointer without
a cast
libcap_wrap.c:904: warning: excess elements in scalar initializer
libcap_wrap.c:904: warning: (near initialization for `SwigMethods[0]')
libcap_wrap.c:904: `METH_VARARGS' undeclared here (not in a function)
libcap_wrap.c:904: warning: excess elements in scalar initializer
libcap_wrap.c:904: warning: (near initialization for `SwigMethods[0]')
libcap_wrap.c:905: warning: braces around scalar initializer
libcap_wrap.c:905: warning: (near initialization for `SwigMethods[1]')
libcap_wrap.c:905: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c:905: warning: initialization makes integer from pointer without
a cast
libcap_wrap.c:905: warning: excess elements in scalar initializer
libcap_wrap.c:905: warning: (near initialization for `SwigMethods[1]')
libcap_wrap.c:905: `METH_VARARGS' undeclared here (not in a function)
libcap_wrap.c:905: warning: excess elements in scalar initializer
libcap_wrap.c:905: warning: (near initialization for `SwigMethods[1]')
libcap_wrap.c:906: warning: braces around scalar initializer
libcap_wrap.c:906: warning: (near initialization for `SwigMethods[2]')
libcap_wrap.c:906: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c:906: warning: initialization makes integer from pointer without
a cast
libcap_wrap.c:906: warning: excess elements in scalar initializer
libcap_wrap.c:906: warning: (near initialization for `SwigMethods[2]')
libcap_wrap.c:906: `METH_VARARGS' undeclared here (not in a function)
libcap_wrap.c:906: warning: excess elements in scalar initializer
libcap_wrap.c:906: warning: (near initialization for `SwigMethods[2]')
libcap_wrap.c:907: warning: braces around scalar initializer
libcap_wrap.c:907: warning: (near initialization for `SwigMethods[3]')
libcap_wrap.c:907: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c:907: warning: initialization makes integer from pointer without
a cast
libcap_wrap.c:907: warning: excess elements in scalar initializer
libcap_wrap.c:907: warning: (near initialization for `SwigMethods[3]')
libcap_wrap.c:907: `METH_VARARGS' undeclared here (not in a function)
libcap_wrap.c:907: warning: excess elements in scalar initializer
libcap_wrap.c:907: warning: (near initialization for `SwigMethods[3]')
libcap_wrap.c:908: warning: braces around scalar initializer
libcap_wrap.c:908: warning: (near initialization for `SwigMethods[4]')
libcap_wrap.c:908: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c:908: warning: initialization makes integer from pointer without
a cast
libcap_wrap.c:908: warning: excess elements in scalar initializer
libcap_wrap.c:908: warning: (near initialization for `SwigMethods[4]')
libcap_wrap.c:908: `METH_VARARGS' undeclared here (not in a function)
libcap_wrap.c:908: warning: excess elements in scalar initializer
libcap_wrap.c:908: warning: (near initialization for `SwigMethods[4]')
libcap_wrap.c:909: warning: braces around scalar initializer
libcap_wrap.c:909: warning: (near initialization for `SwigMethods[5]')
libcap_wrap.c:909: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c:909: warning: initialization makes integer from pointer without
a cast
libcap_wrap.c:909: warning: excess elements in scalar initializer
libcap_wrap.c:909: warning: (near initialization for `SwigMethods[5]')
libcap_wrap.c:909: `METH_VARARGS' undeclared here (not in a function)
libcap_wrap.c:909: warning: excess elements in scalar initializer
libcap_wrap.c:909: warning: (near initialization for `SwigMethods[5]')
libcap_wrap.c:910: warning: braces around scalar initializer
libcap_wrap.c:910: warning: (near initialization for `SwigMethods[6]')
libcap_wrap.c:910: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c:910: warning: initialization makes integer from pointer without
a cast
libcap_wrap.c:910: warning: excess elements in scalar initializer
libcap_wrap.c:910: warning: (near initialization for `SwigMethods[6]')
libcap_wrap.c:910: `METH_VARARGS' undeclared here (not in a function)
libcap_wrap.c:910: warning: excess elements in scalar initializer
libcap_wrap.c:910: warning: (near initialization for `SwigMethods[6]')
libcap_wrap.c:911: warning: braces around scalar initializer
libcap_wrap.c:911: warning: (near initialization for `SwigMethods[7]')
libcap_wrap.c:911: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c:911: warning: initialization makes integer from pointer without
a cast
libcap_wrap.c:911: warning: excess elements in scalar initializer
libcap_wrap.c:911: warning: (near initialization for `SwigMethods[7]')
libcap_wrap.c:911: `METH_VARARGS' undeclared here (not in a function)
libcap_wrap.c:911: warning: excess elements in scalar initializer
libcap_wrap.c:911: warning: (near initialization for `SwigMethods[7]')
libcap_wrap.c:912: warning: braces around scalar initializer
libcap_wrap.c:912: warning: (near initialization for `SwigMethods[8]')
libcap_wrap.c:912: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c:912: warning: initialization makes integer from pointer without
a cast
libcap_wrap.c:912: warning: excess elements in scalar initializer
libcap_wrap.c:912: warning: (near initialization for `SwigMethods[8]')
libcap_wrap.c:912: `METH_VARARGS' undeclared here (not in a function)
libcap_wrap.c:912: warning: excess elements in scalar initializer
libcap_wrap.c:912: warning: (near initialization for `SwigMethods[8]')
libcap_wrap.c:913: warning: braces around scalar initializer
libcap_wrap.c:913: warning: (near initialization for `SwigMethods[9]')
libcap_wrap.c:913: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c:913: warning: initialization makes integer from pointer without
a cast
libcap_wrap.c:913: warning: excess elements in scalar initializer
libcap_wrap.c:913: warning: (near initialization for `SwigMethods[9]')
libcap_wrap.c:913: `METH_VARARGS' undeclared here (not in a function)
libcap_wrap.c:913: warning: excess elements in scalar initializer
libcap_wrap.c:913: warning: (near initialization for `SwigMethods[9]')
libcap_wrap.c:914: warning: braces around scalar initializer
libcap_wrap.c:914: warning: (near initialization for `SwigMethods[10]')
libcap_wrap.c:914: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c:914: warning: initialization makes integer from pointer without
a cast
libcap_wrap.c:914: warning: excess elements in scalar initializer
libcap_wrap.c:914: warning: (near initialization for `SwigMethods[10]')
libcap_wrap.c:914: `METH_VARARGS' undeclared here (not in a function)
libcap_wrap.c:914: warning: excess elements in scalar initializer
libcap_wrap.c:914: warning: (near initialization for `SwigMethods[10]')
libcap_wrap.c:915: warning: braces around scalar initializer
libcap_wrap.c:915: warning: (near initialization for `SwigMethods[11]')
libcap_wrap.c:915: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c:915: warning: initialization makes integer from pointer without
a cast
libcap_wrap.c:915: warning: excess elements in scalar initializer
libcap_wrap.c:915: warning: (near initialization for `SwigMethods[11]')
libcap_wrap.c:915: `METH_VARARGS' undeclared here (not in a function)
libcap_wrap.c:915: warning: excess elements in scalar initializer
libcap_wrap.c:915: warning: (near initialization for `SwigMethods[11]')
libcap_wrap.c:916: warning: braces around scalar initializer
libcap_wrap.c:916: warning: (near initialization for `SwigMethods[12]')
libcap_wrap.c:916: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c:916: warning: initialization makes integer from pointer without
a cast
libcap_wrap.c:916: warning: excess elements in scalar initializer
libcap_wrap.c:916: warning: (near initialization for `SwigMethods[12]')
libcap_wrap.c:916: `METH_VARARGS' undeclared here (not in a function)
libcap_wrap.c:916: warning: excess elements in scalar initializer
libcap_wrap.c:916: warning: (near initialization for `SwigMethods[12]')
libcap_wrap.c:917: warning: braces around scalar initializer
libcap_wrap.c:917: warning: (near initialization for `SwigMethods[13]')
libcap_wrap.c:917: warning: initialization makes integer from pointer without
a cast
libcap_wrap.c:917: warning: excess elements in scalar initializer
libcap_wrap.c:917: warning: (near initialization for `SwigMethods[13]')
libcap_wrap.c:918: ISO C forbids data definition with no type or storage
class
libcap_wrap.c:940: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c:941: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c:942: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c:943: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c:944: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c:954: warning: no previous prototype for `init_libcap'
libcap_wrap.c: In function `init_libcap':
libcap_wrap.c:955: warning: ISO C forbids nested functions
libcap_wrap.c:955: syntax error before '*' token
libcap_wrap.c:957: `PyObject' undeclared (first use in this function)
libcap_wrap.c:957: `m' undeclared (first use in this function)
libcap_wrap.c:957: `d' undeclared (first use in this function)
libcap_wrap.c:957: warning: left-hand operand of comma expression has no
effect
libcap_wrap.c:958: warning: ISO C89 forbids mixed declarations and code
libcap_wrap.c:959: `SWIG_globals' undeclared (first use in this function)
libcap_wrap.c:960: warning: implicit declaration of function `Py_InitModule'
libcap_wrap.c:960: warning: cast discards qualifiers from pointer target
type
libcap_wrap.c:961: warning: implicit declaration of function `PyModule_GetDict'
libcap_wrap.c:957: warning: statement with no effect
libcap_wrap.c: At top level:
libcap_wrap.c:167: warning: `SWIG_TypeDynamicCast' defined but not used
libcap_wrap.c:179: warning: `SWIG_TypeQuery' defined but not used
libcap_wrap.c:291: warning: `swig_varlink_print' defined but not used
libcap_wrap.c:317: warning: `swig_varlink_setattr' defined but not used
libcap_wrap.c:361: warning: `SWIG_addvarlink' declared `static' but never
defined
libcap_wrap.c:506: warning: `SWIG_ConvertPacked' defined but not used
make[1]: *** [libcap_wrap.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/libcap-1.10/work/libcap-1.10/libcap'
make: *** [install] Error 2

!!! ERROR: sys-libs/libcap-1.10 failed.
!!! Function src_install, Line 52, Exitcode 2
!!! (no error message)
Comment 3 SpanKY gentoo-dev 2003-10-15 07:24:43 UTC
could you please run:
`emerge --debug libcap >& logfile`
and then attach logfile here ?
Comment 4 matt 2003-10-15 21:17:31 UTC
Created attachment 19287 [details]
results of emerge --debug

I've attached the requested information
Comment 5 SpanKY gentoo-dev 2003-10-18 00:09:51 UTC
i just updated the ebuild ... could you sync in a bit and see if it works
?
Comment 6 SpanKY gentoo-dev 2003-10-24 22:01:51 UTC
well the one in portage should fix this
Comment 7 matt 2003-11-02 21:06:16 UTC
Created attachment 20150 [details]
output of new ebuild

Sorry, been away from the computer for a while.  It still isn't working.
Comment 8 SpanKY gentoo-dev 2003-11-03 11:40:49 UTC
i'll double check
Comment 9 SpanKY gentoo-dev 2003-11-06 20:02:49 UTC
*** Bug 32809 has been marked as a duplicate of this bug. ***
Comment 10 matt 2003-11-09 19:21:56 UTC
libcap-1.10-r3 worked thanks