can't compile sfs from src.rpm

Matias Lopez Bergero <[email protected]> Mon, 29 May 2006 12:17:31 -0300
Newsgroups gmane.comp.file-systems.sfs.general
Message-ID <[email protected]>
Hello,
First post here,

I'm trying to create the rpm file from the src.rpm due to a compile
error :-P
I search trough google and the sfs mailing list, but I couldn't find
this kind of error message, so, I requesting help here :-D

My system: RedHat ES 3.0, gcc: 3.2.3, glib 1.2.10, glibc 2.3.2, kernel
2.4.32.

Here is the error message:

-bash-2.05b# rpmbuild --rebuild sfs-0.7.2-1.src.rpm
Installing sfs-0.7.2-1.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.61935
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
...
...
...
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..
-I.. -I../async -I../arpc -I../crypt -I../sfsmisc -I../sfsrodb -I../adb
-I../svc -I../svc -DEXECDIR=\"/usr/lib/sfs-0.7.2\" -DETCDIR=\"/etc/sfs\"
-DDATADIR=\"/usr/share/sfs\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\"
 -O2 -Wall -Werror  -c pmap_prot.C
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../async -I../arpc -I../crypt
-I../sfsmisc -I../sfsrodb -I../adb -I../svc -I../svc
-DEXECDIR=\"/usr/lib/sfs-0.7.2\" -DETCDIR=\"/etc/sfs\"
-DDATADIR=\"/usr/share/sfs\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\"
-O2 -Wall -Werror -c pmap_prot.C -o pmap_prot.o
cc1plus: warnings being treated as errors
In file included from xdrmisc.h:81,
                 from pmap_prot.h:7,
                 from pmap_prot.C:7:
rpctypes.h: In member function `rpc_vec<T, max>& rpc_vec<T, max>::set(const
   vec<T, NN>&)':
rpctypes.h:179: warning: no return statement in function returning non-void
make[2]: *** [pmap_prot.lo] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/sfs-0.7.2/arpc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/sfs-0.7.2'
make: *** [all-recursive-am] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.41369 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.41369 (%build)

#

TIA!

BR,
Matias.