Mailinglist Archive: opensuse-buildservice (366 mails)

< Previous Next >
[opensuse-buildservice] Python distutils broken on Fedora x86_64 ?
  • From: Pascal Bleser <pascal.bleser@xxxxxxxxx>
  • Date: Tue, 07 Aug 2007 01:52:23 +0200
  • Message-id: <46B7B437.2080906@xxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Weird... my webpin package [1] builds fine everywhere except on Fedora
x86_64, because the setup.py installs the Python modules into
/usr/lib/python.../site-packages/... instead of
/usr/lib64/python.../site-packages/

[1]http://build.opensuse.org/package/show?package=webpin&project=openSUSE%3ATools

OTOH, I do this in my spec file (because there's no %py_sitedir on Fedora):
- ---8<--------------------------------------------------------------
%if 0%{?!py_sitedir:1}
%define py_sitedir %(%__python -c 'from distutils import sysconfig;
print sysconfig.get_python_lib(1)')
%endif
- ---8<--------------------------------------------------------------

And %py_sitedir is set to /usr/lib64/python.../site-packages

Ummmm... an idea, anyone ?

Here's the log:
http://build.opensuse.org/package/live_build_log?repository=Fedora_7&package=webpin&arch=x86_64&project=openSUSE%3ATools

cheers
- --
  -o) Pascal Bleser     http://linux01.gwdg.de/~pbleser/
  /\\ <pascal.bleser@xxxxxxxxx>       <guru@xxxxxxxxxxx>
 _\_v The more things change, the more they stay insane.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFGt7Q3r3NMWliFcXcRAiLbAKCbJoSEaw3gV1lfYy+veUOBCcrsTwCgj5tR
EV9k2ZgdZAe+JfQloHk85ew=
=0fv1
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups