Bug 642160
Summary: | dpkg-architecture output error messages (with a fix) | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Oron Peled <oron> | ||||
Component: | dpkg | Assignee: | Andrew Colin Kissa <andrew> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 13 | CC: | andrew, vanmeeuwen+fedora | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-10-17 11:42:16 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 591190, 961141 | ||||||
Attachments: |
|
The benefits of being a proven packager. Modified the patch just a teeny bit (-p1 and such), applied, committed, pushed and built to rawhide, f14 and f13, el6 and el5. Waiting for the builds to complete to push the updates, and so forth. |
Created attachment 452907 [details] Handle empty output from 'dpkg --print-architecture` Description of problem: dpkg-architecture output error messages for all "build" architecture variables. Version-Release number of selected component (if applicable): dpkg-devel-1.15.5.6-4.fc13.noarch How reproducible: Just run dpkg-architecture without arguments. Actual results: Use of uninitialized value $v{"DEB_BUILD_GNU_TYPE"} in split at /usr/bin/dpkg- architecture line 183. DEB_BUILD_ARCH= Use of uninitialized value $v{"DEB_BUILD_ARCH_OS"} in concatenation (.) or string at /usr/bin/dpkg-architecture line 194. DEB_BUILD_ARCH_OS= Use of uninitialized value $v{"DEB_BUILD_ARCH_CPU"} in concatenation (.) or string at /usr/bin/dpkg-architecture line 194. DEB_BUILD_ARCH_CPU= Use of uninitialized value $v{"DEB_BUILD_ARCH_BITS"} in concatenation (.) or string at /usr/bin/dpkg-architecture line 194. DEB_BUILD_ARCH_BITS= Use of uninitialized value $v{"DEB_BUILD_ARCH_ENDIAN"} in concatenation (.) or string at /usr/bin/dpkg-architecture line 194. DEB_BUILD_ARCH_ENDIAN= Use of uninitialized value $v{"DEB_BUILD_GNU_CPU"} in concatenation (.) or string at /usr/bin/dpkg-architecture line 194. DEB_BUILD_GNU_CPU= Use of uninitialized value $v{"DEB_BUILD_GNU_SYSTEM"} in concatenation (.) or string at /usr/bin/dpkg-architecture line 194. DEB_BUILD_GNU_SYSTEM= Use of uninitialized value $v{"DEB_BUILD_GNU_TYPE"} in concatenation (.) or string at /usr/bin/dpkg-architecture line 194. DEB_BUILD_GNU_TYPE= DEB_HOST_ARCH=i386 DEB_HOST_ARCH_OS=linux DEB_HOST_ARCH_CPU=i386 DEB_HOST_ARCH_BITS=32 DEB_HOST_ARCH_ENDIAN=little DEB_HOST_GNU_CPU=i486 DEB_HOST_GNU_SYSTEM=linux-gnu DEB_HOST_GNU_TYPE=i486-linux-gnu Expected results: DEB_BUILD_ARCH=i386 DEB_BUILD_ARCH_OS=linux DEB_BUILD_ARCH_CPU=i386 DEB_BUILD_ARCH_BITS=32 DEB_BUILD_ARCH_ENDIAN=little DEB_BUILD_GNU_CPU=i486 DEB_BUILD_GNU_SYSTEM=linux-gnu DEB_BUILD_GNU_TYPE=i486-linux-gnu DEB_HOST_ARCH=i386 DEB_HOST_ARCH_OS=linux DEB_HOST_ARCH_CPU=i386 DEB_HOST_ARCH_BITS=32 DEB_HOST_ARCH_ENDIAN=little DEB_HOST_GNU_CPU=i486 DEB_HOST_GNU_SYSTEM=linux-gnu DEB_HOST_GNU_TYPE=i486-linux-gnu Additional info: $ uname -m i686 $ rpmquery gcc gcc-4.4.4-10.fc13.i686 Attached a minimal patch that makes the output usable.