From nobody Fri Mar 24 08:30:24 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Pjb4s3KYMz41Gmm for ; Fri, 24 Mar 2023 08:30:37 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pjb4s139Lz4MlQ for ; Fri, 24 Mar 2023 08:30:37 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-x52f.google.com with SMTP id b20so4870544edd.1 for ; Fri, 24 Mar 2023 01:30:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20210112.gappssmtp.com; s=20210112; t=1679646635; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ReGANFiUQBaIIrBiqY6D7AEmqUouLK80OgtlV4Z5hdo=; b=f3tDbxWrb+oY/CV7bpaox9GB7BKryfzPqhQn5zXdXfdjw0DWYtrFx3InxtLr55Fk3r stwy9sCgYTIUFGlcMJmkWmmmEYKNfy1U8/itRWhyC7NNy2uzi1sIkWLtjU2b0C1PSjxB YMNE0rOIE/xhnTum83exIfwkuT+nePdPJRueQob/lYwMLheEVUUomlH0oQq7WRmEviGV 6IH1VS5a9s9h5oh4H8RevjouSFe/U1Rm6ckL3ow173V0s3Nt0WsASUZQph/62UleV8sO r5QMKRvrnygPH1pkvCZIsak9WLTBEMXR43cDY6TlU3Hevf9r4C1hK73HW1Q74HtHMaHK 55yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679646635; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ReGANFiUQBaIIrBiqY6D7AEmqUouLK80OgtlV4Z5hdo=; b=tORE4UxBEhu3Er1zngtQq2cOQZHRBkxkhRyVcf0mC5usQB55vqLA/YUWUbQVQN27jm A+hYK1A3sUEF0bro47KQmQYNFnt9IHQ+yk7JcYblCwS6zpj/upu1ueRpG/US19j7dH4y sp2jo3sQzg3O+hrsgptr6bHkiK4O7775NF0KXLk2BBteXoADmWRwpsOuLsSWNvKxxjmD /3Jre/nMeLzS/Vr/hUPjKA91ZQ0AzjZLgjBNZtFhnoNlRe9bWi1EEYcLBddEgHkoMwRw 11z9C2ZjVi9W5jmpmvDmQQGWV9X3A+vJzd1JsBRQZL8iNUnqVhQvQZ3/CixNu2sUVptP bzwA== X-Gm-Message-State: AAQBX9fRUzTWgkYwzhaCmGa1lAPaFWT4I6ggsI1bD+Qdhg5DXaK8+bIv n6WchBlsgQDG5kH0GmIxy1dWBjxyWgbyOx14UJg61w== X-Google-Smtp-Source: AKy350bb/l0cMpSUtcWoxSuC8owSK85k1w28b6CJj3zFNBMwk5xTLytLn1/A47ygkdeu0hUagwZo/ppR64uZcjQhzro= X-Received: by 2002:a17:907:6b86:b0:931:f8b1:4474 with SMTP id rg6-20020a1709076b8600b00931f8b14474mr1030723ejc.2.1679646635153; Fri, 24 Mar 2023 01:30:35 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Fri, 24 Mar 2023 09:30:24 +0100 Message-ID: Subject: Re: byteswap.h not found on 12 and 13 To: Nuno Teixeira Cc: FreeBSD CURRENT , FreeBSD Mailing List Content-Type: multipart/alternative; boundary="000000000000096c0a05f7a1351b" X-Rspamd-Queue-Id: 4Pjb4s139Lz4MlQ X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --000000000000096c0a05f7a1351b Content-Type: text/plain; charset="UTF-8" On Fri, Mar 24, 2023, 9:23 AM Nuno Teixeira 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 > ^~~~~~~~~~~~ > 1 error generated. > *** [sflowtool.o] Error code 1 > --- > > > -- > Nuno Teixeira > FreeBSD Committer (ports) > --000000000000096c0a05f7a1351b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


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-p= roject/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 gli= bc extension that may be in the next posix standard though. I've not lo= oked at the draft for it yet to see if it complies or not.

Warner

=
Thanks,

---
= =3D=3D=3D> =C2=A0Building for sflowtool-6.01
--- all ---
/usr/bin/= make =C2=A0all-recursive
--- all-recursive ---
Making all in src
-= -- sflowtool.o ---
cc -DHAVE_CONFIG_H -I. -I.. =C2=A0 =C2=A0 =C2=A0-O2 -= pipe =C2=A0-fstack-protector-strong -fno-strict-aliasing -MT sflowtool.o -M= D -MP -MF .deps/sflowtool.Tpo -c -o sflowtool.o sflowtool.c
sflowtool.c:= 32:10: fatal error: 'byteswap.h' file not found
#include <byt= eswap.h>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^~~~~~~~~~~~
1 error ge= nerated.
*** [sflowtool.o] Error code 1
---

=

--
Nuno Teixeir= a
FreeBSD Committer (ports)
--000000000000096c0a05f7a1351b--