From nobody Fri Jun 18 09:18:30 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 E7DB711E53E3 for ; Fri, 18 Jun 2021 09:18:40 +0000 (UTC) (envelope-from ardovm@yahoo.it) Received: from sonic306-19.consmr.mail.ir2.yahoo.com (sonic306-19.consmr.mail.ir2.yahoo.com [77.238.176.205]) (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 4G5tdW4vTxz3Ksv for ; Fri, 18 Jun 2021 09:18:38 +0000 (UTC) (envelope-from ardovm@yahoo.it) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.it; s=s2048; t=1624007916; bh=BhNYH+QVeyDQ7rLXWYGrdW0HLx2jCrWnSQsx3YzY0QU=; h=Date:From:To:Subject:References:From:Subject:Reply-To; b=teAcHkE1g8fpwIroLfxhJzCwfAIAexrIz/aaLhZZJZh1Fs108087G398IZ73Wt0lxlMjU7KZ/2G9hDGQQupH5MimxGC1j5CD69cRESvWPYcJ/+ky+WS6Y4TzGGbtMrMcbH92ALcAb3jKDqwITT6+MyYDaUBsgvXK5GkLRSZxcdwbpAD3fOC6tgusb2RsWJQmIoqQPj3OLbaR73Qw2/LjZ1yuEElZFCtj5R1nIt3zGklET7ASh77NxFan8gwZwbURJf8dTBYqYVATdSZ26FJg45D1LnfrFeLA0zO+Lh9e1Zw1tzEiIfYIqDpsWXWzwDQbEyfsSCELYWwGfFkAv+Z+EQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1624007916; bh=KYbvltZB/T7ZYzNnFfD9v/XzUONTuUroXCOAyxgj+LQ=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=RctTCAisWqlOYnhgP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Kn7muu4OLuW6hta58GDpGu3Swn.vrQfmupLDo7pi72Z5Y st.2moP9ccLdCvqWcCxzFW8CzvXccTGVZLO1KGrDPnDPKzb6YdveHv2BPahRfuezjl1cvFth5lBy azMu0SnZ3xp3PrpGybMo15W0zP3xSpvNS41HM2RuMrQwd8jNj5U1AdOCum9vENZtZ1owfKFr98Qs CXStEeP1eqyC1J3H_o.gdUjyrr1Y_WppRUQDKVp1Z48qG1FRVszW2rq7rslDvoo6eFRLmK6p9UiL T_DvR38nH.k.Ga5DwDrcoQkA41BXPK5.T_ryfLxWy1TXEnX3QWnYTF1LShTA2ncTuus1DBLemKhX 8.SDooaBOl6aimMwRbcS_8Yj79BMT0vBfPru.HAN4Ph1CVIZrMS_Ftc9rBIkECeBXf4XkfJ0vscp zvbcJh0hIQk4l4yviQLpssf5eNFvEzw4E3uX94caBQWe9baQrnRIFOi8BY.rF4kUASVXf4hT4LMG 0Ne2.gGvhTXoJX6jTbi8NTukfwvCuAb7BihN8Mv.XRUdMdO9D2AVwp3BsnvUlXlmYmL6EL7bHWrr 95t7o2dOV5CMG3FSS0uHoGqXxxFrXKfS68rNaN5xaHzR_CMLqitI63jaZBEPuyopY X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ir2.yahoo.com with HTTP; Fri, 18 Jun 2021 09:18:36 +0000 Received: by kubenode548.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 78ddc46b2780ebcc12fddecc801341c6; Fri, 18 Jun 2021 09:18:33 +0000 (UTC) Received: by nuvolo.localdomain (Postfix, from userid 1001) id B5422200C4F; Fri, 18 Jun 2021 11:18:30 +0200 (CEST) Date: Fri, 18 Jun 2021 11:18:30 +0200 To: freebsd-stable@freebsd.org Subject: [stable/11] error during buildworld on lib/libcasper/libcasper/libcasper_impl.c Message-ID: 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 References: X-Mailer: WebService/1.1.18469 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-Rspamd-Queue-Id: 4G5tdW4vTxz3Ksv X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.it header.s=s2048 header.b=teAcHkE1; dmarc=pass (policy=reject) header.from=yahoo.it; spf=pass (mx1.freebsd.org: domain of ardovm@yahoo.it designates 77.238.176.205 as permitted sender) smtp.mailfrom=ardovm@yahoo.it X-Spamd-Result: default: False [-3.49 / 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(-0.99)[-0.995]; 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:77.238.176.0/22, country:GB]; RBL_DBL_DONT_QUERY_IPS(0.00)[77.238.176.205: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)[77.238.176.205:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[77.238.176.205:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[77.238.176.205: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 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