View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001550 | bareos-core | installer / packages | public | 2023-08-31 12:06 | 2023-10-12 16:11 |
Reporter | roland | Assigned To | bruno-at-bareos | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | Debian | OS Version | 11 |
Product Version | 22.1.0 | ||||
Summary | 0001550: Debian: Build-Depends: openssl missing | ||||
Description | Building Bareos 21.x and 22.x (including todays GIT HEAD) fails in a clean Debian 11 (bullseye) build environment (using cowbuilder/pbuilder) during the dh_auto_configure run with the following message: CMake Error at systemtests/CMakeLists.txt:196 (message): Creation of certificates failed: 127 /build/bareos-22.1.0/cmake-build That's because openssl package is not installed in a clean environment and it's missing in debian/control Build-Depends. | ||||
Steps To Reproduce | # First get the official source package and rename it: wget https://github.com/bareos/bareos/archive/refs/tags/Release/22.1.0.tar.gz mv 22.1.0.tar.gz bareos_22.1.0.orig.tar.gz # Now get the same via GIT (I could also unpack the above package): git clone https://github.com/bareos/bareos.git cd bareos git checkout Release/22.1.0 # Create the missing debian/changelog file: dch --create --empty --package bareos -v 22.1.0-rr1+deb11u1 dch -a 'RoRo Build bullseye' # Create a Debian source package (.dsc, .debian.tar.xz): env DEB_BUILD_PROFILES="debian bullseye" debuild -us -uc -S -d # And now finally build the Debian source package in a clean bullseye chroot: sudo env DEB_BUILD_PROFILES="debian bullseye" cowbuilder --build --basepath /var/cache/pbuilder/base-bullseye.cow ../bareos_22.1.0-rr1+deb11u1.dsc | ||||
Additional Information | With Bareos 20.x I did not run into this issue. Adding "openssl" to the Build-Depends in debian/control debian/control.src avoids running into the above build failure. I'm not sure, whether there are other missing build dependencies, at least the build is complaining above some pam stuff missing, but these don't stop the build. I still see several automated tests failing, but have to dig deeper there. | ||||
Tags | build, debian 11 | ||||
Would you mind to open a PR to fix the issue on github? | |
Will be addressed in https://github.com/bareos/bareos/pull/1573 | |
Fix committed to bareos master branch with changesetid 18114. | |
bareos: master cf51a011 2023-10-11 16:04 Ported: N/A Details Diff |
packaging: debian add missing openssl requirement Fix 0001550 Build-Depends: openssl missing Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com> |
Affected Issues 0001550 |
|
mod - debian/control | Diff File | ||
mod - debian/control.src | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-08-31 12:06 | roland | New Issue | |
2023-08-31 12:06 | roland | Tag Attached: build | |
2023-08-31 12:06 | roland | Tag Attached: debian 11 | |
2023-09-11 17:07 | bruno-at-bareos | Note Added: 0005403 | |
2023-09-11 17:08 | bruno-at-bareos | Assigned To | => bruno-at-bareos |
2023-09-11 17:08 | bruno-at-bareos | Status | new => feedback |
2023-10-11 16:13 | bruno-at-bareos | Status | feedback => closed |
2023-10-11 16:13 | bruno-at-bareos | Resolution | open => fixed |
2023-10-11 16:13 | bruno-at-bareos | Note Added: 0005457 | |
2023-10-12 16:11 | bruno-at-bareos | Changeset attached | => bareos master cf51a011 |
2023-10-12 16:11 | bruno-at-bareos | Note Added: 0005471 | |
2023-10-12 16:11 | bruno-at-bareos | Status | closed => resolved |