glom versioned dependency on libglom

Bug #60969 reported by undefined
4
Affects Status Importance Assigned to Milestone
glom (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

doesn't glom need a versioned dependency on libglom?

$ dpkg -l | grep glom
ii glom 1.0.5-0ubuntu1 database designer and user interface
ii libglom0 1.0.4-0ubuntu1 Glom library (a database designer and user interface) - library

$ glom
glom: symbol lookup error: glom: undefined symbol: _ZN4Glom14ConnectionPool12get_instanceEv

now, granted, i'm running debian testing, rebuilding ubuntu's glom source package (1.0.4-0ubuntu1 and 1.0.5-0ubuntu1) for it, but the problem should (at least theoretically) exist in ubuntu.

and yeah, assuming both glom and libglom enter the repository at the same time (and they should), then an "apt-get upgrade" should upgrade both packages at the same time. but if a user executes "apt-get install glom" (because they shouldn't also have to list every dependency of glom) with libglom already installed, then the new glom will fail (as demonstrated above).

i believe the problem was caused in 1.0.5 by the addition of the Glom namespace within glom/libglom/connectionpool.h, changing the name-mangling from 1.0.4. shouldn't such a change in the API cause a change in the soname? (though not strictly necessary as glom is the only application dependent on libglom, but a good policy should the library be used by others in the future.) but more importantly (pragmatically) imho is for glom to have a versioned dependency on libglom.

thank you for your packaging of glom!

Related branches

Revision history for this message
Murray Cumming (murrayc) wrote : Re: [Bug 60969] glom versioned dependency on libglom

Could you use the mailing list, please?

> Public bug reported:
>
> doesn't glom need a versioned dependency on libglom?
>
> $ dpkg -l | grep glom
> ii glom 1.0.5-0ubuntu1
> database designer and user interface
> ii libglom0 1.0.4-0ubuntu1
> Glom library (a database designer and user interface) - library
>
> $ glom
> glom: symbol lookup error: glom: undefined symbol:
> _ZN4Glom14ConnectionPool12get_instanceEv
>
> now, granted, i'm running debian testing, rebuilding ubuntu's glom
> source package (1.0.4-0ubuntu1 and 1.0.5-0ubuntu1) for it, but the
> problem should (at least theoretically) exist in ubuntu.
>
> and yeah, assuming both glom and libglom enter the repository at the
> same time (and they should), then an "apt-get upgrade" should upgrade
> both packages at the same time. but if a user executes "apt-get install
> glom" (because they shouldn't also have to list every dependency of
> glom) with libglom already installed, then the new glom will fail (as
> demonstrated above).
>
> i believe the problem was caused in 1.0.5 by the addition of the Glom
> namespace within glom/libglom/connectionpool.h, changing the name-
> mangling from 1.0.4. shouldn't such a change in the API cause a change
> in the soname? (though not strictly necessary as glom is the only
> application dependent on libglom, but a good policy should the library
> be used by others in the future.) but more importantly (pragmatically)
> imho is for glom to have a versioned dependency on libglom.
>
> thank you for your packaging of glom!
>
> ** Affects: glom (Ubuntu)
> Importance: Untriaged
> Status: Unconfirmed
>
> --
> glom versioned dependency on libglom
> https://launchpad.net/bugs/60969
>

Murray Cumming
<email address hidden>
www.murrayc.com
www.openismus.com

Revision history for this message
Murray Cumming (murrayc) wrote :

Ah, sorry about the last email., I didn't recognise that the email was a
notification from launchpad.

Murray Cumming
<email address hidden>
www.murrayc.com
www.openismus.com

Revision history for this message
Daniel Holbach (dholbach) wrote :

Once the UVF exception (bug 63545) is granted, this upload will fix it:

 glom (1.1.3-0ubuntu1) edgy; urgency=low
 .
   * New upstream release:
     - Added Add Related Table item to the Tables menu. This is a time-saving
       feature to quickly create a related table and a relationship to it, and
       is a first step to implementing further refactoring functionality.
     - Creating from examples: Correct a problem that could lead to Glom not
       using all the rows of example data.
   * debian/control:
     - glom has strictly versioned dependency on libglom0 (Malone: #60969).

Changed in glom:
assignee: nobody → dholbach
importance: Undecided → Medium
status: Unconfirmed → Fix Committed
Revision history for this message
Daniel Holbach (dholbach) wrote :

Uploaded. Thanks for the bug report.

Changed in glom:
status: Fix Committed → Fix Released
Revision history for this message
Jani Monoses (jani) wrote :

reopening this as the necessary versioned dependency on libglom has disappeared from recent packages

Changed in glom:
status: Fix Released → New
Changed in glom:
assignee: dholbach → nobody
Changed in glom:
assignee: nobody → protonchris
status: New → In Progress
Revision history for this message
Chris Brotherton (protonchris) wrote :

New version of glom upload which addresses this issue. See Bug 216308 .

Changed in glom:
assignee: protonchris → nobody
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package glom - 1.6.14-0ubuntu1

---------------
glom (1.6.14-0ubuntu1) hardy; urgency=low

  * New upstream release
    - Fixes a crash that happens when adding a record without a primary key
      (LP: #216308).
  * debian/control:
    - Update glom so that it depends on the version of libglom0 built from the
      same source package (LP: #60969).

 -- Christopher Brotherton <email address hidden> Wed, 09 Apr 2008 20:43:03 -0600

Changed in glom:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.