[Bug 540523] New: kernel-vanilla (like MANY packages) build doesn't use %_sourcedir RPM macro as required
http://bugzilla.novell.com/show_bug.cgi?id=540523 Summary: kernel-vanilla (like MANY packages) build doesn't use %_sourcedir RPM macro as required Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Major Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: suse@tlinx.org QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 trying to build kernel-vanilla from spec. Doesn't work **on my system***. in my /etc/rpm/macros, I have: %_sourcedir %{_topdir}/SOURCES/%{name}-%{version} ---- So sources from different products-releases go into different dirs in Sources dir -- just like they do in 'build' dir when building Most products this works fine -- but ones that "assume" they know where to get other installed sources (like presuming the same dir), fail. This is a bug -- they should not be touching other installed sources directly, but should go through the %_sourcedir macro as consistent with the RPM spec. As a result, any product (and there are a few) that presume the default layout, will break -- because they are not following the standards. They need to be updated -- AS their rpms are "touched" for other reasons (or when a customer/user) reports a problem) to use the standard macro for determining the other sources' locations. Reproducible: Always Steps to Reproduce: 1. Setup sources for each rpm to be stored in their own dir, just as is done with 2. build using system-local-customizable /etc/macros file set to 3. %_sourcedir %{_topdir}/SOURCES/%{name}-%{version} Actual Results: standard rpms fail to build because they don't pay attention to *valid* local user defined macros. Expected Results: expect released rpm sources to pay attention to the standard rpm macros and expand and use them as appropriate and not take "shortcuts" and circumvent standards. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=540523 Philipp Thomas <pth@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pth@novell.com AssignedTo|pth@novell.com |kernel-maintainers@forge.pr | |ovo.novell.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=540523 User mmarek@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=540523#c1 Michal Marek <mmarek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |suse@tlinx.org AssignedTo|kernel-maintainers@forge.pr |mmarek@novell.com |ovo.novell.com | Severity|Major |Minor --- Comment #1 from Michal Marek <mmarek@novell.com> 2009-09-22 04:40:13 MDT --- This is not a _major_ bug. kernel-$flavor.spec use NoSource: to avoid duplicating the kernel and patches tarballs all over. The spec file expects that kernel-source.src.rpm is installed and the files are in %_sourcedir. If you make the %_sourcedir definition dependent on the package name then it fails, this is not about using or not using standard macros but about sharing sources among packages. If you can come up with a way that works for your use case and allows to use NoSource:, I'll gladly use it, otherwise I'm affraid it has to stay as is and you'll need to adapt your build scripts (e.g. rpmbuild -ba --define '_sourcedir %_topdir/SOURCES/kernel-%version' for all kernel-*.spec). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=540523 User suse@tlinx.org added comment http://bugzilla.novell.com/show_bug.cgi?id=540523#c3 --- Comment #3 from L. A. Walsh <suse@tlinx.org> 2009-10-02 10:45:46 MDT --- Still on my 'todo' list...(I haven't forgotten, just swamped with other stuff). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=540523 Vance 萬斯 Baarda <vrb@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|pth@novell.com |mmarek@novell.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=540523 http://bugzilla.novell.com/show_bug.cgi?id=540523#c4 Michal Marek <mmarek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |mmarek@novell.com Info Provider|suse@tlinx.org | AssignedTo|mmarek@novell.com |suse@tlinx.org --- Comment #4 from Michal Marek <mmarek@novell.com> 2010-02-17 15:47:07 UTC --- Please reassign back to me once you have a patch ready. -- Configure bugmail: http://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=540523 https://bugzilla.novell.com/show_bug.cgi?id=540523#c5 Bruno Friedmann <bruno@ioda-net.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED CC| |bruno@ioda-net.ch Resolution| |NORESPONSE --- Comment #5 from Bruno Friedmann <bruno@ioda-net.ch> 2011-04-03 11:27:33 UTC --- openbug-day comment : The version with which you had the bug is now obsolete. I'll close this as NORESPONSE. If you can still reproduce it in current 11.4 & factory, please reopen the bug and move it to the appropriate version. Thanks! -- 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