In any case, this is a feature request that libext2fs-dev be a package which supports multiarch. There is significant, non-trivial work that would be needed to support this, which is documented here:
https://wiki.debian.org/Multiarch/Implementation If someone wants to send a clean, supportable patch, I'll take a look at it as the Debian upstream maintainer. However, my considered opinion is that It's Not Worth it. And I say this as someone who is regularly building amd64, arch64, and i386 file system test appliances using an amd64 build server, and I using build chroots. If you think that the extra time to build the amd64 binaries using qumu emulation (see the setup-buildchroot script which will set that up automatically) is not worth, consider how much $$$ it would cost to pay a software engineer to make libext2fs-dev and related packages multi-arch capable. Hardware is cheap, and software engineers are expensive, and life is short. In any case, this is something that I as a volunteer have ***zero*** interest in implementing. Even if you paid me my hourly rate, I have better things to do with my time.... -- You received this bug notification because you are a member of Ubuntu Touch seeded 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

