From nobody Fri Mar 24 08:30:24 2023 X-Original-To: freebsd-ports@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 4Pjb4r5gm7z41Gmj for ; Fri, 24 Mar 2023 08:30:36 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) (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 4Pjb4r3pQSz4MjF for ; Fri, 24 Mar 2023 08:30:36 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-x52d.google.com with SMTP id cn12so4816761edb.4 for ; Fri, 24 Mar 2023 01:30:36 -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=C+CzH32hA/f7RPcXe6vxDuRr31FE9kMAvstZeAWEeHy1qAH2Se0rIggOTfG2Bl0GB9 f+8IAkBYskDP2tYGVbCriMYBEDvbMeI6T9wOGXIJPVd5CkENe1BsCCL4gQVYkZU/VoUv FoySX9ro2lrTQY7PgGEkQgze+RZ2zDQeqTAGadocorIJG3+IHyscV8vyNJnAXZFG2u4D Sgtl7KDMDgcz8Vd+1xwwoq+cPYIc6f4GqfZS+kP41KTnQaOgPQSrF5zjrHp/albAjDf4 X6S4HKAHxGIkitdvG36akQNsWzdhMw+X81BcLIEhsBX2bCTbWqc2eqHWjRyGk5MAZK9K S1ww== X-Gm-Message-State: AAQBX9fhODnQ2OiZnzB+O3KpQFXFq4dIy3MAzoyLsaaKRX+g6B49e/qR G/Q7PNYPD9m5KSG7cXP6Bvmxv/V0WiErMNcOBLt64S5mbBOfkYbneTP3rw== 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: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@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: 4Pjb4r3pQSz4MjF 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--