[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: error: failed to stat ...



On 11/15/06, Kevin Cosgrove <kevinc doink com> wrote:

What does this mean?

    error: failed to stat /login/kevinc/src/INCOMING/SPECS/bzip2.spec: m

I made the error disappear by putting two spaces before "CFLAGS"
below.  With just one space I get the error.

%build
%{__make} CC=%{__cc}  CFLAGS="${RPM_OPT_FLAGS}"

Huh?


Weird. But that's the dain bread spc file parser that has no grammar.

Perhaps quotes for CC="%{__cc}" might help.

Adding a %trace toggle will permit you to see the expansions, like

%trace
%{__make} CC=%{__cc}  CFLAGS="${RPM_OPT_FLAGS}"
%trace

Hint: Watchout for WinDoze induced CR's (aka \r), The spec file parser
behaves very strangely with \r's at EOL, all sorts of curious problems occur.

hth

73 de Jeff


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]