[Bug 469337] New: deb: dpkg --print-architecture prints empty string
https://bugzilla.novell.com/show_bug.cgi?id=469337 Summary: deb: dpkg --print-architecture prints empty string Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: i686 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: gernot@hillier.de QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.0.5) Gecko/2008121300 SUSE/3.0.5-1.1 Firefox/3.0.5 Some tools rely on "dpkg --print-architecture" to decide which Debian packages to install. This fails with the current dpkg from deb for OpenSUSE 11.1: ---------- OpenSUSE 11.1 ----------------- hillier_g@kepler:~> dpkg --print-architecture hillier_g@kepler:~> ---------- SNIP -------------------------- This is how it should look like: ---------- Ubuntu 8.10 ------------------- hillier_g@laptop:~$ dpkg --print-architecture i386 hillier_g@laptop:~$ ---------- SNIP -------------------------- I had a first, rough look into the dpkg sources and it seems that --print-architecture prints the value of the macro "ARCHITECTURE" which seems to be not set by the according autoconf magic during build on OpenSUSE. Reproducible: Always Steps to Reproduce: 1. Install deb-1.14.21-10.37 2. Call "dpkg --print-architecture" Actual Results: You get an empty string. Expected Results: You should get something like "i386" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=469337
Gernot Hillier
https://bugzilla.novell.com/show_bug.cgi?id=469337
Petr Uzel
https://bugzilla.novell.com/show_bug.cgi?id=469337
Petr Uzel
https://bugzilla.novell.com/show_bug.cgi?id=469337
User puzel@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=469337#c1
--- Comment #1 from Petr Uzel
https://bugzilla.novell.com/show_bug.cgi?id=469337
User puzel@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=469337#c2
--- Comment #2 from Petr Uzel
participants (1)
-
bugzilla_noreply@novell.com