Re: 2.5 build failure on OBS

Howard Chu <[email protected]> Fri, 5 Feb 2021 21:44:41 +0000
Newsgroups gmane.network.openldap.devel
Message-ID <[email protected]>
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.
> 
> Ciao, Michael.
> 


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