From nobody Tue Jun 22 09:40:00 2021 X-Original-To: freebsd-stable@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 953D15D1F69 for ; Tue, 22 Jun 2021 09:40:09 +0000 (UTC) (envelope-from ardovm@yahoo.it) Received: from sonic302-20.consmr.mail.ir2.yahoo.com (sonic302-20.consmr.mail.ir2.yahoo.com [87.248.110.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4G8LwS3ZQyz3qKv for ; Tue, 22 Jun 2021 09:40:08 +0000 (UTC) (envelope-from ardovm@yahoo.it) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.it; s=s2048; t=1624354805; bh=8kf/xRnNpRuUoRUm/aOBNjq+hM8xqyuDRErdzBLjl40=; h=Date:From:To:Subject:References:In-Reply-To:From:Subject:Reply-To; b=RxgVjsdLlgGz2P75hGo8a+nGj26kGWg/xZqSey1RKrALgzbEZqO7l0L0jmt454L7EMGWKIcCc9iV2VU5sPFngTPN8iOF0caawp1HaoLggbCv3kAH+bLoXwOL+SaAi+2lxf+AaCS/Pw73MZcjcaSrNJeT+LBULeiVGEsPKNzo8nnc6V72365LrctLN/YeAMC+AoXUNrXPrbdgMsuLLsL/nieEDHIJsfJsHEEVi5OtoJ/YuF3NvF3shGslYpAWMojFk2fTtX2QSIzl4SYmVrXTByDqFR32afWiPUZnZk6uwsSRsbgsyj7SXFhdG3PhA2H03AcvNuJD0e7ITSbYmaOjpQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1624354805; bh=NMQjZFJnFW0cIyoSXsSz/vIYX+/KPaJcIZoCO21AsEA=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=H8lwwfjHKwV6SbM7L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3swqdgn363JrHDJ4MRr6ijka6dKiiOb0s6lzofKgLSO53UFxeq4YD.vZKPMeFf_ maLVSJ.rFM_gkA1Au0noZHjl3v3ZxbiqeKWQ.thbh.f86R5UriEjqhRYsXGua1wmGR2q6ixRAzLp e97M..idLOp0FMeF8Ssy_ly77upki9ORn09kEFiVb8q7uaPIprhtrxoRJE2I2jA8zvos9cXEfnI7 C0D8QL9Wdxn.JK8jI6RNl5LF6qVHa6GLL6ScNOS6.qeoPTVdhYgFhbQrm3eDr8BTZhN_fJSw6QWH dYnmW3qgGsOpebU02Lgh96x8xOVH4bJjxJi6y6YnsExi555X2tMvyDMupKzqZW1T2h63zJA_ZJaD B2VASHSqrGoRnJ2NM_xsR94s44erxJX0NKEHW_69Lp_98cUXLCWgMJXpSFEzyPafHx7wOlWAEzaX R8v1rTM1.lUepcAMwdz9Yw5eMR5r8LVHlDvjMXc5Em05dxBGEvT6zaboDl5i4nPV0Pd2rufyexsH sg9wy02DtiADU2ESBpoMX4Imj.actJOAWaypW0.zfsKpPKB9ex44eplRrfq6F._aBgIM5WJRZfQo OQBsdWzWF9lkurCHgcfDdZdQvjYBDNjsxpiH94aBTU.AagT13vRQhPGkVkKtDEezUHjieYg-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ir2.yahoo.com with HTTP; Tue, 22 Jun 2021 09:40:05 +0000 Received: by kubenode540.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 8db0f22c41c4752f1ef1c00184f7516c; Tue, 22 Jun 2021 09:40:02 +0000 (UTC) Received: by nuvolo.localdomain (Postfix, from userid 1001) id 398151284D2; Tue, 22 Jun 2021 11:40:00 +0200 (CEST) Date: Tue, 22 Jun 2021 11:40:00 +0200 To: freebsd-stable@freebsd.org Subject: Re: [stable/11] error during buildworld on lib/libcasper/libcasper/libcasper_impl.c Message-ID: References: List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Mailer: WebService/1.1.18469 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-Rspamd-Queue-Id: 4G8LwS3ZQyz3qKv X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.it header.s=s2048 header.b=RxgVjsdL; dmarc=pass (policy=reject) header.from=yahoo.it; spf=pass (mx1.freebsd.org: domain of ardovm@yahoo.it designates 87.248.110.83 as permitted sender) smtp.mailfrom=ardovm@yahoo.it X-Spamd-Result: default: False [-3.50 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.it]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[yahoo.it:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.it,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.it]; ASN(0.00)[asn:34010, ipnet:87.248.110.0/24, country:GB]; RBL_DBL_DONT_QUERY_IPS(0.00)[87.248.110.83:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[yahoo.it:s=s2048]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[87.248.110.83:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[87.248.110.83:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[87.248.110.83:from]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-stable] Reply-To: ardovm@yahoo.it From: Arrigo Marchiori via freebsd-stable X-Original-From: Arrigo Marchiori X-ThisMailContainsUnwantedMimeParts: N Hello Mariusz, On Fri, Jun 18, 2021 at 11:42:10AM +0200, Mariusz Zaborski wrote: > Oh I was pretty sure I have add it. > But it turns out I din't stage it in git. > Should be fixed now. Yes, it works now. Thank you and best regards. > On Fri, 18 Jun 2021 at 11:18, Arrigo Marchiori via freebsd-stable < > freebsd-stable@freebsd.org> wrote: > > > Dear All, > > > > I am trying to build world on the stable/11 branch and it fails with > > the errors reported below. > > > > Apparently, file /usr/src/lib/libcasper/libcasper/libcasper_impl.c is > > not including > > > > # uname -a > > FreeBSD myhost 11.4-STABLE FreeBSD 11.4-STABLE #1 r369279: Tue Feb 16 > > 10:16:53 CET 2021 root@myhost:/usr/obj/usr/src/sys/GENERIC amd64 > > > > The error is present on both ``heads'' of the SVN and GIT repositories. > > > > Error log: > > > > ----8<--------8<--------8<--------8<--------8<--------8<--------8<--------- > > > > --- lib/libcasper__L --- > > /usr/src/lib/libcasper/libcasper/libcasper_impl.c:53:13: error: use of > > undeclared identifier 'STDERR_FILENO' > > if (*fdp > STDERR_FILENO) > > > > /usr/src/lib/libcasper/libcasper/libcasper_impl.c:60:17: error: use of > > undeclared identifier 'STDERR_FILENO' > > > > while (*fdp <= STDERR_FILENO) { > > ^ > > > > /usr/src/lib/libcasper/libcasper/libcasper_impl.c:61:9: error: implicit > > declaration of function 'dup' is invalid in C99 > > [-Werror,-Wimplicit-function-declaration] > > > > nfd = dup(*fdp); > > > > > > /usr/src/lib/libcasper/libcasper/libcasper_impl.c:64:7: error: implicit > > declaration of function 'dup2' is invalid in C99 > > [-Werror,-Wimplicit-function-declaration] > > if (dup2(nullfd, *fdp) == -1) > > ^ > > /usr/src/lib/libcasper/libcasper/libcasper_impl.c:64:7: note: did you mean > > 'dup'? > > /usr/src/lib/libcasper/libcasper/libcasper_impl.c:61:9: note: 'dup' > > declared here > > nfd = dup(*fdp); > > ^ > > /usr/src/lib/libcasper/libcasper/libcasper_impl.c:69:2: error: implicit > > declaration of function 'close' is invalid in C99 > > [-Werror,-Wimplicit-function-declaration] > > close(nullfd); > > > > ----8<--------8<--------8<--------8<--------8<--------8<--------8<--------- > > > > Should anyone need any more information, just let me know. > > > > Best regards, > > -- > > Arrigo > > > > > -- Arrigo