[Bug 331073] New: lbuild macro resolution
https://bugzilla.novell.com/show_bug.cgi?id=331073 Summary: lbuild macro resolution Product: openSUSE 10.3 Version: Final Platform: x86 OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: mls@novell.com ReportedBy: jengelh@gmx.de QAContact: qa@suse.de Found By: Beta-Customer Affects: lbuild (probably build too) Affects: sl10.2.conf, sl10.3.conf, etc. Trying to build some kmp removes module-init-tools from the buildsys, but which is BuildRequired:. I suppose lbulid does not properly expand macros, since BuildRequires: module-init-tools comes from /etc/rpm/macros.kernel-source that is inside the buildsys, and probably not installed yet. Workaround: Add "Requires: module-init-tools" and "Keep: module-init-tools" to sl10.2/sl10.3.conf. -- 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=331073#c1 Jan Engelhardt <jengelh@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #1 from Jan Engelhardt <jengelh@gmx.de> 2007-11-30 13:09:00 MST --- Just happens to work :-/ -- 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=331073 Jan Engelhardt <jengelh@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED -- 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=331073 User jengelh@gmx.de added comment https://bugzilla.novell.com/show_bug.cgi?id=331073#c2 Jan Engelhardt <jengelh@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|VERIFIED |REOPENED Resolution|WORKSFORME | --- Comment #2 from Jan Engelhardt <jengelh@gmx.de> 2007-12-06 04:55:33 MST --- Reproduced. -- 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=331073 User jengelh@gmx.de added comment https://bugzilla.novell.com/show_bug.cgi?id=331073#c3 --- Comment #3 from Jan Engelhardt <jengelh@gmx.de> 2007-12-06 05:06:05 MST --- Created an attachment (id=186155) --> (https://bugzilla.novell.com/attachment.cgi?id=186155) testcase -- 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=331073 User lnussel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=331073#c4 Ludwig Nussel <lnussel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lnussel@novell.com Summary|lbuild macro resolution |build macro resolution for macros that add | |buildrequires --- Comment #4 from Ludwig Nussel <lnussel@novell.com> 2008-03-13 04:39:53 MST --- Michael how do we solve this properly? Simply adding %suse_kernel_module_package BuildRequires: module-init-tools to the configs won't work as %suse_kernel_module_package also accepts arguments (see e.g. lirc-kernel.spec) Build.pm doesn't seem to support macros that are functions like %suse_kernel_module_package(n:v:r:s:f:xp:) BuildRequires: module-init-tools -- 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=331073 User lnussel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=331073#c5 Ludwig Nussel <lnussel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |WONTFIX --- Comment #5 from Ludwig Nussel <lnussel@novell.com> 2008-03-13 07:00:13 MST --- That %suse_kernel_module_package BuildRequires magic doesn't even work in autobuild. One has to manually add module-init-tools to the spec file. -- 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=331073 User jengelh@gmx.de added comment https://bugzilla.novell.com/show_bug.cgi?id=331073#c6 --- Comment #6 from Jan Engelhardt <jengelh@gmx.de> 2008-06-21 15:33:34 MDT --- Would not it be smart to just add "Requires: module-init-tools" to /usr/lib/lbuild/configs/sl*.conf ... -- 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=331073 User jengelh@gmx.de added comment https://bugzilla.novell.com/show_bug.cgi?id=331073#c7 Jan Engelhardt <jengelh@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Component|Development |Development Product|openSUSE 10.3 |openSUSE 11.0 Resolution|WONTFIX | --- Comment #7 from Jan Engelhardt <jengelh@gmx.de> 2008-07-01 10:53:16 MDT --- #6 -- 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