Mailinglist Archive: opensuse-bugs (5251 mails)

< Previous Next >
[Bug 496189] New: (L)build: fails to expand %()
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 17 Apr 2009 14:54:02 -0600 (MDT)
  • Message-id: <bug-496189-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
http://bugzilla.novell.com/show_bug.cgi?id=496189


Summary: (L)build: fails to expand %()
Classification: openSUSE
Product: openSUSE 11.2
Version: Factory
Platform: All
OS/Version: Linux
Status: NEW
Severity: Major
Priority: P5 - None
Component: Development
AssignedTo: lnussel@xxxxxxxxxx
ReportedBy: jengelh@xxxxxxxxxx
QAContact: qa@xxxxxxx
CC: mls@xxxxxxxxxx
Found By: Beta-Customer


lbuild, and hence probably mls's build, fails to expand %(), therefore, the
condition in below's sample is always true, causing lbuild to abort with
"nothing provides doesnotexist". [Of course people have better things to do
inside %(), like checking for /etc/redhat-release and so on...]

--- Test case --->8---
%if %(echo 0)
BuildRequires: doesnotexist
%endif

Name: foo
Version: 0
Release: 0
Group: foo
License: foo
Summary: foo

%description
---8<---

--
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.

< Previous Next >