View Issue Details

IDProjectCategoryView StatusLast Update
0001504bareos-coreGeneralpublic2023-09-27 10:40
Reporterp-linnane Assigned Tobruno-at-bareos  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionno change required 
Product Version22.0.0 
Summary0001504: Compiling bareos-client on Linux for Homebrew fails
DescriptionHello. I am a maintainer for Homebrew (https://brew.sh). The last few releases of bareos-client have failed to compile for us on Linux without a few workarounds. The 2 specific issues are:
lmdb/mdb.c:2282:13: error: variable 'rc' set but not used [-Werror=unused-but-set-variable]
fastlzlib.c:512:63: error: unused parameter ‘output_length’ [-Werror=unused-parameter]

The workarounds we have implemented are appending the following to CFLAGS:
"-Wno-unused-but-set-variable"
"-Wno-unused-parameter"

Obviously, this is not ideal. I was hoping someone here could weigh in on what we are missing in order to compile without needing to append CFLAGS.

Ref: https://github.com/Homebrew/homebrew-core/pull/118783
TagsNo tags attached.

Activities

bruno-at-bareos

bruno-at-bareos

2023-09-04 16:23

manager   ~0005363

Did you tried at least against newer/patched 22.x branch ?
bruno-at-bareos

bruno-at-bareos

2023-09-27 10:40

manager   ~0005451

Closing due to no return.

Issue History

Date Modified Username Field Change
2022-12-27 02:36 p-linnane New Issue
2023-09-04 16:23 bruno-at-bareos Assigned To => bruno-at-bareos
2023-09-04 16:23 bruno-at-bareos Status new => feedback
2023-09-04 16:23 bruno-at-bareos Note Added: 0005363
2023-09-27 10:40 bruno-at-bareos Status feedback => closed
2023-09-27 10:40 bruno-at-bareos Resolution open => no change required
2023-09-27 10:40 bruno-at-bareos Note Added: 0005451