Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64199 - sys-libs/libcap-1.10-r4: Updated Python support for >=swig-1.3.14
Summary: sys-libs/libcap-1.10-r4: Updated Python support for >=swig-1.3.14
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-15 18:08 UTC by Sascha Silbe
Modified: 2006-02-20 02:46 UTC (History)
1 user (show)

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


Attachments
Patch against libcap-1.10-r5.ebuild (bug64199-libcap-1.10-r5.patch,768 bytes, patch)
2004-09-15 18:10 UTC, Sascha Silbe
Details | Diff
updated static patch (now applies before python patch) (bug64199-libcap-1.10-14.static.patch,1.93 KB, patch)
2004-09-15 18:11 UTC, Sascha Silbe
Details | Diff
updated python patch (bug64199-libcap-1.10-14.static.python.patch,3.27 KB, patch)
2004-09-15 18:11 UTC, Sascha Silbe
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sascha Silbe 2004-09-15 18:08:43 UTC
swig-1.3.14 has introduced a source-level incompatibility. I've updated sys-libs/libcap-1.10-r4 to use a new python patch.
Comment 1 Sascha Silbe 2004-09-15 18:10:35 UTC
Created attachment 39675 [details, diff]
Patch against libcap-1.10-r5.ebuild
Comment 2 Sascha Silbe 2004-09-15 18:11:22 UTC
Created attachment 39676 [details, diff]
updated static patch (now applies before python patch)
Comment 3 Sascha Silbe 2004-09-15 18:11:48 UTC
Created attachment 39677 [details, diff]
updated python patch
Comment 4 SpanKY gentoo-dev 2004-10-14 18:18:38 UTC
now in libcap-1.10-r5, thanks
Comment 5 Sascha Silbe 2004-11-29 07:10:07 UTC
I still cannot see sys-libs/libcap-1.10-r5. The updated python patch is in the files directory (libcap-1.10-python-2.patch), but does not get used by libcap-1.10-r[34].ebuild.
Maybe you forgot to "cvs add" the updated ebuild?

Comment 6 SpanKY gentoo-dev 2004-11-29 17:49:27 UTC
no, i deleted it

the patch doesnt seem to do anything useful/new
Comment 7 Sascha Silbe 2004-11-30 03:52:33 UTC
The new patch is needed for >=swig-1.3.14.

Old patch (on a system with >=swig-1.3.14):
sascha@caravan:~$ python
Python 2.3.4 (#1, Oct 20 2004, 14:40:08) 
[GCC 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import libcap
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: dynamic module does not define init function (initlibcap)
>>> 


New patch (on a system with >=swig-1.3.14):
sascha@caravan:~$ python
Python 2.3.4 (#1, Oct 20 2004, 14:40:08) 
[GCC 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import libcap
>>> 

Comment 8 SpanKY gentoo-dev 2004-11-30 13:33:32 UTC
well can you update the patch that is being used by -r4 instead of writing a pretty different version ?

the patch in -r5 re-introduced bugs that -r4 fixed from earlier versions
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-02-20 02:46:37 UTC
No response from user...