Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Mar 2021 10:08:44 +0100
From:      "Kristof Provost" <kristof@sigsegv.be>
To:        "Ronald Klop" <ronald-lists@klop.ws>
Cc:        "FreeBSD CURRENT" <freebsd-current@freebsd.org>
Subject:   Re: libifconfig_sfp.h does not compile for me
Message-ID:  <5C5418A4-B636-4E66-A346-74A24C9F8CA3@sigsegv.be>
In-Reply-To: <1560991455.28.1615452681953@localhost>
References:  <1560991455.28.1615452681953@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <owner-freebsd-current@freebsd.org>
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 <freebsd-current@mailman.nyi.freebsd.org>;
 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 <freebsd-current@freebsd.org>; 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 <ronald-lists@klop.ws>
To: FreeBSD CURRENT <freebsd-current@freebsd.org>
Message-ID: <1556373450.7.1615454769214@localhost>
In-Reply-To: <YEndFrE0RBLNH427@home.opsec.eu>
References: <1560991455.28.1615452681953@localhost>
 <YEndFrE0RBLNH427@home.opsec.eu>
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
 <freebsd-current.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current/>;
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Mar 2021 09:26:12 -0000

 
Van: Kurt Jaeger <pi@freebsd.org>
Datum: donderdag, 11 maart 2021 10:04
Aan: Ronald Klop <ronald-lists@klop.ws>
CC: FreeBSD CURRENT <freebsd-current@freebsd.org>
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: <owner-freebsd-current@freebsd.org>
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 <freebsd-current@mailman.nyi.freebsd.org>;
 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 <freebsd-current@freebsd.org>; 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 <freebsd-current@freebsd.org>; 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 <freqlabs@FreeBSD.org>
Message-ID: <e1cc4f5d-016b-8c28-a357-adee45ada105@FreeBSD.org>
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
 <freebsd-current.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current/>;
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5C5418A4-B636-4E66-A346-74A24C9F8CA3>