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#4591 - pyxml: wrong paths to sax

Attached to Project: Arch Linux
Opened by Michael Krauss (hippodriver) - Sunday, 07 May 2006, 15:48 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture not specified
Severity High
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

If i use sax from pyxml in the following example program
(Sorry for the long code, but i hope, it should be easier for you to reproduce the
error with that, then to figure out an example yourself):

[ see the attached example file ]

python searches the library in the wrong path. If I build pyxml via abs:

[mickraus@gandalf journal]$ python test2.py
Traceback (most recent call last):
File "test2.py", line 33, in ?
parser.parse(file)
File "/var/abs/extra/lib/pyxml/pkg/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 109, in parse
xmlreader.IncrementalParser.parse(self, source)
...

And if I just install the package, I get:

"/home/jan/cvs/extra/lib/pyxml/pkg/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py"

instead.
pyxml seems to use the paths it was build in.


Kind Regards,
Michael Krauss
   test2.py (0.9 KiB)
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 15 May 2006, 20:00 GMT
Reason for closing:  Fixed
Comment by Jan de Groot (JGC) - Monday, 08 May 2006, 12:59 GMT
This is an issue with more packages I guess. Instead of running the install target with --prefix=${startdir}/pkg/usr, use --prefix=/usr --root=${startdir}/pkg.
Comment by Michael Krauss (hippodriver) - Monday, 08 May 2006, 14:29 GMT
Now it works.
Thank you

Michael Krauss

Loading...