RPM Community Forums

Mailing List Message of <rpm-users>

Re: rpm on OSX Lion

From: Henri Gomez <henri.gomez@gmail.com>
Date: Wed 28 Mar 2012 - 08:55:42 CEST
Message-ID: <CALyUpY0F-3p=nUJ=0YbTX9HNXfbB1ZGdAAg1H5o4iWy0sRb2Fg@mail.gmail.com>
> If you add --miredebug to the invocation, you will see the
> result of every pattern match.
>
> The patterns are used to ensure that there aren't any "surprises".

Here is result with --miredebug :


Version to package is 3.0.3
--> mire 0x7fff32c15ae0 ++ 1 mireNew at mire.c:115
<-- mireRegcomp(0x7fff32c15ae0, "^[A-Za-z0-9][A-Za-z0-9+._-]*$") rc 0
<-- mireRegexec(0x7fff32c15ae0, 0x7fff33010e06[8]) rc 0 mode 2 "cimaven3"
--> mire 0x7fff32c15ae0 -- 1 tagValidate at parsePreamble.c:592
<-- mireClean(0x7fff32c15ae0)
--> mire 0x7fff32c15ae0 ++ 1 mireNew at mire.c:115
<-- mireRegcomp(0x7fff32c15ae0, "^[A-Za-z0-9+._]+$") rc 0
error: ^[A-Za-z0-9+._]+$: regexec failed: regexec() failed to match(1)
<-- mireRegexec(0x7fff32c15ae0, 0x7fff33010e09[5]) rc -2 mode 2 "3.0.3"
error: line 8: invalid tag value("^[A-Za-z0-9+._]+$") Version: Version: 3.0.3
--> mire 0x7fff32c15ae0 -- 1 tagValidate at parsePreamble.c:592
<-- mireClean(0x7fff32c15ae0)
error: Package has no %description: cimaven3.x86_64

rpmbuild command is :

rpmbuild -bb --define="_topdir $PWD" --define="_tmppath $PWD/TEMP"
--define="MAVEN_RE 3.0.3"  --miredebug SPECS/cimaven3.spec

And why such error about description ?

...
BuildArch:  noarch
...
%description
Maven %{maven_rel}
Received on Wed Mar 28 08:55:44 2012
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.