Date: Fri, 24 Mar 2023 08:40:57 +0000 From: Nuno Teixeira <eduardo@freebsd.org> To: Warner Losh <imp@bsdimp.com> Cc: FreeBSD CURRENT <freebsd-current@freebsd.org>, FreeBSD Mailing List <freebsd-ports@freebsd.org> Subject: Re: byteswap.h not found on 12 and 13 Message-ID: <CAFDf7UL=av0KDAw2O3Fmf=x5wThezBokCQ2KHtW6wOZnn43bxQ@mail.gmail.com> In-Reply-To: <CANCZdfpT3nbZ%2BzHHtdsMDa88JsWr7Frw%2BRPGcy6B=P60DZL2_g@mail.gmail.com> References: <CAFDf7UKq3bMgd3XA0=U10%2BLhOCY7fZCHds9DdBcrSuNidOityw@mail.gmail.com> <CANCZdfpT3nbZ%2BzHHtdsMDa88JsWr7Frw%2BRPGcy6B=P60DZL2_g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000cf2c3105f7a15ac5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Warner, My poudriere jails: --- 124amd64 12.4-RELEASE-p2 amd64 http 2023-03-17 08:04:15 /usr/local/poudriere/jails/124amd64 124i386 12.4-RELEASE-p2 i386 http 2023-03-17 08:04:38 /usr/local/poudriere/jails/124i386 131amd64 13.1-RELEASE-p7 amd64 http 2023-03-17 08:05:03 /usr/local/poudriere/jails/131amd64 --- The strange thing is that 5.08 (old version) have #include <byteswap.h> too and compiles fine: https://github.com/sflow/sflowtool/issues/41 Thanks, Warner Losh <imp@bsdimp.com> escreveu no dia sexta, 24/03/2023 =C3=A0(s) 08= :30: > > > On Fri, Mar 24, 2023, 9:23 AM Nuno Teixeira <eduardo@freebsd.org> wrote: > >> Hello all, >> >> I'm getting a file not found on 12 and 13 compiling net/sflowtool latest >> update: >> It compile fine on 14. >> >> I've searched 14 src and found: >> --- >> ./include/byteswap.h >> ./contrib/ofed/include/byteswap.h >> ./contrib/llvm-project/libcxx/include/__bit/byteswap.h >> --- >> Any clues? >> > > > I added it a short time ago. I thought I mfc'd it to 13 but not 12. How > recent a 13? It's a non standard glibc extension that may be in the next > posix standard though. I've not looked at the draft for it yet to see if = it > complies or not. > > Warner > > Thanks, >> >> --- >> =3D=3D=3D> Building for sflowtool-6.01 >> --- all --- >> /usr/bin/make all-recursive >> --- all-recursive --- >> Making all in src >> --- sflowtool.o --- >> cc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -fstack-protector-strong >> -fno-strict-aliasing -MT sflowtool.o -MD -MP -MF .deps/sflowtool.Tpo -c = -o >> sflowtool.o sflowtool.c >> sflowtool.c:32:10: fatal error: 'byteswap.h' file not found >> #include <byteswap.h> >> ^~~~~~~~~~~~ >> 1 error generated. >> *** [sflowtool.o] Error code 1 >> --- >> >> >> -- >> Nuno Teixeira >> FreeBSD Committer (ports) >> > --=20 Nuno Teixeira FreeBSD Committer (ports) --000000000000cf2c3105f7a15ac5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Hello Warner,<br></div><div><br></div><div>My poudrie= re jails:<br></div><div>---<br></div><div>124amd64 =C2=A0 12.4-RELEASE-p2 = =C2=A0 =C2=A0 =C2=A0amd64 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http =C2=A0 =C2=A0 = =C2=A0 =C2=A0 2023-03-17 08:04:15 /usr/local/poudriere/jails/124amd64</div>= 124i386 =C2=A0 =C2=A012.4-RELEASE-p2 =C2=A0 =C2=A0 =C2=A0i386 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0http =C2=A0 =C2=A0 =C2=A0 =C2=A0 2023-03-17 08:04:38 /= usr/local/poudriere/jails/124i386<br><div>131amd64 =C2=A0 13.1-RELEASE-p7 = =C2=A0 =C2=A0 =C2=A0amd64 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http =C2=A0 =C2=A0 = =C2=A0 =C2=A0 2023-03-17 08:05:03 /usr/local/poudriere/jails/131amd64</div>= <div>---</div><div><br></div><div>The strange thing is that 5.08 (old versi= on) have #include <byteswap.h> too and compiles fine<code class=3D"gm= ail-notranslate">:<br></code></div><div><a href=3D"https://github.com/sflow= /sflowtool/issues/41">https://github.com/sflow/sflowtool/issues/41</a></div= ><div><br></div><div>Thanks,<br></div></div><br><div class=3D"gmail_quote">= <div dir=3D"ltr" class=3D"gmail_attr">Warner Losh <<a href=3D"mailto:imp= @bsdimp.com">imp@bsdimp.com</a>> escreveu no dia sexta, 24/03/2023 =C3= =A0(s) 08:30:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0p= x 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><d= iv dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" cl= ass=3D"gmail_attr">On Fri, Mar 24, 2023, 9:23 AM Nuno Teixeira <<a href= =3D"mailto:eduardo@freebsd.org" target=3D"_blank">eduardo@freebsd.org</a>&g= t; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0p= x 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div d= ir=3D"ltr"><div>Hello all,</div><div><br></div><div>I'm getting a file = not found on 12 and 13 compiling net/sflowtool latest update:</div><div>It = compile fine on 14.<br></div><div><br></div><div>I've searched 14 src a= nd found:</div><div>---</div><div>./include/byteswap.h<br>./contrib/ofed/in= clude/byteswap.h<br>./contrib/llvm-project/libcxx/include/__bit/byteswap.h<= /div><div>---</div><div>Any clues?</div></div></blockquote></div></div><div= dir=3D"auto"><br></div><div dir=3D"auto"><br></div><div dir=3D"auto">I add= ed it a short time ago. I thought I mfc'd it to 13 but not 12. How rece= nt a 13? It's a non standard glibc extension that may be in the next po= six standard though. I've not looked at the draft for it yet to see if = it complies or not.</div><div dir=3D"auto"><br></div><div dir=3D"auto">Warn= er</div><div dir=3D"auto"><br></div><div dir=3D"auto"><div class=3D"gmail_q= uote"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;b= order-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><d= iv>Thanks,<br></div><div><br></div><div>---</div><div>=3D=3D=3D> =C2=A0B= uilding for sflowtool-6.01<br>--- all ---<br>/usr/bin/make =C2=A0all-recurs= ive<br>--- all-recursive ---<br>Making all in src<br>--- sflowtool.o ---<br= >cc -DHAVE_CONFIG_H -I. -I.. =C2=A0 =C2=A0 =C2=A0-O2 -pipe =C2=A0-fstack-pr= otector-strong -fno-strict-aliasing -MT sflowtool.o -MD -MP -MF .deps/sflow= tool.Tpo -c -o sflowtool.o sflowtool.c<br>sflowtool.c:32:10: fatal error: &= #39;byteswap.h' file not found<br>#include <byteswap.h><br>=C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0^~~~~~~~~~~~<br>1 error generated.<br>*** [sflo= wtool.o] Error code 1</div><div>---<br></div><div><br></div><br><span>-- </= span><br><div dir=3D"ltr"><div dir=3D"ltr"><span style=3D"color:rgb(102,102= ,102)">Nuno Teixeira<br>FreeBSD Committer (ports)</span></div></div></div> </blockquote></div></div></div> </blockquote></div><br clear=3D"all"><br><span class=3D"gmail_signature_pre= fix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><div dir=3D"l= tr"><span style=3D"color:rgb(102,102,102)">Nuno Teixeira<br>FreeBSD Committ= er (ports)</span></div></div> --000000000000cf2c3105f7a15ac5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UL=av0KDAw2O3Fmf=x5wThezBokCQ2KHtW6wOZnn43bxQ>