[Bug 613962] New: macros in buildrequires cause issues
http://bugzilla.novell.com/show_bug.cgi?id=613962 http://bugzilla.novell.com/show_bug.cgi?id=613962#c0 Summary: macros in buildrequires cause issues Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: pzb@novell.com QAContact: adrian@novell.com CC: aj@novell.com Found By: --- Blocker: --- In a RPM specfile, one can use macros in almost any location. One of these is BuildRequires. However, the build service gets confused and does not expand these, resulting in an "unresolvable" state. Example: BuildRequires: %{_bindir}/perl The build service looks for a package or provide literally named "%{_bindir}/perl". The build service should expand macros using the same rules used in rpmbuild invocation. -- 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=613962 http://bugzilla.novell.com/show_bug.cgi?id=613962#c Marcus Rückert <mrueckert@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrueckert@novell.com AssignedTo|bnc-team-screening@forge.pr |mls@novell.com |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=613962 http://bugzilla.novell.com/show_bug.cgi?id=613962#c1 Michael Schröder <mls@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |WORKSFORME --- Comment #1 from Michael Schröder <mls@novell.com> 2010-06-14 13:51:01 UTC --- The parser already does macro expansion. My guess is that _bindir is not defined. Just add %define _bindir /usr/bin to the project config. (And also Substitute: /usr/bin/perl perl as we don't have file lists in the repository metadata) -- 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=613962 http://bugzilla.novell.com/show_bug.cgi?id=613962#c2 Andreas Jaeger <aj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|WORKSFORME | --- Comment #2 from Andreas Jaeger <aj@novell.com> 2010-06-14 14:01:47 UTC --- Michael, shouldn't we add this to the default configuration? -- 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=613962 http://bugzilla.novell.com/show_bug.cgi?id=613962#c3 --- Comment #3 from Michael Schröder <mls@novell.com> 2010-06-14 14:04:16 UTC --- After Peter has done the hard work and collected them all we'll add em ;-) -- 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=613962 https://bugzilla.novell.com/show_bug.cgi?id=613962#c4 Michael Schröder <mls@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |CLOSED Resolution| |FIXED --- Comment #4 from Michael Schröder <mls@suse.com> 2012-04-17 15:17:08 UTC --- Seems to be not a problem any more. Closing for now... -- 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