← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1556680] Re: [SRU] Wrong library path in CMake file for 64bit system

 

This bug was fixed in the package oce - 0.17.1-1ubuntu0.1

---------------
oce (0.17.1-1ubuntu0.1) xenial; urgency=medium

  * Backport 0.17-1-2 from Yakkety as an SRU, including changes:
    + Build-Depend on libfreeimageplus-dev instead of libfreeimage-dev
      in order to build with freeimage >= 3.17.0.
    + Rebuild against freeimage >= 3.17.0 to pick up correct library path
      in OCE04_VisualizationTargets-relwithdebinfo.cmake. (LP: #1556680)
    + Install files in /usr/lib/$(DEB_HOST_MULTIARCH)/oce-0.17. (LP: #1556685)

 -- Graham Inggs <ginggs@xxxxxxxxxx>  Sun, 22 May 2016 15:08:27 +0200

** Changed in: oce (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1556680

Title:
  [SRU] Wrong library path in CMake file for 64bit system

Status in oce package in Ubuntu:
  Fix Released
Status in oce source package in Xenial:
  Fix Released
Status in oce package in Debian:
  Fix Released

Bug description:
  [Impact]
  Packages having a build dependency on liboce-visualization-dev, e.g. freecad, gmsh and netgen, will FTBFS.

  [Test Case]
  With liboce-visualization-dev 0.17-1-1:
  $ sudo apt-get install liboce-visualization-dev
  $ ls -d /usr/lib/x86_64-linux-gnu/oce-*
  /usr/lib/x86_64-linux-gnu/oce-0.16
  $ cat /usr/lib/x86_64-linux-gnu/oce-0.16/OCE04_VisualizationTargets-relwithdebinfo.cmake | grep 'libfreeimage.so'
  You will see a line ending: ";/usr/lib/libfreeimage.so"

  With liboce-visualization-dev 0.17-1-1ubuntu0.1:
  $ sudo apt-get install liboce-visualization-dev
  $ ls -d /usr/lib/x86_64-linux-gnu/oce-*
  /usr/lib/x86_64-linux-gnu/oce-0.17
  $ cat /usr/lib/x86_64-linux-gnu/oce-0.17/OCE04_VisualizationTargets-relwithdebinfo.cmake | grep 'libfreeimage.so'
  You will see a line ending: ";/usr/lib/x86_64-linux-gnu/libfreeimage.so"

  [Regression Potential]
  Minimal, the reverse dependencies of src:oce are the packages that currently FTBFS.

  -----------------------------------------------------------------------------

  System: Xenial (16.04)
  Package: liboce-visualization-dev (0.17.1-1)

  liboce-visualization-dev provides CMake files, to be able to CMake-
  build an application using OCE.

  The /usr/lib/x86_64-linux-gnu/oce-0.16/OCE04_VisualizationTargets-
  relwithdebinfo.cmake file contains this section :

  # Import target "TKService" for configuration "RelWithDebInfo"
  set_property(TARGET TKService APPEND PROPERTY IMPORTED_CONFIGURATIONS RELWITHDEBINFO)
  set_target_properties(TKService PROPERTIES
    IMPORTED_LINK_INTERFACE_LIBRARIES_RELWITHDEBINFO "TKMath;TKernel;TKBRep;TKShHealing;TKGeomBase;TKGeomAlgo;TKG2d;TKG3d;TKTopAlgo;/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so;/usr/lib/x86_64-linux-gnu/libGLU.so;/usr/lib/x86_64-linux-gnu/libGL.so;/usr/lib/x86_64-linux-gnu/libGLU.so;/usr/lib/x86_64-linux-gnu/libGL.so;/usr/lib/x86_64-linux-gnu/libfreetype.so;/usr/lib/libfreeimage.so"
    IMPORTED_LOCATION_RELWITHDEBINFO "${_IMPORT_PREFIX}/lib/x86_64-linux-gnu/libTKService.so.10.0.0"
    IMPORTED_SONAME_RELWITHDEBINFO "libTKService.so.10"
    )

  The "freeimage" library path is wrong on 64bit, according to "dpkg -L libfreeimage-dev" :
  /usr/lib/x86_64-linux-gnu/libfreeimage.so
  not
  /usr/lib/libfreeimage.so as written in liboce-visualization-dev's CMake file.

  This bug prevents from building correctly applications that depends on
  liboce-visualization-dev using CMake.

  Tested: Fixing this path fixes build.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/oce/+bug/1556680/+subscriptions