Re: 2.5 build failure on OBS

Howard Chu <[email protected]> Fri, 5 Feb 2021 21:53:53 +0000
Newsgroups gmane.network.openldap.devel
Message-ID <[email protected]>
Howard Chu wrote:
> Michael Ströder wrote:
>> HI!
>>
>> As usual I'm using openSUSE Build Service to build openldap2 RPMs. This
>> smoothly works with 2.4.x.
>>
>> But building 2.5 branch snapshot fails.
>>
>> Maybe OBS compiler options are set pretty strict because it outputs:
>>
>> [  147s] cc1: some warnings being treated as errors
>> [  147s] make[2]: *** [<builtin>: slapd-watcher.o] Error 1
>>
>> You can look at the full build log with some warnings here:
>>
>> https://build.opensuse.org/public/build/home:stroeder:branches:home:stroeder:iam/openSUSE_Tumbleweed/x86_64/openldap25/_log
> 
> Looks like it's complaining about some warnings in slapd-mtread.c. But the warnings are bogus,
> the output strings will never be anywhere close to the size of the output buffers.

Oh, the actual error it's complaining about is in slapd-watcher.c. Fix pushed to master, b2f2c1bb04b9affb9e9efa0a5bfc74d20da87a33


-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/