On Thu, Aug 09, 2007, Peter Zimmer wrote:

> I'm having problems compiling the perl-stats RPM package on Ubuntu 7.04.
> When I try a openpkg rpm -bb perl-stats.spec, the following error
> appears:
>
> [EMAIL PROTECTED] openpkg rpm -bb perl-stats/perl-stats.spec
> Executing(%prep): env -i /opt/local/lib/openpkg/bash --norc --noprofile
> --posix -e /opt/local/RPM/TMP/rpm-tmp.31381
> Executing(%build): env -i /opt/local/lib/openpkg/bash --norc --noprofile
> --posix -e /opt/local/RPM/TMP/rpm-tmp.31381
> Executing(%install): env -i /opt/local/lib/openpkg/bash --norc
> --noprofile --posix -e /opt/local/RPM/TMP/rpm-tmp.31381
> Processing files: perl-stats-5.8.8-20070708
> error: Could not open %files file
> /opt/local/RPM/TMP/perl-stats-5.8.8/files: No such file or directory
>
> RPM build errors:
>     Could not open %files file
> /opt/local/RPM/TMP/perl-stats-5.8.8/files: No such file or directory
> [EMAIL PROTECTED]

Hmmm... I'm confused. Why are there _NO_ commands executed at all. That
"files" is not found is just the result of not executing any commands
in %install. I don't know what happens here for you, but RPM does not
execute the content of the %xxxx sections in perl-stats.spec. I've no
clue how this can happen, but I would try a "openpkg rpm --rebuild
perl-stats-*.src.rpm" with the latest "perl-stats" from openpkg.org
instead. Perhaps your local perl-stats.spec got garbled.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to