problem building an RPM - hangs on + /usr/lib/rpm/brp-compress

Subject: problem building an RPM - hangs on + /usr/lib/rpm/brp-compress
From: Patrick Callahan (
Date: Sun Dec 31 2000 - 20:35:56 MST

When I tried to build an RPM on CS 1.2.1 with the latest yup updates (including
the rpm packages) installed, rpm seems to hang on
the line:
+ /usr/lib/rpm/brp-compress
until I press return twice.
Then it continues but the rpm is not built.

There are two messages about file not found:
File not found: /tmp/rsync/usr/man/man1/rsync.1
File not found: /tmp/rsync/usr/man/man5/rsyncd.conf.5

There are files inthe man1 and man5 directories but they are .gz files

Should the SPEC file be updated to reflect storing the man pages as .gz files?

The rpm build command is:
rpm -ba /usr/src/rpm/SPECS/rsync.spec

The spec file is:
Upgrade to rsync version 1.7.2.

* Sun Mar 1 1998 Douglas N. Arnold <>

Built 1.6.9-1 based on the 1.6.3-2 spec file of John A. Martin.
Changes from 1.6.3-2 packaging: added latex and dvips commands
to create

* Mon Aug 25 1997 John A. Martin <>

Built 1.6.3-2 after finding no rsync-1.6.3-1.src.rpm although there
was an
showing no packager nor signature but giving
"Source RPM: rsync-1.6.3-1.src.rpm".

Changes from 1.6.2-1 packaging: added '$RPM_OPT_FLAGS' to make, strip
to '%build', removed '%prefix'.

* Thu Apr 10 1997 Michael De La Rue <>

rsync-1.6.2-1 packaged. (This entry by jam to credit Michael for the
previous package(s).)


./configure --prefix=/usr
strip rsync

mkdir -p $RPM_BUILD_ROOT/usr/{bin,man/{man1,man5}}
install -m755 rsync $RPM_BUILD_ROOT/usr/bin
install -m644 rsync.1 $RPM_BUILD_ROOT/usr/man/man1
install -m644 rsyncd.conf.5 $RPM_BUILD_ROOT/usr/man/man5


%attr(-,root,root) /usr/bin/rsync
%attr(-,root,root) /usr/man/man1/rsync.1
%attr(-,root,root) /usr/man/man5/rsyncd.conf.5
%attr(-,root,root) %doc tech_report.tex
%attr(-,root,root) %doc README
%attr(-,root,root) %doc COPYING

creating Makefile
creating lib/dummy
creating zlib/dummy
creating config.h
+ make 'CFLAGS=-O2 -fsigned-char'


gcc -I. -I. -O2 -fsigned-char -c zlib/infblock.c -o zlib/infblock.o
gcc -I. -I. -O2 -fsigned-char -c zlib/infcodes.c -o zlib/infcodes.o
gcc -I. -I. -O2 -fsigned-char -c zlib/inffast.c -o zlib/inffast.o
gcc -I. -I. -O2 -fsigned-char -c zlib/inflate.c -o zlib/inflate.o
gcc -I. -I. -O2 -fsigned-char -c zlib/inftrees.c -o zlib/inftrees.o
gcc -I. -I. -O2 -fsigned-char -c zlib/infutil.c -o zlib/infutil.o
gcc -I. -I. -O2 -fsigned-char -c zlib/trees.c -o zlib/trees.o
gcc -I. -I. -O2 -fsigned-char -c zlib/zutil.c -o zlib/zutil.o
gcc -I. -I. -O2 -fsigned-char -c zlib/adler32.c -o zlib/adler32.o
gcc -O2 -fsigned-char -o rsync rsync.o generator.o receiver.o cleanup.o sender.
o exclude.o util.o main.o checksum.o match.o syscall.o log.o backup.o options.o
flist.o io.o compat.o hlink.o token.o uidlist.o socket.o fileio.o params.o loadp
arm.o clientserver.o access.o connection.o authenticate.o lib/getopt.o lib/fnmat
ch.o lib/compat.o lib/snprintf.o lib/mdfour.o zlib/deflate.o zlib/infblock.o zli
b/infcodes.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o zlib/infutil.o zlib/t
rees.o zlib/zutil.o zlib/adler32.o
+ strip rsync
+ exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.4847
+ umask 022
+ cd /usr/src/rpm/BUILD
+ cd rsync-2.4.6
+ mkdir -p /tmp/rsync/usr/bin /tmp/rsync/usr/man/man1 /tmp/rsync/usr/man/man5
+ install -m755 rsync /tmp/rsync/usr/bin
+ install -m644 rsync.1 /tmp/rsync/usr/man/man1
+ install -m644 rsyncd.conf.5 /tmp/rsync/usr/man/man5
+ /usr/lib/rpm/brp-compress

+ /usr/lib/rpm/brp-strip
+ /usr/lib/rpm/brp-strip-comment-note
Processing files: rsync-2.4.6-1
File not found: /tmp/rsync/usr/man/man1/rsync.1
File not found: /tmp/rsync/usr/man/man5/rsyncd.conf.5
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.58783
+ umask 022
+ cd /usr/src/rpm/BUILD
+ cd rsync-2.4.6
+ DOCDIR=/tmp/rsync/usr/doc/rsync-2.4.6
+ export DOCDIR
+ rm -rf /tmp/rsync/usr/doc/rsync-2.4.6
+ /bin/mkdir -p /tmp/rsync/usr/doc/rsync-2.4.6
+ cp -pr tech_report.tex /tmp/rsync/usr/doc/rsync-2.4.6
+ cp -pr README /tmp/rsync/usr/doc/rsync-2.4.6
+ cp -pr COPYING /tmp/rsync/usr/doc/rsync-2.4.6
+ exit 0
error: cannot open file /usr/src/rpm/RPMS/ppc/rsync-2.4.6.ppc.rpm: No such file
or directory

Note that the file is there, but its a .gz file
# ls /tmp/rsync/usr/man/man5/

This archive was generated by hypermail 2a24 : Sun Dec 31 2000 - 14:05:19 MST