Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#38206 - [clearsilver] python2 module neo_cgi has an undefined symbol crc32

Attached to Project: Community Packages
Opened by Alexander Grothe (seahawk1986) - Friday, 20 December 2013, 16:38 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 23 December 2013, 15:23 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The neo_cgi module cannot be imported using python2:
>>> import neo_cgi
Traceback (most recent call last):
File "<input>", line 1, in <module>
ImportError: /usr/lib/python2.7/site-packages/neo_cgi.so: undefined symbol: crc32

Additional info:
* package version: clearsilver-0.10.5-11

Rebuilding the package with this patch from https://bugzilla.altlinux.org/show_bug.cgi?id=11798#c2 solves the problem for me:
--- clearsilver-0.10.5/python/setup.py 2007-07-12 04:43:33.000000000 +0200
+++ b/python/setup.py 2013-12-20 17:15:10.148975435 +0100
@@ -56,7 +56,7 @@ for line in string.split(rules, "\n"):
if lib not in LIBRARIES:
inserted.append(lib)
sys.stderr.write("adding lib %s\n" % lib)
- LIBRARIES = inserted + LIBRARIES
+ LIBRARIES = LIBRARIES + inserted
elif var == "LDFLAGS":
matches = re.findall("-L(\S+)", val)
inserted = []

The bug has been ignored upstream for over a year (I have posted the patch there, too): https://code.google.com/p/clearsilver/issues/detail?id=8
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 23 December 2013, 15:23 GMT
Reason for closing:  Fixed

Loading...