HI All,
I'm attempting to build the amanda rpm from source (as I've been able to
do many times in the past successfully).
The version is:
amanda-3.3.0-5.fc17.src.rpm
I tweaked the .spec file, but the build failed. I thought maybe it was
something in my additions, so I tried it again, this time with the stock
.spec file that it came with and the build STILL failed. I posted the
output below. Does anyone know why the STOCK rpm specfile won't build
correctly for this version??? Thanks in advance.
OUTPUT (last few lines):
---------------------------------------
Amanda/Util.c: In function '_wrap_file_lock_unlock':
Amanda/Util.c:2597:5: warning: implicit declaration of function
'struct_file_lock_unlock' [-Wimplicit-function-declaration]
Amanda/Util.c: In function '_wrap_file_lock_locked':
Amanda/Util.c:2632:5: warning: implicit declaration of function
'struct_file_lock_locked' [-Wimplicit-function-declaration]
Amanda/Util.c: In function '_wrap_file_lock_write':
Amanda/Util.c:2672:5: warning: implicit declaration of function
'struct_file_lock_write' [-Wimplicit-function-declaration]
Amanda/Util.c: In function '_wrap_match_host':
Amanda/Util.c:3057:5: warning: implicit declaration of function
'match_host' [-Wimplicit-function-declaration]
Amanda/Util.c: In function '_wrap_match_disk':
Amanda/Util.c:3103:5: warning: implicit declaration of function
'match_disk' [-Wimplicit-function-declaration]
Amanda/Util.c: In function '_wrap_match_datestamp':
Amanda/Util.c:3149:5: warning: implicit declaration of function
'match_datestamp' [-Wimplicit-function-declaration]
Amanda/Util.c: In function '_wrap_match_level':
Amanda/Util.c:3195:5: warning: implicit declaration of function
'match_level' [-Wimplicit-function-declaration]
Amanda/Util.c: In function 'SWIG_InitializeModule':
Amanda/Util.c:3572:3: warning: statement with no effect [-Wunused-value]
Amanda/Util.c: In function 'boot_Amanda__Util':
Amanda/Util.c:3757:3: warning: unused variable 'items' [-Wunused-variable]
Amanda/Util.c: In function 'struct_file_lock_data':
Amanda/Util.c:1904:2: warning: control reaches end of non-void function
[-Wreturn-type]
make[4]: *** [Util.lo] Error 1
make[4]: Leaving directory `/home/brendon/rpmbuild/BUILD/amanda-3.3.0/perl'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/brendon/rpmbuild/BUILD/amanda-3.3.0/perl'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/brendon/rpmbuild/BUILD/amanda-3.3.0/perl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/brendon/rpmbuild/BUILD/amanda-3.3.0'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.wdVQor (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.wdVQor (%build)
13:47.31 elapsed,
438.35 user,
302.87 system,
57240 memory
1 status
--Brendon Martino