error building 2.0.7

Paul Gildea <[email protected]> Tue, 16 Oct 2018 12:22:29 +0100
Newsgroups gmane.linux.keepalived.devel
Message-ID <CAP3D3geZZZ=shExKrNho-_1TXLFNJAmKDW=LSrpZbr_Uneer5A@mail.gmail.com>
--===============8452808502354909107==
Content-Type: multipart/alternative; boundary="00000000000089a671057856c509"

--00000000000089a671057856c509
Content-Type: text/plain; charset="UTF-8"

Hi,

I currently have 2.0.5 build and was trying to patch it with a fix I need
by patching this commit to it:
https://github.com/acassen/keepalived/commit/37d6b3bc22d307d09ab8bd75111c3645c742c792
However the code change must be too great between 2.0.5 and master because
doing so causes build errors. To make the code more similar before patching
I decided to upgrade to the latest release, 2.0.7, however that is not
building with the below error, do you know what might have changed to cause
this or what is happening? I'm not sure from reading the changelog. I have
also tried to build 2.0.6 to narrow it down,  which worked fine.

/media/vmpart/vrrp/buildroot/output/host/usr/x86_64-unknown-linux-uclibc/sysroot/usr/include/bits/uClibc_local_lim.h:15:3:
error: #error local_lim.h was incorrectly updated, use the NPTL version
from glibc
make[3]: *** [parser.o] Error 1
make[3]: *** Waiting for unfinished jobs....
  CC       logger.o
make[3]: Leaving directory
`/media/vmpart/vrrp/buildroot/output/build/keepalived-2.0.7/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/media/vmpart/vrrp/buildroot/output/build/keepalived-2.0.7/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/media/vmpart/vrrp/buildroot/output/build/keepalived-2.0.7'
make: ***
[/media/vmpart/vrrp/buildroot/output/build/keepalived-2.0.7/.stamp_built]
Error 2


Looking at the file with that error I see:

#if !defined PTHREAD_KEYS_MAX || defined TIMER_MAX || !defined SEM_VALUE_MAX
# error local_lim.h was incorrectly updated, use the NPTL version from glibc
#endif

Regards,

--
Paul

--00000000000089a671057856c509
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr">Hi,<div=
><br></div><div>I currently have 2.0.5 build and was trying to patch it wit=
h a fix I need by patching this commit to it:</div><div><a href=3D"https://=
github.com/acassen/keepalived/commit/37d6b3bc22d307d09ab8bd75111c3645c742c7=
92">https://github.com/acassen/keepalived/commit/37d6b3bc22d307d09ab8bd7511=
1c3645c742c792</a><br></div><div>However the code change must be too great =
between 2.0.5 and master because doing so causes build errors. To make the =
code more similar before patching I decided to upgrade to the latest releas=
e, 2.0.7, however that is not building with the below error, do you know wh=
at might have changed to cause this or what is happening? I&#39;m not sure =
from reading the changelog. I have also tried to build 2.0.6 to narrow it d=
own, =C2=A0which worked fine.</div><div><br></div><div><div><font face=3D"m=
onospace, monospace">/media/vmpart/vrrp/buildroot/output/host/usr/x86_64-un=
known-linux-uclibc/sysroot/usr/include/bits/uClibc_local_lim.h:15:3: error:=
 #error local_lim.h was incorrectly updated, use the NPTL version from glib=
c</font></div><div><font face=3D"monospace, monospace">make[3]: *** [parser=
.o] Error 1</font></div><div><font face=3D"monospace, monospace">make[3]: *=
** Waiting for unfinished jobs....</font></div><div><font face=3D"monospace=
, monospace">=C2=A0 CC =C2=A0 =C2=A0 =C2=A0 logger.o</font></div><div><font=
 face=3D"monospace, monospace">make[3]: Leaving directory `/media/vmpart/vr=
rp/buildroot/output/build/keepalived-2.0.7/lib&#39;</font></div><div><font =
face=3D"monospace, monospace">make[2]: *** [all] Error 2</font></div><div><=
font face=3D"monospace, monospace">make[2]: Leaving directory `/media/vmpar=
t/vrrp/buildroot/output/build/keepalived-2.0.7/lib&#39;</font></div><div><f=
ont face=3D"monospace, monospace">make[1]: *** [all-recursive] Error 1</fon=
t></div><div><font face=3D"monospace, monospace">make[1]: Leaving directory=
 `/media/vmpart/vrrp/buildroot/output/build/keepalived-2.0.7&#39;</font></d=
iv><div><font face=3D"monospace, monospace">make: *** [/media/vmpart/vrrp/b=
uildroot/output/build/keepalived-2.0.7/.stamp_built] Error 2</font></div></=
div><div><br></div><div><br></div><div>Looking at the file with that error =
I see:</div><div><br></div><div><div class=3D"gmail-add" style=3D"color:gre=
en;font-size:13.3333px;white-space:pre"><font face=3D"monospace, monospace"=
>#if !defined PTHREAD_KEYS_MAX || defined TIMER_MAX || !defined SEM_VALUE_M=
AX</font></div><div class=3D"gmail-ctx" style=3D"color:rgb(51,51,51);font-s=
ize:13.3333px;white-space:pre"><font face=3D"monospace, monospace"># error =
local_lim.h was incorrectly updated, use the NPTL version from glibc</font>=
</div><div class=3D"gmail-ctx" style=3D"color:rgb(51,51,51);font-size:13.33=
33px;white-space:pre"><font face=3D"monospace, monospace">#endif</font></di=
v></div><div class=3D"gmail-ctx" style=3D"color:rgb(51,51,51);font-size:13.=
3333px;white-space:pre"><font face=3D"monospace, monospace"><br></font></di=
v><div class=3D"gmail-ctx" style=3D"color:rgb(51,51,51);font-size:13.3333px=
;white-space:pre"><font face=3D"monospace, monospace">Regards,</font></div>=
<div class=3D"gmail-ctx" style=3D"color:rgb(51,51,51);font-size:13.3333px;w=
hite-space:pre"><font face=3D"monospace, monospace"><br></font></div><div c=
lass=3D"gmail-ctx" style=3D"color:rgb(51,51,51);font-size:13.3333px;white-s=
pace:pre"><font face=3D"monospace, monospace">--</font></div><div class=3D"=
gmail-ctx" style=3D"color:rgb(51,51,51);font-size:13.3333px;white-space:pre=
"><font face=3D"monospace, monospace">Paul</font></div></div></div></div></=
div>

--00000000000089a671057856c509--


--===============8452808502354909107==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============8452808502354909107==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel

--===============8452808502354909107==--