← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2117696] Re: libext2fs-dev installation of ARM64 version in parallel to AMD64 not possible

 

Why aren't you using a build chroot?  This is actually the cleanest way
of doing what you want to do, since it gives you hermetic builds.   For
example:

https://github.com/tytso/xfstests-bld/blob/master/setup-buildchroot

Note that /usr/include/ext2fs/ext2_types.h contains architecture
specific typedefs, so it won't necessarily be the same on two different
architectures.  You might have gotten lucky with ARM64 and AMD64, but it
might not be true for example between i386 and arch64.  So even if you
try to force things using dpkg --force-overwrite, it might break for
some combinations --- which is why dpkg --force-overwrite is not the
default.

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

Title:
  libext2fs-dev installation of ARM64 version in parallel to AMD64 not
  possible

Status in e2fsprogs package in Ubuntu:
  New

Bug description:
  I need to build software for both AMD and ARM on one system (build-server)
  Therefore i want to install the libext2fs-dev:amd64 and libext2fs-dev:arm64 in parallel.
  Via apt install this doesn't work  - it always wants to uninstall the other package

      sudo apt install libext2fs-dev:arm64
      ...
      The following packages will be REMOVED:
        libext2fs-dev

  I also cannot use e.g. libarchive-dev:arm64, because it depends on
  libext2fs-dev

  Diff of the data in the two packages (libext2fs-
  dev_1.47.0-2.4~exp1ubuntu4.1_amd64.deb vs libext2fs-
  dev_1.47.0-2.4~exp1ubuntu4.1_arm64.deb) shows no reason for this:
  (headers are the same, binaries are in architecture-specific folders)

      sudo diff --brief -sr  ext2fs-dev-amd64/data ext2fs-dev-arm64/data
      Files ext2fs-dev-amd64/data/usr/include/e2p/e2p.h and ext2fs-dev-arm64/data/usr/include/e2p/e2p.h are identical
      Files ext2fs-dev-amd64/data/usr/include/ext2fs/bitops.h and ext2fs-dev-arm64/data/usr/include/ext2fs/bitops.h are identical
      Files ext2fs-dev-amd64/data/usr/include/ext2fs/ext2_err.h and ext2fs-dev-arm64/data/usr/include/ext2fs/ext2_err.h are identical
      Files ext2fs-dev-amd64/data/usr/include/ext2fs/ext2_ext_attr.h and ext2fs-dev-arm64/data/usr/include/ext2fs/ext2_ext_attr.h are identical
      Files ext2fs-dev-amd64/data/usr/include/ext2fs/ext2_fs.h and ext2fs-dev-arm64/data/usr/include/ext2fs/ext2_fs.h are identical
      Files ext2fs-dev-amd64/data/usr/include/ext2fs/ext2fs.h and ext2fs-dev-arm64/data/usr/include/ext2fs/ext2fs.h are identical
      Files ext2fs-dev-amd64/data/usr/include/ext2fs/ext2_io.h and ext2fs-dev-arm64/data/usr/include/ext2fs/ext2_io.h are identical
      Files ext2fs-dev-amd64/data/usr/include/ext2fs/ext2_types.h and ext2fs-dev-arm64/data/usr/include/ext2fs/ext2_types.h are identical
      Files ext2fs-dev-amd64/data/usr/include/ext2fs/ext3_extents.h and ext2fs-dev-arm64/data/usr/include/ext2fs/ext3_extents.h are identical
      Files ext2fs-dev-amd64/data/usr/include/ext2fs/hashmap.h and ext2fs-dev-arm64/data/usr/include/ext2fs/hashmap.h are identical
      Files ext2fs-dev-amd64/data/usr/include/ext2fs/qcow2.h and ext2fs-dev-arm64/data/usr/include/ext2fs/qcow2.h are identical
      Files ext2fs-dev-amd64/data/usr/include/ext2fs/tdb.h and ext2fs-dev-arm64/data/usr/include/ext2fs/tdb.h are identical
      Only in ext2fs-dev-arm64/data/usr/lib: aarch64-linux-gnu
      Only in ext2fs-dev-amd64/data/usr/lib: x86_64-linux-gnu
      Files ext2fs-dev-amd64/data/usr/share/doc/libext2fs2/html-info/libext2fs.html and ext2fs-dev-arm64/data/usr/share/doc/libext2fs2/html-info/libext2fs.html are identical
      Files ext2fs-dev-amd64/data/usr/share/doc/libext2fs2/libext2fs.texi.gz and ext2fs-dev-arm64/data/usr/share/doc/libext2fs2/libext2fs.texi.gz are identical
      ...
      Files ext2fs-dev-amd64/data/usr/share/doc/libext2fs-dev/copyright and ext2fs-dev-arm64/data/usr/share/doc/libext2fs-dev/copyright are identical
      Files ext2fs-dev-amd64/data/usr/share/doc-base/libext2fs-dev.libext2fs and ext2fs-dev-arm64/data/usr/share/doc-base/libext2fs-dev.libext2fs are identical
      Files ext2fs-dev-amd64/data/usr/share/info/libext2fs.info.gz and ext2fs-dev-arm64/data/usr/share/info/libext2fs.info.gz are identical

  Thank you!

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: libext2fs-dev 1.47.0-2.4~exp1ubuntu4.1
  ProcVersionSignature: Ubuntu 6.14.0-24.24~24.04.3-generic 6.14.6
  Uname: Linux 6.14.0-24-generic x86_64
  ApportVersion: 2.28.1-0ubuntu3.8
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Jul 23 13:30:07 2025
  InstallationDate: Installed on 2025-07-23 (0 days ago)
  InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 (20250215)
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   XDG_RUNTIME_DIR=<set>
  RebootRequiredPkgs: Error: path contained symlinks.
  SourcePackage: e2fsprogs
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/2117696/+subscriptions



References