[Bug 1800264] Re: python3-libtorrent linking libboost_python27.so instead of libboost_python36.so

Brian Murray brian at ubuntu.com
Tue Dec 11 18:27:13 UTC 2018


It doesn't seem worth fixing but the debdiff has an extraneous line
removal in debian/changelog.


** Changed in: libtorrent-rasterbar (Ubuntu Cosmic)
       Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-cosmic

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1800264

Title:
  python3-libtorrent linking libboost_python27.so instead of
  libboost_python36.so

Status in boost1.67 package in Ubuntu:
  Won't Fix
Status in libtorrent-rasterbar package in Ubuntu:
  Fix Released
Status in boost1.67 source package in Cosmic:
  New
Status in libtorrent-rasterbar source package in Cosmic:
  Fix Committed

Bug description:
  [Impact]

  Due to the libboost-python naming convention changing,
  python3-libtorrent incorrectly links to libboost_python27.so instead
  of libboost_python36.so in cosmic. The essentially renders the package
  useless.

  [Test Case]

  Run the command:

  $ python3 -c "import libtorrent"

  With 1.1.9-1 on cosmic, it will fail with:

  Traceback (most recent call last):
    File "<string>", line 1, in <module>
  ImportError: /usr/lib/x86_64-linux-gnu/libboost_python27.so.1.67.0: undefined symbol: PyClass_Type

  
  The command should exit without error in the fixed version.

  [Regression Potential]

  There is little regression potential as the package is currently
  broken without this fix.

  ----

  An error occurs when importing the libtorrent module from python 3.x
  script:

  ImportError: /usr/lib/x86_64-linux-gnu/libboost_python27.so.1.67.0:
  undefined symbol: PyClass_Type

  How to reproduce:
  1. Install packages:
  python36
  python3-libtorrent
  2. Run any python script importing libtorrent module

  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: python3-libtorrent 1.1.9-1
  ProcVersionSignature: Ubuntu 4.18.0-10.11-generic 4.18.12
  Uname: Linux 4.18.0-10-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.10-0ubuntu13
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Sat Oct 27 09:21:43 2018
  InstallationDate: Installed on 2009-11-28 (3254 days ago)
  InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
  SourcePackage: libtorrent-rasterbar
  UpgradeStatus: Upgraded to cosmic on 2018-10-25 (1 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/boost1.67/+bug/1800264/+subscriptions



More information about the Ubuntu-sponsors mailing list