Re: error: failed to stat ...

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

 



On 11/15/06, Kevin Cosgrove <kevinc@xxxxxxxxx> 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

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux