FC4, cpan2rpm, unknown rpm option 'bp'

Alex Beamish talexb-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Fri Sep 23 20:24:55 UTC 2005


Yep .. it looks like if rpmbuild isn't installed, cpan2rpm valiantly tries
to use rpm instead, and since rpm doesn't handle that argument any more, it
fails. It would nice if the documentation for cpan2rpm mentioned that. I
should probably write to the authour about that. Thanks!

Alex

On 9/23/05, Joseph Kubik <josephkubik-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:
>
> I thinkg there is now an app called rpmbuild.
> You may need to write a wrapper script for rpm to parse the rpm options
> and call the correct binary.
> -Joseph-
>
> On 9/23/05, Alex Beamish <talexb-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:
> >
> > Hi,
> >
> > I'm trying to build some RPMs for FC4 using cpan2rpm, and I'm running
> > into a problem. For example,
> >
> > -----------------------------------
> > [root at foobar rpms-September2005]# cpan2rpm --author="Dave Rolsky"
> > --version=2.11 Log-Dispatch-2.11.tar.gz
> >
> > -- cpan2rpm - Ver: 2.028 --
> > Signatures not set up
> > Upgrade check
> > Fetch: HTTP
> >
> > -- module: Log-Dispatch-2.11.tar.gz --
> > Metadata retrieval
> > Tarball extraction: [/usr/src/redhat/SOURCES/Log-Dispatch-2.11.tar.gz]
> > Generating spec file
> > SPEC: /usr/src/redhat/SPECS/Log-Dispatch.spec
> > Generating package
> > RPM test unpacking failed! [/bin/rpm -bp /usr/src/redhat/SPECS/Log-
> > Dispatch.spec]
> > -bp: unknown option
> > -- Done --
> > -----------------------------------
> >
> > My rpm version is 4.4.1, which I believe is fairly current. Can anyone
> > explain why 'bp' isn't recognized by rpm? Do I need to use the /etc/popt
> > magic mentioned in the rpm man page? Thanks ..
> >
> > Alex
> >
> > --
> > ----------
> > Linux, Firefox and GMail .. what a combination.
>
>
>


--
----------
Linux, Firefox and GMail .. what a combination.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/legacy/attachments/20050923/f83a528b/attachment.html>


More information about the Legacy mailing list