From owner-freebsd-current@freebsd.org Thu Mar 11 09:08:53 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BA80E56FEE5 for ; Thu, 11 Mar 2021 09:08:53 +0000 (UTC) (envelope-from SRS0=OZui=IJ=sigsegv.be=kristof@codepro.be) Received: from venus.codepro.be (venus.codepro.be [5.9.86.228]) (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 (2048 bits) client-digest SHA256) (Client CN "mx1.codepro.be", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dx35w52SJz4YR9 for ; Thu, 11 Mar 2021 09:08:52 +0000 (UTC) (envelope-from SRS0=OZui=IJ=sigsegv.be=kristof@codepro.be) Received: by venus.codepro.be (Postfix, authenticated sender kp) id 6CBE3CB8B; Thu, 11 Mar 2021 10:08:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sigsegv.be; s=mail; t=1615453725; bh=FuJCplGDmw75qVh5Ep36r6TkDR7nfETlF9hbDeJgBu0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=mOCDW+QYyBFqxu+QwuO7P58gvF4dGNSpT5LuwMJFOfxSPsdpEW4ZPZt+TTyfza09p WqoI/cdlkL6Bb4masVI28kmlJuVj9ALtZ9fz9i5B9MFTtI0CCashDoxvHJLTU4Zeo9 xAXHN5O+1NjVyd7u2sxBAx7rm+B08ch7OZNxRWto= From: "Kristof Provost" To: "Ronald Klop" Cc: "FreeBSD CURRENT" Subject: Re: libifconfig_sfp.h does not compile for me Date: Thu, 11 Mar 2021 10:08:44 +0100 X-Mailer: MailMate (1.13.2r5673) Message-ID: <5C5418A4-B636-4E66-A346-74A24C9F8CA3@sigsegv.be> In-Reply-To: <1560991455.28.1615452681953@localhost> References: <1560991455.28.1615452681953@localhost> MIME-Version: 1.0 X-Rspamd-Queue-Id: 4Dx35w52SJz4YR9 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sigsegv.be header.s=mail header.b=mOCDW+QY; dmarc=pass (policy=none) header.from=sigsegv.be; spf=pass (mx1.freebsd.org: domain of SRS0=OZui=IJ=sigsegv.be=kristof@codepro.be designates 5.9.86.228 as permitted sender) smtp.mailfrom=SRS0=OZui=IJ=sigsegv.be=kristof@codepro.be X-Spamd-Result: default: False [-3.70 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[sigsegv.be:s=mail]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:5.9.86.228]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; SPAMHAUS_ZRD(0.00)[5.9.86.228:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[sigsegv.be:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[sigsegv.be,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[kristof@sigsegv.be,SRS0=OZui=IJ=sigsegv.be=kristof@codepro.be]; RCVD_COUNT_ZERO(0.00)[0]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[5.9.86.228:from]; ASN(0.00)[asn:24940, ipnet:5.9.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[kristof@sigsegv.be,SRS0=OZui=IJ=sigsegv.be=kristof@codepro.be]; MAILMAN_DEST(0.00)[freebsd-current] Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2021 09:08:53 -0000 On 11 Mar 2021, at 9:51, Ronald Klop wrote: > Hi, > > This > https://cgit.freebsd.org/src/tree/lib/libifconfig/libifconfig_sfp.h > includes libifconfig_sfp_tables.h which does not exist. > > My build fails on this. I cleaned /lib/libifconfig and /sbin/ifconfig, > but no succes. > The last change in these files is a few days ago, am I the only one > with this problem? > How are you building? libifconfig_sfp_tables.h is a generated file, and the build should have created it. It does for me: /usr/libexec/flua /usr/src/lib/libifconfig/sfp.lua /usr/src/lib/libifconfig/libifconfig_sfp_tables.tpl.h >libifconfig_sfp_tables.h /usr/libexec/flua /usr/src/lib/libifconfig/sfp.lua /usr/src/lib/libifconfig/libifconfig_sfp_tables.tpl.c >libifconfig_sfp_tables.c /usr/libexec/flua /usr/src/lib/libifconfig/sfp.lua /usr/src/lib/libifconfig/libifconfig_sfp_tables_internal.tpl.h >libifconfig_sfp_tables_internal.h Although I do not understand the magical incantations in the makefile that make it do so I can see that they’re there and that they do what’s required. Regards, Kristof From owner-freebsd-current@freebsd.org Thu Mar 11 09:26:12 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1CA87570625 for ; Thu, 11 Mar 2021 09:26:12 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (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 4Dx3Tv2ZHPz4ZRg for ; Thu, 11 Mar 2021 09:26:10 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Date: Thu, 11 Mar 2021 10:26:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1615454769; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=u44+hInNc/dM5yEuOqf8vk3qNUmqWZgnYwZ8T6aWtnc=; b=fiXaZJfTMidP+ktmM9B9Rd2x0WFTqdS/VCOOjpB5FDVtw7GlLL4TgNY4yZUEWgtqQf1/Ft jX0C4h/fRM0XcNsA7gV37nix9iIIc62kFAEJYRWPB5TMEoj/JlXQq4lMwfo2iXwjwuawAP 6P6KhhN6c0737i7pyRB1kfh6tc2OmtGs+8bRNCFw4nHIlnOsC6wV+rap7EWFZM4F8zzTjF xx5Cw8YO31EGKexgSIo81OLlLbH1f5nmBoVzVdSPDjDew5zAW/neQ5yijs91XTDTq6UEOk KXWj6aM4Q312BcNAGKGw9nSOhXiyGLbFpd2+svW00IiKJb2plMPuESeC8RYH4Q== From: Ronald Klop To: FreeBSD CURRENT Message-ID: <1556373450.7.1615454769214@localhost> In-Reply-To: References: <1560991455.28.1615452681953@localhost> Subject: Re: libifconfig_sfp.h does not compile for me MIME-Version: 1.0 X-Mailer: Realworks (551.2.89c726ce8c6) Importance: Normal X-Priority: 3 (Normal) X-Rspamd-Queue-Id: 4Dx3Tv2ZHPz4ZRg X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=klop.ws header.s=rw2 header.b=fiXaZJfT; dmarc=pass (policy=none) header.from=klop.ws; spf=pass (mx1.freebsd.org: domain of ronald-lists@klop.ws designates 194.109.157.24 as permitted sender) smtp.mailfrom=ronald-lists@klop.ws X-Spamd-Result: default: False [-1.50 / 15.00]; ARC_NA(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[194.109.157.24:from]; R_DKIM_ALLOW(-0.20)[klop.ws:s=rw2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:194.109.157.0/24]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; NEURAL_SPAM_SHORT(1.00)[0.997]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[klop.ws:+]; DMARC_POLICY_ALLOW(-0.50)[klop.ws,none]; HAS_X_PRIO_THREE(0.00)[3]; RCVD_IN_DNSWL_NONE(0.00)[194.109.157.24:from]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL]; MAILMAN_DEST(0.00)[freebsd-current] Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2021 09:26:12 -0000 Van: Kurt Jaeger Datum: donderdag, 11 maart 2021 10:04 Aan: Ronald Klop CC: FreeBSD CURRENT Onderwerp: Re: libifconfig_sfp.h does not compile for me > > Hi! > > > This https://cgit.freebsd.org/src/tree/lib/libifconfig/libifconfig_sfp.h includes libifconfig_sfp_tables.h which does not exist. > > > > My build fails on this. I cleaned /lib/libifconfig and /sbin/ifconfig, but no succes. > > The last change in these files is a few days ago, am I the only one with this problem? > > > > This is on 14-CURRENT/amd64. > > It looks like libifconfig_sfp_tables.h might be created during the > build via the template > > https://cgit.freebsd.org/src/tree/lib/libifconfig/libifconfig_sfp_tables.tpl.h > > Maybe this fails to build ? > > -- > pi@opsec.eu +49 171 3101372 Now what ? > > > Hi, Thanks for the quick answers. I did some more manual cleaning, but the error keeps coming back. Although I see the generated file in the obj dir. Now nuked the whole /obj dir and doing a clean build. So I will report back after llvm/clang is build again. Probably next week. :-) Regards, Ronald. From owner-freebsd-current@freebsd.org Thu Mar 11 10:54:48 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D8BF15739F2 for ; Thu, 11 Mar 2021 10:54:48 +0000 (UTC) (envelope-from freqlabs@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 4Dx5S85nTbz4h0b for ; Thu, 11 Mar 2021 10:54:48 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) Received: from Ryans-MacBook-Pro.local (69-228-200-148.lightspeed.knvltn.sbcglobal.net [69.228.200.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: freqlabs/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id A3802BE3B for ; Thu, 11 Mar 2021 10:54:48 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) Subject: Re: libifconfig_sfp.h does not compile for me To: freebsd-current@freebsd.org References: <1560991455.28.1615452681953@localhost> From: Ryan Moeller Message-ID: Date: Thu, 11 Mar 2021 05:54:47 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <1560991455.28.1615452681953@localhost> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2021 10:54:48 -0000 On 3/11/21 3:51 AM, Ronald Klop wrote: > Hi, > > This > https://cgit.freebsd.org/src/tree/lib/libifconfig/libifconfig_sfp.h > includes libifconfig_sfp_tables.h which does not exist. > > My build fails on this. I cleaned /lib/libifconfig and /sbin/ifconfig, > but no succes. > The last change in these files is a few days ago, am I the only one > with this problem? > The generated files live only in the obj dir, so after cleaning you'll need to rebuild libifconfig (and not clean) before you can build ifconfig again. make -C lib/libifconfig make -C sbin/ifconfig -Ryan