← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1588330] Re: Incompatible builds of libodb and libodb-mysql

 

** Also affects: libodb-pgsql (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: libodb-qt (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: libodb-boost (Ubuntu)
   Importance: Undecided
       Status: New

** Description changed:

- There appears to be some incompatibility between libodb and libodb-mysql
- in that the latter cannot resolve symbols from the former. More details
- are in this odb-users mailing list thread:
+ [Impact]
+ 
+ * libodb stack changes abi when build with new enough g++ (due to c++11 abi tagging)
+ * things that are compiled with new abi are ok (libodb-mysql); linking against mixed build things does not work (e.g. 3rd party apps, like odb-tests building against new libodb-mysql and old libodb)
+ 
+ [Solution]
+ * In debian, simply binNMUs were done without bumping the ABI =/
+ 
+ * Whilst libodb-boost and libodb-qt do not appear to be affected, imho
+ it is best to rebuild them too.
+ 
+ [Testcase]
+ * download odb-tests
+ * autoreconf -fi
+ * Build and link with following configs (./configure; make clean; make)
+ + ./configure --with-database=sqlite
+ + ./configure --with-database=mysql
+ + ./configure --with-database=pgsql
+ 
+ 
+ There appears to be some incompatibility between libodb and libodb-mysql in that the latter cannot resolve symbols from the former. More details are in this odb-users mailing list thread:
  
  http://www.codesynthesis.com/pipermail/odb-users/2016-May/003277.html
  
  My suspicion (discussed in the second post of the above thread) is that
  libodb is built in the C++11 mode while the rest of the ODB runtimes
  (libodb-mysql and libodb-pgsql were confirmed by the users) -- C++98. I,
  however, couldn't find the package build logs (neither on Ubuntu nor on
  Debian) to confirm this.

** Also affects: libodb (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: libodb-sqlite (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: libodb-pgsql (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: libodb-boost (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: libodb-qt (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: libodb (Ubuntu Zesty)
   Importance: Undecided
       Status: Confirmed

** Also affects: libodb-sqlite (Ubuntu Zesty)
   Importance: Undecided
       Status: Confirmed

** Also affects: libodb-pgsql (Ubuntu Zesty)
   Importance: Undecided
       Status: New

** Also affects: libodb-boost (Ubuntu Zesty)
   Importance: Undecided
       Status: New

** Also affects: libodb-qt (Ubuntu Zesty)
   Importance: Undecided
       Status: New

** Also affects: libodb (Ubuntu Yakkety)
   Importance: Undecided
       Status: New

** Also affects: libodb-sqlite (Ubuntu Yakkety)
   Importance: Undecided
       Status: New

** Also affects: libodb-pgsql (Ubuntu Yakkety)
   Importance: Undecided
       Status: New

** Also affects: libodb-boost (Ubuntu Yakkety)
   Importance: Undecided
       Status: New

** Also affects: libodb-qt (Ubuntu Yakkety)
   Importance: Undecided
       Status: New

** Changed in: libodb (Ubuntu Zesty)
    Milestone: None => ubuntu-17.02

** Changed in: libodb (Ubuntu Zesty)
     Assignee: (unassigned) => Dimitri John Ledkov (xnox)

** Changed in: libodb-boost (Ubuntu Zesty)
    Milestone: None => ubuntu-17.02

** Changed in: libodb-boost (Ubuntu Zesty)
     Assignee: (unassigned) => Dimitri John Ledkov (xnox)

** Changed in: libodb-pgsql (Ubuntu Zesty)
    Milestone: None => ubuntu-17.02

** Changed in: libodb-pgsql (Ubuntu Zesty)
     Assignee: (unassigned) => Dimitri John Ledkov (xnox)

** Changed in: libodb-qt (Ubuntu Zesty)
    Milestone: None => ubuntu-17.02

** Changed in: libodb-qt (Ubuntu Zesty)
     Assignee: (unassigned) => Dimitri John Ledkov (xnox)

** Changed in: libodb-sqlite (Ubuntu Zesty)
    Milestone: None => ubuntu-17.02

** Changed in: libodb-sqlite (Ubuntu Zesty)
     Assignee: (unassigned) => Dimitri John Ledkov (xnox)

-- 
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/1588330

Title:
  Incompatible builds of libodb and libodb-mysql

Status in libodb package in Ubuntu:
  Confirmed
Status in libodb-boost package in Ubuntu:
  New
Status in libodb-pgsql package in Ubuntu:
  New
Status in libodb-qt package in Ubuntu:
  New
Status in libodb-sqlite package in Ubuntu:
  Confirmed
Status in libodb source package in Xenial:
  New
Status in libodb-boost source package in Xenial:
  New
Status in libodb-pgsql source package in Xenial:
  New
Status in libodb-qt source package in Xenial:
  New
Status in libodb-sqlite source package in Xenial:
  New
Status in libodb source package in Yakkety:
  New
Status in libodb-boost source package in Yakkety:
  New
Status in libodb-pgsql source package in Yakkety:
  New
Status in libodb-qt source package in Yakkety:
  New
Status in libodb-sqlite source package in Yakkety:
  New
Status in libodb source package in Zesty:
  Confirmed
Status in libodb-boost source package in Zesty:
  New
Status in libodb-pgsql source package in Zesty:
  New
Status in libodb-qt source package in Zesty:
  New
Status in libodb-sqlite source package in Zesty:
  Confirmed

Bug description:
  [Impact]

  * libodb stack changes abi when build with new enough g++ (due to c++11 abi tagging)
  * things that are compiled with new abi are ok (libodb-mysql); linking against mixed build things does not work (e.g. 3rd party apps, like odb-tests building against new libodb-mysql and old libodb)

  [Solution]
  * In debian, simply binNMUs were done without bumping the ABI =/

  * Whilst libodb-boost and libodb-qt do not appear to be affected, imho
  it is best to rebuild them too.

  [Testcase]
  * download odb-tests
  * autoreconf -fi
  * Build and link with following configs (./configure; make clean; make)
  + ./configure --with-database=sqlite
  + ./configure --with-database=mysql
  + ./configure --with-database=pgsql

  
  There appears to be some incompatibility between libodb and libodb-mysql in that the latter cannot resolve symbols from the former. More details are in this odb-users mailing list thread:

  http://www.codesynthesis.com/pipermail/odb-users/2016-May/003277.html

  My suspicion (discussed in the second post of the above thread) is
  that libodb is built in the C++11 mode while the rest of the ODB
  runtimes (libodb-mysql and libodb-pgsql were confirmed by the users)
  -- C++98. I, however, couldn't find the package build logs (neither on
  Ubuntu nor on Debian) to confirm this.

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