Ticket #10272 (closed: invalid)

Opened 6 years ago

Last modified 5 years ago

Boost version in ubuntu 14.04 package

Reported by: Peter Peterson Owned by: Andrei Savici
Priority: minor Milestone: Release 3.3
Component: Framework Keywords:
Cc: Blocked By:
Blocking: Tester: Federico M Pouzols

Description

From Emmanuel Farhi:

Hi there, the Debian package for Mantid 3.2 used boost 1.54 (for e.g. Ubuntu14.04), but the available package for Mantid 3.2.1 refers to boost 1.48 which does not exist in Ubuntu 14.04, but only on Ubuntu 12.04. Could you specify boost>=1.48 in the DEBIAN/control ?

Change History

comment:1 Changed 6 years ago by Nick Draper

  • Status changed from new to assigned

comment:2 Changed 6 years ago by Andrei Savici

  • Status changed from assigned to verify
  • Resolution set to invalid

Mantid 3.2 was built on Ubuntu 12.04. Unfortunately, Ubuntu boost packages contain the version in the name, so you cannot specify version>1.48. The package name in the control file is given by the boost version on the build system (1.48 for the case of Ubuntu 12.04)

One option would be to hardcode the boost version in the cmake file as Boost1.54||Boost1.55||Boost 1.48||... where ... includes all boost versions that we test.

The other option would be to build a release version 3.2 on Ubuntu 14.04

Mantid 3.2.1 is also built with Ubuntu 12.04, and boost 1.48, so it also has problems on newer versions of Ubuntu

Last edited 6 years ago by Andrei Savici (previous) (diff)

comment:3 Changed 6 years ago by Federico M Pouzols

  • Status changed from verify to verifying
  • Tester set to Federico M Pouzols

comment:4 Changed 6 years ago by Federico M Pouzols

  • Status changed from verifying to closed

Yes, unfortunately it seems that in Ubuntu the boost library version is included as part of the package name (see for example http://packages.ubuntu.com/search?suite=trusty&section=all&arch=any&keywords=boost+library&searchon=all). Too bad. As pointed out above, one solution would be to provide binaries built for 14.04 and 12.04.

Another possible workaround: the dev packages do not include the version number in their names (all this seems directly inherited from debian). You'll find for example: libboost-all-dev, or libboost-system-dev (and those include as dependencies the version-named dev packages which in turn include the version-named non-dev packages). This would require/depend on more than what is actually needed, but will probably do the trick. If boost libs are the only dependency that prevents users from installing the 12.04 package in Ubuntu 14.04, this could be worth considering for the future.

comment:5 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 11114

Note: See TracTickets for help on using tickets.