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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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 à(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, >> >> --- >> ===> 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) >> > -- Nuno Teixeira FreeBSD Committer (ports) [-- Attachment #2 --] <div dir="ltr"><div>Hello Warner,<br></div><div><br></div><div>My poudriere jails:<br></div><div>---<br></div><div>124amd64 12.4-RELEASE-p2 amd64 http 2023-03-17 08:04:15 /usr/local/poudriere/jails/124amd64</div>124i386 12.4-RELEASE-p2 i386 http 2023-03-17 08:04:38 /usr/local/poudriere/jails/124i386<br><div>131amd64 13.1-RELEASE-p7 amd64 http 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 version) have #include <byteswap.h> too and compiles fine<code class="gmail-notranslate">:<br></code></div><div><a href="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="gmail_quote"><div dir="ltr" class="gmail_attr">Warner Losh <<a href="mailto:imp@bsdimp.com">imp@bsdimp.com</a>> escreveu no dia sexta, 24/03/2023 à(s) 08:30:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 24, 2023, 9:23 AM Nuno Teixeira <<a href="mailto:eduardo@freebsd.org" target="_blank">eduardo@freebsd.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="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 and found:</div><div>---</div><div>./include/byteswap.h<br>./contrib/ofed/include/byteswap.h<br>./contrib/llvm-project/libcxx/include/__bit/byteswap.h</div><div>---</div><div>Any clues?</div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">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.</div><div dir="auto"><br></div><div dir="auto">Warner</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Thanks,<br></div><div><br></div><div>---</div><div>===> Building for sflowtool-6.01<br>--- all ---<br>/usr/bin/make all-recursive<br>--- all-recursive ---<br>Making all in src<br>--- sflowtool.o ---<br>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<br>sflowtool.c:32:10: fatal error: 'byteswap.h' file not found<br>#include <byteswap.h><br> ^~~~~~~~~~~~<br>1 error generated.<br>*** [sflowtool.o] Error code 1</div><div>---<br></div><div><br></div><br><span>-- </span><br><div dir="ltr"><div dir="ltr"><span style="color:rgb(102,102,102)">Nuno Teixeira<br>FreeBSD Committer (ports)</span></div></div></div> </blockquote></div></div></div> </blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><span style="color:rgb(102,102,102)">Nuno Teixeira<br>FreeBSD Committer (ports)</span></div></div>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UL=av0KDAw2O3Fmf=x5wThezBokCQ2KHtW6wOZnn43bxQ>
