Hi Edgar,
  I don't know how to build libdroplet, but you can disable building it.  If I 
remember correctly search for 'droplet' in the spec file and then change 1 to 0.

C.

________________________________________
From: [email protected] <[email protected]> on behalf 
of Edgar Matzinger <[email protected]>
Sent: Monday, October 16, 2023 8:05 AM
To: bareos-users
Subject: [bareos-users] Re: Build bareos 22.0.1 using rpmbuild on fedora38

Sorry bareos 22.1.1

On Monday, 16 October 2023 at 15:03:35 UTC+2 Edgar Matzinger wrote:
Hello list,

  has anyone build bareos using rpmbuiid?

What I've done is:

1. download the source rpm from the bareos community repo.
2. install the src.rpm
3. run rpmbuild -ba bareos.spec

After a lot of out put, I see the following:

16% tests passed, 113 tests failed out of 134

I think this is a bit harsh...

The full build log can be found here:

https://www.edgar-matzinger.nl/bareos-rpmbuild-full.log

The build fails with:

RPM build warnings: Duplicate build-ids 
/home/edgarm/rpmbuild/BUILDROOT/bareos-22.1.1~pre125.bae3d32c0-97.fc38.x86_64/usr/bin/bconsole
 and 
/home/edgarm/rpmbuild/BUILDROOT/bareos-22.1.1~pre125.bae3d32c0-97.fc38.x86_64/usr/sbin/bconsole

RPM build errors: File not found: 
/home/edgarm/rpmbuild/BUILDROOT/bareos-22.1.1~pre125.bae3d32c0-97.fc38.x86_64/usr/lib64/bareos/backends/libbareossd-droplet*.so
 File not found: 
/home/edgarm/rpmbuild/BUILDROOT/bareos-22.1.1~pre125.bae3d32c0-97.fc38.x86_64/etc/bareos/bareos-dir.d/storage/S3_Object.conf.example
 File not found: 
/home/edgarm/rpmbuild/BUILDROOT/bareos-22.1.1~pre125.bae3d32c0-97.fc38.x86_64/etc/bareos/bareos-sd.d/device/S3_ObjectStorage.conf.example
 Directory not found: 
/home/edgarm/rpmbuild/BUILDROOT/bareos-22.1.1~pre125.bae3d32c0-97.fc38.x86_64/etc/bareos/bareos-sd.d/device/droplet
 File not found: 
/home/edgarm/rpmbuild/BUILDROOT/bareos-22.1.1~pre125.bae3d32c0-97.fc38.x86_64/etc/bareos/bareos-sd.d/device/droplet/*.example

Has anyone built bareos using rpmbuild and had better results?
ATM I'm thinking that the spec file is not entirely correct.

Kind regards, Edgar Matzinger.

--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/d555965b-da9c-42c6-8f38-642d9cbb4c67n%40googlegroups.com<https://groups.google.com/d/msgid/bareos-users/d555965b-da9c-42c6-8f38-642d9cbb4c67n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/SN6PR06MB497572A848ABDC8FC6D3B385E3D7A%40SN6PR06MB4975.namprd06.prod.outlook.com.

Reply via email to