← Back to team overview

hugin-devs team mailing list archive

[Bug 1166780] [NEW] Fails to build on a python multiarch system

 

Public bug reported:

In the next Ubuntu release, Python will be installed multiarch, which
means that patchlevel.h has moved. PYTHON_INCLUDE_DIRS as used in
CMakeLists.txt now contains two paths, and this breaks the existing
logic which assumes that it only has one path. To find patchlevel.h, we
should try all paths defined in PYTHON_INCLUDE_DIRS, rather than
assuming that it only has one path.

This causes a fail to build as logged here:
https://launchpadlibrarian.net/135986027/buildlog_ubuntu-raring-
armhf.hugin_2011.4.0%2Bdfsg-5ubuntu1_FAILEDTOBUILD.txt.gz

Patch attached.

** Affects: hugin
     Importance: Undecided
         Status: New

** Patch added: "python-multiarch.patch"
   https://bugs.launchpad.net/bugs/1166780/+attachment/3634513/+files/python-multiarch.patch

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1166780

Title:
  Fails to build on a python multiarch system

Status in Hugin - Panorama Tools GUI:
  New

Bug description:
  In the next Ubuntu release, Python will be installed multiarch, which
  means that patchlevel.h has moved. PYTHON_INCLUDE_DIRS as used in
  CMakeLists.txt now contains two paths, and this breaks the existing
  logic which assumes that it only has one path. To find patchlevel.h,
  we should try all paths defined in PYTHON_INCLUDE_DIRS, rather than
  assuming that it only has one path.

  This causes a fail to build as logged here:
  https://launchpadlibrarian.net/135986027/buildlog_ubuntu-raring-
  armhf.hugin_2011.4.0%2Bdfsg-5ubuntu1_FAILEDTOBUILD.txt.gz

  Patch attached.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1166780/+subscriptions


Follow ups

References