← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2115325] Re: Cannot install amd64 and i386 dev packages at the same time

 

I compared the i386 and amd64 Gst-1.0.gir files.

amd64:

gst_id_str_clear (&s);
```</doc>
      <source-position filename="gst/gstidstr.h" line="49"/>
      <field name="pointer" readable="0" private="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="padding" readable="0" private="1">
        <array zero-terminated="0" fixed-size="8">

in i386,
the last line is
        <array zero-terminated="0" fixed-size="12">

So this prompted me to look up the listed filename
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/blob/main/subprojects/gstreamer/gst/gstidstr.h?ref_type=heads#L27

which confirms that beginning with gstreamer 1.26, the GIR file will
vary across architectures.

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

Title:
  Cannot install amd64 and i386 dev packages at the same time

Status in gstreamer1.0 package in Ubuntu:
  Triaged

Bug description:
  Impact
  ======

  Test Case
  =========
  Open a terminal and run
  sudo dpkg --add-architecture i386
  sudo apt install libgstreamer1.0-dev
  sudo apt install libstreamer1.0-dev:i386

  The commands should complete successfully

  What Could Go Wrong
  ===================

  Original Bug Report
  ===================
  Attempting to install both amd64 and i386 versions of libgstreamer1.0-dev results in an error.

  Ubuntu release: Questing
  Package version: 1.26.2-1

  Error message:
  Preparing to unpack .../libgstreamer1.0-dev_1.26.2-1_i386.deb ...
  Unpacking libgstreamer1.0-dev:i386 (1.26.2-1) ...
  dpkg: error processing archive /var/cache/apt/archives/libgstreamer1.0-dev_1.26.2-1_i386.deb (--unpack):
   trying to overwrite shared '/usr/share/gir-1.0/Gst-1.0.gir', which is different from other instances of package libgstreamer1.0-dev:i386
  Errors were encountered while processing:
   /var/cache/apt/archives/libgstreamer1.0-dev_1.26.2-1_i386.deb

  Installing libgstreamer1.0-dev:i386 succeeds if
  libgstreamer1.0-dev:amd64 is not installed and vice-versa.

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



References