From nobody Fri Mar 24 08:48:10 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 4PjbTD1FS8z41Hm9; Fri, 24 Mar 2023 08:48:16 +0000 (UTC) (envelope-from yuri@aetern.org) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PjbTC5zGNz3Csk; Fri, 24 Mar 2023 08:48:15 +0000 (UTC) (envelope-from yuri@aetern.org) Authentication-Results: mx1.freebsd.org; none Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id C4A393200344; Fri, 24 Mar 2023 04:48:13 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 24 Mar 2023 04:48:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aetern.org; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1679647693; x=1679734093; bh=amgdKYma9F9IfoUPzRZ1yfeZl7lNPCWW9A8 l76CNOtk=; b=JNOZ7qvZaVkJnCVqMnARD1W8BOdO6/LacoPgw23jacFbvQp6c8z o2M1egXjnwHunD/uG6Xd3Df3ivMq1pUXcRPe+MKCl6yWuaPwWkiRjm2FFD/Sw4d7 +6pUa51anvN50/CbTPH7kJ5zlWneODVKJWRC3atMGhCKtWUeFWEBht65IV0zS1C2 7mQMBhi77em7fGtYg7aqZBrXCgnP6c+b2rQ8Do6Ju+wUFoQ+pkBnhKiXwG3IKjbN HOpH7dQNnyq98bi/BOnTYQXGQwrtnPOWYuwYJ2HirnFi8aBxTRH8foDy+1iDB3YG qNW2huZlf0v5rrO83mrl7wD0Du52pwr+l/g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1679647693; x=1679734093; bh=amgdKYma9F9IfoUPzRZ1yfeZl7lNPCWW9A8 l76CNOtk=; b=gvNq8T19yceTVG5ClQmDdzdWow2oD/9CD+x6KJiuH9Y9lghqgLM d3tueBIBd95Y1SWqSSXmfIEEaNYD5hnJ/y1BVwlD1mzWzFkPmRING1JfVCiWQA8Q LosUKXYfvP6SSDeK0mBv51GkgYAvvxPu/8kwbRKsgC9Eec54Uj4Y3IX8C/krGceE GwpiDZ7Z2BtHS4gG/0yeiTEMaFFwVJ5Lm26pA+3gSGa1bxKyrcGypQJo60ChyT0i 6eMWmurdz43SLjSYyA7NI/W7e/ukV9Q0E/somuatMCmxwjJsqcofB56WycFv+qYQ gtp+F6tJtXDZAWDEnHSiSl8MbpNZ/0Nsk3w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdeghedguddvgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthekredttdefjeenucfhrhhomhepjghu rhhiuceohihurhhisegrvghtvghrnhdrohhrgheqnecuggftrfgrthhtvghrnhepkeeiff evvedvfeelgfekteegkedutdejkefhudffieeutdfgtdduiedtkeeivdffnecuffhomhgr ihhnpehgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh epmhgrihhlfhhrohhmpeihuhhrihesrggvthgvrhhnrdhorhhg X-ME-Proxy: Feedback-ID: i0d79475b:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 24 Mar 2023 04:48:12 -0400 (EDT) Message-ID: Date: Fri, 24 Mar 2023 09:48:10 +0100 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 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: byteswap.h not found on 12 and 13 Content-Language: en-US To: Nuno Teixeira , Warner Losh Cc: FreeBSD CURRENT , FreeBSD Mailing List References: From: Yuri In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4PjbTC5zGNz3Csk X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:29838, ipnet:64.147.123.0/24, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N Nuno Teixeira wrote: > 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 > 5.08 seems to have it commented out: sflowtool-5.08/src/sflowtool.c: /* #ifdef DARWIN #include #define bswap_16(x) NXSwapShort(x) #define bswap_32(x) NXSwapInt(x) #else #include #endif */ > Warner Losh > escreveu no dia > sexta, 24/03/2023 à(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, > > --- > ===>  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) > > > > -- > Nuno Teixeira > FreeBSD Committer (ports)