From nobody Fri Mar 24 08:40:57 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 4PjbK1455Gz41HB2; Fri, 24 Mar 2023 08:41:09 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PjbK13XgXz4Q6l; Fri, 24 Mar 2023 08:41:09 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679647269; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=IrcJ66wOo7O7B/BtD3DNrsS4mnubDQ7fXmW+826cvG0=; b=iWGzc04GaICEEDHZ/blTgHBnIVui9cSBf1UXbMAv2nPxbfVKQjTWRkCc3cE2rWiRrQTf8i Xis03yLad/WRVuboPNpfSzgrDwhAaYPySZcA9nKjtGiM8gvCNqR7/X2Tm3FApV9tTY53QF CGdkZEkO6EgPhyIta39MZTx3fYQQCkur91ZCH8RL8W7QgWYJHEdeS5hQ9gyZX2z+0Q6wpS ehXNOCxsetqgwMk19EEu8nq3+pG0YvqwMIU1a6OTC+gDpdWS6K06PuSe0ZuIh4SPiR1ud9 /oZBzapOYjVQ/Sxcr5nlngglEd36b9R3AnR/b0w40jz1u9VGAz756fvpBuDVsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679647269; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=IrcJ66wOo7O7B/BtD3DNrsS4mnubDQ7fXmW+826cvG0=; b=L61WZQwOJmWpFgOTtZ1ImTBr8U9bbZ0utU+I14L/ss1+M2BPqFJTPd39/hcHfLhdLakB1n hRjMB4SzKnsfigcOpDPkU+qPfvcrWnO5Ti7Fl12z1KDdPBcl+y5UVLK2mErRfcQbjstKWs WyIxe84ZM7PzeJ9OclLOjnYsajUK76R/QmJaziploubcdWgNHws9iCMHaXMiDCjE3hesKc 8XP+ON2yw8Q4CSrLJkO8s7iBORiJBvleDMha0VtaOdmy3nmIzsb+BJvGs9Qt5k/Cc2dtsm 31EpZJWxS0JYGBJsI0o4VNnM3O1wHtd5bWHkB1yUuZHjT8juBkuqYPdwky0Q+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679647269; a=rsa-sha256; cv=none; b=Oy9ZmSz2b3ct4hmlsXicj69fLgsoVJ5r8r3KqDb16KfpvJKp5ygKRnee4pi5YHBRJGGGX3 A6gXuab1KPa25EtUunUhhfLqzWgZUErUgItjAiBZQUxxLzZnthxXfZ3DZ5ONXrRBNrKUNe MrDGOY4kqpOVf0wO5rHLfJs3quJlsHRKibP3NyjsEpsH9zqlyhI9rRein//j+vP250cig9 NNAUUTJnZvUSGkcZxj22yZYV7oKgJlm9AF5mA6+GNRfjqvjJGqCzRVFSMiIBoPf2eF3ZWd JtXpEWKD2sD/N5ddSZvFGI7SnmqkQ7gbcAD2G5zN+g0gCBv2lyquD2K7OrnteQ== Received: from mail-ua1-f44.google.com (mail-ua1-f44.google.com [209.85.222.44]) (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)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4PjbK12Zynzvlm; Fri, 24 Mar 2023 08:41:09 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-ua1-f44.google.com with SMTP id i22so899109uat.8; Fri, 24 Mar 2023 01:41:09 -0700 (PDT) X-Gm-Message-State: AAQBX9cuzcarAD7O2XjGwDmcnPPo6Hkh5PhGPwMgrKGxJ33LIPxcog0G ryF4HjKviTz2YvEvI81uLHSPTqORBAsMud64MZA= X-Google-Smtp-Source: AKy350Zs2RCVZ2+hggQY5e0sD/yEQj4KWlPVvhUX+2wyiWzKhfzl+LXBxfhvRW7ZOX+obQS1UFIim+j/ydcxiwWSV2Q= X-Received: by 2002:a1f:28c5:0:b0:401:184:339c with SMTP id o188-20020a1f28c5000000b004010184339cmr1252334vko.3.1679647268873; Fri, 24 Mar 2023 01:41:08 -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: Nuno Teixeira Date: Fri, 24 Mar 2023 08:40:57 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: byteswap.h not found on 12 and 13 To: Warner Losh Cc: FreeBSD CURRENT , FreeBSD Mailing List Content-Type: multipart/alternative; boundary="000000000000cf2c3105f7a15ac5" X-ThisMailContainsUnwantedMimeParts: N --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 too and compiles fine: https://github.com/sflow/sflowtool/issues/41 Thanks, Warner Losh escreveu no dia sexta, 24/03/2023 =C3=A0(s) 08= :30: > > > 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, >> >> --- >> =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 >> ^~~~~~~~~~~~ >> 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
Hello Warner,

My poudrie= re jails:
---
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
= 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
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
=
---

The strange thing is that 5.08 (old versi= on) have #include <byteswap.h> too and compiles fine:

=
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&g= t; 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 a= nd found:
---
./include/byteswap.h
./contrib/ofed/in= clude/byteswap.h
./contrib/llvm-project/libcxx/include/__bit/byteswap.h<= /div>
---
Any clues?


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.

Warn= er

Thanks,

---
=3D=3D=3D> =C2=A0B= uilding for sflowtool-6.01
--- all ---
/usr/bin/make =C2=A0all-recurs= ive
--- 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-pr= otector-strong -fno-strict-aliasing -MT sflowtool.o -MD -MP -MF .deps/sflow= tool.Tpo -c -o sflowtool.o sflowtool.c
sflowtool.c:32:10: fatal error: &= #39;byteswap.h' file not found
#include <byteswap.h>
=C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0^~~~~~~~~~~~
1 error generated.
*** [sflo= wtool.o] Error code 1
---


--
Nuno Teixeira
FreeBSD Committer (ports)


--
Nuno Teixeira
FreeBSD Committ= er (ports)
--000000000000cf2c3105f7a15ac5--