On Fri, 2005-11-18 at 15:14 -0600, Aleksandar Milivojevic wrote: > Quoting Craig White <[EMAIL PROTECTED]>: > > > OK - new ground here... > > > > # rpmbuild -bb bacula.spec build_centos4 > > error: You must specify a platform. Please examine the spec file. > > error: line 57: Unknown tag: exit 1 > > > > Doesn't that seem right? > > You need to specify which distribution and database backend you are > building. For example, for CentOS 4 and PosgreSQL, you would do: > > $ rpmbuild -bb --define 'build_centos4 1' --define 'build_postgresql 1' > bacula.spec > > BTW, I've just re-posted my email to bacula-devel list. It containts > bacula.spec file with couple of fixes (some of which might be needed). > Anybody > interested in this, please check the new thread in bacula-devel list > (should be > in archives for those not subscribed to it). > ---- OK - it's building now.
I used your 'diff' on bacula-developers list to patch the spec file from 1.38.0-1 and I did have one small error. [1] I had to build rpm with rpmbuild -bb --define 'build_centos4 1' --define 'build_mysql 1' bacula.spec because rpmbuild -bb --define 'build_centos4 1' --define 'build_mysql4 1' bacula.spec still didn't meet database definition. build process aborted... last few lines... Requires: /bin/sh GConf2 ORBit2 atk bacula-fd bonobo-activation config (bacula-gconsole) = 1.38.1-0.test freetype glibc >= 2.3 gtk2 >= 2.4 libICE.so.6 libORBit-2.so.0 libSM.so.6 libX11.so.6 libart_lgpl >= 2.3 libart_lgpl_2.so.2 libatk-1.0.so.0 libbonobo >= 2.8 libbonobo-2.so.0 libbonobo-activation.so.4 libbonoboui >= 2.8 libbonoboui-2.so.0 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6 (GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libdl.so.2 libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GLIBC_2.0) libgconf-2.so.4 libgdk- x11-2.0.so.0 libgdk_pixbuf-2.0.so.0 libglib-2.0.so.0 libgmodule-2.0.so.0 libgnome-2.so.0 libgnomecanvas-2.so.0 libgnomeui >= 2.8 libgnomeui-2.so.0 libgnomevfs-2.so.0 libgobject-2.0.so.0 libgthread-2.0.so.0 libgtk-x11-2.0.so.0 libm.so.6 libpango-1.0.so.0 libpangoft2-1.0.so.0 libpangox-1.0.so.0 libpangoxft-1.0.so.0 libpopt.so.0 libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0 (GLIBC_2.1) libpthread.so.0(GLIBC_2.2) libpthread.so.0(GLIBC_2.3.2) libstdc++ libstdc++.so.6 libstdc++.so.6(CXXABI_1.3) libxml2 libxml2.so.2 libz.so.1 pango usermode zlib RPM build errors: Bad exit status from /var/tmp/rpm-tmp.36352 (%doc) Bad exit status from /var/tmp/rpm-tmp.24594 (%doc) # ls -l ../SOURCES/ total 50716 -rw-r--r-- 1 root users 1847955 Nov 5 04:25 bacula-1.38.0.tar.gz -rw-r--r-- 1 root root 1856508 Nov 15 09:27 bacula-1.38.1.tar.gz -rw-r--r-- 1 root users 22003257 Nov 5 04:27 bacula-docs-1.38.0.tar.gz -rw-r--r-- 1 root root 23146890 Nov 15 09:46 bacula-docs-1.38.1.tar.gz -rw-r--r-- 1 root users 483012 Nov 5 04:27 bacula- rescue-1.8.1.tar.gz -rw-r--r-- 1 root users 2466785 Oct 30 05:27 depkgs-22Jun05.tar.gz -rw-r--r-- 1 root users 1053 Nov 5 04:35 Release_Notes-1.38.0-1.tar.gz -rw-r--r-- 1 root root 1053 Nov 18 13:46 Release_Notes-1.38.1-0.test.tar.gz Craig [1] # cat bacula.spec.rej *************** *** 1164,1169 **** %changelog * Sat Nov 05 2005 D. Scott Barninger - 1.38.0 release - kern changed location of pdf files and html manual in docs package --- 1273,1280 ---- %changelog + * Fri Nov 18 2005 Aleksandar Milivojevic + - Red Hat and look alikes have mtx RPM, do not build/package our version * Sat Nov 05 2005 D. Scott Barninger - 1.38.0 release - kern changed location of pdf files and html manual in docs package -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users