Bacula-users

[Bacula-users] CentOS 4 rpmbuild Errors

2008-06-05 14:03:46
Subject: [Bacula-users] CentOS 4 rpmbuild Errors
From: "Emil Glatz" <Emil.Glatz AT wescoglobal DOT com>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 5 Jun 2008 12:03:33 -0600
Hi:

A few things I have encountered and am not sure of how to handle running:
# rpmbuild -ba \
        --define "build_centos4 1" \
        --define "build_mysql5 1" \
        bacula.spec


1. Release_Notes-2.4.0-1.tar.gz

What or where is this?  What should it be?  For my temporary build, I tgz'ed 
the release notes from the bacula source.

2. bacula-2.2.7-postgresql.patch

Same as above?  Is this still required?  Is it the 2.2.7-old-postgresql.patch?  
I tried putting the 2.2.7-old.postgresql.patch in, but it just fouled things up.

Partial Excerpt:

+ cd /usr/src/redhat/BUILD/bacula-2.4.0
+ rm -f /var/tmp/bacula-root/usr/share/man/man1/bacula-bwxconsole.1.gz
+ rm -f /var/tmp/bacula-root/usr/share/man/man1/bat.1.gz
+ rm -f /var/tmp/bacula-root/usr/share/man/man1/bacula-bgnome-console.1.gz
+ rm -f /var/tmp/bacula-root/usr/share/man/man1/bacula-tray-monitor.1.gz
+ rm -f /var/tmp/bacula-root/usr/lib/bacula/gconsole
+ rm -f /var/tmp/bacula-root/usr/sbin/static-bacula-fd
+ cp -p platforms/redhat/bacula-dir /var/tmp/bacula-root/etc/init.d/bacula-dir
+ cp -p platforms/redhat/bacula-fd /var/tmp/bacula-root/etc/init.d/bacula-fd
+ cp -p platforms/redhat/bacula-sd /var/tmp/bacula-root/etc/init.d/bacula-sd
+ chmod 0754 /var/tmp/bacula-root/etc/init.d/bacula-dir 
/var/tmp/bacula-root/etc/init.d/bacula-fd 
/var/tmp/bacula-root/etc/init.d/bacula-sd
+ cp -p scripts/logrotate /var/tmp/bacula-root/etc/logrotate.d/bacula
+ cp -p updatedb/README updatedb/update_bacula_tables_8_to_9 
updatedb/update_bdb_tables_8_to_9 updatedb/update_bdb_tables_9_to_10 
updatedb/update_mysql_tables_4_to_5 updatedb/update_mysql_tables_5_to_6 
updatedb/update_mysql_tables_6_to_7 updatedb/update_mysql_tables_7_to_8 
updatedb/update_mysql_tables_8_to_9 updatedb/update_mysql_tables_9_to_10 
updatedb/update_postgresql_tables_7_to_8 
updatedb/update_postgresql_tables_8_to_9 
updatedb/update_postgresql_tables_9_to_10 updatedb/update_sqlite3_tables_8_to_9 
updatedb/update_sqlite3_tables_9_to_10 updatedb/update_sqlite_tables_4_to_5 
updatedb/update_sqlite_tables_5_to_6 updatedb/update_sqlite_tables_6_to_7 
updatedb/update_sqlite_tables_7_to_8 updatedb/update_sqlite_tables_8_to_9 
updatedb/update_sqlite_tables_9_to_10 
/var/tmp/bacula-root/usr/lib/bacula/updatedb/
+ cp -p scripts/logwatch/bacula 
/var/tmp/bacula-root/etc/log.d/scripts/services/bacula
+ cp -p scripts/logwatch/logfile.bacula.conf 
/var/tmp/bacula-root/etc/log.d/conf/logfiles/bacula.conf
+ cp -p scripts/logwatch/services.bacula.conf 
/var/tmp/bacula-root/etc/log.d/conf/services/bacula.conf
+ chmod 755 /var/tmp/bacula-root/etc/log.d/scripts/services/bacula
+ chmod 644 /var/tmp/bacula-root/etc/log.d/conf/logfiles/bacula.conf
+ chmod 644 /var/tmp/bacula-root/etc/log.d/conf/services/bacula.conf
+ mkdir /var/tmp/bacula-root/usr/lib/bacula/rescue
+ mkdir /var/tmp/bacula-root/usr/lib/bacula/rescue/freebsd
+ mkdir /var/tmp/bacula-root/usr/lib/bacula/rescue/solaris
+ cp -p ../bacula-rescue-2.4.0/Makefile.in 
/var/tmp/bacula-root/usr/lib/bacula/rescue/
+ cp -p ../bacula-rescue-2.4.0/freebsd/Makefile.in 
/var/tmp/bacula-root/usr/lib/bacula/rescue/freebsd/
+ cp -p ../bacula-rescue-2.4.0/solaris/Makefile.in 
/var/tmp/bacula-root/usr/lib/bacula/rescue/solaris/
+ cp -p ../bacula-rescue-2.4.0/README 
/var/tmp/bacula-root/usr/lib/bacula/rescue/
+ cp -p ../bacula-rescue-2.4.0/configure 
/var/tmp/bacula-root/usr/lib/bacula/rescue/
+ cp -p ../bacula-rescue-2.4.0/version.h 
/var/tmp/bacula-root/usr/lib/bacula/rescue/
+ cp -pr ../bacula-rescue-2.4.0/linux 
/var/tmp/bacula-root/usr/lib/bacula/rescue/
+ cp -pr ../bacula-rescue-2.4.0/autoconf 
/var/tmp/bacula-root/usr/lib/bacula/rescue/
+ cp -pr ../bacula-rescue-2.4.0/knoppix 
/var/tmp/bacula-root/usr/lib/bacula/rescue/
+ touch /var/tmp/bacula-root/usr/lib/bacula/rescue/linux/cdrom/rpm_release
+ cp -p src/filed/static-bacula-fd 
/var/tmp/bacula-root/usr/lib/bacula/rescue/linux/cdrom/bacula/bin/bacula-fd
+ rm -f src/filed/static-bacula-fd
+ chmod o-rwx /var/tmp/bacula-root/var/lib/bacula
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip
+ /usr/lib/rpm/brp-strip-static-archive
+ /usr/lib/rpm/brp-strip-comment-note
objdump: 
/var/tmp/bacula-root/usr/lib/bacula/rescue/linux/cdrom/roottree/root/ntfsresize:
 File format not recognized
strip: 
/var/tmp/bacula-root/usr/lib/bacula/rescue/linux/cdrom/roottree/root/ntfsresize:
 File format not recognized
error: Bad file: /usr/src/redhat/SOURCES/bacula-2.2.7-postgresql.patch: No such 
file or directory


RPM build errors:
    Bad file: /usr/src/redhat/SOURCES/bacula-2.2.7-postgresql.patch: No such 
file or directory

Thank you for your help,
Emil


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Bacula-users] CentOS 4 rpmbuild Errors, Emil Glatz <=