rpm build problems

Eero Volotinen ev at kernel.ping-viini.org
Wed Oct 16 22:18:01 EST 2002


I downloaded latest src.rpm and trying to compile it against redhat 7.3:
[root at lnx rsync]# rpm --rebuild rsync-2.4.6-1.src.rpm >logfile
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf rsync-2.4.6
+ /bin/gzip -dc /usr/src/redhat/SOURCES/rsync-2.4.6.tar.gz
+ tar -xvvf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd rsync-2.4.6
++ /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
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd rsync-2.4.6
+ ./configure --prefix=/usr
+ make 'CFLAGS=-O2 -march=i386 -mcpu=i686'
syscall.o: In function `do_mktemp':
syscall.o(.text+0x417): the use of `mktemp' is dangerous, better use
`mkstemp'
+ strip rsync
+ exit 0
+ umask 022
+ cd /usr/src/redhat/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
error: File not found: /tmp/rsync/usr/man/man1/rsync.1
error: File not found: /tmp/rsync/usr/man/man5/rsyncd.conf.5
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd rsync-2.4.6
+ DOCDIR=/tmp/rsync/usr/share/doc/rsync-2.4.6
+ export DOCDIR
+ rm -rf /tmp/rsync/usr/share/doc/rsync-2.4.6
+ /bin/mkdir -p /tmp/rsync/usr/share/doc/rsync-2.4.6
+ cp -pr tech_report.tex /tmp/rsync/usr/share/doc/rsync-2.4.6
+ cp -pr README /tmp/rsync/usr/share/doc/rsync-2.4.6
+ cp -pr COPYING /tmp/rsync/usr/share/doc/rsync-2.4.6
+ exit 0
    File not found: /tmp/rsync/usr/man/man1/rsync.1
    File not found: /tmp/rsync/usr/man/man5/rsyncd.conf.5
[root at lnx rsync]#



--
Eero





More information about the rsync mailing list