Hi Steffen, thanks to you and Chad, I was able to build bareos reasonably successful. The build ends with a few warnings regarding duplicate files.
However 113 of 134 tests fail... Thanks, kinds reagrds, Edgar Matzinger On Tuesday, 17 October 2023 at 08:56:14 UTC+2 Knauf Steffen wrote: > Hi Edgar, > > Chad is absolutly right, i successfully build bareos with the following > Settings (spec): > > # default settings > %define client_only 0 > %define build_qt_monitor 1 > %define build_sqlite3 0 > %define glusterfs 1 > %define droplet 0 > %define have_git 0 > %define ceph 0 > %define install_suse_fw 0 > %define systemd_support 1 > %define python_plugins 1 > > greets > > Steffen > > > ------------------------------ > *Von:* 'Chad W Seys' via bareos-users <bareos...@googlegroups.com> > *Gesendet:* Montag, 16. Oktober 2023 23:46 > *An:* Edgar Matzinger <edgar...@gmail.com>; bareos-users < > bareos...@googlegroups.com> > *Betreff:* Re: [bareos-users] Re: Build bareos 22.0.1 using rpmbuild on > fedora38 > > 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: bareos...@googlegroups.com <bareos...@googlegroups.com> on behalf > of Edgar Matzinger <edgar...@gmail.com> > 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 bareos-users...@googlegroups.com<mailto: > bareos-users...@googlegroups.com>. > 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> > > <https://groups.google.com/d/msgid/bareos-users/d555965b-da9c-42c6-8f38-642d9cbb4c67n%40googlegroups.com%3Chttps://groups.google.com/d/msgid/bareos-users/d555965b-da9c-42c6-8f38-642d9cbb4c67n%40googlegroups.com?utm_medium=email&utm_source=footer%3E> > . > > -- > 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 bareos-users...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/bareos-users/SN6PR06MB497572A848ABDC8FC6D3B385E3D7A%40SN6PR06MB4975.namprd06.prod.outlook.com > . > -- 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 bareos-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/6b7536a6-c6c4-4511-a65d-c7a9d141119bn%40googlegroups.com.