Bacula-users

Re: [Bacula-users] Building SRPM on CentOS 5.4 issues

2010-02-18 13:04:12
Subject: Re: [Bacula-users] Building SRPM on CentOS 5.4 issues
From: "Gabriel - IP Guys" <Gabriel AT impactteachers DOT com>
To: "shouldbe q931" <shouldbeq931 AT googlemail DOT com>
Date: Thu, 18 Feb 2010 18:01:22 -0000

·       This is the command that I use

#] rpmbuild --rebuild --define "build_centos5 1" --define "build_mysql5 1" --define "build_bat 1" bacula-5.0.0-1.src.rpm

·       I noticed this at some point come past on the screen, but I don't know how to find the exact error

====== Error in /home/builder/rpmbuild/BUILD/bacula-5.0.0/src/console ======


·       And the below stuff is the final output.

Processing files: bacula-client-5.0.0-1

error: File not found: /var/tmp/bacula-root/etc/bacula/bconsole.conf

error: File not found: /var/tmp/bacula-root/usr/sbin/bconsole

Processing files: bacula-updatedb-5.0.0-1

Requires(interp): /bin/sh /bin/sh

Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1

Requires(pre): /bin/sh

Requires(post): /bin/sh

Requires: /bin/bash /bin/sh

Processing files: bacula-debuginfo-5.0.0-1

Provides: bpipe-fd.so.debug libbac.so.1.0.0.debug libbaccfg.so.1.0.0.debug libbacfind.so.1.0.0.debug libbacpy.so.1.0.0.debug libbacsql.so.1.0.0.debug

Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1

Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/bacula-root


RPM build errors:

    InstallSourcePackage: Header V3 DSA signature: NOKEY, key ID 10a792ad

    user sbarn does not exist - using root

    user sbarn does not exist - using root

    user sbarn does not exist - using root

    user sbarn does not exist - using root

    user sbarn does not exist - using root

    File not found: /var/tmp/bacula-root/etc/bacula/bconsole.conf

    File not found: /var/tmp/bacula-root/usr/sbin/bconsole

    File not found: /var/tmp/bacula-root/etc/bacula/bconsole.conf

    File not found: /var/tmp/bacula-root/usr/sbin/bconsole

I'm not 100% sure what going wrong here, any suggestions as to how to trouble shoot this, are very welcome.

-----Original Message-----
From: shouldbe q931 [mailto:shouldbeq931 AT googlemail DOT com]
Sent: 18 February 2010 14:33
To: Gabriel - IP Guys
Cc: [email protected]rge.net
Subject: Re: [Bacula-users] Building SRPM on CentOS 5.4 issues

Hi,

It would be useful to know the full command that you are trying.

As and example, I used

[rpmbuild --rebuild --define "build_centos5 1" --define "build_mysql5

1" --define "build_bat 1" bacula-5.0.0-1.src.rpm]

Cheers

Arne



On Thu, Feb 18, 2010 at 1:34 PM, Gabriel - IP Guys

<Gabriel AT impactteachers DOT com> wrote:

> I'm currently getting this error when I use the following to build it:

> (building as a non root user)

>

> #]$ rpmbuild -ba --define "build_centos5 1" --define "build_mysql 1"

> bacula.spec

>

> RPM build errors:

>    File not found: /var/tmp/bacula-root/etc/bacula/bconsole.conf

>    File not found: /var/tmp/bacula-root/usr/sbin/bconsole

>    File not found: /var/tmp/bacula-root/etc/bacula/bconsole.conf

>    File not found: /var/tmp/bacula-root/usr/sbin/bconsole

>

> ---

> Do I need to create these files myself, so that the script can copy them

> over?

>

> -----Original Message-----

> From: shouldbe q931 [mailto:shouldbeq931 AT googlemail DOT com]

> Sent: 18 February 2010 13:27

> To: Gabriel - IP Guys

> Cc: bacula-users AT lists DOT sourceforge.net

> Subject: Re: [Bacula-users] Bacula RPM Issue?

>

> Hi,

>

> I had no troubles building from the src.rpms

>

> Cheers

>

> Arne

>

> On Thu, Feb 18, 2010 at 12:13 PM, Gabriel - IP Guys

> <Gabriel AT impactteachers DOT com> wrote:

>> Looking into this more, it seems that "*/libcap.so.2" is a

> requirement,

>> and Centos ships with a lower version, which means that Centos users

>> cant use 5.0?

>>

>> -----Original Message-----

>> From: Gabriel - IP Guys [mailto:Gabriel@impactteachers.com]

>> Sent: 18 February 2010 11:10

>> To: bacula-users AT lists.sourceforge DOT net

>> Subject: [Bacula-users] Bacula RPM Issue?

>>

>> I've downloaded the following files from sourceforge to upgrade my

>> bacula instance.

>>

>> * bacula-bat-5.0.0-1.fc10.i386.rpm

>> * bacula-client-5.0.0-1.fc10.i386.rpm

>> * bacula-docs-5.0.0-1.noarch.rpm

>> * bacula-mysql-5.0.0-1.fc10.i386.rpm

>> * bacula-updatedb-5.0.0-1.i386.rpm

>>

>> When I run

>>

>> #] yum localinstall *.rpm

>>

>> I get this

>>

>> Error: bacula-mysql conflicts with bacula-client

>> Error: bacula-client conflicts with bacula-mysql

>>

>> If these packages are suppose to be installed together, why are there

>> dependency issues when they are being installed? If I'm missing

>> something, then please forgive me, but this seems like an issue to me.

>

> ------------------------------------------------------------------------------

> Download Intel&reg; Parallel Studio Eval

> Try the new software tools for yourself. Speed compiling, find bugs

> proactively, and fine-tune applications for parallel performance.

> See why Intel Parallel Studio got high marks during beta.

> http://p.sf.net/sfu/intel-sw-dev

> _______________________________________________

> Bacula-users mailing list

> Bacula-users AT lists.sourceforge DOT net

> https://lists.sourceforge.net/lists/listinfo/bacula-users

>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users