Arch Linux

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#1735 - mysql-python needs a rebuild

Attached to Project: Arch Linux
Opened by Jason Chu (jason) - Thursday, 04 November 2004, 16:58 GMT
Last edited by Damir Perisa (damir.perisa) - Tuesday, 09 November 2004, 14:33 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Damir Perisa (damir.perisa)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 20%
Votes 0
Private No

Details

Traceback (most recent call last):
File "/home/jchu/coding/arch-tools/packagelist/trunk/scan.py", line 5, in ?
import MySQLdb
File "/usr/lib/python2.3/site-packages/MySQLdb/__init__.py", line 27, in ?
import _mysql
ImportError: libmysqlclient.so.12: cannot open shared object file: No such file or directory
This task depends upon

Closed by  Damir Perisa (damir.perisa)
Friday, 03 December 2004, 23:56 GMT
Reason for closing:  Fixed
Additional comments about closing:  mysql-python-1.1.7-1 is out - thanx alex
Comment by Damir Perisa (damir.perisa) - Friday, 05 November 2004, 18:05 GMT
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -march=i686-O2 -pipe -fPIC -I/usr/include/mysql -I/usr/local/include/mysql -I/usr/local/mysql/include -I/usr/local/mysql/include/mysql -I/usr/include/python2.3 -c _mysql.c -o build/temp.linux-i686-2.3/_mysql.o
_mysql.c: In function `_mysql_ConnectionObject_shutdown':
_mysql.c:1545: error: too few arguments to function `mysql_shutdown'
error: command 'gcc' failed with exit status 1
==> ERROR: Build Failed. Aborting...

looks like api of mysql changed ... i have no resources to fix mysql-python myself

==> waiting for mysql-python devs to make it compatible to newest mysql

==> of course, if someone finds a patch, feel free to post it here, so that i can apply it
Comment by av (xirus) - Friday, 03 December 2004, 16:24 GMT
the newest versions of mysql-python (http://sourceforge.net/project/showfiles.php?group_id=22307 - mysql-python-test 1.1.7) have fixed this problem
(in their bugtracer someone said to export mysqlversion=4.1.7 in bash, I did it before building mysql-python but I don't know if that's actually necessary)

Loading...