[Bug 950967] Re: glib2.0:armel uninstallable on systems that don't support executing armel code

Launchpad Bug Tracker 950967 at bugs.launchpad.net
Fri Mar 30 13:40:21 UTC 2012


This bug was fixed in the package glib2.0 - 2.32.0-1ubuntu1

---------------
glib2.0 (2.32.0-1ubuntu1) precise; urgency=low

  * Merge with Debian unstable. Remaining Ubuntu changes:
    - debian/control.in: Add Conflicts to obsolete libzeitgeist-gio,
      wncksyncdaemon, and old bamfdaemon, to clean them up on upgrades and
      avoid crashes due to incompatibilities. This can be dropped after the
      12.04 LTS release.
    - debian/control.in, debian/libglib2.0-bin.maintscript,
      debian/libglib2.0-bin.postinst: Remove /etc/etc/bash_completion.d/ files
      on upgrade, to clean up after LP #911191. This can be dropped after the
      12.04 LTS release.
    - 01_gettext-desktopfiles.patch: Use official "Keywords" key (lp #949864).
      Change now also committed to Debian SVN.
    - debian/libglib2.0-0.postrm.in: Only remove the compiled schemas on
      purge, not during upgrades. Otherwise we have no schemas available until
      the new postinst is run, which leads to applications aborting on missing
      schemas. Change now also committed to Debian SVN.
  * The new merge now makes packages which build depend on glib
    cross-buildable. (LP: #950967)

glib2.0 (2.32.0-2) unstable; urgency=low

  * Upload to unstable.
  * Revert upstream commit for now which makes single includes mandatory as
    the list of affected packages is still a bit too long.

glib2.0 (2.32.0-1) experimental; urgency=low

  * New upstream release.
  * Add single-include guard for gbytes.h. Patch cherry-picked from
    upstream Git.

glib2.0 (2.31.22-1) experimental; urgency=low

  * New upstream development release.
  * debian/libglib2.0-0.symbols: Add new symbol.

glib2.0 (2.31.20-1) experimental; urgency=low

  * New upstream development release.
  * debian/patches/61_glib-compile-binaries-path.patch: Refreshed.
  * debian/libglib2.0-0.symbols: Add new symbols.
  * Override list-missing target with an implementation that better handles
    multiple flavors (copied from the gtk+3.0 package).

glib2.0 (2.31.18-3) experimental; urgency=low

  * debian/control.in: Add Build-Depends on python-dbus, python-gobject-2, and
    libxml2-utils (xmllint). Required to run the test-suite.

glib2.0 (2.31.18-2) experimental; urgency=low

  * debian/control.in:
  - add libpcre3-dev to the list of dependencies of libglib2.0-dev
  - add libelf-dev as a build dependency to make gresource able to deal
    with ELF files

glib2.0 (2.31.18-1) experimental; urgency=low

  [ Gustavo Noronha Silva ]
  * New development release
  - Yeah, 2.31.8 was a mistake =/
  * debian/libglib2.0-0.symbols:
  - fix version declared for 2.31.8 symbols to not have -1
  - updated for 2.31.8 symbols
  * debian/patches/61_glib-compile-schemas-path.patch,
    debian/patches/61_glib-compile-binaries-path.patch:
  - renamed, and updated to also cover glib-compile-resources
  * debian/libglib2.0-0.install.in:
  - add glib-compile-resources

  [ Michael Biebl ]
  * debian/libglib2.0-bin.install: Install new gresource binary and the man
    pages for gresource and glib-compile-resources.
  * debian/libglib2.0-bin.links.in: Add symlink in /usr/bin for
    glib-compile-resources since we install the binary in a multiarch path.
  * debian/rules: Re-enable test-suite on kfreebsd but keep it non-fatal for
    now.

glib2.0 (2.31.8-1) experimental; urgency=low

  * New development release
  * debian/patches/*:
  - refreshed;
  * debian/patches/95-gmain-get-rid-of-poll_waiting.patch,
    debian/patches/96-fix-one-bit-mutex-test-on-some-platforms.patch,
    debian/patches/97-silence-compiler-warnings.patch,
    debian/patches/98-disable-two-more-GDBus-tests-using-fork.patch:
  - removed; applied upstream
  * debian/libglib2.0-0.symbols:
  - updated with new symbols
   NOTES:
    + g_simple_action_get_parameter_type (from 2.28.0)
      was made static in 09429e2c820118918e6132d32884eb02203136d4
    + g_unix_resolver_get_type (from 2.22.0) was removed
      by 5a30712dc7e4adc36b0e8fd82cf5ccec19bbbdc5, with the
      removal of !g_thread_supported code paths

glib2.0 (2.30.2-7) UNRELEASED; urgency=low

  * libglib2.0-0.postinst.in:
    + Encapsulate gio-querymodules calls in || true statements.
      Closes: #659588.
    + Only run gio-querymodules on the non-multiarch path for the host
      architecture.
  * rules: add substitution for #ARCH# for the above change.

glib2.0 (2.30.2-6) unstable; urgency=low

  * Revert the patches added in 2.30.2-5 which changed the handling of return
    types from libffi. They didn't actually fix the build failures on s390x
    and had some unpleasant side effects, like making other packages FTBFS.

glib2.0 (2.30.2-5) unstable; urgency=low

  [ Josselin Mouette ]
  * Drop deprecated build-dependencies on pygobject & python-dbus.
  * Retain one on python for the script that uses it.

  [ Loïc Minier ]
  * Avoid harmless warnings when processing triggers of libglib2.0-0
    ("Unable to open directory /usr/lib/gio/modules: Error opening
    directory '/usr/lib/gio/modules': No such file or directory").

  [ Michael Biebl ]
  * Cherry-pick patches from upstream Git which fix handling of ENUMs and
    integral return types on 64-bit BE platforms. Closes: #653308
    - Add d/p/94-closure-fix-handling-of-ENUMs-and-integral-return-ty.patch.
    - Add d/p/93-gvalue-Add-explicitly-signed-g_value_get_schar-and-g.patch.
    - Update symbols file accordingly.

glib2.0 (2.30.2-4) unstable; urgency=low

  * Upload to unstable.
  * Disable test suite on kfreebsd-* for now.

glib2.0 (2.30.2-3) experimental; urgency=low

  * debian/patches/98-disable-two-more-GDBus-tests-using-fork.patch:
    - Added. Disable gdbus test which use GMainContext over a fork, see
      https://bugzilla.gnome.org/show_bug.cgi?id=658999 for more details

glib2.0 (2.30.2-2) experimental; urgency=low

  * debian/patches/95-gmain-get-rid-of-poll_waiting.patch:
    - Added, Fix race conditions with g_main_quit being called from other
      threads by getting rid of the poll_waiting flag. (Backported from git
      master)
  * debian/patches/96-fix-one-bit-mutex-test-on-some-platforms.patch:
    - Added, Fix the 1 bit mutex failing on platforms that have pointers
      aligned to 32 bits instead of 64 bits (bgo#201322).
  * debian/patches/97-silence-compiler-warnings.patch:
    - Added, Fix various compiler warnings

glib2.0 (2.30.2-1) experimental; urgency=low

  * New upstream release.
  * debian/patches/70-fix-race-in-gdbus-connection-test.patch:
    - Removed, merged upstream.
  * debian/patches/80_gtk_doc_out_of_tree.patch:
    - Removed, merged upstream.
 -- Martin Pitt <martin.pitt at ubuntu.com>   Fri, 30 Mar 2012 15:38:01 +0200

** Changed in: glib2.0 (Ubuntu)
       Status: In Progress => Fix Released

** Bug watch added: GNOME Bug Tracker #658999
   https://bugzilla.gnome.org/show_bug.cgi?id=658999

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glib2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/950967

Title:
  glib2.0:armel uninstallable  on systems that don't support executing
  armel code

Status in “glib2.0” package in Ubuntu:
  Fix Released
Status in “glib2.0” package in Debian:
  Fix Released

Bug description:
  glib-2.0 declares itself Multi-Arch: same, i.e co-installable. But in
  fact this does not work because it cannot be installed on anything
  other than the native architecture.

  Amongst other things this means that no package build-depending on
  glib2.0 can be built (becuase the build-deps don't install).

  $apt-get install libglib2.0-0:armel

  Setting up libglib2.0-0:armel (2.31.20-0ubuntu2) ...
  /var/lib/dpkg/info/libglib2.0-0:armel.postinst: 36: /var/lib/dpkg/info/libglib2.0-0:armel.postinst: /usr/lib/arm-linux-gnueabi/glib-2.0/glib-compile-schemas: not found
  /var/lib/dpkg/info/libglib2.0-0:armel.postinst: 39: /var/lib/dpkg/info/libglib2.0-0:armel.postinst: /usr/lib/arm-linux-gnueabi/glib-2.0/gio-querymodules: not found
  dpkg: error processing libglib2.0-0:armel (--configure):
   subprocess installed post-installation script returned error exit status 127

  The problem is that the postinst contains:

          case $trigger in
            /usr/share/glib-2.0/schemas)
              # This is triggered everytime an application installs a
              # GSettings schema
              /usr/lib/arm-linux-gnueabi/glib-2.0/glib-compile-schemas /usr/share/glib-2.0/schemas || true
              ;;

            /usr/lib/arm-linux-gnueabi/gio/modules|/usr/lib/gio/modules)
              # This is triggered everytime an application installs a GIO
              # module into /usr/lib/arm-linux-gnueabi/gio/modules or the
              # backwards-compatible /usr/lib/gio/modules directory
              /usr/lib/arm-linux-gnueabi/glib-2.0/gio-querymodules /usr/lib/arm-linux-gnueabi/gio/modules /usr/lib/gio/modules

  /usr/lib/arm-linux-gnueabi/glib-2.0/glib-compile-schemas and
   /usr/lib/arm-linux-gnueabi/glib-2.0/gio-querymodules
  are both ELF executables and thus not executable on the machine you are cross-installing onto.

  If the output of these commands is arch-independent then a good fix would be to change these lines to be:
  /usr/lib/${DEB_BUILD_MULTIARCH}/glib-2.0/glib-compile-schemas
  /usr/lib/${DEB_BUILD_MULTIARCH}/glib-2.0/gio-querymodules
  so that the version for the arch being installed-onto always gets run.

  However if it is not arch-independent then the postinsts should
  arrange to only run these commands when the package is being natively-
  installed. If the output for all the versions installed needs to be
  present then we need to arrange some way of making this work.

  It may be that moving these binaries out into the libglib2.0-bin
  package is the right thing to do?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glib2.0/+bug/950967/+subscriptions




More information about the foundations-bugs mailing list