Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dpkg: update to 1.22.11 #8710

Closed
wants to merge 1 commit into from
Closed

dpkg: update to 1.22.11 #8710

wants to merge 1 commit into from

Conversation

MingcongBai
Copy link
Member

@MingcongBai MingcongBai commented Nov 19, 2024

Topic Description

  • dpkg: update to 1.22.11
    - Track patches at AOSC-Tracking/dpkg @ aosc/1.22.11
    (HEAD: 8cb3821489ed56b46136f3d1a95d03e741126201).
    - Introduce Debian-compatible architecture alias mapping, see below:
    With AOSC OS, we use a few architecture names that are different to what
    dpkg defines internally:
    - LoongArch ("new-world" ABI 2.0): we use loongarch64 (old-world naming),
    whereas Debian uses loong64.
    - MIPS Loongson ports (for 2F and 3-series): we use loongson2f/loongson3
    to reflect the fact that we do introduce LoongISA optimisation, but
    Debian (and most software vendors) uses mips64el for at least the latter
    (most Loongson 2F targetted distros were 32-bit to "save on RAM").
    - 80486: We use i486 whereas Debian uses i386 (when in fact the binaries
    targetted i686).
    - ARMv4T: We use armv4 whereas Debian uses armel (for v4T, v5, and soft-
    float v6).
    - ARMv6, Hard-Float: We use armv6hf whereas Debian uses armv6hf.
    - ARMv7, Hard-Float, NEON: We use armv7hf whereas Debian uses armv7hf.
    Introduce alias mapping, as inspired by how Loongnix 25 marked loongarch64
    packages as compatible via their abi-compat infrastructure.

Package(s) Affected

  • dpkg: 1.22.11
  • update-alternatives: 1.22.11

Security Update?

No

Build Order

#buildit dpkg

Test Build(s) Done

Primary Architectures

  • AMD64 amd64
  • AArch64 arm64
  • LoongArch 64-bit loongarch64

Secondary Architectures

  • Loongson 3 loongson3
  • PowerPC 64-bit (Little Endian) ppc64el
  • RISC-V 64-bit riscv64

@MingcongBai MingcongBai added the upgrade Topic/issue involves a package upgrade label Nov 19, 2024
@MingcongBai MingcongBai marked this pull request as ready for review November 27, 2024 14:51
@KexyBiscuit
Copy link
Member

Smoke testing passed on AMD64.

kexybiscuit@ProArtB550-CREATOR [ liblol@debian-pkgs ] $ dpkg --version
Debian 'dpkg' package management program version 1.22.11-dirty (amd64).
This is free software; see the GNU General Public License version 2 or
later for copying conditions. There is NO warranty.
kexybiscuit@ProArtB550-CREATOR [ liblol@debian-pkgs ] $ dpkg -L dpkg | grep /usr/bin
/usr/bin
/usr/bin/dpkg
/usr/bin/dpkg-architecture
/usr/bin/dpkg-buildapi
/usr/bin/dpkg-buildflags
/usr/bin/dpkg-buildpackage
/usr/bin/dpkg-buildtree
/usr/bin/dpkg-checkbuilddeps
/usr/bin/dpkg-deb
/usr/bin/dpkg-distaddfile
/usr/bin/dpkg-divert
/usr/bin/dpkg-fsys-usrunmess
/usr/bin/dpkg-genbuildinfo
/usr/bin/dpkg-genchanges
/usr/bin/dpkg-gencontrol
/usr/bin/dpkg-gensymbols
/usr/bin/dpkg-maintscript-helper
/usr/bin/dpkg-mergechangelogs
/usr/bin/dpkg-name
/usr/bin/dpkg-parsechangelog
/usr/bin/dpkg-query
/usr/bin/dpkg-realpath
/usr/bin/dpkg-scanpackages
/usr/bin/dpkg-scansources
/usr/bin/dpkg-shlibdeps
/usr/bin/dpkg-source
/usr/bin/dpkg-split
/usr/bin/dpkg-statoverride
/usr/bin/dpkg-trigger
/usr/bin/dpkg-vendor

@KexyBiscuit KexyBiscuit self-assigned this Dec 3, 2024
@KexyBiscuit
Copy link
Member

FTBFS on Loongson 3.

checking dpkg cpu type... mips64el
configure: WARNING: mips64el not found in cputable
checking dpkg operating system type... linux-gnuabi64
configure: WARNING: linux-gnuabi64 not found in ostable
checking dpkg architecture name... configure: error: cannot determine host dpkg architecture

@KexyBiscuit KexyBiscuit marked this pull request as draft December 3, 2024 07:12
- Track patches at AOSC-Tracking/dpkg @ aosc/1.22.11
  (HEAD: 8cb3821489ed56b46136f3d1a95d03e741126201).
- Introduce Debian-compatible architecture alias mapping, see below:

With AOSC OS, we use a few architecture names that are different to what
dpkg defines internally:

- LoongArch ("new-world" ABI 2.0): we use loongarch64 (old-world naming),
  whereas Debian uses loong64.
- MIPS Loongson ports (for 2F and 3-series): we use loongson2f/loongson3
  to reflect the fact that we do introduce LoongISA optimisation, but
  Debian (and most software vendors) uses mips64el for at least the latter
  (most Loongson 2F targetted distros were 32-bit to "save on RAM").
- 80486: We use i486 whereas Debian uses i386 (when in fact the binaries
  targetted i686).
- ARMv4T: We use armv4 whereas Debian uses armel (for v4T, v5, and soft-
  float v6).
- ARMv6, Hard-Float: We use armv6hf whereas Debian uses armv6hf.
- ARMv7, Hard-Float, NEON: We use armv7hf whereas Debian uses armv7hf.

Introduce alias mapping, as inspired by how Loongnix 25 marked loongarch64
packages as compatible via their abi-compat infrastructure.
@MingcongBai
Copy link
Member Author

To be superseded by 1.22.14.

@MingcongBai MingcongBai deleted the dpkg-1.22.11 branch January 19, 2025 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upgrade Topic/issue involves a package upgrade
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants