From nobody Sat Mar 4 19:35:02 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 4PTZn40tlPz3wNDT for ; Sat, 4 Mar 2023 19:35:20 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (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 "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PTZn30trsz3xd7 for ; Sat, 4 Mar 2023 19:35:19 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net; dmarc=none Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.17.1/8.15.2) with ESMTPS id 324JZ3N3043193 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sat, 4 Mar 2023 11:35:03 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.17.1/8.15.2/Submit) id 324JZ31k043192; Sat, 4 Mar 2023 11:35:03 -0800 (PST) (envelope-from fbsd) Date: Sat, 4 Mar 2023 11:35:02 -0800 From: bob prohaska To: David Wolfskill Cc: freebsd-current@freebsd.org Subject: Re: Making -current machines accept mail from sendmail Message-ID: <20230304193502.GA43158@www.zefox.net> References: <20230304184837.GA42823@www.zefox.net> 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-0.99 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.89)[-0.894]; MID_RHS_WWW(0.50)[]; WWW_DOT_DOMAIN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; R_DKIM_NA(0.00)[]; R_SPF_NA(0.00)[no SPF record]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[zefox.net]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4PTZn30trsz3xd7 X-Spamd-Bar: / X-ThisMailContainsUnwantedMimeParts: N On Sat, Mar 04, 2023 at 10:57:59AM -0800, David Wolfskill wrote: > > You might start with checking the output of "sockstat -l" on the machine > that is intended to receive the mail: SMTP is expected to be on 25/tcp. > > If the intended recipient machine does NOT show that 25/tcp is being > listened to, you will need to (install &) start a process to do so. > That may well involve installing (& starting) some MTA -- whether > sendmail, postfix, exim, or even qmail (or something else). > > (I expect that nothing is listening on 25/tcp, as that is what > "connection refused" implies.) > Indeed, that's the case. It looks as if dma isn't intended to replace sendmail, so I'll take the hint in UPDATING and turn sendmail back on. Thank you! bob prohaska From nobody Tue Mar 7 13:47:53 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 4PWGx20LkWz3w9sq for ; Tue, 7 Mar 2023 13:48:06 +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 4PWGx16nhGz3x5R for ; Tue, 7 Mar 2023 13:48:05 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678196886; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=15j2EL/Bcw66uJEDUmvcD4i6CyefLARWtJLfDeYt6uU=; b=DumK9XiOI7lamKZ5VucSdTtL3wOb/VQ3119yA6rjMQloiy/nd5ijjUKft1dx7UnKHr1DlC t9Y3h6abC/wYFG62VvMxSfRAbi59KxVLWNkGrP7n015d5ZA6NlUzdYx7PKTefOV/g9LvWf Eub6dDy18WKzK/wjca+fRYFxh4UdrSHkQZd8Pvb+CqQV2Hb8V2v0iMrTP6VQ1BsTZU6rGy lpmSGuFBtQF+JB2esqvIPzesB6VxoBckSjlIw6T+7+l8yh2np5zQ9gVn6EiqYsPwyo7pED 8UTiQZURhDDt53Hy9qgj/6iS0eNWK6h90WStTgLFnUxzECQKAgcxZCbCOZZxcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678196886; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=15j2EL/Bcw66uJEDUmvcD4i6CyefLARWtJLfDeYt6uU=; b=wPRcOqYDFh4qNU+1XkKxClgVd4kFUEFHBD/SIr1CFLJCA1//LI0iYuJCQB64+LmIs9paPk oWjGQfsABRP/keAFdzpj8JHlC5bJoBNRtxp1gASWGsg2NfdyJazPXbQ+p5IqUxkc9s312N eiuPeCQx2o/pN0n6FsWLDYm/OTZXnkgeFFHwNcr8y294ePabdHBTeImSo5fL3JxLSRiFMm +V1DvJOge/9mStxGnNiy935vg5yO2/M0FCDqcwfTHRmnD5dxlEKDlajo5oGgDha2NJ+Vx3 oTVs8zFlCsVKC0klJlyXMLqZC58ZlWtY9xWuHKb7M6MuOz7BkQ2jmiKxcjDUdg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678196886; a=rsa-sha256; cv=none; b=jmQEU2UfZulnXThLpJJRxHmGMuzqd6ZVn310tSQQ+YY5/5a80F8RPLgUU06JddWJAWt/zC ck+qYX1A5dst+ZwyL80f3p9RzWSsIeZJPsFtXSlJZmQExH2dU/m3gs76C1yKTEiXk5tFMo jk/uVcau813OeuR+SUI9MwcmE1d4WaFAflXEwr5WaKpBb51s0RWfCaWUMbSrKOzz4FX3/j DtPflRAAsIEFl/Qx36wb0/UfNYpsprE1wvGoV/oOERunPOYiMTT5/DY8M6S0h2+ok42Plf X67Wo/uqgjcNl98UoG1sCIX3Eft97630GuqIy7qRkh7KiLTOXk28gKfJ8pzmZw== Received: from mail-vs1-f52.google.com (mail-vs1-f52.google.com [209.85.217.52]) (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 4PWGx15jmkzZKs for ; Tue, 7 Mar 2023 13:48:05 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-vs1-f52.google.com with SMTP id o32so12315744vsv.12 for ; Tue, 07 Mar 2023 05:48:05 -0800 (PST) X-Gm-Message-State: AO0yUKWE0hPEMya4B3HqU8BVW3iGxlFqCGtZjCPJwTl2q7wW3J26mQy1 3CRoeJAlGQI0MnvIWoBdwTtBaEOuWPC+b5nrDQU= X-Google-Smtp-Source: AK7set/RuPQAm0+MGGGcMEbcE0LH27xNba4wHjOqv7Bk02//SYdrzacve+R1I+bf5aSVHPPU43KyRvXZzH3feNtmYhY= X-Received: by 2002:a05:6102:237a:b0:412:d18:c718 with SMTP id o26-20020a056102237a00b004120d18c718mr9412698vsa.3.1678196885259; Tue, 07 Mar 2023 05:48:05 -0800 (PST) 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 From: Nuno Teixeira Date: Tue, 7 Mar 2023 13:47:53 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: PORTS_MODULES fails with beinstall.sh To: FreeBSD CURRENT Content-Type: multipart/alternative; boundary="0000000000003589d005f64fa9a0" X-ThisMailContainsUnwantedMimeParts: N --0000000000003589d005f64fa9a0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello all, I'm trying make.conf PORTS_MODULES=3Dx11/nvidia-driver and it fails with beinstall.sh: --- =3D=3D=3D> Ports module x11/nvidia-driver (install) cd ${PORTSDIR:-/usr/ports}/x11/nvidia-driver; env -u CC -u CXX -u CPP -u MAKESYSPATH -u MK_AUTO_OBJ -u MAKEOBJDIR MAKEFLAGS=3D"DESTDIR=3D/tmp/beinstall.6sMgsC/mnt KERNEL=3Dkernel TARGET=3D= amd64 TARGET_ARCH=3Damd64" SYSDIR=3D/usr/src/sys PATH=3D/usr/obj/usr/src/amd64.amd64/tmp/bin:/usr/obj/usr/src/amd64.amd64/t= mp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/usr/bin:/usr/obj/usr/src/amd64= .amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:= /usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/usr/obj/usr/src/amd64.amd64/tm= p/legacy/usr/libexec::/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/loc= al/sbin SRC_BASE=3D/usr/src OSVERSION=3D1400081 WRKDIRPREFIX=3D/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG make -B deinstall reinstall =3D=3D=3D> Creating some important subdirectories =3D=3D=3D> Starting chrooted make in /tmp/beinstall.6sMgsC/mnt... cd: /tmp/mountpoint.CagxU8/usr/ports/x11/nvidia-driver: No such file or directory make: don't know how to make deinstall. Stop --- Any hints? Thanks, --=20 Nuno Teixeira FreeBSD Committer (ports) --0000000000003589d005f64fa9a0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello all,

I'm trying ma= ke.conf PORTS_MODULES=3Dx11/nvidia-driver and it fails with beinstall.sh:
---
=3D=3D=3D> Ports module x11/nvidia-driver (instal= l)
cd ${PORTSDIR:-/usr/ports}/x11/nvidia-driver; env =C2=A0-u CC =C2=A0-= u CXX =C2=A0-u CPP =C2=A0-u MAKESYSPATH =C2=A0-u MK_AUTO_OBJ =C2=A0-u MAKEO= BJDIR =C2=A0MAKEFLAGS=3D"DESTDIR=3D/tmp/beinstall.6sMgsC/mnt KERNEL=3D= kernel TARGET=3Damd64 TARGET_ARCH=3Damd64" =C2=A0SYSDIR=3D/usr/src/sys= =C2=A0PATH=3D/usr/obj/usr/src/amd64.amd64/tmp/bin:/usr/obj/usr/src/amd64.a= md64/tmp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/usr/bin:/usr/obj/usr/src= /amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/us= r/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/usr/obj/usr/src/amd64.am= d64/tmp/legacy/usr/libexec::/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/u= sr/local/sbin =C2=A0SRC_BASE=3D/usr/src =C2=A0OSVERSION=3D1400081 =C2=A0WRK= DIRPREFIX=3D/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG make -B deinst= all reinstall
=3D=3D=3D> =C2=A0Creating some important subdirectories=
=3D=3D=3D> =C2=A0Starting chrooted make in /tmp/beinstall.6sMgsC/mnt= ...
cd: /tmp/mountpoint.CagxU8/usr/ports/x11/nvidia-driver: No such file= or directory
make: don't know how to make deinstall. Stop
---

Any hints?

Thank= s,


= --
Nu= no Teixeira
FreeBSD Committer (ports)
--0000000000003589d005f64fa9a0-- From nobody Tue Mar 7 15:11:21 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 4PWJnJ3xCvz3wFr5 for ; Tue, 7 Mar 2023 15:11:32 +0000 (UTC) (envelope-from garyj@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PWJnJ0QL9z47KT; Tue, 7 Mar 2023 15:11:31 +0000 (UTC) (envelope-from garyj@gmx.de) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1678201890; i=garyj@gmx.de; bh=9k3eGYcyt7Ox5L2vESXj7//af8RrAtiIYltK/PoLQO4=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:In-Reply-To:References: Reply-To; b=ecEakkw6nBGaia0mmDAK49K6iQuuAI+M997x5O5DWH9IMFUdiZNDjwZtttAMf1wlN J3CFXdZzLYQuEs0vRasAfLYsE2hGqFskmNH7l+Z3cXCc7HBnz30YtAyXP0WshDmUIB DNBdLJ0cgz6Mpu/1RzqFsb7SR3mSjrm5osfvDvWN5V11jwGgM4UqkMFjkZ9r+nNOAH n5EPWlaZhfsx+6PQ0RgXhJ8WCgAlKfB6/qlAOwgjES4fCLS69n/0sWui84c8nXtc3Z OftpfXWKxZx0Bcdu33SkyJZkWl1Y5kUe6iJHkHS0iDmJNNg27NqIF7lnbdsBQ7MCmu 3UH78F2nEahOg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from ernst.home ([217.226.49.211]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MQMyZ-1pvCb51ohd-00MMYh; Tue, 07 Mar 2023 16:11:30 +0100 Date: Tue, 7 Mar 2023 15:11:21 +0000 From: Gary Jennejohn To: Nuno Teixeira Cc: FreeBSD CURRENT Subject: Re: PORTS_MODULES fails with beinstall.sh Message-ID: <20230307161121.3821e11d@ernst.home> In-Reply-To: References: Reply-To: garyj@gmx.de X-Mailer: Claws Mail 3.19.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:Kvh2WMXOrg26icOD+wVGczWPyOmQQVOVmgzzJxflBlwzjkhZC5+ Uyu6ksCxE4W1V9q6c3Dxx4QzwUDqqy1v0FsNfF0+KlnNwsVanGXd7liILduw7mJjdVpl00i B6SxJB6hU7+H1EtPN31QaqYean8p7SHWjLSbKzp6O1riqumlm4asR4gC7GgojlV/jvCsumh bvwneBHrbTsLK1ECqC/Tw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:uu59kGlvuuo=;nP2BlL1DWN+te4mlp6Nwv2+i7+5 8aDq1ElhAvxZ/lJY/S1EDXJ2+YcRPTZZbu/ioqOqkKKbq2uu65l+ImUe9wXk2o5ZZkVustciH qxlg/PqJeHVyOqcTGAPugyvtg1bdyk3Aj2RRMPWWX1rdQqBhPrkNpV636YsHYZxzArhXR7byD DDlAVzcJ6PXyADxI74Qzqy/NdUc9cHWT++3FDNyjigi3RO9z1pQQSBbNoAUVZ7XyXVwltE7nI 8FSMOkAARDCFePIAlW3tg4mBUf7rVCcAKtOPsKQbUtorsGBVOHtE6dB9cBjHIUkVlqBtOBsgu gSWRHVskI4USaWzQpPssFngudTeO+j91IOkpSyzDwj2Ky63FWLWJIKHQ4BO7j2oEifl+TW1QU l3FXglxwzZgs8vybfauKH2adM2eKnCtQ+Ky26zltzzhuamNo81OMnEBBu3T5Cxv7cu++MBe6h rGtUTnklepL84O/+d+53a8JlL2E1z6a26f4umSJMhkDKAo4ULF/byM3cw81d+JNwa8U0+eBy8 3gdjehx5zAjAXgPP62ZrcDCLhvC6V/3cxL+M8RSHORInthc39/Y1NLXXK1pIQWteZbubE1OqW CD8YaNyIS2p+bIgYN6D+B1PrPXEF8zkBUFgOa40cIZdA8kbAjeACMVjeyoh/MmSXw5hOrNHBu rKTqVeKJJBNw/18emAxhh9rkJmG7MBgXC6Epeul7V6yUN4FSVxn9MfD4RR4ieqRNuUXwdSEjb 3IAtDEC0ffXoEOirzkb0beXs1AgbbKSka66XZDxunE7R5iIU+WwemJp8maYGb7k96K1GJ+cfp PQq/H4Md0Cg2AKCyDBDYYGlhvz846dkE3SrVfj5M7KnzfzjyVxQ1eeTFxHNiNt6/42CZ7V6MU 1YFL8UtZmsh76rpxTcNik34U4wiXo17HqoVNxUMSWkJoAFQITaU+W/aBAxPUlP4BJXaW8I0Qt i90mObq91LPXfqaVGMguoxDtHEI= X-Rspamd-Queue-Id: 4PWJnJ0QL9z47KT X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Tue, 7 Mar 2023 13:47:53 +0000 Nuno Teixeira wrote: > Hello all, > > I'm trying make.conf PORTS_MODULES=3Dx11/nvidia-driver and it fails with > beinstall.sh: > --- > [...] > cd ${PORTSDIR:-/usr/ports}/x11/nvidia-driver; env -u CC -u CXX -u CPP > -u MAKESYSPATH -u MK_AUTO_OBJ -u MAKEOBJDIR > MAKEFLAGS=3D"DESTDIR=3D/tmp/beinstall.6sMgsC/mnt KERNEL=3Dkernel TARGET= =3Damd64 > TARGET_ARCH=3Damd64" SYSDIR=3D/usr/src/sys > PATH=3D/usr/obj/usr/src/amd64.amd64/tmp/bin:/usr/obj/usr/src/amd64.amd6= 4/tmp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/usr/bin:/usr/obj/usr/src/a= md64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr= /bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/usr/obj/usr/src/amd64.am= d64/tmp/legacy/usr/libexec::/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/= usr/local/sbin > SRC_BASE=3D/usr/src OSVERSION=3D1400081 > WRKDIRPREFIX=3D/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG make -B > deinstall reinstall > [...] > cd: /tmp/mountpoint.CagxU8/usr/ports/x11/nvidia-driver: No such file or > directory > make: don't know how to make deinstall. Stop > --- > > Any hints? > Read the shell script. It only mounts srcdir, objdir and devfs under BE_MNTPT. The shell script has absolutely no knowledge of other directories. You could hack the script by adding e.g. portsdir=3D/usr/ports and then mo= unt it with mount -t nullfs "${portsdir}" "${BE_MNTPT}${portsdir}" || errx "Unable to mount ports" Probably best to create a private copy named e.g. beinstall+ports.sh and put it in your home directory. =2D- Gary Jennejohn From nobody Tue Mar 7 20:27:04 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 4PWRnc66TLz3wbMm for ; Tue, 7 Mar 2023 20:27:16 +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 4PWRnc5bJxz3prn for ; Tue, 7 Mar 2023 20:27:16 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678220836; 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=9V4M/obXA8KlkRjZAoSPD/juK9NQe5rxOWjE1NGZkn4=; b=xzJpv6rqkVqEIxpq7LHlwgGiw74Wx5uzTHeAjOh+mzTG0rRE3ES7jiiwG63vpcOYjzE6wk /mU+nMkYrmda6Qawx9XAxNDFjEN/JA7jM6/ZDXeBUZbT7881Bb3yTzvTMlBtplei0+WYK0 V3cOsn95k/K0zrTMNzxE0xYnM0xyFY1xuT1fsmmOqQYwEPrFihYup0rTGCuoLJSF6mUzak /n10eWOdiHHFmNNO0RHTVJHVC1mlT98uUZaGJXolnq+GaJV9CijOFc26amoQPVMQCBFaiq /nwgAm8S73VkG0/UvpDNUhf8C+jOrJSqWgPi48eDWT+EcJnxNGUDaXXRnMzlNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678220836; 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=9V4M/obXA8KlkRjZAoSPD/juK9NQe5rxOWjE1NGZkn4=; b=bPSxz0UREq3OH84eb46XK/lHpkSYSf8FsbP56VrsCEba2UZ1Zyw8wTN9QeP3oHseIjdPLF Ok1Q1GExV+ob85iSCZb5N4nRaWt5ji6TknceYDHusdK9l/JdU72IrDhZw1T5bodchlkfgK Avz2GH5PeoBLalXFr7NCGFraERTjyO0zfg2WkC94hWDDW1dRcfzxVxFGq6+YhXJAOsBZ2n Nph1FOMvVGHFjjSMAlFJpvMkREY/FoJmVJ/KVeSsYfN4NSmaUwCm6QnI7tupjedT5oiXjo SI3nRZS2KwOqaU16FDc7hAHMXAWDq8AtziYiY2Td9Fz2XteudjUvZgiIpLoKzQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678220836; a=rsa-sha256; cv=none; b=XeMfl74qQb1NNcWvU3W0Va2oSgugesyoy3jnZnTTvv2k/m5Cu5ss+GsAKUFOlqssyDVczJ YKDd6vlZiZugRHCB6ooUoX6GI+JZmf/le/S1rLVab7dh+T/kDQr+N7gT4hEGDXGdSBRWUO Ho1KRdpb+NNJ6hHkCjFCueyckIr3V0cwx200ZVvqrglMQ70q/pj/fzDxs42vGn4clZEC2d mOY4035b4WMh/pxFFiGMoOdKCe7F5DT/+nd6aBDp9aXxTxQz/p4yaUU+zSHqQIwGkxoJfi n638dey0FaCipr7UTh0dzfFw+oZ9rBDsZ4kUr6BtXjk2Vu5i9vQeG57Jz0I0rg== Received: from mail-vs1-f52.google.com (mail-vs1-f52.google.com [209.85.217.52]) (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 4PWRnc4g0qzg1x for ; Tue, 7 Mar 2023 20:27:16 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-vs1-f52.google.com with SMTP id by13so13472732vsb.3 for ; Tue, 07 Mar 2023 12:27:16 -0800 (PST) X-Gm-Message-State: AO0yUKWStXsmCfHdanlbBKeUk0JE1MwrzjbWfYAKlzvl/cG1Qs32ZhGI 7vhAM4DTPyeQ4gY4A9H0/TFfgwliJhf5fXOy6qo= X-Google-Smtp-Source: AK7set8z0sP32qAwm7zK4/SkHutYW/L0db2/lpEPfGGAIphRV5Lt/bc2f+lnrQPJMRO4K/8se14MX9coq3XHyfH91U8= X-Received: by 2002:a67:e3cb:0:b0:421:e25b:3d0c with SMTP id k11-20020a67e3cb000000b00421e25b3d0cmr4598317vsm.3.1678220836262; Tue, 07 Mar 2023 12:27:16 -0800 (PST) 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: <20230307161121.3821e11d@ernst.home> In-Reply-To: <20230307161121.3821e11d@ernst.home> From: Nuno Teixeira Date: Tue, 7 Mar 2023 20:27:04 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: PORTS_MODULES fails with beinstall.sh To: garyj@gmx.de Cc: FreeBSD CURRENT Content-Type: multipart/alternative; boundary="000000000000ccd7a905f6553c0f" X-ThisMailContainsUnwantedMimeParts: N --000000000000ccd7a905f6553c0f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Gary, Thanks for the hint, I will try it. I've forgot to mention a PR about it: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263620 Thanks, Gary Jennejohn escreveu no dia ter=C3=A7a, 7/03/2023 =C3=A0(= s) 15:11: > On Tue, 7 Mar 2023 13:47:53 +0000 > Nuno Teixeira wrote: > > > Hello all, > > > > I'm trying make.conf PORTS_MODULES=3Dx11/nvidia-driver and it fails wit= h > > beinstall.sh: > > --- > > [...] > > cd ${PORTSDIR:-/usr/ports}/x11/nvidia-driver; env -u CC -u CXX -u CP= P > > -u MAKESYSPATH -u MK_AUTO_OBJ -u MAKEOBJDIR > > MAKEFLAGS=3D"DESTDIR=3D/tmp/beinstall.6sMgsC/mnt KERNEL=3Dkernel TARGE= T=3Damd64 > > TARGET_ARCH=3Damd64" SYSDIR=3D/usr/src/sys > > > PATH=3D/usr/obj/usr/src/amd64.amd64/tmp/bin:/usr/obj/usr/src/amd64.amd64/= tmp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/usr/bin:/usr/obj/usr/src/amd6= 4.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin= :/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/usr/obj/usr/src/amd64.amd64/t= mp/legacy/usr/libexec::/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/lo= cal/sbin > > SRC_BASE=3D/usr/src OSVERSION=3D1400081 > > WRKDIRPREFIX=3D/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG make -= B > > deinstall reinstall > > [...] > > cd: /tmp/mountpoint.CagxU8/usr/ports/x11/nvidia-driver: No such file or > > directory > > make: don't know how to make deinstall. Stop > > --- > > > > Any hints? > > > > Read the shell script. > > It only mounts srcdir, objdir and devfs under BE_MNTPT. The shell script > has absolutely no knowledge of other directories. > > You could hack the script by adding e.g. portsdir=3D/usr/ports and then m= ount > it with > mount -t nullfs "${portsdir}" "${BE_MNTPT}${portsdir}" || errx "Unable to > mount ports" > > Probably best to create a private copy named e.g. beinstall+ports.sh and > put it in your home directory. > > -- > Gary Jennejohn > --=20 Nuno Teixeira FreeBSD Committer (ports) --000000000000ccd7a905f6553c0f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Gary,

Thanks for the h= int, I will try it.
Thanks,

Gary Jennejohn <garyj@gmx.de> escreveu no dia ter=C3=A7a, 7/03/2023 =C3=A0(= s) 15:11:
On Tue= , 7 Mar 2023 13:47:53 +0000
Nuno Teixeira <= eduardo@freebsd.org> wrote:

> Hello all,
>
> I'm trying make.conf PORTS_MODULES=3Dx11/nvidia-driver and it fail= s with
> beinstall.sh:
> ---
>=C2=A0 [...]
> cd ${PORTSDIR:-/usr/ports}/x11/nvidia-driver; env=C2=A0 -u CC=C2=A0 -u= CXX=C2=A0 -u CPP
>=C2=A0 -u MAKESYSPATH=C2=A0 -u MK_AUTO_OBJ=C2=A0 -u MAKEOBJDIR
>=C2=A0 MAKEFLAGS=3D"DESTDIR=3D/tmp/beinstall.6sMgsC/mnt KERNEL=3Dk= ernel TARGET=3Damd64
> TARGET_ARCH=3Damd64"=C2=A0 SYSDIR=3D/usr/src/sys
>=C2=A0 PATH=3D/usr/obj/usr/src/amd64.amd64/tmp/bin:/usr/obj/usr/src/amd= 64.amd64/tmp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/usr/bin:/usr/obj/usr= /src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legac= y/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/usr/obj/usr/src/amd6= 4.amd64/tmp/legacy/usr/libexec::/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bi= n:/usr/local/sbin
>=C2=A0 SRC_BASE=3D/usr/src=C2=A0 OSVERSION=3D1400081
>=C2=A0 WRKDIRPREFIX=3D/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG = make -B
> deinstall reinstall
>=C2=A0 [...]
> cd: /tmp/mountpoint.CagxU8/usr/ports/x11/nvidia-driver: No such file o= r
> directory
> make: don't know how to make deinstall. Stop
> ---
>
> Any hints?
>

Read the shell script.

It only mounts srcdir, objdir and devfs under BE_MNTPT.=C2=A0 The shell scr= ipt
has absolutely no knowledge of other directories.

You could hack the script by adding e.g. portsdir=3D/usr/ports and then mou= nt
it with
mount -t nullfs "${portsdir}" "${BE_MNTPT}${portsdir}" = || errx "Unable to
mount ports"

Probably best to create a private copy named e.g. beinstall+ports.sh and put it in your home directory.

--
Gary Jennejohn


--
Nuno Teixeira
FreeBSD Committ= er (ports)
--000000000000ccd7a905f6553c0f-- From nobody Wed Mar 8 00:22:43 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 4PWY1b12vPz3wrPS for ; Wed, 8 Mar 2023 00:22:59 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic308-8.consmr.mail.gq1.yahoo.com (sonic308-8.consmr.mail.gq1.yahoo.com [98.137.68.32]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PWY1Z0PWfz4KyY for ; Wed, 8 Mar 2023 00:22:57 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=rroLF69S; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.68.32 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1678234976; bh=3pHiTAewZeM77H79Z1fqrXjymNLX1IG7OOkp1aiGdVU=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=rroLF69S/cSghDFrrYyG1P27oNbC+18pRbkgtOELfShD+v7qKmRVuHSWV86Sl3RAxq0qwiiJCqdT1yD+AZ9Hvs8WKHJD0zeC0/xM1UwxewKXyafu/2vB1TyB0+7I8JAhpPG/Ui7KjJuHqSFddeSZ84IBtPNH6dYT3xABIqsj/n3br4QrWc1YRM3Y9u1kOG8NU261/leaVXZ+hWY9oJ56RxRgmQd50E2iUQwKNwGZ1MCXuRU8PJlXXBsXIZ+IGLuvfZUxHSGZQ7/4BOd4Wzl6DhEzVJ3ph9BYwAcVTdOZbNkRZRtH3lRXKDKCluhb/qteNF8w1h7ep3bZg4w6bcyShA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1678234976; bh=9sfStb3wngjdu9xj5qC0niNLHq6d9mW53x2++3hvGEs=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=jKm7nPg10WlTvhgjEmYKT5vYaOGWTyv92vCOAkdd1YQhXYScN0HUalkzJ2477XUDUpBLb/2LGZA3OcWd5rPe73h01+lyefUmxiFg0qU11xzFPV8E9xY76l9Ya4bPGL+1Gph7b/c/sbUVxUedTYARyrhr19pNhdBZ8ZNPkhTFTQmmdakQwlBaVdPjnpxpCyrVuisdOjlUwYrcuLobO0fUHN8nWba8/potgR1gH9Z/tlNEJhZTSF+pJTZioqmsS3X1+5KsnDVOrP2htttqKOhPMMvRjV0nXJ9b6jdArAK15eB75N7RKtracCpQx1TT2l3cG2VhyVYulG1h6TtL2eieYw== X-YMail-OSG: X4Fd1P8VM1nx9TztOOXR28rWcK2bBaQPNaNjY04N9BSZ8QPBdl54NPOaHTotz8Z ODZ2R.efNzmrzcPyLwTafuxp0PSt8GKr2TZZUvBJwEz7a2iw7NOJKMQuexgQixVBI_RPVz.dbV3e LaAwfxgZgzAGnyViStsuwwrvCSuz4VWGqvazJLLsV2oW1kZSVwQC80VimGctnaEAUeeuMjsyHsde sIXcQMR7E3hDhUTPaTyxJrwhL4pIGEnRgO6UX1LbXxZTe9L.JyhcLNZ8tcoYiqeNkvGgxkdqSjxN vJnZjG15VOiPa46Yg_0UXQsGwbQjJ2.ul67jljBcZd4xX5W4G.6pGMgE_1BqPCQF1JjRM0tPWkvq cmSxN1jg.PgdLz2ByeiG.Wpj7i9fo.AE4D9zKQfmj2fRpQszmIcZy.AwAE_sfKKxttJVOwUZD_HJ w20FNIEEOovD6lBDWG.lOrv9Xlv5JzCrtCQSEjT3Gf7bF_kuvcJdE.tVvkO.7khOoZ.jyEa52U9t OsE4HuG1Uc.jAl.AOrBsqGR04jsh6tflORi7vsN160SbbB2N_9SWlqx2J3n_12Yr_nzYfdQSoyG_ gvQVyL08D7HWfqtFqIWVIfQX3YKBIXq5k5ob8N2yx9NUi6w6zghi3k4D8XIANoc6Q2i4iL3jutTE fwqH7d04nAP.Xh3qbE0V4RGp1xX.jsZ26SUcNNZPOOM75Su.WqEXl61IQyhfX2AAABTBcasmaajW wiA3jWRu5dbgTj6AC5Jx3SVsjizqoWoQQMNKFtZ3KwQ4T8aE.G7V1Gn9gPTsG2zO.2d6y911zZ9u zQdi26mnxLofNUpta8F97aKELom9JM5CWvXYloPoev8pcGIO0VmgySAMHTCVf0wg5woV70EVL82Y o_npOcStnZ9lUvm6HmW5N3Swf6BTa5oIT9zgUHHug2NQlIQ89D3Taw3CtDziqTACjcu7.7w9dgK. vkITHewcbvPvz4UOF3K20jNEzNWhNIrFsQcuFkW1ZOColgfZUQY1TDi0tpRzQo4TkeL19Sm5ntDO fx0JbRInvLUCWxQw22T_vxeg0RHqA_ZapU621twMnB.y954nZgvOWaAEnxs.mDUkAeGn09KitiMA qbz3eLUrbgczltXtf3bJA9qwx9LNNwPtTnb5L81OQjVFmI__kX.8pamUxp04OW5EKPNIlpNnEFiZ sCFXlERYuzAsSAIYyjmsQlsrUJLMvfdjGR9x_Z4p4Nudg1dgbpemRXxSOVW7IaQjp635NTT4kUp7 4L6vHBLGwkANXc3yLF1LiA5VyMC25Oc8MdLPT66Hue_Va5JuAsgXFpy4azYQ8Bfld01ihI1qPeKi mSViV_djXdhduTKNrsHJlC3ffOxnhY.tZn1mTDdOQoQo8Jv4nFoKB5OLATSIqFioi04qay7otR3y 8h70r7NHNI.LmDOtg7_zJjA_F6q9_SpMn.9NV_BRDmGy9y15rx4mHkrFHzWMQqtuWD5mXSLSd678 M6kqJbzXFXfEgG8Yjxiz6tXICHoRTTT6jC1I8oJFMzqxq4YHX3F6zFuh.I0.Vq33J3QKunEc8P9i 4wz9bfv7EfuT5Q7tCucxvoQ7q6nTVB0pyMwDsDybWsyweaof0FV39GFHydyMIpiUvVxUYFfcsyjy l9MZ61yXssW.WCsxkinyu9U3.Wq4lhzCF4aFzNUkVDh2wp57rsU3dr9LdVwLDQ9h1N13kM2FBuA0 f8YaLar5B8mTSxHyNbWU998h_uMGABiM47EavYWSeNKhG6eXgTo.2RQTMDxfcS0ZytTqw6Q.i25j XHCPUQhCTFGXDy.HekaQ8g4p5uCh1t2Si_.i0KVUuiEodzc3D7H_fwaOoWRa26_1v.SO.XH2QzMe 7g2oL5v339wj9Vo99x2hSUE9KsIUFP3RXe3qxizqa2eW._fZO0X9KAMQYp8s8zBEzpWj80LriM15 2PqY.W0ZJvK98OjdNhM77VzyfoqUUKtNugGBVi_lv3WROv.vaytkM5j52yVJPnduEuxkUDv7Nsi3 .LbzBaQWBsIntmAVFMRiD2XWB72HjWQifFU4wvJCrnwk0eGjCEGxSeJipr.qWwc8vZIZTr39nHo. 20OztfYwHzqleCmsy2pn2hfvCPubWiQshwYj.Wgd12ZqTXiYFphe1e.psuS8VKfAqmV9DfkPm.jZ J.R__TeMM4OMg1Gs4cSE0c7PO41gTSkriFbMU20mNqUeVPSL5w6KLnA6DpSxZEQAp5WlRvV_7e0C 99vp.IrrO50RxYji3Zi89lzI1WWKKvFFLlCzUUKTcvHuGG9P7z27mWccIJdRyBe0BTE5zgqUq0fa kjG4- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.gq1.yahoo.com with HTTP; Wed, 8 Mar 2023 00:22:56 +0000 Received: by hermes--production-gq1-6cf7749bc8-w8vjj (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID f53779ed9c713463f40edd4e63b80ebf; Wed, 08 Mar 2023 00:22:53 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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 (Mac OS X Mail 16.0 \(3731.400.51.1.1\)) Subject: Re: NanoBSD: CURRENT unable to compile 13-STABLE : error: a function definition without a prototype is deprecated ... in C Message-Id: Date: Tue, 7 Mar 2023 16:22:43 -0800 To: Dimitry Andric , freebsd@walstatt-de.de, Current FreeBSD X-Mailer: Apple Mail (2.3731.400.51.1.1) References: X-Spamd-Result: default: False [-3.47 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.97)[-0.967]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.32:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.32:from] X-Rspamd-Queue-Id: 4PWY1Z0PWfz4KyY X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N Dimitry Andric wrote on Date: Thu, 02 Mar 2023 10:13:51 UTC : > On 2 Mar 2023, at 06:41, FreeBSD User wrote: >>=20 >> Am Mon, 27 Feb 2023 23:46:21 +0100 >> Dimitry Andric schrieb: > ... >>=20 >> I tried to find some documentation on my CURRENT host regarding = "WITH_SYSTEM_COMPILER". None >> found via man src.conf, nor via make make.conf. Please delegate me to = some place where I can >> find such infos. >=20 > Ah I was confused, WITH_SYSTEM_COMPILER is actually the default, and = it > means that you want to skip building the bootstrap compiler, and just > use the host compiler. If allowed?: Having a 13.* build 14.0 does not allow skipping building the bootstrap compiler for buildworld or kernel-toolchain (for the same processor family), for example, if I understand right. In other words, one does not have to explicitly use WITHOUT_SYSTEM_COMPILER for such FreeBSD version- increase builds, even for self-hosted builds: the default works and is WITH_SYSTEM_COMPILER . > The src.conf(5) man page documents the inverse > settings instead: >=20 > WITHOUT_SYSTEM_COMPILER > Do not opportunistically skip building a cross-compiler during > the bootstrap phase of the build. Normally, if the currently > installed compiler matches the planned bootstrap compiler type > and revision, then it will not be built. This does not prevent a > compiler from being built for installation though, only for > building one for the build itself. The WITHOUT_CLANG option > controls that. Explicit WITHOUT_SYSTEM_COMPILER usage is unconditional, unlike WITH_SYSTEM_COMPILER usage (implicit or explicit) depending on both the FreeBSD version differences and the processor family relationship, if I understand right. > WITHOUT_SYSTEM_LINKER > Do not opportunistically skip building a cross-linker during the > bootstrap phase of the build. Normally, if the currently > installed linker matches the planned bootstrap linker type and > revision, then it will not be built. This does not prevent a > linker from being built for installation though, only for > building one for the build itself. The WITHOUT_LLD option > controls that. >=20 > This option is only relevant when WITH_LLD_BOOTSTRAP is set. >=20 > I find the double negative phrasing "do not skip" always confusing. = But > the logic is normally: >=20 > * The early phase of buildworld retrieves the versions of your host's > compiler and linker > * It compares it against the versions in the source tree > * If the host compiler and linker are deemed "good enough", they are > used as-is (So I've effectively noted some of the not "good enough" criteria above.) > * If the host compiler or linker are not suitable, the compiler or > linker are bootstrapped from the source tree >=20 > But WITH_SYSTEM_COMPILER turns off all these checks and forces it to = use > the host compiler, Are you saying that an implicit WITH_SYSTEM_COMPILER (no explicit WITHOUT_SYSTEM_COMPILER either) works differently than an explicit WITH_SYSTEM_COMPILER for FreeBSD version transitions? If so, I need to correct my expectations. > which might or might not work, depending on the > circumstances. You may have to use NO_WERROR or other tricks. >=20 >=20 > ... >>> The safest solution is to let cross-tools do its thing, which will = check >>> the host compiler, and automatically build an appropriate version of = the >>> compiler and linker for the stable branch, if required. >>=20 >> I had a misunderstanding in the terminus "cross compiling", I check = now the build with this >> option set to be enabled. >=20 > Yes, this is a bit confusing, but in fact it *can* be a real cross > compiler, if you are targeting another architecture, for example doing > "make buildworld TARGET=3Darm64" from an x86_64 host. In my view/expectation the differences between the Target defaults for the likes of: Target: x86_64-unknown-freebsd13.1 vs: Target: x86_64-unknown-freebsd13.2 vs: Target: x86_64-unknown-freebsd14.0 system compilers is enough to make having FreeBSD from earlier in the list above build targeting a later one in the list as a "bootstrap/cross compile": in other words, either x86_64 vs. not or freebsdA.B vs. freebsdX.Y differences count in the criteria and either changing for FROM->TO ends up needing a bootstrap/cross compiler. >=20 > And of course if you are building natively, it is 'just' a regular > bootstrap compiler. Not for freebsdA.B -> freebsdX.Y transitions, based on changes in default targets (and other details that may sometimes implicitly go with that differing default Target being used in the new compiler). =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Wed Mar 8 10:19:04 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 4PWpGB3ffvz3wCJx for ; Wed, 8 Mar 2023 10:19:46 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from smtp052.goneo.de (smtp5.goneo.de [IPv6:2001:1640:5::8:30]) (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 4PWpG84N6vz43J9; Wed, 8 Mar 2023 10:19:44 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=walstatt-de.de header.s=DKIM001 header.b=HsY62zD4; spf=none (mx1.freebsd.org: domain of freebsd@walstatt-de.de has no SPF policy when checking 2001:1640:5::8:30) smtp.mailfrom=freebsd@walstatt-de.de; dmarc=none Received: from hub1.goneo.de (hub1.goneo.de [IPv6:2001:1640:5::8:52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by smtp5.goneo.de (Postfix) with ESMTPS id 4553F10A1E8E; Wed, 8 Mar 2023 11:19:40 +0100 (CET) Received: from hub1.goneo.de (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by hub1.goneo.de (Postfix) with ESMTPS id AB06A10A1E98; Wed, 8 Mar 2023 11:19:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walstatt-de.de; s=DKIM001; t=1678270778; 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=jKbi0M0jyBzNLRhkwyDrbqwuzLfxKSHpxb3wJyrw5eQ=; b=HsY62zD4RxYRxiQHtuVPh+Kb47uFJnKJ4+litRy+zNjLu3mLFkE94L3F8rWhjgxRy9ygRS tdujn3kaXyzzVc2QVkG5CLohEpVDTO2sgv5IrP6shfNi3p8o8pk391XdyUxAF56NrIhOzw nRRirX7EPGL476Zu8fHLaNnozgreUhV+AlZ5WOOFRdfMAaBoMoiW/ixlQcGkVssTAzP0UZ 5r7R6Sd4Tfn9i9OAMgzlnWwQPfzV43Wf2jlzsFLw5ipDTMfXppWBVuUNvM+ctEG/dER/Yw Ur6B1iX77n7FfYzuA7msZNt1PiaJbUlTb9jiKwO+zBce4Q53U/mBd/Y4D9C5cA== Received: from thor.intern.walstatt.dynvpn.de (dynamic-089-012-081-131.89.12.pool.telefonica.de [89.12.81.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by hub1.goneo.de (Postfix) with ESMTPSA id 643B810A1E96; Wed, 8 Mar 2023 11:19:38 +0100 (CET) Date: Wed, 8 Mar 2023 11:19:04 +0100 From: FreeBSD User To: Dimitry Andric Cc: FreeBSD CURRENT Subject: Re: NanoBSD: CURRENT unable to compile 13-STABLE : error: a function definition without a prototype is deprecated ... in C Message-ID: <20230308111931.27d9e524@thor.intern.walstatt.dynvpn.de> In-Reply-To: <6321CA49-A38A-4FC6-A41E-E9964C2A94E3@FreeBSD.org> References: <20230227192011.08f7aa8e@thor.intern.walstatt.dynvpn.de> <720721A7-B1ED-405B-98EB-04A3AFCA7FD5@gromit.dlib.vt.edu> <1F3F20A1-C2BC-4A33-ABFD-D20F4ADB67E8@FreeBSD.org> <20230302064153.12940fa8@thor.intern.walstatt.dynvpn.de> <6321CA49-A38A-4FC6-A41E-E9964C2A94E3@FreeBSD.org> Organization: walstatt-de.de 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 Content-Type: multipart/signed; boundary="Sig_/jc2E+s+In4wxikfrtDwm0T4"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Rspamd-UID: fadd0c X-Rspamd-UID: c321a1 X-Spamd-Result: default: False [-5.50 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; R_DKIM_ALLOW(-0.20)[walstatt-de.de:s=DKIM001]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[2001:1640:5::8:30:from]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:25394, ipnet:2001:1640::/32, country:DE]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DKIM_TRACE(0.00)[walstatt-de.de:+]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_DN_ALL(0.00)[]; R_SPF_NA(0.00)[no SPF record]; DMARC_NA(0.00)[walstatt-de.de]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4PWpG84N6vz43J9 X-Spamd-Bar: ----- X-ThisMailContainsUnwantedMimeParts: N --Sig_/jc2E+s+In4wxikfrtDwm0T4 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Am Thu, 2 Mar 2023 11:13:51 +0100 Dimitry Andric schrieb: > On 2 Mar 2023, at 06:41, FreeBSD User wrote: > >=20 > > Am Mon, 27 Feb 2023 23:46:21 +0100 > > Dimitry Andric schrieb: =20 > ... > >=20 > > I tried to find some documentation on my CURRENT host regarding "WITH_= SYSTEM_COMPILER". > > None found via man src.conf, nor via make make.conf. Please delegate me= to some place > > where I can find such infos. =20 >=20 > Ah I was confused, WITH_SYSTEM_COMPILER is actually the default, and it > means that you want to skip building the bootstrap compiler, and just > use the host compiler. The src.conf(5) man page documents the inverse > settings instead: >=20 > WITHOUT_SYSTEM_COMPILER > Do not opportunistically skip building a cross-compiler duri= ng > the bootstrap phase of the build. Normally, if the currently > installed compiler matches the planned bootstrap compiler ty= pe > and revision, then it will not be built. This does not prev= ent a > compiler from being built for installation though, only for > building one for the build itself. The WITHOUT_CLANG option > controls that. >=20 > WITHOUT_SYSTEM_LINKER > Do not opportunistically skip building a cross-linker during= the > bootstrap phase of the build. Normally, if the currently > installed linker matches the planned bootstrap linker type a= nd > revision, then it will not be built. This does not prevent a > linker from being built for installation though, only for > building one for the build itself. The WITHOUT_LLD option > controls that. >=20 > This option is only relevant when WITH_LLD_BOOTSTRAP is set. >=20 > I find the double negative phrasing "do not skip" always confusing. But > the logic is normally: >=20 > * The early phase of buildworld retrieves the versions of your host's > compiler and linker > * It compares it against the versions in the source tree > * If the host compiler and linker are deemed "good enough", they are > used as-is > * If the host compiler or linker are not suitable, the compiler or > linker are bootstrapped from the source tree >=20 > But WITH_SYSTEM_COMPILER turns off all these checks and forces it to use > the host compiler, which might or might not work, depending on the > circumstances. You may have to use NO_WERROR or other tricks. >=20 >=20 > ... > >> The safest solution is to let cross-tools do its thing, which will che= ck > >> the host compiler, and automatically build an appropriate version of t= he > >> compiler and linker for the stable branch, if required. =20 > >=20 > > I had a misunderstanding in the terminus "cross compiling", I check now= the build with this > > option set to be enabled. =20 >=20 > Yes, this is a bit confusing, but in fact it *can* be a real cross > compiler, if you are targeting another architecture, for example doing > "make buildworld TARGET=3Darm64" from an x86_64 host. >=20 > And of course if you are building natively, it is 'just' a regular > bootstrap compiler. >=20 > -Dimitry >=20 As it turns out, I already used in both sections CONF_BUILD=3D CONF_WORLD=3D of nanoBSD's configuration WITHOUT_SYSTEM_COMPILER and added also WITHOUT_S= YSTEM_LINKER to be safe. But I don't understand why the make environment is trying to compile a piec= e of code that is disabled via "nodevice" as shown in my initial report herein: [...] src/sys/dev/an/if_an_pci.c:143:1: error: a function definition without a pr= ototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype] [...] =46rom my point of view neither compiler suite, LLVM14 or LLVM15, should have= picked up the if_an driver so far. Or do I miss something here? If so, my apologys. Kind regards Oliver --=20 O. Hartmann --Sig_/jc2E+s+In4wxikfrtDwm0T4 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRQheDybVktG5eW/1Kxzvs8OqokrwUCZAhhMwAKCRCxzvs8Oqok r//TAP4kYym1q/317DkrJFFowJg6FcEMthggASHSZU/bdhKxqwD/Rd7igrgk2Vyb gieFISW4TxmB4exgXWxRA4GmhgDJ3QI= =YQXK -----END PGP SIGNATURE----- --Sig_/jc2E+s+In4wxikfrtDwm0T4-- From nobody Wed Mar 8 10:28:11 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 4PWpSK4VsDz3wDBB for ; Wed, 8 Mar 2023 10:28:33 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 4PWpSK3sQ1z44sZ; Wed, 8 Mar 2023 10:28:33 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678271313; 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=iRUzPScMp5UTWkoe4nrn8bG6ZGn1LVwodV8GKFn+g88=; b=txkL298S3ubZ3rnzUUEh/cbxolCOFNofpS2Qu40XsfyyfGU6kPHKJrkUpV8ikBcE0NDTAG d+/Vpv3vcOBhzeIv+eAoHImJ6HAXn/tYN15Z81SThU34ZzIoCtfVeNez2Fx+Eog5QFzpJH zEhcLpRUlhlj9vHD+0QUpGDAlLH916is5FXwfNPJ4IU+FKXkmWRcJunoQMF6Nf5WjzJB1m awUPtdxrsaAUsTpWqmfR+CGgTRHSUE6K0t5MzIGO92OwsS3QaLB5UJCGzWcip/i+2c8K+y CxmwQFgzNbjHRrvAauVFWt8D2RxKgQWpw/GvJo0pLvLWBuB9cWqDT/RayFhm3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678271313; 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=iRUzPScMp5UTWkoe4nrn8bG6ZGn1LVwodV8GKFn+g88=; b=gMTDTzY4pXovuY8dMPbosL+56PYXvN+DzdC5vQJjiREmuiyoX0uiSuTpx882ocxeO69yQQ b44JYP2+NzsMSA+TvmlrtPpd//SsiqaknwRZStWBsWgU3BlpYclRC4vFTAH+H5eCTqNhbd AcQRq3hX5wbIPALIeygwoftY7YpmUtJQcmaOAiVcSWE2BtFj8ZQiQ3TgI+75R1VfIZjBwk w6ADl+8xG8kz2elcb+SeDcF2nZFZ6H7P7T37HPKQ6afCtCNlGWKLeFkc88r8xR1tVeNkv8 jWZxVTwataZuLHhiVslGQNaacP2igxzJwUqeJjx3ZiiCoh5RH7FCthJw7nbJ6A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678271313; a=rsa-sha256; cv=none; b=cJT9jvUMXgIlAI+Why3dyjJo56XLKwDCpbK69u7595gk0y0L2LZBFx+NtmbdT+X8ClXK07 vwAmHKKfphzh+EjlTryBY05SC9E7cbVbv3U+3FHVew0zThopAGEL2q3mro67WUgeDbu3Te OFHJdDl0ubsKoLdyB39z2UTKhqTtqD+LiuATGf7aEu+rPATE5ONH+JIWpEkkpcnlnL6nfc 4pQ13UKKK4BdSqHEI9D6eCyxLrpflyIwzGtLm9RkP76bFzDuvlSmZikmWwEaCetcTWMQnH OA+4KPbHmlr/Co+PAe82ogXaiE+x9E8iqK/WahQs0UuIsKkgrDFDlz7P16Bw/Q== Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (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 "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4PWpSK29mCzyw7; Wed, 8 Mar 2023 10:28:33 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (92-111-45-100.static.v4.ziggozakelijk.nl [92.111.45.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 3D254405FA; Wed, 8 Mar 2023 11:28:31 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_F46DA1E4-CBD1-4E3B-A257-BE347ADD5520"; protocol="application/pgp-signature"; micalg=pgp-sha1 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 (Mac OS X Mail 16.0 \(3731.400.51.1.1\)) Subject: Re: NanoBSD: CURRENT unable to compile 13-STABLE : error: a function definition without a prototype is deprecated ... in C From: Dimitry Andric In-Reply-To: <20230308111931.27d9e524@thor.intern.walstatt.dynvpn.de> Date: Wed, 8 Mar 2023 11:28:11 +0100 Cc: FreeBSD CURRENT Message-Id: References: <20230227192011.08f7aa8e@thor.intern.walstatt.dynvpn.de> <720721A7-B1ED-405B-98EB-04A3AFCA7FD5@gromit.dlib.vt.edu> <1F3F20A1-C2BC-4A33-ABFD-D20F4ADB67E8@FreeBSD.org> <20230302064153.12940fa8@thor.intern.walstatt.dynvpn.de> <6321CA49-A38A-4FC6-A41E-E9964C2A94E3@FreeBSD.org> <20230308111931.27d9e524@thor.intern.walstatt.dynvpn.de> To: FreeBSD User X-Mailer: Apple Mail (2.3731.400.51.1.1) X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_F46DA1E4-CBD1-4E3B-A257-BE347ADD5520 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 8 Mar 2023, at 11:19, FreeBSD User wrote: ... > But I don't understand why the make environment is trying to compile a = piece of code that is > disabled via "nodevice" as shown in my initial report herein: >=20 > [...] > src/sys/dev/an/if_an_pci.c:143:1: error: a function definition without = a prototype is > deprecated in all versions of C and is not supported in C2x > [-Werror,-Wdeprecated-non-prototype] > [...] The "nodevice" is for your custom kernel configuration, but as far as I can see an(4) is still built as a module, see sys/modules/Makefile: ... .if ${MACHINE_CPUARCH} =3D=3D "i386" || ${MACHINE_CPUARCH} =3D=3D = "amd64" _agp=3D agp _an=3D an -Dimitry --Apple-Mail=_F46DA1E4-CBD1-4E3B-A257-BE347ADD5520 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCZAhjPAAKCRCwXqMKLiCW ozr3AKCcFaXFhgNGcaCMvCKcIyogByzUEgCgm95h6YS2/Oz+8xbEnTzgFDe8Sqk= =JH9G -----END PGP SIGNATURE----- --Apple-Mail=_F46DA1E4-CBD1-4E3B-A257-BE347ADD5520-- From nobody Wed Mar 8 10:42:22 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 4PWpmy4QjJz3wF8Q for ; Wed, 8 Mar 2023 10:42:58 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from smtp052.goneo.de (smtp5.goneo.de [IPv6:2001:1640:5::8:30]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PWpmy3fy5z46SN; Wed, 8 Mar 2023 10:42:58 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Authentication-Results: mx1.freebsd.org; none Received: from hub1.goneo.de (hub1.goneo.de [85.220.129.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by smtp5.goneo.de (Postfix) with ESMTPS id 390ED10A1E97; Wed, 8 Mar 2023 11:42:57 +0100 (CET) Received: from hub1.goneo.de (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by hub1.goneo.de (Postfix) with ESMTPS id 9B92310A1E98; Wed, 8 Mar 2023 11:42:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walstatt-de.de; s=DKIM001; t=1678272175; 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=liJl7L1HSod8z2Nip9TRhT8v5gaQaPLlWrHnVXgTa78=; b=bNq4/pOtwbpqtUurfElt1CLNvxbNR3VANG2PMMxDDu0IxCsiBttJrKwoIVoj56dSxyrHA4 iYqbfybK96KcELyOIGyCB0+E0E4fI26TopB6GiHxgfjGOcUTmmygGvRvxYv/YSzD7PxqJp 3QgIT/kCRsVkUOXrXW09sDgvnWInn7sKzGFOdIsJWRiW4R9rBHQlADBwrkliiNLVn5vMaq ouOIM6Rc5XR4v9BJv3o6lf01S1CbWKuOOxIcuiVTc8OYnuu1iPPSMfBCqfh4EWf/ObGTXL TK7UBAMlaPiRpTqoOuK80Mz+sFp8D1BkeiI4Vlhv0q4AU9/XRiXFKPkJ+WJLEQ== Received: from thor.intern.walstatt.dynvpn.de (dynamic-089-012-081-131.89.12.pool.telefonica.de [89.12.81.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by hub1.goneo.de (Postfix) with ESMTPSA id 69B2710A1E96; Wed, 8 Mar 2023 11:42:55 +0100 (CET) Date: Wed, 8 Mar 2023 11:42:22 +0100 From: FreeBSD User To: Dimitry Andric Cc: FreeBSD CURRENT Subject: Re: NanoBSD: CURRENT unable to compile 13-STABLE : error: a function definition without a prototype is deprecated ... in C Message-ID: <20230308114249.7cc1f363@thor.intern.walstatt.dynvpn.de> In-Reply-To: References: <20230227192011.08f7aa8e@thor.intern.walstatt.dynvpn.de> <720721A7-B1ED-405B-98EB-04A3AFCA7FD5@gromit.dlib.vt.edu> <1F3F20A1-C2BC-4A33-ABFD-D20F4ADB67E8@FreeBSD.org> <20230302064153.12940fa8@thor.intern.walstatt.dynvpn.de> <6321CA49-A38A-4FC6-A41E-E9964C2A94E3@FreeBSD.org> <20230308111931.27d9e524@thor.intern.walstatt.dynvpn.de> Organization: walstatt-de.de 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 Content-Type: multipart/signed; boundary="Sig_/YR=M6/ZEE4Pqet7fJubf2eA"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Rspamd-UID: dd0f94 X-Rspamd-UID: bc6e10 X-Rspamd-Queue-Id: 4PWpmy3fy5z46SN X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:25394, ipnet:2001:1640::/32, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --Sig_/YR=M6/ZEE4Pqet7fJubf2eA Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Am Wed, 8 Mar 2023 11:28:11 +0100 Dimitry Andric schrieb: > On 8 Mar 2023, at 11:19, FreeBSD User wrote: > ... > > But I don't understand why the make environment is trying to compile a = piece of code that > > is disabled via "nodevice" as shown in my initial report herein: > >=20 > > [...] > > src/sys/dev/an/if_an_pci.c:143:1: error: a function definition without = a prototype is > > deprecated in all versions of C and is not supported in C2x > > [-Werror,-Wdeprecated-non-prototype] > > [...] =20 >=20 > The "nodevice" is for your custom kernel configuration, but as far as I > can see an(4) is still built as a module, see sys/modules/Makefile: >=20 > ... > .if ${MACHINE_CPUARCH} =3D=3D "i386" || ${MACHINE_CPUARCH} =3D=3D "amd64" > _agp=3D agp > _an=3D an >=20 > -Dimitry >=20 Oh, I'm sorry, my fault in logic! Is there a "knob" to explicitely disable that specific module from being bu= ilt from a point of view of a user like me (not touching the base build system)? --=20 O. Hartmann --Sig_/YR=M6/ZEE4Pqet7fJubf2eA Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRQheDybVktG5eW/1Kxzvs8OqokrwUCZAhmqQAKCRCxzvs8Oqok r/vqAP9c1ZArFARNzo4kOaXuEgVvXx2eICevZCDD1ZyFE9NYFQD6AiXERFovtPPs LXS7NkqUJ9QD9EtTQqi4MNRP60Q5awo= =38UB -----END PGP SIGNATURE----- --Sig_/YR=M6/ZEE4Pqet7fJubf2eA-- From nobody Wed Mar 8 11:13:49 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 4PWqSp5JZ7z3wGGs for ; Wed, 8 Mar 2023 11:14:02 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (mail-n.franken.de [193.175.24.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PWqSn5zsFz49vh; Wed, 8 Mar 2023 11:14:01 +0000 (UTC) (envelope-from tuexen@freebsd.org) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (unknown [IPv6:2a02:8109:1140:c3d:55fc:e7a5:173f:ecd7]) (Authenticated sender: micmac) by mail-n.franken.de (Postfix) with ESMTPSA id 4A87D70204CEE; Wed, 8 Mar 2023 12:13:52 +0100 (CET) Content-Type: text/plain; charset=us-ascii 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 (Mac OS X Mail 16.0 \(3731.400.51.1.1\)) Subject: Re: NanoBSD: CURRENT unable to compile 13-STABLE : error: a function definition without a prototype is deprecated ... in C From: tuexen@freebsd.org In-Reply-To: <20230308114249.7cc1f363@thor.intern.walstatt.dynvpn.de> Date: Wed, 8 Mar 2023 12:13:49 +0100 Cc: Dimitry Andric , FreeBSD CURRENT Content-Transfer-Encoding: quoted-printable Message-Id: <578986DC-7F6B-4530-BA90-64B3C8CF59DA@freebsd.org> References: <20230227192011.08f7aa8e@thor.intern.walstatt.dynvpn.de> <720721A7-B1ED-405B-98EB-04A3AFCA7FD5@gromit.dlib.vt.edu> <1F3F20A1-C2BC-4A33-ABFD-D20F4ADB67E8@FreeBSD.org> <20230302064153.12940fa8@thor.intern.walstatt.dynvpn.de> <6321CA49-A38A-4FC6-A41E-E9964C2A94E3@FreeBSD.org> <20230308111931.27d9e524@thor.intern.walstatt.dynvpn.de> <20230308114249.7cc1f363@thor.intern.walstatt.dynvpn.de> To: FreeBSD User X-Mailer: Apple Mail (2.3731.400.51.1.1) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-Rspamd-Queue-Id: 4PWqSn5zsFz49vh X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:680, ipnet:193.174.0.0/15, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N > On 8. Mar 2023, at 11:42, FreeBSD User wrote: >=20 > Am Wed, 8 Mar 2023 11:28:11 +0100 > Dimitry Andric schrieb: >=20 >> On 8 Mar 2023, at 11:19, FreeBSD User wrote: >> ... >>> But I don't understand why the make environment is trying to compile = a piece of code that >>> is disabled via "nodevice" as shown in my initial report herein: >>>=20 >>> [...] >>> src/sys/dev/an/if_an_pci.c:143:1: error: a function definition = without a prototype is >>> deprecated in all versions of C and is not supported in C2x >>> [-Werror,-Wdeprecated-non-prototype] >>> [...] =20 >>=20 >> The "nodevice" is for your custom kernel configuration, but as far as = I >> can see an(4) is still built as a module, see sys/modules/Makefile: >>=20 >> ... >> .if ${MACHINE_CPUARCH} =3D=3D "i386" || ${MACHINE_CPUARCH} =3D=3D = "amd64" >> _agp=3D agp >> _an=3D an >>=20 >> -Dimitry >>=20 >=20 > Oh, I'm sorry, > my fault in logic! >=20 > Is there a "knob" to explicitely disable that specific module from = being built from a point of > view of a user like me (not touching the base build system)? Use WITHOUT_MODULES=3Dan in /etc/make.conf Best regards Michael >=20 > --=20 > O. Hartmann From nobody Wed Mar 8 14:26:52 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 4PWvlZ3CPsz3wS9k for ; Wed, 8 Mar 2023 14:27:06 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (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 4PWvlX6DXSz3HLR; Wed, 8 Mar 2023 14:27:04 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of carpeddiem@gmail.com designates 209.85.167.51 as permitted sender) smtp.mailfrom=carpeddiem@gmail.com; dmarc=none Received: by mail-lf1-f51.google.com with SMTP id k14so21567376lfj.7; Wed, 08 Mar 2023 06:27:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678285622; 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=Pgd6Ka7lar5cymgHELGuYO157qU7NtptxBTqLLhabfQ=; b=MCHT97f+k3W6jJT57zoD7TMuAFFzA9nxy4L5N288wZ2wPt2JEhhaGWH9EWddHV2MRa L4nKOzzE3y0uUl9cJGtIYdmb7jZH/70kIriul5YG2HBDHw59cWDL8qcRi3mC5Z3KyQtQ XSAgu04Qvxg/oi00nR9y9F/VANh9H8NjSpT4sQL1ekICI++Ua4KBEW0u7WdoM7brXcgu /nI1mYirg6i0jn+EnnXocqd6EA1ha3CSaytBLblynsV2giS6XwzHLym6F2yTYeAXPfr1 uvd0IAcprvv+Le3doV7juWO1JLFrjj1aZFnUK4faK/lCODpTg/nloCePSYiz5ee77ICq A9SQ== X-Gm-Message-State: AO0yUKWJkQhHtyxT4t6D7BgXGJK62Pz0MDdcRdtxRe6nyIajUGJzZlLc w3i9tTHr4EMWjs4F63RNU8+aR0NNp0yaebKISL7oTRpj X-Google-Smtp-Source: AK7set+oHZYw6SXyjDTRsV7FFdjSItpY4GUBcFUKHs1fi5BPM8YFjIN3QzzQDQkr2lqJQ9/tu0jtCxW89JFjR9eOrr0= X-Received: by 2002:a19:f00f:0:b0:4dd:ab9a:24a4 with SMTP id p15-20020a19f00f000000b004ddab9a24a4mr5577075lfc.5.1678285621970; Wed, 08 Mar 2023 06:27:01 -0800 (PST) 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: <20230227192011.08f7aa8e@thor.intern.walstatt.dynvpn.de> <720721A7-B1ED-405B-98EB-04A3AFCA7FD5@gromit.dlib.vt.edu> <1F3F20A1-C2BC-4A33-ABFD-D20F4ADB67E8@FreeBSD.org> <20230302064153.12940fa8@thor.intern.walstatt.dynvpn.de> <6321CA49-A38A-4FC6-A41E-E9964C2A94E3@FreeBSD.org> In-Reply-To: <6321CA49-A38A-4FC6-A41E-E9964C2A94E3@FreeBSD.org> From: Ed Maste Date: Wed, 8 Mar 2023 09:26:52 -0500 Message-ID: Subject: Re: NanoBSD: CURRENT unable to compile 13-STABLE : error: a function definition without a prototype is deprecated ... in C To: Dimitry Andric Cc: FreeBSD CURRENT Content-Type: text/plain; charset="UTF-8" X-Spamd-Result: default: False [-2.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.99)[-0.989]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_NONE(0.00)[209.85.167.51:from]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.167.51:from]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_ALL(0.00)[]; DMARC_NA(0.00)[freebsd.org]; FREEFALL_USER(0.00)[carpeddiem]; ARC_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; FROM_HAS_DN(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4PWvlX6DXSz3HLR X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N On Thu, 2 Mar 2023 at 05:14, Dimitry Andric wrote: > > WITHOUT_SYSTEM_COMPILER > Do not opportunistically skip building a cross-compiler during > the bootstrap phase of the build. Normally, if the currently ... > I find the double negative phrasing "do not skip" always confusing. But > the logic is normally: Yes, it's confusing -- perhaps we could rewrite it as something like "Build a cross-compiler during the build bootstrap phase, rather than opportunistically using the host's compiler." From nobody Wed Mar 8 16:33:55 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 4PWyZ40wCxz3wbHC for ; Wed, 8 Mar 2023 16:34:04 +0000 (UTC) (envelope-from zlei@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 4PWyZ404BBz3lfY; Wed, 8 Mar 2023 16:34:04 +0000 (UTC) (envelope-from zlei@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678293244; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=//CoeTWGxyabehu2dLPzO6DbhydQWURD7g0SsemsJ6Q=; b=B4KyZmRH0vaSkKcETVrUj8drrORwDZAy1Ip6ttgFKuuZs9Egaag+A3mxJk4gCSvwjNdDuU FcPvx7qnig7gGEfCXFn4ke5cLI2yx8KScQvg1FHrmzgZlV3neUbby4wtfVVOvI6lOw1PV2 l8RWuXDj34ReTJdPL23ea/TOkwNTjYFFGuiZlSeeOllrxJdigz/njHvTAEc1yoVLdC3kkb 3omYWdEcgbhw9Y54QY99dYoyf3AhgxpFRWvv+E8haoWvldn3vQrueri3sOgPoWikdFZuJd DKxNR/sNW5KtRRaOQhbxD4WswhQ/if1pY6k0mA6uEOX/NBzZeHZIpapo2D7QLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678293244; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=//CoeTWGxyabehu2dLPzO6DbhydQWURD7g0SsemsJ6Q=; b=ZP0KvosaRUjc5DQmh48woZBZ4rH16NbCZ9YyGOItgdZhe0ej0TNBTjeDM7KRyjBW7l0ccC LkPDDnx+4oVPBjc8ru5fovzVAgZ3jQrKrhm8fZ90wQxWE5DVWrMAw9QWOaIlNe2RujtlCM NYD0KVzB7UgkrwGpoNro5gN9YnIsDDVHs6+exyW2b6NA1q1+vswyw4KLorPuu3ySv20OnA aSPqfK/5YKMxZPfj8nqGFnr9sl25dc2jgNkwUgHf4gvYZAl2M0FDIAT22Jvm+upF7kowfY eFTUlQ3olRquVZkPHPdwB7UtSLCRivm/JAuFBm0FWs2rK1dlleS96EqwJkhllw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678293244; a=rsa-sha256; cv=none; b=xTkpHvWSqU92+CI1dpGel6laaVUsCtf4me5WjcTn/CMoBvNVFhf1g+FIsw52f2tx3KfjPH b3D5SQ5It64lfxT8B8A0u2pPiQTWwkYKNAMGA4viJB0YS5m8rqnEfsRL9Pgnz8JQ0UQ+Ga 1BgfivKjhUSfewFigQ2XMZYgQKt3WYrZ9yXjvxt0X1IAS85gwTyYHKnLjlEzMC+napKmVC ZpgJoYI5pnqKuNRDdPqCGeXE2tsytVjqVtwpTR7EY+7nuy+1AeM3FdWamKLYpl/QBHZ158 5V+2bLmPpqw/r3+D15qd5hDAto+QussnHdntRUw2cFz4vL1L+u51ltvETmeXvg== Received: from smtpclient.apple (ns1.oxydns.net [45.32.91.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: zlei/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4PWyZ24dhMz15nR; Wed, 8 Mar 2023 16:34:02 +0000 (UTC) (envelope-from zlei@FreeBSD.org) Content-Type: text/plain; charset=us-ascii 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 (Mac OS X Mail 16.0 \(3696.120.41.1.2\)) Subject: Re: NanoBSD: CURRENT unable to compile 13-STABLE : error: a function definition without a prototype is deprecated ... in C From: Zhenlei Huang In-Reply-To: Date: Thu, 9 Mar 2023 00:33:55 +0800 Cc: Dimitry Andric , FreeBSD CURRENT Content-Transfer-Encoding: 7bit Message-Id: <69678F09-3242-43CC-B19E-301369186191@FreeBSD.org> References: <20230227192011.08f7aa8e@thor.intern.walstatt.dynvpn.de> <720721A7-B1ED-405B-98EB-04A3AFCA7FD5@gromit.dlib.vt.edu> <1F3F20A1-C2BC-4A33-ABFD-D20F4ADB67E8@FreeBSD.org> <20230302064153.12940fa8@thor.intern.walstatt.dynvpn.de> <6321CA49-A38A-4FC6-A41E-E9964C2A94E3@FreeBSD.org> To: Ed Maste X-Mailer: Apple Mail (2.3696.120.41.1.2) X-ThisMailContainsUnwantedMimeParts: N > On Mar 8, 2023, at 10:26 PM, Ed Maste wrote: > > On Thu, 2 Mar 2023 at 05:14, Dimitry Andric wrote: >> >> WITHOUT_SYSTEM_COMPILER >> Do not opportunistically skip building a cross-compiler during >> the bootstrap phase of the build. Normally, if the currently > ... >> I find the double negative phrasing "do not skip" always confusing. But >> the logic is normally: > > Yes, it's confusing -- perhaps we could rewrite it as something like > "Build a cross-compiler during the build bootstrap phase, rather than > opportunistically using the host's compiler." > +1 for that. From nobody Thu Mar 9 08:42:44 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 4PXN4T6RpGz3wP0Z for ; Thu, 9 Mar 2023 08:43:21 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from smtp052.goneo.de (smtp052.goneo.de [85.220.129.60]) (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 4PXN4T44srz4PMv; Thu, 9 Mar 2023 08:43:21 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Authentication-Results: mx1.freebsd.org; none Received: from hub1.goneo.de (hub1.goneo.de [85.220.129.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by smtp5.goneo.de (Postfix) with ESMTPS id 830A310A32D8; Thu, 9 Mar 2023 09:43:14 +0100 (CET) Received: from hub1.goneo.de (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by hub1.goneo.de (Postfix) with ESMTPS id DAFF910A1EA7; Thu, 9 Mar 2023 09:43:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walstatt-de.de; s=DKIM001; t=1678351392; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2HX1XjKJhTyUPVcFGcJ0Bfo60xpZ4R25eZBJxzGMbAI=; b=eFPJRfSF6hTf5c9IArlHJHWW9bYUaHokntkS8ivC9PZpAbB7EtnjB+kh9grsie0pdYb7jZ A2THHAhn22zAvL2BxdqH/yo9ABkTAObbIPtEL1z1B8itpwmsFaTaJnernEje3MyugijSFL b6T838G6hyF+8DWZCmG7sm0Hfp/nUUe+oO8kiRXcMKBup/s4dtEhj4rI+b5/rHN0dsXYbQ cFeELY3eogeuihqbzLHP6zYwB6N5xEs9PjhUdZZmAOG6Qte+b7lkr99XxhaioWcHzbCxsg JnBqS49uO57WZ8vmx6QOL53tm/hbDpRlO8d0BI959yoJpMhI+4tkWX398SAJbQ== Received: from thor.intern.walstatt.dynvpn.de (dynamic-078-055-032-163.78.55.pool.telefonica.de [78.55.32.163]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by hub1.goneo.de (Postfix) with ESMTPSA id 91D4610A1EB8; Thu, 9 Mar 2023 09:43:12 +0100 (CET) Date: Thu, 9 Mar 2023 09:42:44 +0100 From: FreeBSD User To: tuexen@freebsd.org Cc: Dimitry Andric , FreeBSD CURRENT Subject: Re: NanoBSD: CURRENT unable to compile 13-STABLE : error: a function definition without a prototype is deprecated ... in C Message-ID: <20230309094311.3dffc8e0@thor.intern.walstatt.dynvpn.de> In-Reply-To: <578986DC-7F6B-4530-BA90-64B3C8CF59DA@freebsd.org> References: <20230227192011.08f7aa8e@thor.intern.walstatt.dynvpn.de> <720721A7-B1ED-405B-98EB-04A3AFCA7FD5@gromit.dlib.vt.edu> <1F3F20A1-C2BC-4A33-ABFD-D20F4ADB67E8@FreeBSD.org> <20230302064153.12940fa8@thor.intern.walstatt.dynvpn.de> <6321CA49-A38A-4FC6-A41E-E9964C2A94E3@FreeBSD.org> <20230308111931.27d9e524@thor.intern.walstatt.dynvpn.de> <20230308114249.7cc1f363@thor.intern.walstatt.dynvpn.de> <578986DC-7F6B-4530-BA90-64B3C8CF59DA@freebsd.org> Organization: walstatt-de.de 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-UID: b2e903 X-Rspamd-UID: 554a0b X-Rspamd-Queue-Id: 4PXN4T44srz4PMv X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:25394, ipnet:85.220.128.0/17, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N Am Wed, 8 Mar 2023 12:13:49 +0100 tuexen@freebsd.org schrieb: > > On 8. Mar 2023, at 11:42, FreeBSD User wrote: > > > > Am Wed, 8 Mar 2023 11:28:11 +0100 > > Dimitry Andric schrieb: > > > >> On 8 Mar 2023, at 11:19, FreeBSD User wrote: > >> ... > >>> But I don't understand why the make environment is trying to compile a piece of code that > >>> is disabled via "nodevice" as shown in my initial report herein: > >>> > >>> [...] > >>> src/sys/dev/an/if_an_pci.c:143:1: error: a function definition without a prototype is > >>> deprecated in all versions of C and is not supported in C2x > >>> [-Werror,-Wdeprecated-non-prototype] > >>> [...] > >> > >> The "nodevice" is for your custom kernel configuration, but as far as I > >> can see an(4) is still built as a module, see sys/modules/Makefile: > >> > >> ... > >> .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" > >> _agp= agp > >> _an= an > >> > >> -Dimitry > >> > > > > Oh, I'm sorry, > > my fault in logic! > > > > Is there a "knob" to explicitely disable that specific module from being built from a > > point of view of a user like me (not touching the base build system)? > Use > WITHOUT_MODULES=an > in > /etc/make.conf > > Best regards > Michael > > > > -- > > O. Hartmann > > With setting WITHOUT_SYSTEM_COMPILER=YES WITHOUT_SYSTEM_LINKER=YES in CONF_BUILD and CONF_WORLD and WITHOUT_CROSS_COMPILER=YES commented out (not building/not cross compile?) and a fresh and clean start of the build, I run into [...] ld: error: args.o: Opaque pointers are only supported in -opaque-pointers mode (Producer: 'LLVM15.0.7' Reader: 'LLVM 14.0.5') cc: error: linker command failed with exit code 1 (use -v to see invocation) *** [gh-bc] Error code 1 [...] That seems to be the issue mostly discussed herein regarding LLVM14 and LLVM15. Having set WITHOUT_CROSS_COMPILER=YES WITHOUT_SYSTEM_COMPILER=YES WITHOUT_SYSTEM_LINKER=YES WITHOUT_MODULES=an in both CONF_BUILD and CONF_WORLD (I do so because I do not know which one is really affecting the build), I receive the reported compiling error problem in if_an.c. Setting WITHOUT_MODULES=an in both CONF_BUILD and CONF_WORLD (nanoBSD!) doesn't seem to have any effect. Regardfs, oh -- O. Hartmann