[Bug 377516] New: RPM "DISTRIBUTION" field should not contain "arch"
https://bugzilla.novell.com/show_bug.cgi?id=377516 Summary: RPM "DISTRIBUTION" field should not contain "arch" Product: openSUSE 10.3 Version: Final Platform: All OS/Version: All Status: NEW Severity: Minor Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: suse@tlinx.org QAContact: qa@suse.de Found By: Customer Specifically, I found the problem under the "noarch" directory -- but, logically, it _could_ apply to all the subdirectories. I looked at the DISTRIBUTION field under packages in the "noarch" dir, and it said "OpenSUSE 10.3 (i586)". Yet it is the same "noarch" dir for X86_64, i586 and PPC. First thought that occurred -- if it is "noarch", why is there an "arch" in the Dist field. Second thought -- '(noarch)' wouldn't be appropriate, since, really, I doubt SuSE claims to distribute a "noarch" OpenSuSE 10.3 distribution. Third -- are distributions really named by their architecture or are they named by just the vendor & version? I.e. if the "(arch) sub-field in "Distribution" should be empty for noarch -- why not all archs? Isn't the Distribution name "really", "OpenSuSE 10.3" and the "ARCH" field specifies what architecture it is for? Wouldn't the version of "Gvim" in "OpenSuSE 10.3" really be the same whether it was for ARCH i586 or x86_64? IMO, the "DISTRIBUTION" field should be identical for all packages in the one "OpenSuse 10.3" distribution, with the "ARCH" field specifying what architecture the given RPM is "for". The same situation applies to the "src" directory: *most* of the source files are "i586", yet for some source RPMs, it says PPC or X86_64. Does that mean the PPC or X86_64 source packages are only for PPC or X86_64? Wouldn't that imply that i586 would only be for i586? That can't be the case or some ARCH's would be missing their source. For most sources, when there is a non-i586 (PPC or x86_64) "Distro" it is a 2nd copy of the same Package-Version with a Release differing by 1 or 2. A few packages have different "Releases" for each architecture, though usually there is only 1-extra arch. I thought the "higher" release number was usually a bug or security fix for the lower 'release'. It's certainly not clear from the filenames which ones are limited or intended only for a specific architecture, but shouldn't the sources be common RPM's for all archs? Having different sources for different architectures doesn't inspire great confidence that two RPM's on different architectures are "the same" (on a logical program level, not including architectures specific bugs). It's a little bit confusing if not outright "dysfunctional"....? If I see a new release of source on an FTP server in the sources dir, how would I know what "architecture" it is for? (I.e. -- ideal it should be 1 "updated" release, for all).... Not a "show stopper", but it would "appear" to be "technically" "distasteful" :-), at first glance... Linda -- 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=377516 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |aj@novell.com -- 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=377516 Andreas Jaeger <aj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|aj@novell.com |ro@novell.com -- 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=377516 User ro@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=377516#c1 Ruediger Oertel <ro@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #1 from Ruediger Oertel <ro@novell.com> 2008-06-02 10:41:05 MDT --- well, actually this one is a feature, it's how we track where the package really was built. often enough enourmously helpful when trying to find where a package was built and the basic part when setting up the update metadata (which subsequent update should take which rpm from where). so, well this is done by intention otherwise we would have to abuse another rpm-tag and there are not so many of these that can be used ... -- 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=377516 User suse@tlinx.org added comment https://bugzilla.novell.com/show_bug.cgi?id=377516#c2 L. A. Walsh <suse@tlinx.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WONTFIX | --- Comment #2 from L. A. Walsh <suse@tlinx.org> 2008-06-02 14:29:12 MDT --- 'Abuse' another rpm tag? SuSE is already abusing the distribution tag -- because the distribution tag already has a defined and commonly understood meaning. For what you are wanting -- to track build conditions (architecture), the 'buildhost' field is there to allow vendors to include whatever they need as a 'where-it-was-built' info field. It wouldn't be abuse to use the buildhost field to include whatever information the vendor wishes to disclose about build conditions. This can be (and often is) a simple hostname -- where the vendor (or builder) knows all of the buildhost's configuration (including what software was loaded, what OS was running...and arch)...OR could be a buildhost name that reflects that information explicitly, like 'x86-64-buildhost1', 'ix86-buildhost2'...etc. As it is now, noarch or src packages are labeled for architecture specific releases. I.e. - By labeling the 'release' field with the architecture, this means (as is common in the industry), that the package is only for the vendor release on that specific architecture. Unless I am mistaken, I thought that SuSE releases were not architecture specific -- but were intended to be architecture 'neutral' across all the architectures that SuSE supports. Any packages that *are* architecture specific, are put into the 'arch' specific directories. But files in the 'noarch' and 'src' directories are designed to apply to all releases. If this isn't the case, and architectures of the build machines mean that the source packages have only been tested and verified on a particular architecture, then they need to be under arch-specific "noarch" and "src" directories -- which is something of an oxymoron. I'm not making this up -- if you want to record the build-arch, explicitly, it can be in the 'build-host' field, but normally, a vendor simply doesn't "confuse" the user by adding arch, OS, or hardware-specific information to the 'buildhost' name -- that information is usually kept and known internally -- that 'elflord' is running a 32-bit version of OSX, or 'dwarfish' is a PPC running 'Win2003' (joke) using cross-build tools. However, usually, the actual hardware configs of the build machines are usually identified by knowing the name of the host build machine. Appending the architecture to the hostname in the buildhostname field would be a proper and non-"abusive" way to make that information explicit, like buildhostname='elflord-32bit-osx' or buildmachinename='dwarfish-ppc-win2003' (though if your buildhost was running win2003, I sure wouldn't advertise it; better stick to just the arch part, 'dwarfish-ppc') :-) -- 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=377516 User ro@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=377516#c3 Ruediger Oertel <ro@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #3 from Ruediger Oertel <ro@novell.com> 2008-12-07 17:21:08 MST --- 11.1 does not have the arch in %DISTRIBUTION, closing -- 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.
participants (1)
-
bugzilla_noreply@novell.com