[pysqlite 2.1.0] installation fails without `--old-and-unmanageable' option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!
I wanted to update python-sqlite2 to version 2.1.0 but installation now fails if I don't use `--old-and-unmanageable' option:

byte-compiling build/bdist.linux-i686/egg/pysqlite2/dbapi2.py to dbapi2.pyc
writing byte-compilation script '/tmp/tmpLsv2cn.py'
/usr/bin/python -O /tmp/tmpLsv2cn.py
removing /tmp/tmpLsv2cn.py
creating stub loader for pysqlite2/_sqlite.so
Traceback (most recent call last):
  File "setup.py", line 143, in ?
    main()
  File "setup.py", line 129, in main
    classifiers = [
  File "/usr/lib/python2.4/distutils/core.py", line 149, in setup
    dist.run_commands()
  File "/usr/lib/python2.4/distutils/dist.py", line 946, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command
    cmd_obj.run()
File "/usr/lib/python2.4/site-packages/setuptools-0.6a8-py2.4.egg/setuptools/command/install.py", line 42, in run
    self.run_command('bdist_egg')
  File "/usr/lib/python2.4/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command
    cmd_obj.run()
File "/usr/lib/python2.4/site-packages/setuptools-0.6a8-py2.4.egg/setuptools/command/bdist_egg.py", line 192, in run
    cmd.byte_compile(to_compile)
File "/usr/lib/python2.4/distutils/command/install_lib.py", line 133, in byte_compile
    dry_run=self.dry_run)
  File "/usr/lib/python2.4/distutils/util.py", line 438, in byte_compile
    raise ValueError, \
ValueError: invalid prefix: filename 'build/bdist.linux-i686/egg/pysqlite2/_sqlite.py' doesn't start with '/var/tmp/python-sqlite2-2.1.0-1-root-y4kk0'
error: Bad exit status from /var/tmp/rpm-tmp.70739 (%install)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.70739 (%install)
[y4kk0@X SPECS]$

You can use this package for testing → http://student.agh.edu.pl/~pmalina/fedora_extras/python-sqlite2-2.1.0-1.src.rpm

Is this a bug in pysqlite2? May I temporarily use `--old-and-unmanageable' option?

BTW Do you know where can I find good documentation about packaging python modules? For instance I'm curious why some packages create *.pth files (for example python-formencode). I did not find the answer in http://fedoraproject.org/wiki/PythonPackages

Regards,
	Dawid

--

  ^_*


--
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux