Comment 16 for bug 932064

Revision history for this message
Nathan Stratton Treadway (nathanst) wrote :

The underlying issue here is that various changes were made to glib in versions 2.31 and 2.32 which were incompatible with the existing Amanda codeline.

When glib 2.32 was included into Precise, that caused the amanda package builds to fail due to duplicate definitions of the g_queue_free_full() function. To work around this, a Ubuntu-specific patch was applied to amanda v1:3.3.0-1ubuntu1 (on Feb 05):
  http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/precise/amanda/precise/revision/24

However, it turns out that the glib upgrade also involved a separate change to the g_thread_supported() function -- a change which doesn't cause build failures but does cause all affected executables to abort due to the failed assertion as they are first starting up....

In March, there was a (rather verbose) thread on the amanda-user mailing list that eventually identified fixes for both those issues:
  http://thread.gmane.org/gmane.comp.sysutils.backup.amanda.general/39022
(subject line was "amdump failed last night")

In May, Gentoo upgraded glib versions and ran into these problems, and they were advised that the glib-2.32-related SVN commits (for the amanda 3.3 branch) were:
  http://amanda.svn.sourceforge.net/viewvc/amanda?view=revision&revision=4593
  http://amanda.svn.sourceforge.net/viewvc/amanda?view=revision&revision=4595
and
  http://amanda.svn.sourceforge.net/viewvc/amanda?view=revision&revision=4698

These fix the g_queue_free_full() issue, the g_thread_supported() issue, and some glib-related compiler warnings, respectively.

See gentoo-bugs #415587 and
  http://thread.gmane.org/gmane.comp.sysutils.backup.amanda.devel/3489/focus=3490
(subject line "Fwd: [Bug 415587] New: app-backup/amanda 3.3.0 fails with glib-2.32")
for more info.