Amanda-Users

Re: zmanda SRPM error

2008-08-14 15:00:05
Subject: Re: zmanda SRPM error
From: FM <dist-list AT LEXUM.UMontreal DOT CA>
To: Mailing List Amanda User <amanda-users AT amanda DOT org>
Date: Thu, 14 Aug 2008 11:56:11 -0400
Nope :)
Redhat enterprise 5.2 32 bits version

F



Dan Locks wrote:
FM wrote:
Hello,
I download the SRPM from zmanda site.

But when I am trying the rpmbuild -bb  SPECS/amanda.spec
error: parse error in expression
error: /home/users/lexum/mederyf/rpmbuild/SPECS/amanda.spec:77: parseExpressionBoolean returns -1
error: Name field must be present in package: (main package)
error: Version field must be present in package: (main package)
error: Release field must be present in package: (main package)
error: Summary field must be present in package: (main package)
error: Group field must be present in package: (main package)
error: License field must be present in package: (main package)


any idea ? :)

Regards
This happens when the conditional clauses in the spec file don't return an expected result. Spec syntax does not allow for error handling, so we get weird stuff like this. What Os/Distribution/Version are you trying to compile for? My guess is that you're compiling for a new version of Fedora. I haven't added the code to detect F9 yet, but I can send you a patch. Keep in mind that you will be testing this patch for me :-) (Don't worry, it would only affect the rpm stuff, not any of the Amanda code, so it's safe)

Dan



<Prev in Thread] Current Thread [Next in Thread>