[Samba] Build error of rpm for samba-3.0.21rc2 on Centos 4.2

Oliver Schulze L. oliver at samera.com.py
Thu Dec 8 14:10:43 GMT 2005

I'm trying to compile samba 3.0.21rc2 in Centos 4.2 and I get this errors:

First, this easy one:
[root at mpl SOURCES]# rpmbuild -ta --clean --target=i686 
Building target platforms: i686
Building for target i686
error: File /usr/src/redhat/SOURCES/samba-3.0.21rc2.tar.bz2: No such 
file or directory

I solved by creating a .bz2 file:
tar xzf samba-3.0.21rc2.tar.gz
tar cjf samba-3.0.21rc2.tar.bz2 samba-3.0.21rc2
mv samba-3.0.21rc2.tar.bz2 /usr/src/redhat/SOURCES

But, then, I get this error:
rpmbuild -ta --clean --target=i686 samba-3.0.21rc2.tar.bz2


+ mkdir -p /var/tmp/samba-3.0.21rc2-root/etc/xinetd.d
+ install -m644 /usr/src/redhat/SOURCES/samba.xinetd 
+ mkdir -p /var/tmp/samba-3.0.21rc2-root/etc/sysconfig
+ install -m644 /usr/src/redhat/SOURCES/samba.sysconfig 
+ rm -f /var/tmp/samba-3.0.21rc2-root/usr/share/man/man1/log2pcap.1
+ rm -f '/var/tmp/samba-3.0.21rc2-root/usr/share/man/man1/smbsh.1*'
+ rm -f /var/tmp/samba-3.0.21rc2-root/usr/share/man/man1/vfstest.1
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip
+ /usr/lib/rpm/brp-strip-static-archive
+ /usr/lib/rpm/brp-strip-comment-note
error: Bad file: /usr/src/redhat/SOURCES/filter-requires-samba.sh: No 
such file or directory

RPM build errors:
    Bad file: /usr/src/redhat/SOURCES/filter-requires-samba.sh: No such 
file or directory

How do I solve this issue? I think its a .spec problem


Oliver Schulze L.
<oliver at samera.com.py>

More information about the samba mailing list