Public bug reported:

Description:    Ubuntu 18.04.3 LTS
Release:        18.04

uname -a: Linux dtsmith-vallum 4.15.0-65-generic #74-Ubuntu SMP Tue Sep
17 17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

All updates available to date have been applied.

Command is "sudo apt-get install libglib2.0-0:armhf"

Debian team supposed to fix this bug with package version 2.54.2-5 see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=885019

I am doing cross-compile work with the following compilers

arm-linux-gnueabihf-gcc-8 from package gcc-8-arm-linux-gnueabihf

The schemas from the native gcc-7 package are in
/usr/share/glib-2.0/schemas.

"sudo apt-get install libglib2.0-dev:armhf" has the same error.

Work-around is to install libglib2.0-dev for the host. The schema files
are in /usr/share/glib-2.0. I have cross-compiled syslog-ng as armhf and
it works.

Here is the output of the apt install command:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/2,186 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 172895 files and directories currently installed.)
Preparing to unpack .../libglib2.0-0_2.56.4-0ubuntu0.18.04.4_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.4) over 
(2.56.4-0ubuntu0.18.04.4) ...
Preparing to unpack .../libglib2.0-0_2.56.4-0ubuntu0.18.04.4_armhf.deb ...
Unpacking libglib2.0-0:armhf (2.56.4-0ubuntu0.18.04.4) over 
(2.56.4-0ubuntu0.18.04.4) ...
Setting up libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.4) ...
Setting up libglib2.0-0:armhf (2.56.4-0ubuntu0.18.04.4) ...
/var/lib/dpkg/info/libglib2.0-0:armhf.postinst: 39: 
/var/lib/dpkg/info/libglib2.0-0:armhf.postinst: 
/usr/lib/arm-linux-gnueabihf/glib-2.0/glib-compile-schemas: Exec format error
Processing triggers for libc-bin (2.27-3ubuntu1) ...
dtsmith@dtsmith-vallum:[~]$ 
/usr/lib/arm-linux-gnueabihf/glib-2.0/glib-compile-schemas
bash: /usr/lib/arm-linux-gnueabihf/glib-2.0/glib-compile-schemas: cannot 
execute binary file: Exec format error

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: libglib2.0-0:armhf 2.56.4-0ubuntu0.18.04.4
ProcVersionSignature: Ubuntu 4.15.0-65.74-generic 4.15.18
Uname: Linux 4.15.0-65-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Oct 10 07:47:58 2019
InstallationDate: Installed on 2019-10-09 (0 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
PackageArchitecture: armhf
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: glib2.0
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: glib2.0 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug armhf bionic

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

Title:
  Package libglib2.0-0:armhf fails to install: Exec format error

Status in glib2.0 package in Ubuntu:
  New

Bug description:
  Description:  Ubuntu 18.04.3 LTS
  Release:      18.04

  uname -a: Linux dtsmith-vallum 4.15.0-65-generic #74-Ubuntu SMP Tue
  Sep 17 17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

  All updates available to date have been applied.

  Command is "sudo apt-get install libglib2.0-0:armhf"

  Debian team supposed to fix this bug with package version 2.54.2-5 see
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=885019

  I am doing cross-compile work with the following compilers

  arm-linux-gnueabihf-gcc-8 from package gcc-8-arm-linux-gnueabihf

  The schemas from the native gcc-7 package are in
  /usr/share/glib-2.0/schemas.

  "sudo apt-get install libglib2.0-dev:armhf" has the same error.

  Work-around is to install libglib2.0-dev for the host. The schema
  files are in /usr/share/glib-2.0. I have cross-compiled syslog-ng as
  armhf and it works.

  Here is the output of the apt install command:

  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  0 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 0 not upgraded.
  Need to get 0 B/2,186 kB of archives.
  After this operation, 0 B of additional disk space will be used.
  Do you want to continue? [Y/n] y
  (Reading database ... 172895 files and directories currently installed.)
  Preparing to unpack .../libglib2.0-0_2.56.4-0ubuntu0.18.04.4_amd64.deb ...
  Unpacking libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.4) over 
(2.56.4-0ubuntu0.18.04.4) ...
  Preparing to unpack .../libglib2.0-0_2.56.4-0ubuntu0.18.04.4_armhf.deb ...
  Unpacking libglib2.0-0:armhf (2.56.4-0ubuntu0.18.04.4) over 
(2.56.4-0ubuntu0.18.04.4) ...
  Setting up libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.4) ...
  Setting up libglib2.0-0:armhf (2.56.4-0ubuntu0.18.04.4) ...
  /var/lib/dpkg/info/libglib2.0-0:armhf.postinst: 39: 
/var/lib/dpkg/info/libglib2.0-0:armhf.postinst: 
/usr/lib/arm-linux-gnueabihf/glib-2.0/glib-compile-schemas: Exec format error
  Processing triggers for libc-bin (2.27-3ubuntu1) ...
  dtsmith@dtsmith-vallum:[~]$ 
/usr/lib/arm-linux-gnueabihf/glib-2.0/glib-compile-schemas
  bash: /usr/lib/arm-linux-gnueabihf/glib-2.0/glib-compile-schemas: cannot 
execute binary file: Exec format error

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: libglib2.0-0:armhf 2.56.4-0ubuntu0.18.04.4
  ProcVersionSignature: Ubuntu 4.15.0-65.74-generic 4.15.18
  Uname: Linux 4.15.0-65-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.7
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Oct 10 07:47:58 2019
  InstallationDate: Installed on 2019-10-09 (0 days ago)
  InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 
(20180725)
  PackageArchitecture: armhf
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: glib2.0
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to