[TriLUG] Timeout for SSH session

rpjday rpjday at mindspring.com
Fri May 31 16:10:26 EDT 2002


On Fri, 31 May 2002, Kevin Hunter wrote:

> 
> after installing latest rpm-build, I attempt to rpm --rebuild and get
> the following:
> 
> # rpm --rebuild autolog-0.40-1.src.rpm
> Installing autolog-0.40-1.src.rpm
> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.57263
> + umask 022
> + cd /usr/src/redhat/BUILD
> + cd /usr/src/redhat/BUILD
> + rm -rf autolog-0.40
> + /bin/gzip -dc /usr/src/redhat/SOURCES/autolog-0.40.tar.gz
> + tar -xf -
> + STATUS=0
> + '[' 0 -ne 0 ']'
> + cd autolog-0.40
> ++ /usr/bin/id -u
> + '[' 0 = 0 ']'
> + /bin/chown -Rhf root .
> ++ /usr/bin/id -u
> + '[' 0 = 0 ']'
> + /bin/chgrp -Rhf root .
> + /bin/chmod -Rf a+rX,g-w,o-w .
> + exit 0
> Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.85011
> + umask 022
> + cd /usr/src/redhat/BUILD
> + cd autolog-0.40
> + /usr/bin/make clean
> rm autolog
> + /usr/bin/make 'CFLAGS=%{rpmcflags}'
> gcc %{rpmcflags} -o autolog autolog.c
> gcc: %{rpmcflags}: No such file or directory
> make: *** [autolog] Error 1
> error: Bad exit status from /var/tmp/rpm-tmp.85011 (%build)
> 
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.85011 (%build)

short answer -- that src rpm is broken, apparently.  long answer --
install it, hack the spec file ever so slightly, and it builds nicely.
for details, email me offline, unless you've debugged it already.

rday




More information about the TriLUG mailing list