[issue11715] Building Python on multiarch Debian and Ubuntu

2012-09-21 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
Removed message: http://bugs.python.org/msg169954

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2012-09-21 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
Removed message: http://bugs.python.org/msg169959

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2012-09-21 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
Removed message: http://bugs.python.org/msg169961

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2012-09-21 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 53fa224b95f4 by doko in branch '2.7':
- Issue #11715: Fix multiarch detection without having Debian development
http://hg.python.org/cpython/rev/53fa224b95f4

New changeset 78aba41a8105 by doko in branch '3.2':
- Issue #11715: Fix multiarch detection without having Debian development
http://hg.python.org/cpython/rev/78aba41a8105

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2012-09-21 Thread Matthias Klose

Matthias Klose added the comment:

fixed for 2.7 and 3.2 as well.

--
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2012-09-06 Thread Ezio Melotti

Ezio Melotti added the comment:

Today I got the same problem on 3.2 too.
I made a distclean and recompiled and got:

Python build finished, but the necessary bits to build these modules were not 
found:
_curses_curses_panel  _dbm
_gdbm  _sqlite3   _ssl
_tkinter   bz2readline

I tried to apply ma.diff and now I get:

Python build finished, but the necessary bits to build these modules were not 
found:
_curses_curses_panel  _dbm
_gdbm  _tkinter   bz2

--
nosy: +ezio.melotti
status: closed - open

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2012-09-06 Thread Ezio Melotti

Ezio Melotti added the comment:

2.7 is affected too:

Python build finished, but the necessary bits to build these modules were not 
found:
_bsddb _curses_curses_panel   
_sqlite3   _ssl   _tkinter
bsddb185   bz2dbm 
gdbm   readline   sunaudiodev 

And after applying ma.diff:

Python build finished, but the necessary bits to build these modules were not 
found:
_bsddb _curses_curses_panel   
_tkinter   bsddb185   bz2 
dbmgdbm   sunaudiodev

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2012-09-06 Thread Matthias Klose

Matthias Klose added the comment:

I think that the ma.diff can safely go to the 2.7 and 3.2 branches.

For the other extensions which are not built you are probably missing the build 
dependencies (try: apt-get build-dep python2.7 python3.2).

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2012-09-06 Thread Ezio Melotti

Ezio Melotti added the comment:

The other missing extensions are not a problem, as long as the one that I need 
and already have (e.g. readline, _ssl) are built correctly.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2012-09-06 Thread Roundup Robot

Roundup Robot added the comment:

New changeset b9261dd34289 by Christian Heimes in branch '3.2':
Issue #15591 and Issue #11715: silence output of setup.py when make is run with 
-s option.
http://hg.python.org/cpython/rev/b9261dd34289

New changeset fcc629208842 by Christian Heimes in branch 'default':
Issue #15591 and Issue #11715: silence output of setup.py when make is run with 
-s option.
http://hg.python.org/cpython/rev/fcc629208842

New changeset 2587aeb616b6 by Christian Heimes in branch '2.7':
Issue #15591 and Issue #11715: silence output of setup.py when make is run with 
-s option.
http://hg.python.org/cpython/rev/2587aeb616b6

New changeset 4807ed8a627e by Christian Heimes in branch 'default':
Issue #15591 and Issue #11715: silence output of setup.py when make is run with 
-s option.
http://hg.python.org/cpython/rev/4807ed8a627e

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2012-09-06 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 8cd6acffbcb9 by Christian Heimes in branch '2.7':
Issue #15591 and Issue #11715: silence output of setup.py when make is run with 
-s option.
http://hg.python.org/cpython/rev/8cd6acffbcb9

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2012-09-06 Thread Christian Heimes

Christian Heimes added the comment:

Sorry for the noise! I confused two tickets. The checkin should have referred 
to #15830 and #15591

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2012-08-08 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 5966c206654b by doko in branch 'default':
- Issue #11715: Fix multiarch detection without having Debian development
http://hg.python.org/cpython/rev/5966c206654b

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2012-08-08 Thread Matthias Klose

Changes by Matthias Klose d...@debian.org:


--
resolution:  - fixed
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2012-08-07 Thread Matthias Klose

Matthias Klose added the comment:

about searching /lib/multiarch: adding this directory won't help. all .a and 
.so files are installed in /usr/lib or /usr/lib/multiarch.

about the missing dpkg-architecture: see the attached ma.diff patch. the 
Debian/Ubuntu system compilers add an option -print-multiarch, which can be 
used to get the multiarch name without having the dpkg-dev package installed.

--
nosy: +doko
resolution: fixed - 
status: closed - open
Added file: http://bugs.python.org/file26719/ma.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2011-10-14 Thread Ross Lagerwall

Ross Lagerwall rosslagerw...@gmail.com added the comment:

I see this requires dpkg-architecture which isn't always available. While it 
isn't hard to install it, it isn't very clear that this is the cause of the nis 
and crypt modules failing to build on a fresh install of 11.10.

What would be nice is if there were some way of determining this information 
without dpkg-architecture such as reading it from 
/etc/ld.so.conf.d/x86_64-linux-gnu.conf.

--
nosy: +rosslagerwall

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2011-09-12 Thread Christian Heimes

Christian Heimes li...@cheimes.de added the comment:

Hey Nick and Barry,

the fix in http://hg.python.org/cpython/rev/bd0f73a9538e isn't sufficient. You 
have added /usr/lib/MULTIARCH and /usr/include/MULTIARCH but you forgot to add 
/lib/MULTIARCH. On my system zlib is installed at /lib/x86_64-linux-gnu/libz.so.

--
nosy: +christian.heimes

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2011-09-12 Thread Christian Heimes

Christian Heimes li...@cheimes.de added the comment:

Update:

It turns out that zlib1g-dev adds a symlink from 
/usr/lib/x86_64-linux-gnu/libz.so to /lib/x86_64-linux-gnu/libz.so.1 .

$ locate libz.
/lib/x86_64-linux-gnu/libz.so.1
/lib/x86_64-linux-gnu/libz.so.1.2.3.4
/usr/lib/x86_64-linux-gnu/libz.a
/usr/lib/x86_64-linux-gnu/libz.so

Perhaps this symlink is missing on Nick's installation. It might be a wise idea 
to add /lib/MULTIARCH to the library search paths, too.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2011-09-12 Thread Nick Coghlan

Nick Coghlan ncogh...@gmail.com added the comment:

It wouldn't surprise me at all if the laptop's links were a little off - I 
started with a Kubuntu image off VMWare's site quite some time ago, then 
dist-upgraded it through a couple of releases as they came out.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2011-09-12 Thread Barry A. Warsaw

Barry A. Warsaw ba...@python.org added the comment:

On Sep 12, 2011, at 12:34 PM, Nick Coghlan wrote:

It wouldn't surprise me at all if the laptop's links were a little off - I
started with a Kubuntu image off VMWare's site quite some time ago, then
dist-upgraded it through a couple of releases as they came out.

I'll try to get a VM up with the latest Oneiric Kubuntu image and see what
happens.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2011-08-22 Thread Barry A. Warsaw

Barry A. Warsaw ba...@python.org added the comment:

On Aug 18, 2011, at 07:09 AM, Nick Coghlan wrote:

I'm not sure this is 100% fixed. After dist-upgrading the Kubuntu VM on my
netbook and updating to the latest Py3k code, I got a lot of test errors,
even after a make distclean and ./configure.

Hi Nick.  Would this be Kubuntu 11.04 or some other release?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2011-08-18 Thread Nick Coghlan

Nick Coghlan ncogh...@gmail.com added the comment:

I'm not sure this is 100% fixed. After dist-upgrading the Kubuntu VM on my 
netbook and updating to the latest Py3k code, I got a lot of test errors, even 
after a make distclean and ./configure.

The errors went away after manually tweaking LDFLAGS as Christian describes 
here:
http://lipyrary.blogspot.com/2011/05/how-to-compile-python-on-ubuntu-1104.html

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2011-04-07 Thread Stefan Krah

Stefan Krah stefan-use...@bytereef.org added the comment:

The FreeBSD and Solaris bots are failing:

dpkg-architecture: not found
error: build/temp.freebsd-8.2-RELEASE-amd64-3.3-pydebug/multiarch: No such file 
or directory
[62607 refs]
*** Error code 1


find_executable.patch should solve the problem.

--
Added file: http://bugs.python.org/file21558/find_executable.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2011-04-07 Thread Barry A. Warsaw

Barry A. Warsaw ba...@python.org added the comment:

Stefan, thanks for the patch.  The problem is that on FreeBSD and Solaris, if 
the command fails, I/O redirection does not create the file, whereas on Linux 
and OS X it does.  So I was going to wrap the os.remove() of the temp file in a 
try/except.  But I like your patch better because it avoids the 
dpkg-architecture call in the first place on systems that don't have it, albeit 
at the cost of traversing $PATH.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2011-04-07 Thread Roundup Robot

Roundup Robot devnull@devnull added the comment:

New changeset c8738114b962 by Barry Warsaw in branch '3.1':
Refinement by Stefan Krah (see issue 11715, msg133194) to exit early if the
http://hg.python.org/cpython/rev/c8738114b962

New changeset 3d7c9b38fbfd by Barry Warsaw in branch '3.2':
Refinement by Stefan Krah (see issue 11715, msg133194) to exit early if the
http://hg.python.org/cpython/rev/3d7c9b38fbfd

New changeset bbfc65d05588 by Barry Warsaw in branch 'default':
Refinement by Stefan Krah (see issue 11715, msg133194) to exit early if the
http://hg.python.org/cpython/rev/bbfc65d05588

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2011-04-07 Thread Roundup Robot

Roundup Robot devnull@devnull added the comment:

New changeset bd0f73a9538e by Barry Warsaw in branch '2.7':
Backport for Python 2.7 of issue 11715 support for building Python on
http://hg.python.org/cpython/rev/bd0f73a9538e

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2011-04-07 Thread Barry A. Warsaw

Changes by Barry A. Warsaw ba...@python.org:


--
resolution:  - fixed
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2011-04-06 Thread Barry A. Warsaw

Changes by Barry A. Warsaw ba...@python.org:


--
assignee:  - barry

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2011-04-06 Thread Stefan Krah

Stefan Krah stefan-use...@bytereef.org added the comment:

Since I do automated module testing against all Python versions,
my vote would be:

2.5: +1
2.6: +1
3.1: +1


This with the caveat that of course Martin has to decide for 2.5.
I'm just indicating my preference.

--
nosy: +skrah

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2011-04-06 Thread Roundup Robot

Roundup Robot devnull@devnull added the comment:

New changeset 7582a78f573b by Barry Warsaw in branch '3.1':
Issue 11715: Build extension modules on multiarch Debian and Ubuntu by
http://hg.python.org/cpython/rev/7582a78f573b

New changeset 867937dd2279 by Barry Warsaw in branch '3.2':
Issue 11715: Merge multiarch fix from 3.1 branch.
http://hg.python.org/cpython/rev/867937dd2279

New changeset 3f00611c3daf by Barry Warsaw in branch 'default':
Issue 11715: Merge multiarch fix from 3.1 branch.
http://hg.python.org/cpython/rev/3f00611c3daf

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2011-04-01 Thread Barry A. Warsaw

Barry A. Warsaw ba...@python.org added the comment:

As I see it, the patch is uncontroversial for 3.3, 3.2, and 2.7.  And it 
definitely will not be applied to 3.0.  That leaves 2.5, 2.6, and 3.1.  If you 
really care one way or the other, please register your vote in the tracker.

2.5: +0
2.6: +1
3.1: +1

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2011-04-01 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

I’m not opposed to the change.

--
nosy: +eric.araujo

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2011-04-01 Thread Nick Coghlan

Nick Coghlan ncogh...@gmail.com added the comment:

2.5: -1
2.6: -0
3.1: +0

As I see it, a large part of the security fixes only rule is for the benefit 
of folks auditing those security fixes, as it means there's very little noise 
in the branch to confuse the matter.

--
nosy: +ncoghlan

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2011-04-01 Thread Sandro Tosi

Changes by Sandro Tosi sandro.t...@gmail.com:


--
nosy: +sandro.tosi

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2011-03-31 Thread Martin v . Löwis

Martin v. Löwis mar...@v.loewis.de added the comment:

Python 2.5 is not open for bug fixes anymore, so this can't be applied to this 
branch. I suggest that Python 2.6 is closed for bug fixes as well.

--
nosy: +loewis

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2011-03-31 Thread Barry A. Warsaw

Barry A. Warsaw ba...@python.org added the comment:

On Mar 31, 2011, at 10:08 PM, Martin v. Löwis wrote:

Martin v. Löwis mar...@v.loewis.de added the comment:

Python 2.5 is not open for bug fixes anymore, so this can't be applied to
this branch. I suggest that Python 2.6 is closed for bug fixes as well.

Although I'd still like to apply it to 2.5, I defer to you as RM.  However,
if/when I ever need to do a 2.6 release I'll need to build and test it and I
don't want to have to keep an old version of Ubuntu around to do that.

So how about if I apply it to 2.6, 2.7, 3.1 - 3.3?

(I've also addressed the comment you made in the review.)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2011-03-31 Thread Martin v . Löwis

Martin v. Löwis mar...@v.loewis.de added the comment:

If Ubuntu stops supporting to build old Python releases, I rather consider this 
a serious bug in Debian, not one in Python.

If the issue is merely that certain extension modules fail to build, I see no 
real reason to do anything about it. Users affected by this issue can still 
edit Modules/Setup.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2011-03-30 Thread Jesús Cea Avión

Changes by Jesús Cea Avión j...@jcea.es:


--
nosy: +jcea

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2011-03-29 Thread Barry A. Warsaw

New submission from Barry A. Warsaw ba...@python.org:

Ubuntu 11.04 introduces new directories for libraries and headers to support 
multiple architectures on a single machine.  E.g. 64bit and 32bit on a 64bit 
Ubuntu.  Here are the specs:

https://wiki.ubuntu.com/MultiarchSpec
http://wiki.debian.org/ReleaseGoals/MultiArch

Unlike issue 1294959 this bug simply covers building Python and its stdlib 
extension modules on such systems.  For example, libsqlite3.so is no longer in 
/usr/lib but instead in /usr/lib/x86_64-linux-gnu on Ubuntu 11.04.  This means 
that a number of extension modules which depend on these 3rd party shared 
libraries simply won't build, because setup.py is too naive about the paths it 
searches.

The fix is fairly simple; you have to call out to dpkg-architecture to get the 
value of the platform's architecture and append that to /usr/lib and 
/usr/include for setup.py's search paths.  See the attached branch and patch 
for a candidate fix.

Because this does not introduce a new feature, it simply fixes the build 
process for changes to already supported platforms, I would like to apply this 
to Python 2.5 through 3.3.

--
components: Build
hgrepos: 13
messages: 132536
nosy: barry
priority: high
severity: normal
status: open
title: Building Python on multiarch Debian and Ubuntu
type: behavior
versions: Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2011-03-29 Thread Barry A. Warsaw

Changes by Barry A. Warsaw ba...@python.org:


--
keywords: +patch
Added file: http://bugs.python.org/file21464/a9b05b89ea39.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2011-03-29 Thread Barry A. Warsaw

Changes by Barry A. Warsaw ba...@python.org:


Removed file: http://bugs.python.org/file21464/a9b05b89ea39.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2011-03-29 Thread Barry A. Warsaw

Changes by Barry A. Warsaw ba...@python.org:


Added file: http://bugs.python.org/file21465/d504ca7e0fe5.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com