Control: tags -1 + patch

On 10/27/20 1:24 AM, James McCoy wrote:
> On Wed, Oct 21, 2020 at 12:42:36PM +0200, Matthias Klose wrote:
>> On 10/21/20 1:13 AM, James McCoy wrote:
>>> On Wed, Oct 14, 2020 at 10:22:50AM +0200, Matthias Klose wrote:
>>>> subversion b-d's on python3-all-dev, but only builds for the default 
>>>> python3
>>>> version.
>>>
>>> It actually builds for all available versions, but the install is
>>> broken.  This used to work with Python 2.x.
>>>
>>> It looks like the difference is that
>>>
>>>   python$$v -c 'from distutils import sysconfig; 
>>> print(sysconfig.get_python_lib())'
>>>
>>> no longer returns a version-specific path.  When installing the Python
>>> bindings, that means we install all versions to the same path and they
>>> overwrite each other.
>>>
>>> Was this an intentional change?  If so, I guess I'll need to emulate
>>> aspects of pybuild to handle this.
>>
>> yes, 2.7 installed into a version specific path, while 3.x installs into a
>> common path. Maybe it's worth patch the upstream to create the soname with 
>> the
>> version already encoded in the soname.
> 
> We're already doing some patching (thanks to you!) to support building
> version-specific Python bindings.  I'll see about updating that to use
> the distutils.sysconfig.get_config_var('EXT_SUFFIX').

here's a packaging-only patch:
http://launchpadlibrarian.net/504564871/subversion_1.14.0-2build1_1.14.0-2ubuntu1.diff.gz

Reply via email to