Summary: | app-arch/dpkg-1.17.26 on armv7a-hardfp-musl-vanilla - checking dpkg architecture name... configure: error: cannot determine host dpkg architecture | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michael Jones <gentoo> |
Component: | Current packages | Assignee: | Georgy Yakovlev <gyakovlev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | musl |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 602440 | ||
Bug Blocks: | 430702, 606980 | ||
Attachments: |
build.log.gz
config.log environment dpkg-1.18.23.ebuild-602092.patch |
Description
Michael Jones
2016-12-09 08:36:12 UTC
Created attachment 455562 [details]
config.log
checking for fallocate... yes
checking for posix_fallocate... yes
checking for posix_fadvise... yes
checking dpkg cpu type... armv7a
configure: WARNING: armv7a not found in cputable
checking dpkg operating system type... linux-musleabi
configure: WARNING: linux-musleabi not found in ostable
checking dpkg architecture name... configure: error: cannot determine host dpkg architecture
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-arch/dpkg-1.17.26/work/dpkg-1.17.26/config.log
* ERROR: app-arch/dpkg-1.17.26::gentoo failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 115: Called src_configure
* environment, line 2695: Called econf '--enable-nls' '--enable-unicode' '--enable-update-alternatives' '--with-bz2' '--with-liblzma' '--without-selinux' '--with-zlib' '--disable-compiler-warnings' '--disable-dselect' '--disable-silent-rules' '--disable-start-stop-daemon' '--localstatedir=/var'
* phase-helpers.sh, line 662: Called __helpers_die 'econf failed'
* isolated-functions.sh, line 117: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=app-arch/dpkg-1.17.26::gentoo'`,
* the complete build log and the output of `emerge -pqv '=app-arch/dpkg-1.17.26::gentoo'`.
* The complete build log is located at '/var/tmp/portage/app-arch/dpkg-1.17.26/temp/build.log.gz'.
* The ebuild environment file is located at '/var/tmp/portage/app-arch/dpkg-1.17.26/temp/environment'.
* Working directory: '/var/tmp/portage/app-arch/dpkg-1.17.26/work/dpkg-1.17.26'
* S: '/var/tmp/portage/app-arch/dpkg-1.17.26/work/dpkg-1.17.26'
Created attachment 455564 [details]
environment
Also fails on armv7a-hardfp-musl-hardened. Both environments running inside qemu-arm. # /usr/bin/qemu-arm --version qemu-arm version 2.7.0, Copyright (c) 2003-2016 Fabrice Bellard and the QEMU Project developers server-blade-one @arm-builds # Current git works fine. Please try whether the 1.18.* versions work. Try 1.18.15 please. Still does not work with app-arch/dpkg-1.18.15. It is also not fixed in git. It had worked for me before because I tested without passing --host to configure. This bug would not occur if bug 602440 was fixed and the arch tuple was armv7a-*-linux-musleabihf It would also be possible to add a eabi-musl-linux-arm tuple to data/tupletable and data/ostable but then our tuples would wrongly be detected as being softfloat. (In reply to Felix Janda from comment #6) Created attachment 471008 [details, diff]
dpkg-1.18.23.ebuild-602092.patch
Could you test this here patch. It might hack in the stuff and things that DPKG_ARCHITECTURE expects.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef0b167db71fe54ade82427b9fc29b24f326bc49 commit ef0b167db71fe54ade82427b9fc29b24f326bc49 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2021-06-09 06:09:38 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2021-06-09 06:16:18 +0000 app-arch/dpkg: drop old Bug: https://bugs.gentoo.org/783918 Closes: https://bugs.gentoo.org/602092 Closes: https://bugs.gentoo.org/732788 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> app-arch/dpkg/Manifest | 7 -- app-arch/dpkg/dpkg-1.19.0.5.ebuild | 87 -------------------- app-arch/dpkg/dpkg-1.19.6.ebuild | 91 -------------------- app-arch/dpkg/dpkg-1.19.7.ebuild | 91 -------------------- app-arch/dpkg/dpkg-1.20.0.ebuild | 90 -------------------- app-arch/dpkg/dpkg-1.20.2.ebuild | 90 -------------------- app-arch/dpkg/dpkg-1.20.3.ebuild | 90 -------------------- app-arch/dpkg/dpkg-1.20.5.ebuild | 96 ---------------------- .../dpkg-1.18.12-dpkg_buildpackage-test.patch | 10 --- 9 files changed, 652 deletions(-) |