From nobody Mon Jun 21 06:40:03 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 6F8AC11D0935 for ; Mon, 21 Jun 2021 06:40:14 +0000 (UTC) (envelope-from ardovm@yahoo.it) Received: from sonic304-21.consmr.mail.ir2.yahoo.com (sonic304-21.consmr.mail.ir2.yahoo.com [77.238.179.146]) (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 4G7fzJ6qKlz4TKm for ; Mon, 21 Jun 2021 06:40:12 +0000 (UTC) (envelope-from ardovm@yahoo.it) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.it; s=s2048; t=1624257610; bh=Yazb87wvTT3vtx02Fx2paBn3x9qn2p7m36uLlwBG5VY=; h=Date:From:To:Subject:References:From:Subject:Reply-To; b=RZkEOn0PDVrxneFcz5lOQEwVx9f89PMO+ZBKYE2D1TLWs/v9+I2aWH7gZRRBGpqindZi7TQ/2viMkAHNAzsnG4k0B66tADu7xRiMFJ5hrm0Ra34bmjbNBYAbnQOPbRgH0lJscAZ9G2R1EaHjGni0mf64drEiGfVU9OrDAViP8QvfjaCdnCF8gs2a8jnVIOFB1O/d2U+HUX7pjRG8tzPPBugC6q5gqO6Z5Z6ycZRx2rwRvE0L94vjN+6OJtmrC474SYDeIyOtou+3AljFKcMxCn0jYfaQnRP3Uut+m1DH4Ut4T3voKjNpXWLI6BkKlaspJIJVw1Sy03qLifxarkpNNw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1624257610; bh=YxqwlkQXlt4Uh/c1B4JQP4QeI6Kpn1pQB0wj43Grfi9=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=CgikzyobAA1MBxX4CT0rovl4UahfpJjNcAOa8Zcq+Yn2yIUia0dxyy52EnwMtGC46wfqdC7u983a+KvEFLu9U86WjEt2ck8VfWZaNhdCnK8gstrS1Vh/1pVZZw51CRRSKaGffJx7l0urLLaTgJ2Slh4ejGiJBqqTO7cWih4VKwIejTF7HYXLxs9EAwsQVmVJy3pzZ4aS0UZKkdTSr4Vwm5YXwml5UYQhinKEMOt85NFr7FRLvikbBjZqlckPdiWfzsi6TTEUaHyZw+mb23AEM5I5MTS51V/80dIKV/qCzk7q+P7s66HeA3qGHDunNc1ZJqvVJAaWEL5y02eT+N8/og== X-YMail-OSG: Iq4iufUVM1lHGiTSKiZfserGWzfMw8eM0PhNCwvAMXd144swkc9qN_H3bpEJsX7 65oJgJ51hbcElmJ.rHaxWj06n3TuBtLIFe2TE8eLljIG3NQ1vuShlvQhkytPlE6G94u698FOev7s fU5hFIbYVgjOozHmsVhb_ubbx1VIqPaiIM8Gf2EefdvecX4zKFem90CIj17hwkK72SGJ6Xzk9275 9ED3W4ZB_yg5Gl7QKYF5_qgTz.ykkbRKe2cl6xLbhF4xup8FPbUbAIRm4B_EAJkTEUsvsxj6g3Of LRnSvXGRp06q5SPsG0UtCjuVF5MQRAipw1qgDAlNjPoXso5KnD588MsK2mjuJqkEL2xJuEEwX65c q.aXRbHZl5O9MOuLSzePiJUNTl0jW8uWElQU76ImJrS7CeoAmw7B5RAIY8EF_t.9S50Wjsyp23sG EiyanyHT_xyCClPwqPQUdKe6ostxomBBJy145rGyLwhDZnwUBIfShvRAipOo6yPlYetEHV0xFRa3 edBtKdqyN3MYJSMEYaq.1jCbu.cg2kIh25Litb_N8K_mRHjLWlyqag4WMXNhSgXGcyBi.ylflr1Z w9HOssOIK.TQ9oK4PLTZNhuCIC4XtbCqQNMORAt1o0P2Q6l.b.7OkzgwjGcl8_e4gXZtXE3ab8Pv XkSz0GG5VR9yT7zhpJJCAi6Z0rMfDG7u6tWEdmpMF071BvADwFz03aWOzkUsaCUhXxR1Yxifi884 8KEAm_ZLQJLM_syfvoCPgjXKyyD32dG7.oble9l42syLS5C3hHLkyfElkFSCyDdQRMjv8kgDlKcL uXxWdnEMvOY5i8ia21BYZQjPgP1Kvpo.S9_8URqqwWG1hEO_56CIAN8JVv89_LfnpYggDJWfZ3MY Y05R2TWlo16efAuSevrVZx6lgpwcJuHlBJRgBAycCAirjPHo5NUnJ5LMnXcFY0ap_D9MBlxYiiKk nmhxxw5z.qxGybioas9YE6Ef4X64DajwXbaaWoeK_05sFDU1Xt1palMp.BUsUicK6u2SQRqdOfvK QdlES_6RQd2skB1E8emaEwBYuoCa_twm9AHyZMYumcd016jS8nDkUVJty_JMB7e8Adv9VupYznRH G93W.yD2rxk__SagQ7cOjP.qHk0o9lPVHrm7zwUJ9jNgJDC_fQBQ8HzcLMYGoheX8pHjh7X23_pl g.x2_Xnu6Vju6A1EWezKelzpzP80xfLd7USk4.W22p_nPc7w6WhvTh7ETipnRpJJGRUCc5UiI_Cl ZJjnSfToJvz3AU727Qqd973kUHX2uOUyZKVa1AKDwEqlYD7TGcOBHDyGY2ujlGiu9_l2UvNhgHhc umlM2L.FDc8.g_BB7JmOqN6_K0EJKxNnLPn_zPheA4Ng892B5hin4ipjaKJ.XoTy0YgzflXwG7mG VYialUlxn2rUKZaIDP6uZRaRnDAitTU6tuWWPUL6U82s4yXEZhC67utxkra.nwIVweC6QPQ3w_XY RHgExbo4lV1s4h1FNjdn8EHG_nBXJsbIVPMytg4xCCapfrIBC0hE63xVJp9mA3FHoPCSGQCQJ6Qr vTyUSwCvAI02DyZZUfkNF4oHGByisckhtd6vpqfrim0XvoAXNdClKiXZdeQomEQ5vgYdo7qHIffz GcvCjYWs_yMMoQOHaDD2OVc8GaJBG._QkbuEfamVcQVWNYRcvQmACMjrqWURS0nHdHdizrzBWPIr 0wh7_ah3dzV_qW_C1n9q.fqdqsCuJ2LTY6FwImuec8z56vGifSVCnpip2Zxzn3OpUxuaVBFtIF3j KKyQQaD4ARz.0n4nOo11eC8TTcmv7ZhaWSQDTvf6vvH_VfjZawhbwx0uGYiu3SPoxhQlYeJA1Fsb BLK.wJ9pcNH8jJ4iPi0dfR5PaYoTVr2C3jGt751teN69YQJbuEsVOc4X5lPO1SewJIOtycw.owZB 1wkWotaF2EoQ.TsN_Bic8vSpqAybfs2oijD8MCJ.jB4On93w8mjduphgKYOXhJmnkrsD60kCvYC7 WaLmaLt.rSlXv7la2LVQvbivehn42wNFOZaJ.XiKMEWvp6wPhIHpWnsrUDslTQ4jKUMG_1joR2iF 4nZOpeK5tbxeTvvVq4KyQ7YpE0W2iruDFORPANKpHqJ8YCC5NuoJ0e5PF5peOYWLgOpOJY_MsqTO G1q35FNl0.47ZJF2.Ic7zJZWdIWAExG08ak94Lz_ZQ2MkPEs2hnbhaunCEmKZoRH862NzRYOMghj X.SboJmjAQzjK3ouOb7ot6QTUpl6_Ss8NxtNXALQiWz0xSOgjwv50eFKQq3EB_baNJK80mT33NQs 2Q_iinEYa6jcQDIGI245dUANnfnu8y0mYgPi9Gt9l5brpaYmNKDI9zI5bVN9apsopKSk1UsSKLNO sp6Y5eLwxRsQ3tp.5D.Z4DHn9YOIVyNB7ihXw2Ro_cmdDC43vhoHllp3AXMvpGqlM_IyL X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ir2.yahoo.com with HTTP; Mon, 21 Jun 2021 06:40:10 +0000 Received: by kubenode541.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 24c4c2c4420d1154f7559f14f62b2750; Mon, 21 Jun 2021 06:40:06 +0000 (UTC) Received: by nuvolo.localdomain (Postfix, from userid 1001) id 9CB8A1284D2; Mon, 21 Jun 2021 08:40:03 +0200 (CEST) Date: Mon, 21 Jun 2021 08:40:03 +0200 To: freebsd-stable@freebsd.org Subject: [stable/11] error during installworld: missing directory /usr/tests/sys/netgraph/ 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: 4G7fzJ6qKlz4TKm X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.it header.s=s2048 header.b=RZkEOn0P; dmarc=pass (policy=reject) header.from=yahoo.it; spf=pass (mx1.freebsd.org: domain of ardovm@yahoo.it designates 77.238.179.146 as permitted sender) smtp.mailfrom=ardovm@yahoo.it X-Spamd-Result: default: False [-3.45 / 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.95)[-0.948]; 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.179.146: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.179.146:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[77.238.179.146:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[77.238.179.146: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 tried to `make installworld' from recent 11-STABLE sources and it stopped a "tests/sys/netgraph (install)" Apparently, directory /usr/tests/sys/netgraph/ was not created, but we are trying to install(1) a file in there anyway. The sources are from last Friday. I updated them now from git but there do no seem to be any relevant changes. The commands I issued where: # make buildworld # make kernel # make installworld <--- failed Error log: ----8<--------8<--------8<--------8<--------8<--------8<--------8<--------- ===> tests/sys/netgraph (install) install -o root -g wheel -m 444 Kyuafile /usr/tests/sys/netgraph/Kyuafile install: /usr/tests/sys/netgraph/Kyuafile: No such file or directory *** Error code 71 Stop. make[6]: stopped in /usr/src/tests/sys/netgraph *** Error code 1 ----8<--------8<--------8<--------8<--------8<--------8<--------8<--------- If anyone requires any more information, just let me know. Best regards, -- Arrigo From nobody Tue Jun 22 06:30:55 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 647EB11D078B for ; Tue, 22 Jun 2021 06:31:06 +0000 (UTC) (envelope-from yaroslav@shvets.name) Received: from gw1.artcapital.ua (mail.artcapital.ua [91.216.135.35]) (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 4G8GkK1T7Qz4t4m for ; Tue, 22 Jun 2021 06:31:04 +0000 (UTC) (envelope-from yaroslav@shvets.name) Received: from gw1.artcapital.ua (localhost [127.0.0.1]) by gw1.artcapital.ua (8.16.1/8.16.1) with ESMTP id 15M6Utbr030047 for ; Tue, 22 Jun 2021 09:30:55 +0300 (EEST) (envelope-from yaroslav@shvets.name) Received: from localhost (yar@localhost) by gw1.artcapital.ua (8.16.1/8.16.1/Submit) with ESMTP id 15M6Utw2030044 for ; Tue, 22 Jun 2021 09:30:55 +0300 (EEST) (envelope-from yaroslav@shvets.name) X-Authentication-Warning: gw1.artcapital.ua: yar owned process doing -bs Date: Tue, 22 Jun 2021 09:30:55 +0300 (EEST) From: Yaroslav Shvets To: freebsd-stable@freebsd.org Subject: [releng/13.0] error during installworld 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; format=flowed; charset=US-ASCII X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.2 (gw1.artcapital.ua [0.0.0.0]); Tue, 22 Jun 2021 09:30:55 +0300 (EEST) X-Rspamd-Queue-Id: 4G8GkK1T7Qz4t4m X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of yaroslav@shvets.name has no SPF policy when checking 91.216.135.35) smtp.mailfrom=yaroslav@shvets.name X-Spamd-Result: default: False [-1.22 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[91.216.135.35:from]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[91.216.135.35:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; NEURAL_HAM_SHORT(-0.12)[-0.125]; DMARC_NA(0.00)[shvets.name]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:61117, ipnet:91.216.135.0/24, country:UA]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-stable] X-ThisMailContainsUnwantedMimeParts: N Hello All. I have successfully updated os from the sources from releng/12.2 to releng/13.0. But when reinstalling the world from releng/13.0, I get the error during installworld: installworld.log: -- cut -- ===> stand/i386/mbr (install) install -o root -g wheel -m 444 mbr /boot/mbr ===> stand/i386/pmbr (install) install -o root -g wheel -m 444 pmbr /boot/pmbr ===> stand/i386/boot0 (install) install -o root -g wheel -m 444 boot0 /boot/boot0 ===> stand/i386/boot0sio (install) install -o root -g wheel -m 444 boot0 /boot/boot0sio ===> stand/i386/boot2 (install) btxld -v -E 0x2000 -f bin -b /usr/obj/usr/src/amd64.amd64/stand/i386/btx/btx/btx -l boot2.ldr -o boot2.ld -P 1 boot2.bin make[6]: exec(btxld) failed (No such file or directory) *** Error code 1 Stop. make[6]: stopped in /usr/src/stand/i386/boot2 *** Error code 1 Stop. make[5]: stopped in /usr/src/stand/i386 *** Error code 1 Stop. make[4]: stopped in /usr/src/stand *** Error code 1 Stop. make[3]: stopped in /usr/src *** Error code 1 Stop. make[2]: stopped in /usr/src *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src -- cut -- /etc/src.conf is absent /etc/make.conf: -- cut -- NO_GUI= true NO_X= true OPTIONS_UNSET= GUI OPTIONS_UNSET= X11 # with SASLv2: SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2 SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl2 -- cut -- What to do now? -- Yaroslav Shvets From nobody Tue Jun 22 08:04:01 2021 X-Original-To: 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 644B411D841C for ; Tue, 22 Jun 2021 08:04:13 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from plan-b.pwste.edu.pl (plan-b.pwste.edu.pl [IPv6:2001:678:618::40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "plan-b.pwste.edu.pl", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G8Jnm2LBhz3Ltc for ; Tue, 22 Jun 2021 08:04:11 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from fomalhaut.potoki.eu ([IPv6:2001:470:71:d47:6982:e43:d3b7:5860]) (authenticated bits=0) by plan-b.pwste.edu.pl (8.16.1/8.16.1) with ESMTPSA id 15M842Zi046507 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Tue, 22 Jun 2021 10:04:02 +0200 (CEST) (envelope-from zarychtam@plan-b.pwste.edu.pl) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=plan-b.pwste.edu.pl; s=plan-b-mailer; t=1624349042; bh=XoIYDmR86lRavwTqCFQwSSeXopiff/nPlE7aTe2gAAQ=; h=To:References:From:Subject:Date:In-Reply-To; b=GmeW3vvD8U6X1kOnUsldddgHr7PzNERQ31jCpXe5l35X2Bu4ZGyWgRv50K1BH8fAx AbRwnZCEnkNPTLUoosJjgRJTkhstIBKF61MtVjXRGVN9zcAFh9f8OKyulwkRj6cXL5 4mVQghUXPffDFK1ZydIst8CCvALIWfN3XwXPXbGPAxRMIxAuwsjfJYZ7btYbECyubV SGfOYhc5EVzYmoVjxTZ3huSLaPPNaUe6Tgx6MEbs8vGffNprgBlmSQPyJzz7jIT2Hq F9yamTzPkW9Kl9/KsdwmcS9Biz2OL9eX7Ez9z3rT5uC8FWkqc9ZqbXm2XY0vArCzXM OxVyOFLbJsaig== X-Authentication-Warning: plan-b.pwste.edu.pl: Host [IPv6:2001:470:71:d47:6982:e43:d3b7:5860] claimed to be fomalhaut.potoki.eu To: stable@freebsd.org References: From: Marek Zarychta Subject: Re: [releng/13.0] error during installworld Message-ID: Date: Tue, 22 Jun 2021 10:04:01 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 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 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="eo5L6ashHe98bDojoC2GV30Jqxy3TJiJz" X-Rspamd-Queue-Id: 4G8Jnm2LBhz3Ltc X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=plan-b.pwste.edu.pl header.s=plan-b-mailer header.b=GmeW3vvD; dmarc=pass (policy=none) header.from=plan-b.pwste.edu.pl; spf=none (mx1.freebsd.org: domain of zarychtam@plan-b.pwste.edu.pl has no SPF policy when checking 2001:678:618::40) smtp.mailfrom=zarychtam@plan-b.pwste.edu.pl X-Spamd-Result: default: False [-5.97 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_ATTACHMENT(0.00)[]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[plan-b.pwste.edu.pl:+]; DMARC_POLICY_ALLOW(-0.50)[plan-b.pwste.edu.pl,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:678:618::40:from]; ASN(0.00)[asn:206006, ipnet:2001:678:618::/48, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[plan-b.pwste.edu.pl:s=plan-b-mailer]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_MED(-2.00)[pwste.edu.pl:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[stable@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2001:678:618::40:from:127.0.2.255]; NEURAL_SPAM_SHORT(0.93)[0.928]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[stable] X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --eo5L6ashHe98bDojoC2GV30Jqxy3TJiJz Content-Type: multipart/mixed; boundary="Rfvl6w5Oa8J95IJhcqicqJJA7y1yRseGT"; protected-headers="v1" From: Marek Zarychta To: stable@freebsd.org Message-ID: Subject: Re: [releng/13.0] error during installworld References: In-Reply-To: --Rfvl6w5Oa8J95IJhcqicqJJA7y1yRseGT Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable W dniu 22.06.2021 o=C2=A008:30, Yaroslav Shvets pisze: > Hello All. >=20 > I have successfully updated os from the sources from releng/12.2 to > releng/13.0. > But when reinstalling the world from releng/13.0, > I get the error during installworld: >=20 > installworld.log: > -- cut -- > =3D=3D=3D> stand/i386/mbr (install) > install=C2=A0=C2=A0 -o root -g wheel -m 444=C2=A0=C2=A0 mbr /boot/mbr > =3D=3D=3D> stand/i386/pmbr (install) > install=C2=A0=C2=A0 -o root -g wheel -m 444=C2=A0=C2=A0 pmbr /boot/pmbr= > =3D=3D=3D> stand/i386/boot0 (install) > install=C2=A0=C2=A0 -o root -g wheel -m 444=C2=A0=C2=A0 boot0 /boot/boo= t0 > =3D=3D=3D> stand/i386/boot0sio (install) > install=C2=A0=C2=A0 -o root -g wheel -m 444=C2=A0=C2=A0 boot0 /boot/boo= t0sio > =3D=3D=3D> stand/i386/boot2 (install) > btxld -v -E 0x2000 -f bin -b > /usr/obj/usr/src/amd64.amd64/stand/i386/btx/btx/btx -l boot2.ldr=C2=A0 = -o > boot2.ld -P 1 boot2.bin > make[6]: exec(btxld) failed (No such file or directory) > *** Error code 1 >=20 > Stop. > make[6]: stopped in /usr/src/stand/i386/boot2 > *** Error code 1 >=20 > Stop. > make[5]: stopped in /usr/src/stand/i386 > *** Error code 1 >=20 > Stop. > make[4]: stopped in /usr/src/stand > *** Error code 1 >=20 > Stop. > make[3]: stopped in /usr/src > *** Error code 1 >=20 > Stop. > make[2]: stopped in /usr/src > *** Error code 1 >=20 > Stop. > make[1]: stopped in /usr/src > *** Error code 1 >=20 > Stop. > make: stopped in /usr/src > -- cut -- >=20 > /etc/src.conf is absent >=20 > /etc/make.conf: > -- cut -- > NO_GUI=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 true > NO_X=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 tru= e > OPTIONS_UNSET=3D=C2=A0 GUI > OPTIONS_UNSET=3D=C2=A0 X11 >=20 > # with SASLv2: > SENDMAIL_CFLAGS=3D-I/usr/local/include -DSASL=3D2 > SENDMAIL_LDFLAGS=3D-L/usr/local/lib > SENDMAIL_LDADD=3D-lsasl2 > -- cut -- >=20 > What to do now? >=20 It became quite a common failure (race) lately for parallel builds with NO_CLEAN and nullfs mounted OBJ dir. In my case rebuilding world with only one job helps. You can also ignore this and install the world anyway= =2E --=20 Marek Zarychta --Rfvl6w5Oa8J95IJhcqicqJJA7y1yRseGT-- --eo5L6ashHe98bDojoC2GV30Jqxy3TJiJz Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEMOqvKm6wKvS1/ZeCdZ/s//1SjSwFAmDRmXEFAwAAAAAACgkQdZ/s//1SjSxb BwgArwWtfspJefva5nF73E29NH2O1B4pyOxm4+hlnA401LxpimphBynsOt72ZgaI/tUIbPc2Y0w0 AtnJtgdY9GmWqmcmWZWiTBOXSPFqFP1E83zcXTcFFYlhAxnpONyS1pC6GncbSs/eSurDwfc2fDeE u6w8Is2WtaLA1xoZH+KBkNEqw45dvqiQ9FrSQa28iz//QjV+cZwWdzmEYkhMQeG/UvPcffrTS63x roAV3zzsqIUeoSuGcArciB7FPFgatIAQ1XPjX4kbwfIptnJ6D+2nuq2KE1nzhoDL+xi0nYaQEYSf Jz818vV5D1vE8NnMz3mZopHAes9T9ByVvBDqPohJzQ== =lVux -----END PGP SIGNATURE----- --eo5L6ashHe98bDojoC2GV30Jqxy3TJiJz-- From nobody Tue Jun 22 08:51:16 2021 X-Original-To: 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 A9FCB11DC896 for ; Tue, 22 Jun 2021 08:51:19 +0000 (UTC) (envelope-from yaroslav@shvets.name) Received: from gw1.artcapital.ua (mail.artcapital.ua [91.216.135.35]) (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 4G8Kr72j0Nz3hZp for ; Tue, 22 Jun 2021 08:51:18 +0000 (UTC) (envelope-from yaroslav@shvets.name) Received: from gw1.artcapital.ua (localhost [127.0.0.1]) by gw1.artcapital.ua (8.16.1/8.16.1) with ESMTP id 15M8pGKG044154; Tue, 22 Jun 2021 11:51:16 +0300 (EEST) (envelope-from yaroslav@shvets.name) Received: from localhost (yar@localhost) by gw1.artcapital.ua (8.16.1/8.16.1/Submit) with ESMTP id 15M8pGNw044151; Tue, 22 Jun 2021 11:51:16 +0300 (EEST) (envelope-from yaroslav@shvets.name) X-Authentication-Warning: gw1.artcapital.ua: yar owned process doing -bs Date: Tue, 22 Jun 2021 11:51:16 +0300 (EEST) From: Yaroslav Shvets To: Marek Zarychta cc: stable@freebsd.org Subject: Re: [releng/13.0] error during installworld In-Reply-To: Message-ID: <3877o092-527-554s-3n1n-58r27r7p6522@negpncvgny.hn> 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; format=flowed; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.2 (gw1.artcapital.ua [0.0.0.0]); Tue, 22 Jun 2021 11:51:16 +0300 (EEST) X-Rspamd-Queue-Id: 4G8Kr72j0Nz3hZp X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N Hello Marek. On Tue, 22 Jun 2021, 11:04, you wrote: > W dniu 22.06.2021 o 08:30, Yaroslav Shvets pisze: >> Hello All. >> >> I have successfully updated os from the sources from releng/12.2 to >> releng/13.0. >> But when reinstalling the world from releng/13.0, >> I get the error during installworld: >> >> installworld.log: >> -- cut -- >> ===> stand/i386/mbr (install) >> install   -o root -g wheel -m 444   mbr /boot/mbr >> ===> stand/i386/pmbr (install) >> install   -o root -g wheel -m 444   pmbr /boot/pmbr >> ===> stand/i386/boot0 (install) >> install   -o root -g wheel -m 444   boot0 /boot/boot0 >> ===> stand/i386/boot0sio (install) >> install   -o root -g wheel -m 444   boot0 /boot/boot0sio >> ===> stand/i386/boot2 (install) >> btxld -v -E 0x2000 -f bin -b >> /usr/obj/usr/src/amd64.amd64/stand/i386/btx/btx/btx -l boot2.ldr  -o >> boot2.ld -P 1 boot2.bin >> make[6]: exec(btxld) failed (No such file or directory) >> *** Error code 1 >> >> Stop. >> make[6]: stopped in /usr/src/stand/i386/boot2 >> *** Error code 1 >> >> Stop. >> make[5]: stopped in /usr/src/stand/i386 >> *** Error code 1 >> >> Stop. >> make[4]: stopped in /usr/src/stand >> *** Error code 1 >> >> Stop. >> make[3]: stopped in /usr/src >> *** Error code 1 >> >> Stop. >> make[2]: stopped in /usr/src >> *** Error code 1 >> >> Stop. >> make[1]: stopped in /usr/src >> *** Error code 1 >> >> Stop. >> make: stopped in /usr/src >> -- cut -- >> >> /etc/src.conf is absent >> >> /etc/make.conf: >> -- cut -- >> NO_GUI=         true >> NO_X=           true >> OPTIONS_UNSET=  GUI >> OPTIONS_UNSET=  X11 >> >> # with SASLv2: >> SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2 >> SENDMAIL_LDFLAGS=-L/usr/local/lib >> SENDMAIL_LDADD=-lsasl2 >> -- cut -- >> >> What to do now? >> > > It became quite a common failure (race) lately for parallel builds with > NO_CLEAN and nullfs mounted OBJ dir. In my case rebuilding world with > only one job helps. You can also ignore this and install the world anyway. Thank a lot for your answer! Indeed, /usr/obj is mounted by nullfs. I will try to rebuild the world in one thread. But how can i ignore the error and continue the installation of the world? Is there some kind of flag for the Makefile? -- Yaroslav Shvets From nobody Tue Jun 22 09:18:21 2021 X-Original-To: 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 2491711DF893 for ; Tue, 22 Jun 2021 09:18:28 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from plan-b.pwste.edu.pl (plan-b.pwste.edu.pl [IPv6:2001:678:618::40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "plan-b.pwste.edu.pl", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G8LRQ5W6xz3mPG for ; Tue, 22 Jun 2021 09:18:26 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from fomalhaut.potoki.eu ([IPv6:2001:470:71:d47:6982:e43:d3b7:5860]) (authenticated bits=0) by plan-b.pwste.edu.pl (8.16.1/8.16.1) with ESMTPSA id 15M9ILb9062094 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Tue, 22 Jun 2021 11:18:22 +0200 (CEST) (envelope-from zarychtam@plan-b.pwste.edu.pl) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=plan-b.pwste.edu.pl; s=plan-b-mailer; t=1624353502; bh=5wRj1tbE6gyo4hUyPaJdM1xtY2NBDn2YgYQBr5B3eb8=; h=To:References:From:Subject:Date:In-Reply-To; b=da/+FViVAxeJKV2YrlcF+XTeRkUlivAe3ErzsTeKfrcwPqxtaltsFF4oi1Nfm620N VxLlqNnxKYDjz/TIqEaE9H493JY4NsOcukvIiz++fJfmwym1TidBnY9MxnTEEM+0BU cSHs0b/Sec8/wY6O3i4i8Zl4acb8GCcK4gNnLgJ+NC8k/xqugYwtYyMkou5cSvUwqd tHfixOi+Vhi4rcN5qemvM/y05BKb2l2XoV4kfDi6e1heCxrE++Ua5t+t/yJV04K7bU 3BA5yxlNT/Du0tNQfHy6lCYbZPXtktTpZQ9hivATyk9PZC853mabmruPpEqP8+nzSH uJk4BqmsPVyxg== X-Authentication-Warning: plan-b.pwste.edu.pl: Host [IPv6:2001:470:71:d47:6982:e43:d3b7:5860] claimed to be fomalhaut.potoki.eu To: stable@freebsd.org References: <3877o092-527-554s-3n1n-58r27r7p6522@negpncvgny.hn> From: Marek Zarychta Subject: Re: [releng/13.0] error during installworld Message-ID: Date: Tue, 22 Jun 2021 11:18:21 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 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 In-Reply-To: <3877o092-527-554s-3n1n-58r27r7p6522@negpncvgny.hn> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="pElrp7Tqxz3SWbRdgmx7x48y4Rx4cIe7T" X-Rspamd-Queue-Id: 4G8LRQ5W6xz3mPG X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=plan-b.pwste.edu.pl header.s=plan-b-mailer header.b=da/+FViV; dmarc=pass (policy=none) header.from=plan-b.pwste.edu.pl; spf=none (mx1.freebsd.org: domain of zarychtam@plan-b.pwste.edu.pl has no SPF policy when checking 2001:678:618::40) smtp.mailfrom=zarychtam@plan-b.pwste.edu.pl X-Spamd-Result: default: False [-7.90 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_ATTACHMENT(0.00)[]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[plan-b.pwste.edu.pl:+]; DMARC_POLICY_ALLOW(-0.50)[plan-b.pwste.edu.pl,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:678:618::40:from]; ASN(0.00)[asn:206006, ipnet:2001:678:618::/48, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[plan-b.pwste.edu.pl:s=plan-b-mailer]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_MED(-2.00)[pwste.edu.pl:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[stable@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2001:678:618::40:from:127.0.2.255]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[stable] X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --pElrp7Tqxz3SWbRdgmx7x48y4Rx4cIe7T Content-Type: multipart/mixed; boundary="3kbTdXGC9WJtFA4AsldeDvGgGPoKY1Kfr"; protected-headers="v1" From: Marek Zarychta To: stable@freebsd.org Message-ID: Subject: Re: [releng/13.0] error during installworld References: <3877o092-527-554s-3n1n-58r27r7p6522@negpncvgny.hn> In-Reply-To: <3877o092-527-554s-3n1n-58r27r7p6522@negpncvgny.hn> --3kbTdXGC9WJtFA4AsldeDvGgGPoKY1Kfr Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable W dniu 22.06.2021 o=C2=A010:51, Yaroslav Shvets pisze: > Hello Marek. >=20 > On Tue, 22 Jun 2021, 11:04, you wrote: >=20 >> W dniu 22.06.2021 o=C2=A008:30, Yaroslav Shvets pisze: >>> Hello All. >>> >>> I have successfully updated os from the sources from releng/12.2 to >>> releng/13.0. >>> But when reinstalling the world from releng/13.0, >>> I get the error during installworld: >>> >>> installworld.log: >>> -- cut -- >>> =3D=3D=3D> stand/i386/mbr (install) >>> install=C2=A0=C2=A0 -o root -g wheel -m 444=C2=A0=C2=A0 mbr /boot/mbr= >>> =3D=3D=3D> stand/i386/pmbr (install) >>> install=C2=A0=C2=A0 -o root -g wheel -m 444=C2=A0=C2=A0 pmbr /boot/pm= br >>> =3D=3D=3D> stand/i386/boot0 (install) >>> install=C2=A0=C2=A0 -o root -g wheel -m 444=C2=A0=C2=A0 boot0 /boot/b= oot0 >>> =3D=3D=3D> stand/i386/boot0sio (install) >>> install=C2=A0=C2=A0 -o root -g wheel -m 444=C2=A0=C2=A0 boot0 /boot/b= oot0sio >>> =3D=3D=3D> stand/i386/boot2 (install) >>> btxld -v -E 0x2000 -f bin -b >>> /usr/obj/usr/src/amd64.amd64/stand/i386/btx/btx/btx -l boot2.ldr=C2=A0= -o >>> boot2.ld -P 1 boot2.bin >>> make[6]: exec(btxld) failed (No such file or directory) >>> *** Error code 1 >>> >>> Stop. >>> make[6]: stopped in /usr/src/stand/i386/boot2 >>> *** Error code 1 >>> >>> Stop. >>> make[5]: stopped in /usr/src/stand/i386 >>> *** Error code 1 >>> >>> Stop. >>> make[4]: stopped in /usr/src/stand >>> *** Error code 1 >>> >>> Stop. >>> make[3]: stopped in /usr/src >>> *** Error code 1 >>> >>> Stop. >>> make[2]: stopped in /usr/src >>> *** Error code 1 >>> >>> Stop. >>> make[1]: stopped in /usr/src >>> *** Error code 1 >>> >>> Stop. >>> make: stopped in /usr/src >>> -- cut -- >>> >>> /etc/src.conf is absent >>> >>> /etc/make.conf: >>> -- cut -- >>> NO_GUI=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 true >>> NO_X=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 t= rue >>> OPTIONS_UNSET=3D=C2=A0 GUI >>> OPTIONS_UNSET=3D=C2=A0 X11 >>> >>> # with SASLv2: >>> SENDMAIL_CFLAGS=3D-I/usr/local/include -DSASL=3D2 >>> SENDMAIL_LDFLAGS=3D-L/usr/local/lib >>> SENDMAIL_LDADD=3D-lsasl2 >>> -- cut -- >>> >>> What to do now? >>> >> >> It became quite a common failure (race) lately for parallel builds wit= h >> NO_CLEAN and nullfs mounted OBJ dir. In my case rebuilding world with >> only one job helps. You can also ignore this and install the world >> anyway. >=20 > Thank a lot for your answer! >=20 > Indeed, /usr/obj is mounted by nullfs. > I will try to rebuild the world in one thread. >=20 > But how can i ignore the error and continue the installation of the wor= ld? > Is there some kind of flag for the Makefile? >=20 Please compare make(1). "make -i installworld" will do the job, but it should be considered as a temporary only solution which might lead to some serious failures when abused. There was a thread about this issue in 13-BETA3 on the freebsd-stable@ mailing list, but I can't give you the reference since archives from February 2021 disappeared. For the first time I have fallen into this about 2 years (January 2020) on CURRENT and asked for help on freebsd-current@. At that time keveans@ suggested such a patch: diff --git a/stand/i386/Makefile b/stand/i386/Makefile index a9d402acf60..24255eefabf 100644 --- a/stand/i386/Makefile +++ b/stand/i386/Makefile @@ -4,7 +4,10 @@ NO_OBJ=3Dt .include -SUBDIR.yes=3D mbr pmbr boot0 boot0sio btx boot2 cdboot gptboot \ +# Almost everything else here relies on btxldr, so we must make sure it's built +# before everything else proceeds so we don't end up building against a stale +# btxldr and ending up with a build-during-install scenario. +SUBDIR.yes=3D btx .WAIT mbr pmbr boot0 boot0sio boot2 cdboot gptboot = \ isoboot libi386 This patch worked back at that time. Unfortunately the thread on the mailing list disappeared, so I can't give you the reference. --=20 Marek Zarychta --3kbTdXGC9WJtFA4AsldeDvGgGPoKY1Kfr-- --pElrp7Tqxz3SWbRdgmx7x48y4Rx4cIe7T Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEMOqvKm6wKvS1/ZeCdZ/s//1SjSwFAmDRqt0FAwAAAAAACgkQdZ/s//1SjSxw Awf8C9V9qkoS4Ye6VO3l0bmAm4iK3P7XAA7Rw86gCuB42LHt/flH1ydS2KLVSiIHlLetKnL4rxPo Xq3tl6fZDLSpaYmf88Y/tiDGodgirzDpb4vmoX1OoM2AkV6/LM4H9VSXsmJIY0N+i5ZckAqatvsm Q8icXC6idJ5y8RLdEZM+AGAwpdbeocfkyh8bmLJGK/zoqLRwWd3w6Voe2zBr1csBU/Yx8ybNGedv I5ZgPeyw1OZLJAzaqseB7bk49kfNFFB3/qIF8XtFismpi/qSk5MOZpAJE9XPGn2fEQfYRnugP7A2 GFeg8Zj6j7/zmdlKe3xyAbg5i+7TgnBoDqasnyKvaw== =ynBD -----END PGP SIGNATURE----- --pElrp7Tqxz3SWbRdgmx7x48y4Rx4cIe7T-- 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=H8lwwfjHKwV6SbM7L1NNCvxQjvKttz4bTRGteHORDEACiZL1MY1lm62PcjPICuH/iV7nHoUy4WkKAWdo2/VaepdrJVkC2DqaGeV2Pmxc4TFaAiujB8NYL2h9ah/dHOr+mWEErxD/VVyKrwVZNEEO/YNphs6BFtwpvC/E0VN33bix81El6PMUcRy36Cek2X50KCZ4erzjzLmwpROS8zqb+c2/C7kgEX9fDuQYm8ykWeU9c2rhVid2BPJ2j3AWDs2hsyKdXWVCD65G4NTCFzSGsr9KXSz8UTNi10I6AZtIO51KRsqsjxy4XjEsi2opfh/fWcSiDD++sow7INPrkkYfKQ== X-YMail-OSG: nINuhXYVM1n9NblPasIEGdrgzK_wXuBGhXuiK8sqsmT.q2mLYfRM.k8mal2k0hz DTUKEuyNBCVxkII06lNsble8TusPIpAHTQWe0OVoJnfH4xnZumP1vgew7zUi6FKz5FUaScx2BvGA D1m7Jz3wpOdkGTIpmU5CtK1fXci9v1SBirkO45dWv8VZfaz0tA7_.CJu_Vj691LJ_cXp9UJMdO88 w2S9uwFGnHJgA63wJlO1IC.kWwpDrymCZENoDY05DLNHc7421U816efBGpnCznjQ0FVr_Aitl6HW .0aBk.7ilGon5xhti5H8JDkLqpi_trLdtQEQalXbK4Yr6UOfx9BlBnI8uXY.vok.uk1mv0NqrMra vm6Bz8UlR0wKgMm4bg41dYs3_vhzz6eTzwYNT8Ckz5sE.Gm_ZBJcwNBuLTuHia8cVOvLoSRikX0l cGL4Ck9xB9jUrX8SU.Th4Q3evo_HHl5Fq4JM3a9hjZl3PrRJOxn3laWaC.BA7KeeLxKbzn1rQZSZ hD_BuCWgdQdiG2bLspm4otngL_QLxmQzhBsanae1ZDgBx18VvFEIU.rqDg89xGl9SX5Yqo_dqHbJ vNCBsCoB5dGc96yfxSPCAtevxWGXBkwGjt80yJ5y5Fbkt.8hMd5D_ENCfnIMpmWhLFGcSj1FrP6h Gt7wVgUCu3H.7vnK0GKizMBFst5ID.LqpkdrNFzsEZqyigrjYDAuoNwLv7ihOB4RTB9ctIw6C7Rq gl0duPDcqbPUR2.E0f17RKVcTB4FWwob3TUmySrZ2.YhKL8geHDFOO1JF_X35wiP5wUG157NbnJK RSOchrsD3Vj5NrMjX9hswwxn3v91LfOaRaCJjMXdMt8kF02shdzvCMO.R_sxQYwI3YUhQK84cyYU j8PHlpcq5A6nI15q_XoDswt3dFsJ555cVnQ8z5wrmBc7qd7aiv7bcxKMrUptCf9_r6kwgO6NJ.Zl QuuOtIr1akzSjQVQZ8ErJAcOaG4RRFavpX5e1YWvTv7UEi6nRGymBjNsOY_8v2AR6KO8qRK5Bi5n 6SrJUgidIG35PElZM7k2SkTgc9xfn6VzA4cQx9v5.SsC85tS9LFmK.rOsIDJR9H1tA3TvUvylr5z dmcxhxTMx2TZHbNfmWr75QAmXT0sy5MVi.8JNs4micO6T1NNzgHcf3E4KJpgDWXEUm4c0BTfhuPu DHDf5FLHMvON2OPZG.v6UJgwBWCK930jV40mUzt53xxNBw.JDcwv0pll5z8i8YxCXmZfvETtmU6F RtiHm_5jZ51P4KLw58jexGF2vwQgBQQQkbmMRlKrnduICYDCWTaVE4MDQN8VoePFALmLu8lePuGp ZFrDnk7smiHMgv0MMxl3YJqeo4QS6XylSrUNsfhtKe4ctck5xHfADkPsrYCTcUUfNF41tQWpdCL1 ew7UQBWqmfwSIXoaD0.OnIPSJxuBJ7Y2pClXcxVJI4hdyEx782_YhsIomRsObaUMDRq33Pi7jAlI Lrzy5Uc6V2vadcBhw1nps02kl9iYylx5BBPHhAm.VNS2ntzqyLnvR2D1wKWiPq2yPvAi0idGaoJC BI7aIGQ8VWu3dE3cqUeV85y6p9uCgrScXsdKMT8BCXYdDJLtJjpppYDef1ccxBVCi40mMPev0w7R NtViRraSZtOhye1SVBnq03Sn31Q3OrPG5zQjNRzz_Xh5H1VXrawBcpOPEgP5TwV7ymu9xYemIk54 0EjYU7Ni6mif_urChCppMZHzTu4.ZI4PEWDZqjQFpnu0Va9WxnpYIabtC9XvROj2x.kDzo0knvE8 HkomtqP_eA5az3swqdgn363JrHDJ4MRr6ijka6dKiiOb0s6lzofKgLSO53UFxeq4YD.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 From nobody Tue Jun 22 12:30:19 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 910FD11CD37B for ; Tue, 22 Jun 2021 12:30:33 +0000 (UTC) (envelope-from ardovm@yahoo.it) Received: from sonic311-30.consmr.mail.ir2.yahoo.com (sonic311-30.consmr.mail.ir2.yahoo.com [77.238.176.162]) (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 4G8Qj33w0Zz4YQs for ; Tue, 22 Jun 2021 12:30:30 +0000 (UTC) (envelope-from ardovm@yahoo.it) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.it; s=s2048; t=1624365028; bh=0e1UL7zWSK1peIblbu6sjmhqa9OYpl4WV5qIscIa1KQ=; h=Date:From:To:Subject:References:In-Reply-To:From:Subject:Reply-To; b=fceukfkWtv+e1ITgYcI0/HkXP1GTzpOHQNBmZX49ost0sr7kyg7BXWlCyUaxolq8E8fjh6FjGPyQAEbwNSdzCUUaXjW2T3TWBrf2qTCyDZj2o/EOmmPVxpU/OPOeU1caK5HmEVs1VwBEfmLAElTKTb6Wsep3dWX+cjDRLveyPD9Erzv4vKw04tdmlONyhi9njHkTklwiGL8VC6lWXE8gH5jaHvYeoNTzo4BJKILAqt/3WxuVQs29hAG7Ikq8PDiQA4IrfuDL9jB9O728juBKaPEkDoc6l7WeZWHm4VmRYixqW/9v+xI/WNmWrrLZYhR10AeGtT3qQCwmgfdcjZUfgQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1624365028; bh=X7vwah85iVxN96OtpsMCb3OVx9BH+QMfdoJXsdmf07F=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=frsU3fbiZn7E9yvS5Ee00Ya/SMy/flvOmPFOw5QnU7yyEuD+Lz3I3FbhYBngsjL3i1cqsibtmIdG7fDobN97ESLoHUOsVWqbC7dZ9naaRuz8NZ6upfIE58BOqx4wYlDQzd3b+4c2uQocua9NS8tzqp+8X8Sl95OAzUq04dDZxAiakuCz2BqzZmoOsG6fllyBI7Xs4gEhPdeSQsc6EjJ7dZJV+KGADH373r4otbnhhS91pUtobtqvTeAgWTiwHiaHYzOTa4jUva/ORMBgaLqPtYxLoVHRYDO+4AUdN6hJ52RYU4A4EucWJ411xRXgiKqFlYLvnb7clYf6kKll9UPieQ== X-YMail-OSG: KDBTQDkVM1mOlm7Dcia.lOkaiLstuKEELtO85VzgS2QjIcUj58ZFA_PdyhbfxCY X7p1f6ScHqf1dD7KdHFADdSQbrPaTGY6HEbeGGIPmfbSeDfd7xaTLAVxrRB4jkGD632AbMQfjhcl xTLNHxT5KS_1Hl1OtnzQETEztBHyG4GpFLOUO9XrV75nlsHMbiwm3pCND77Nvw_JMm3Fa7tJHfTX CyALLZ2ibExhaeet66lAwzwd16ffQ.u8hno9U5bq6bh2KzPkYoe1E9YHY2GWem96wga7SDCAWfES u_O4MKuMMO_fClKehJj4wJAT7ttoEB7M9RZ69IfMOXloEFWt5.NTJykd4o.8RApnu9bws2yiSP9K xf8KGf4HlF1RW3XHpNAYYKJxzsp9sJ.AbW.9eO.iylVvw_NtTPai680.FOzJsBqxNijqdoV9OJB_ Yg4Du.pof4ZCl4UYAdYB7MwAl5WlWqdnfgSwHWQtRJKcS2oldQAUsElq86CbHeTgX9mMeSdOKyq4 B6iDKsOYe7RiqlLV5mO83veZP9Ok70wUyNx9CVopcA68XxnzSqr74diGW5JOP3hDwuSwB0Pkm4Gg PvLE26JL9gZW0SV5QHcLRbGDG3avwwCdjf0fYJFSiIGNCtNy.Lnfp21Fed.dSZfbmwhkD6qMDwAn iisb7YLh.7pdTkV3970O.CzkrILjtod0w6JxGeplfK3kF9ABcAYWDzYbB65IB6zK.sqXznzgNMtX YYYY8WTPadfazS8rjoKCMFXRNwBXNeOEXMH79NbFFFA93GUSgltECxp8ccsaw_GrGBPkpCS1_4ks 2LdKsc3EP3SJy2JzlHWUl3qSIiuwGcBErp6vVBi6TEJvxuoX.ND4BYwonJk9oIr1riDCfZHcxeya nGK_WF4MIcbnC7KQC4N2BiqAA1JFZTLTHZT3VgsZS7mTJhNPg9AqMsEbMHg1v9b.hnT_G2Cf828K AZYzWe8UfEw8IvazxurxL3Q4oS7Vu3_uP2LocAkgWy.0T4ypUO6MEXQII3Mx8xmrIOVVIfujsnIh AodCSM___05phqRJ7F6tnV3Fm8bieQL9mO5FhTrm9.q.KXRNA1l3ej6Y5q8YRCyw87xVrMqFTiQy TKod1.dm7oSNMPrQsBUoC_OcvmdtCMKbZd78agoG7RtjDKCG7deQ.PjthlesWIfDpNRl6orWPak_ pASHA936dyL0EV4zod5MpAdu4vZaQsuH5hhoe.D5dHHtv09HMDSZU8NRAGCIqIoKG30n5V7xZKy8 6mmX.w3F5G5shRO1Ew6VSJITgEbc8yJKK8skUM1ps5EGBrL1lLdjynhQ4zHgro8ssAxk8NQiZQId Rh6tQ21_FDf97lbGYc7o7Aat4OKesKoE_SbVIl.JkHp2BVclqrQ5SRnQwINOao3pcRFsvkeNRZRl 9gc41szWH6QRuuK4fSGtgEvKn6aRGJ1M0pg6dpHyONbeY5VsI1iWNAieuO2fJM9M_2JC.Xn0QJlr tMgOrKYk.niaHlayj_.PUzinD4y1.BF0jGWtkqToFTQ1HtDlQ8gtFud7ssYn.cldohTwr7_7wdb_ KVCG_eL60.2VS4i5Q205v1g6ZakeD3Gl2e7398Vw7wKwHS4lynpa.E1h4UvJkb3TFjhYdq5uTueO NTaq9sarMnVcebdnyexFcCbFP8SwL1d91bPjfDyL1uBKuXaH2iGe_WA7llGvCjuohs5JS2piowJ5 4hsYaJsfH8lt1PghuPBqSeZmBHi9PJkNhH7KVsLm0XG.qo6ZU7yFtmXtKukOARlaU5iHHJM1x6MW 9_igq6BMwc9S5KJu4jpX45jO5rSpx2JQLq0mo2az0yLXPcVTdPYWOTX.oXAPyy_p2i8hi.jW0hcu 9fDtd0SCpR6zBSx.dEkK4la6NFzyU9THaZi62g3BQYEB1Z_C6HNsHC05pCuuco9A3aPGPahhVvNE ysDZwkictjjchbpnNFNqz9MgpylOuSg.Y7dc0xDQNB_yB4q9rojWpBIqKCMGBPdV_Bfh0CIpaho6 bcxw0oaSISeNrGzRc102pZRDgUSop0h2xFh4lSAPo2rWS5gbJfWUc8C7.249cGaAjOkVdrJm1Nlw .b3xgslTPITsrSHDzIVwe8.7ILhdbattfOfcc5DLyMpvNqez9ftuI.yUNpfUwz2SrEXTXw3xoZ_T q_rAMeKzDjkJpsR.r6RmyZOe24zIK375cOTQnnOicC64PPP9dA0ZWCSNDuqCDbMTbk3kq5v.Z5Hl BGRMP7EzHFlonwZWrXez2UplDVj3ZT9.yQqNOPYPq2MgH3cStH2JQmXTrFWGDxEFBLCI9BkLT9QF 8ufvFqwzXJ2O5oEpcOThWCcLA3MKXfyt.eZMqBPVaFgt6lvoaEhUmOs2n2Dxs1SeSWQWZ01raT7w SYcagsdJ.NgHC2d8RinfsIltG3_1b7fEmMIRt4tdrIDBXL.YZD48RYFcyMi8yj1jYFJV9U7DFQE9 i998yVNfqf79Qd7sHJkidUiC_00TMwLXU7xuz0g8bqDLX X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ir2.yahoo.com with HTTP; Tue, 22 Jun 2021 12:30:28 +0000 Received: by kubenode516.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID cf09d14c472f8baf7b8a1616e6500479; Tue, 22 Jun 2021 12:30:23 +0000 (UTC) Received: by nuvolo.localdomain (Postfix, from userid 1001) id DCB8A1284D2; Tue, 22 Jun 2021 14:30:19 +0200 (CEST) Date: Tue, 22 Jun 2021 14:30:19 +0200 To: freebsd-stable@freebsd.org Subject: Re: [stable/11] error during installworld: missing directory /usr/tests/sys/netgraph/ 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: 4G8Qj33w0Zz4YQs X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.it header.s=s2048 header.b=fceukfkW; dmarc=pass (policy=reject) header.from=yahoo.it; spf=pass (mx1.freebsd.org: domain of ardovm@yahoo.it designates 77.238.176.162 as permitted sender) smtp.mailfrom=ardovm@yahoo.it X-Spamd-Result: default: False [-1.64 / 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]; 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.162: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]; NEURAL_SPAM_SHORT(0.86)[0.856]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[77.238.176.162:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[77.238.176.162:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[77.238.176.162: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, On Mon, Jun 21, 2021 at 08:40:03AM +0200, Arrigo Marchiori via freebsd-stable wrote: > Dear All, > > I tried to `make installworld' from recent 11-STABLE sources and it > stopped a "tests/sys/netgraph (install)" > > Apparently, directory /usr/tests/sys/netgraph/ was not created, but we > are trying to install(1) a file in there anyway. [...] For those interested: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256773 Best regards, -- Arrigo From nobody Tue Jun 22 13:48:49 2021 X-Original-To: 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 A0E7D11D397D for ; Tue, 22 Jun 2021 13:49:02 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G8SRf3y99z4j1L for ; Tue, 22 Jun 2021 13:49:02 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x72b.google.com with SMTP id f70so39488990qke.13 for ; Tue, 22 Jun 2021 06:49:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qKvaB8gOspLrUDy4oeZx7YvRgyiwtxLU4fCFDls0GvY=; b=scv8BPgewyXn2VtXzCiSxK6+nuDVamxqQU5HNj/+3hA+zo9q6hhSoZJ/2ATI81IUuw 3fnq+DpWHYdafh9Iv4L2fSXcFHSXdyRJUUm6f5280EygJw4XpxulbibvoF7L9Qo5YoFp p9TsW389MXWNOeLuupGEfoCE4iuMVw7JcBC8HND486T21hNeN2l4vn88vEsi5OUOR++W IU/zM3RQw47BinYgpGhsc8rvHRlUO23HExjk7v42JBYJJFA9mKlL4XHC/LjnchSz0RPY NxjUAnJBMn8pyQMM0PoQZ/AV9E8ZO+UEQnwdhkK0L2aH67pJMboWCGcCmOvtweu5XxUD hHig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qKvaB8gOspLrUDy4oeZx7YvRgyiwtxLU4fCFDls0GvY=; b=nQKoa7TCejo9Ivd6VLhsN3wzYbitAMVow9nJO+J57rV7yDvCzrwjtRuT/vhJsz2MQq Rl0scbPU/1q/xsW7kn9XHmM2nBLwrdmU5UHAm5PVd6IAwcA0F8mMV6kr8cmlOI0An2sL FvpvDDrScgnoAlEYkQ0fyoDBV3LTATUrUXjnCRHVztd3z3iS98AtDR/pu4b8lYhQjel7 VAfFMN2FIIofuEnaTfT7GltRhAT164FqBHjXYJ017MFUSpZfc8xj8JL2ud4oSIkvr9k+ /jasK9trYq6nFFopKtsDVCgnMEMPciExf83Id3tOW2sbW6vhFdC8KHpHV50i77lvEBcE gZvg== X-Gm-Message-State: AOAM532TgFk5UWg+muxgnuXzYqT3H6V7tDZKSnycoVkd6yqqWHF+0UEF Mkm7EnaNX8t5VQ/R1EPMHlEKIZX2ejtmR/rfT8TFQZQfHlu2xg== X-Google-Smtp-Source: ABdhPJwoSutloDl2mKOxnEhMKF6dvvuKqL0U0M+yjsVY0eQsEv2CyO+9yPudf5T2srmJ+CPUZ/M877U5gqcY7CxQuVQ= X-Received: by 2002:ae9:f312:: with SMTP id p18mr4233197qkg.206.1624369741468; Tue, 22 Jun 2021 06:49:01 -0700 (PDT) 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 References: <3877o092-527-554s-3n1n-58r27r7p6522@negpncvgny.hn> In-Reply-To: From: Warner Losh Date: Tue, 22 Jun 2021 07:48:49 -0600 Message-ID: Subject: Re: [releng/13.0] error during installworld To: Marek Zarychta Cc: FreeBSD Stable ML Content-Type: multipart/alternative; boundary="0000000000006ca83305c55b0df8" X-Rspamd-Queue-Id: 4G8SRf3y99z4j1L X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: Y --0000000000006ca83305c55b0df8 Content-Type: text/plain; charset="UTF-8" On Tue, Jun 22, 2021, 3:20 AM Marek Zarychta wrote: > W dniu 22.06.2021 o 10:51, Yaroslav Shvets pisze: > > Hello Marek. > > > > On Tue, 22 Jun 2021, 11:04, you wrote: > > > >> W dniu 22.06.2021 o 08:30, Yaroslav Shvets pisze: > >>> Hello All. > >>> > >>> I have successfully updated os from the sources from releng/12.2 to > >>> releng/13.0. > >>> But when reinstalling the world from releng/13.0, > >>> I get the error during installworld: > >>> > >>> installworld.log: > >>> -- cut -- > >>> ===> stand/i386/mbr (install) > >>> install -o root -g wheel -m 444 mbr /boot/mbr > >>> ===> stand/i386/pmbr (install) > >>> install -o root -g wheel -m 444 pmbr /boot/pmbr > >>> ===> stand/i386/boot0 (install) > >>> install -o root -g wheel -m 444 boot0 /boot/boot0 > >>> ===> stand/i386/boot0sio (install) > >>> install -o root -g wheel -m 444 boot0 /boot/boot0sio > >>> ===> stand/i386/boot2 (install) > >>> btxld -v -E 0x2000 -f bin -b > >>> /usr/obj/usr/src/amd64.amd64/stand/i386/btx/btx/btx -l boot2.ldr -o > >>> boot2.ld -P 1 boot2.bin > >>> make[6]: exec(btxld) failed (No such file or directory) > >>> *** Error code 1 > >>> > >>> Stop. > >>> make[6]: stopped in /usr/src/stand/i386/boot2 > >>> *** Error code 1 > >>> > >>> Stop. > >>> make[5]: stopped in /usr/src/stand/i386 > >>> *** Error code 1 > >>> > >>> Stop. > >>> make[4]: stopped in /usr/src/stand > >>> *** Error code 1 > >>> > >>> Stop. > >>> make[3]: stopped in /usr/src > >>> *** Error code 1 > >>> > >>> Stop. > >>> make[2]: stopped in /usr/src > >>> *** Error code 1 > >>> > >>> Stop. > >>> make[1]: stopped in /usr/src > >>> *** Error code 1 > >>> > >>> Stop. > >>> make: stopped in /usr/src > >>> -- cut -- > >>> > >>> /etc/src.conf is absent > >>> > >>> /etc/make.conf: > >>> -- cut -- > >>> NO_GUI= true > >>> NO_X= true > >>> OPTIONS_UNSET= GUI > >>> OPTIONS_UNSET= X11 > >>> > >>> # with SASLv2: > >>> SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2 > >>> SENDMAIL_LDFLAGS=-L/usr/local/lib > >>> SENDMAIL_LDADD=-lsasl2 > >>> -- cut -- > >>> > >>> What to do now? > >>> > >> > >> It became quite a common failure (race) lately for parallel builds with > >> NO_CLEAN and nullfs mounted OBJ dir. In my case rebuilding world with > >> only one job helps. You can also ignore this and install the world > >> anyway. > > > > Thank a lot for your answer! > > > > Indeed, /usr/obj is mounted by nullfs. > > I will try to rebuild the world in one thread. > > > > But how can i ignore the error and continue the installation of the > world? > > Is there some kind of flag for the Makefile? > > > > Please compare make(1). "make -i installworld" will do the job, but it > should be considered as a temporary only solution which might lead to > some serious failures when abused. > > There was a thread about this issue in 13-BETA3 on the freebsd-stable@ > mailing list, but I can't give you the reference since archives from > February 2021 disappeared. For the first time I have fallen into this > about 2 years (January 2020) on CURRENT and asked for help on > freebsd-current@. At that time keveans@ suggested such a patch: > > diff --git a/stand/i386/Makefile b/stand/i386/Makefile > index a9d402acf60..24255eefabf 100644 > --- a/stand/i386/Makefile > +++ b/stand/i386/Makefile > @@ -4,7 +4,10 @@ NO_OBJ=t > > .include > > -SUBDIR.yes= mbr pmbr boot0 boot0sio btx boot2 cdboot gptboot \ > +# Almost everything else here relies on btxldr, so we must make sure > it's built > +# before everything else proceeds so we don't end up building against a > stale > +# btxldr and ending up with a build-during-install scenario. > +SUBDIR.yes= btx .WAIT mbr pmbr boot0 boot0sio boot2 cdboot gptboot \ > isoboot libi386 > > This patch worked back at that time. Unfortunately the thread on the > mailing list disappeared, so I can't give you the reference. > The race that causes this problem isn't completely solved by this, but it usually works and is better than the 13.0 release code. Warner -- > Marek Zarychta > > --0000000000006ca83305c55b0df8-- From nobody Tue Jun 22 17:49:06 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 0747811E1F3B for ; Tue, 22 Jun 2021 17:49:08 +0000 (UTC) (envelope-from mike@sentex.net) Received: from pyroxene2a.sentex.ca (pyroxene19.sentex.ca [IPv6:2607:f3e0:0:3::19]) (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 "pyroxene.sentex.ca", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G8Ymg1T8Lz3JnB; Tue, 22 Jun 2021 17:49:07 +0000 (UTC) (envelope-from mike@sentex.net) Received: from [IPv6:2607:f3e0:0:4:87a:deae:4cd2:6d7d] ([IPv6:2607:f3e0:0:4:87a:deae:4cd2:6d7d]) by pyroxene2a.sentex.ca (8.16.1/8.15.2) with ESMTPS id 15MHn51G047389 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Tue, 22 Jun 2021 13:49:06 -0400 (EDT) (envelope-from mike@sentex.net) To: FreeBSD-STABLE Mailing List From: mike tancsa Subject: possible releng13 deadlock ? Message-ID: Date: Tue, 22 Jun 2021 13:49:06 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 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-Transfer-Encoding: base64 Content-Language: en-US X-Rspamd-Queue-Id: 4G8Ymg1T8Lz3JnB X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mike@sentex.net designates 2607:f3e0:0:3::19 as permitted sender) smtp.mailfrom=mike@sentex.net X-Spamd-Result: default: False [-0.97 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f3e0::/32]; HFILTER_HELO_IP_A(1.00)[pyroxene2a.sentex.ca]; HFILTER_HELO_NORES_A_OR_MX(0.30)[pyroxene2a.sentex.ca]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.97)[-0.972]; MIME_BASE64_TEXT(0.10)[]; RCVD_IN_DNSWL_LOW(-0.10)[2607:f3e0:0:3::19:from]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f3e0:0:3::19:from]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:11647, ipnet:2607:f3e0::/32, country:CA]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; FREEFALL_USER(0.00)[mike]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SUBJECT_ENDS_QUESTION(1.00)[]; DMARC_NA(0.00)[sentex.net]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f3e0:0:3::19:from:127.0.2.255]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-stable] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N SSB3YXMgdHJ5aW5nIG91dCBhIHpmcyBzZW5kIHwgcmVjdiBvbiBhIG5ldyBjb250cm9sbGVy IHRoaXMgbW9ybmluZw0KdXNpbmcgdGhlIGxhdGVzdCBSRUxFTkdfMTMgdXB0byB0aGUgbGFz dCBjb21taXQgdGhlcmUgwqDCoMKgDQooMjUzMDJhNzIxZjY5ZDM0YzcyZDhiZDNlMGMzMTZh ZDEyNjQ3ZTI4MSkgYW5kIGV4cGVyaWVuY2VkIGEgaGFyZCBsb2NrDQpvbiB0aGUgc3lzdGVt LsKgIFRoZSBtb3RoZXJib2FyZCBpcyBqdXN0IGEgZGVza3RvcCBib2FyZCwgc28gbm8gc2Vy aWFsDQpob29rZWQgdXAgbm9yIGlwbWkuwqAgSG93ZXZlciwgcmV2ZXJ0aW5nIHRvIGEga2Vy bmVsIGZyb20gdGhlIDIwdGgNCihzdGFibGUvMTMtNjU5Zjc3NzY2KSBzZWVtcyB0byBiZSBP Sy7CoCBOb3RlLCB0aGlzIHdhcyBvbmUgdHJ5IGRlYWRsb2NrDQpzbyBjYW50IGJlIHN1cmUg aWYgaXQgd2FzIGEgZmx1a2UgYW5kIHRoZSBpc3N1ZSBpcyBmcm9tIHNvbWUgdGltZSBlbHNl Lg0KDQpCdXQgSSB3aWxsIHRyeSBhbmQgcmVwZWF0IGEgZmV3IHNlbmRzIChhcHByb3ggMjBt aW4pIHdpdGggdGhlIHdvcmtpbmcNCmtlcm5lbCBhbmQgdGhlbiB0cnkgYWdhaW4gd2l0aCB0 aGUgbGF0ZXN0IGtlcm5lbC7CoCBBbnlvbmUgZWxzZSB1c2luZyB0aGUNCmxhdGVzdCAxMyBz dGFibGUgYW5kIFpGUyBmcm9tIHRvZGF5IG5vdGljZSBhbnl0aGluZyA/DQoNCkkgYW0ganVz dCBzZW5kaW5nIGEgemZzIGRhdGFzZXQgZnJvbSBvbmUgc2V0IG9mIHN0cmlwZWQgZGlza3Mg dG8NCmFub3RoZXIuwqAgT24gdGhlIHBsdXMgc2lkZSwgaXRzIEZBU1QhDQoNCsKgenBvb2wg aW9zdGF0IHRlc3RtZHQgMQ0KwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgY2FwYWNpdHnC oMKgwqDCoCBvcGVyYXRpb25zwqDCoMKgwqAgYmFuZHdpZHRoDQpwb29swqDCoMKgwqDCoMKg wqAgYWxsb2PCoMKgIGZyZWXCoMKgIHJlYWTCoCB3cml0ZcKgwqAgcmVhZMKgIHdyaXRlDQot LS0tLS0tLS0twqAgLS0tLS3CoCAtLS0tLcKgIC0tLS0twqAgLS0tLS3CoCAtLS0tLcKgIC0t LS0tDQp0ZXN0bWR0wqDCoMKgwqAgMS4zMVTCoCAxLjQxVMKgwqDCoMKgwqAgMcKgIDQuNzhL wqAgNi42MkvCoMKgIDYwMk0NCnRlc3RtZHTCoMKgwqDCoCAxLjMxVMKgIDEuNDBUwqDCoMKg wqDCoCAwwqAgNi41MUvCoMKgwqDCoMKgIDDCoMKgIDgxOU0NCnRlc3RtZHTCoMKgwqDCoCAx LjMxVMKgIDEuNDBUwqDCoMKgwqDCoCAwwqAgNi41MkvCoMKgwqDCoMKgIDDCoMKgIDgyME0N CnRlc3RtZHTCoMKgwqDCoCAxLjMyVMKgIDEuNDBUwqDCoMKgwqDCoCAwwqAgNi41MkvCoMKg wqDCoMKgIDDCoMKgIDgyME0NCnRlc3RtZHTCoMKgwqDCoCAxLjMyVMKgIDEuNDBUwqDCoMKg wqDCoCAwwqAgNi41MUvCoMKgwqDCoMKgIDDCoMKgIDgxOU0NCnRlc3RtZHTCoMKgwqDCoCAx LjMyVMKgIDEuNDBUwqDCoMKgwqDCoCAwwqAgOC4yMkvCoMKgwqDCoMKgIDDCoCAxLjAyRw0K dGVzdG1kdMKgwqDCoMKgIDEuMzJUwqAgMS40MFTCoMKgwqDCoMKgIDDCoCA0Ljk4S8KgwqDC oMKgwqAgMMKgwqAgNjIyTQ0KdGVzdG1kdMKgwqDCoMKgIDEuMzJUwqAgMS40MFTCoMKgwqDC oMKgIDDCoCA4LjU4S8KgwqDCoMKgwqAgMMKgIDEuMDZHDQp0ZXN0bWR0wqDCoMKgwqAgMS4z MlTCoCAxLjQwVMKgwqDCoMKgwqAgMMKgIDkuMThLwqDCoMKgwqDCoCAwwqAgMS4xM0cNCnRl c3RtZHTCoMKgwqDCoCAxLjMyVMKgIDEuNDBUwqDCoMKgwqDCoCAwwqAgMS40NEvCoMKgwqDC oMKgIDDCoMKgIDE3Mk0NCnRlc3RtZHTCoMKgwqDCoCAxLjMyVMKgIDEuNDBUwqDCoMKgwqDC oCAwwqAgMS4xOUvCoMKgwqDCoMKgIDDCoMKgIDE1M00NCnRlc3RtZHTCoMKgwqDCoCAxLjMy VMKgIDEuNDBUwqDCoMKgwqDCoCAwwqAgNS4yMUvCoMKgwqDCoMKgIDDCoMKgIDY1M00NCnRl c3RtZHTCoMKgwqDCoCAxLjMyVMKgIDEuNDBUwqDCoMKgwqDCoCAwwqAgNC4wOUvCoMKgwqDC oMKgIDDCoMKgIDUyNE0NCnRlc3RtZHTCoMKgwqDCoCAxLjMyVMKgIDEuNDBUwqDCoMKgwqDC oCAwwqAgOC43MkvCoMKgwqDCoMKgIDDCoCAxLjA2Rw0KdGVzdG1kdMKgwqDCoMKgIDEuMzJU wqAgMS40MFTCoMKgwqDCoMKgIDDCoCAyLjUxS8KgwqDCoMKgwqAgMMKgwqAgMzIxTQ0KdGVz dG1kdMKgwqDCoMKgIDEuMzJUwqAgMS4zOVTCoMKgwqDCoMKgIDDCoCAxMC41S8KgwqDCoMKg wqAgMMKgIDEuMjlHDQp0ZXN0bWR0wqDCoMKgwqAgMS4zMlTCoCAxLjM5VMKgwqDCoMKgwqAg MMKgIDYuNDJLwqDCoMKgwqDCoCAwwqDCoCA4MDhNDQoNCg0KDQo= From nobody Tue Jun 22 18:14:20 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 DC16C11E49E7 for ; Tue, 22 Jun 2021 18:14:32 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-ot1-f48.google.com (mail-ot1-f48.google.com [209.85.210.48]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G8ZL05jmPz3NrB for ; Tue, 22 Jun 2021 18:14:32 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-ot1-f48.google.com with SMTP id w23-20020a9d5a970000b02903d0ef989477so22034970oth.9 for ; Tue, 22 Jun 2021 11:14:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wGjLmV2Z3HkHaLIlguxPp5G0dusQooDmnQNElto6mQ8=; b=Ov35p9mR9/W01QJZC1TEFeipVOkuBZjzSnHs0p1WsklQIxXrl9RxFqInPKlU8n6ucP Yja6eGAsRblS259sZEfpEAe+QAv6VPTlPtZRpg27//57p7Gkf00byf5tpkkq4ly+eXxd cocgHMuXw2CSpqH+eq6o5JMaWL4IH7Qp77b9fgeAEnUJYpZb/+eroGFJkf5KDKc7eTeU ZLODfzKyLYUtgaarjL4co8B6cmvsHDI3hMO4UPKiK9KbE5ExEzPnfP+G2jgr8CVaRmpK 70Sub56vWNBequlywv8ZA0aP9JhSqFlAD2uEaMUGHog95YVJFiBHBozXH7kBzoPG2pDb la+Q== X-Gm-Message-State: AOAM5310XwG1+cpgr3VuJVOJQ2st01yeRgFOfDEmMOvwQh4hNcoJ75oi xdSUO8TDN2grgetw56xXzv+NPCN5PsyGSy3raxw= X-Google-Smtp-Source: ABdhPJyYfeSRliNkTYUHAA681qOX+IkV/RyRYN1FE5orPirxxAsnnErJF+77qNZmCrDQctrhugjYU+UPkjA85sNuLNw= X-Received: by 2002:a05:6830:245e:: with SMTP id x30mr4273742otr.18.1624385671407; Tue, 22 Jun 2021 11:14:31 -0700 (PDT) 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 References: In-Reply-To: From: Alan Somers Date: Tue, 22 Jun 2021 12:14:20 -0600 Message-ID: Subject: Re: possible releng13 deadlock ? To: mike tancsa Cc: FreeBSD-STABLE Mailing List Content-Type: multipart/alternative; boundary="000000000000ec312705c55ec2ac" X-Rspamd-Queue-Id: 4G8ZL05jmPz3NrB X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: Y --000000000000ec312705c55ec2ac Content-Type: text/plain; charset="UTF-8" If you think there's a deadlock, please send the kernel stacks of the zfs send and recv processes. You can get those with "procstat -kk ". On Tue, Jun 22, 2021 at 11:49 AM mike tancsa wrote: > I was trying out a zfs send | recv on a new controller this morning > using the latest RELENG_13 upto the last commit there > (25302a721f69d34c72d8bd3e0c316ad12647e281) and experienced a hard lock > on the system. The motherboard is just a desktop board, so no serial > hooked up nor ipmi. However, reverting to a kernel from the 20th > (stable/13-659f77766) seems to be OK. Note, this was one try deadlock > so cant be sure if it was a fluke and the issue is from some time else. > > But I will try and repeat a few sends (approx 20min) with the working > kernel and then try again with the latest kernel. Anyone else using the > latest 13 stable and ZFS from today notice anything ? > > I am just sending a zfs dataset from one set of striped disks to > another. On the plus side, its FAST! > > zpool iostat testmdt 1 > capacity operations bandwidth > pool alloc free read write read write > ---------- ----- ----- ----- ----- ----- ----- > testmdt 1.31T 1.41T 1 4.78K 6.62K 602M > testmdt 1.31T 1.40T 0 6.51K 0 819M > testmdt 1.31T 1.40T 0 6.52K 0 820M > testmdt 1.32T 1.40T 0 6.52K 0 820M > testmdt 1.32T 1.40T 0 6.51K 0 819M > testmdt 1.32T 1.40T 0 8.22K 0 1.02G > testmdt 1.32T 1.40T 0 4.98K 0 622M > testmdt 1.32T 1.40T 0 8.58K 0 1.06G > testmdt 1.32T 1.40T 0 9.18K 0 1.13G > testmdt 1.32T 1.40T 0 1.44K 0 172M > testmdt 1.32T 1.40T 0 1.19K 0 153M > testmdt 1.32T 1.40T 0 5.21K 0 653M > testmdt 1.32T 1.40T 0 4.09K 0 524M > testmdt 1.32T 1.40T 0 8.72K 0 1.06G > testmdt 1.32T 1.40T 0 2.51K 0 321M > testmdt 1.32T 1.39T 0 10.5K 0 1.29G > testmdt 1.32T 1.39T 0 6.42K 0 808M > > > > --000000000000ec312705c55ec2ac-- From nobody Tue Jun 22 18:17:28 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 86CD411E6491 for ; Tue, 22 Jun 2021 18:17:28 +0000 (UTC) (envelope-from mike@sentex.net) Received: from pyroxene2a.sentex.ca (pyroxene19.sentex.ca [IPv6:2607:f3e0:0:3::19]) (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 "pyroxene.sentex.ca", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G8ZPN1JVKz3QwC; Tue, 22 Jun 2021 18:17:28 +0000 (UTC) (envelope-from mike@sentex.net) Received: from [IPv6:2607:f3e0:0:4:87a:deae:4cd2:6d7d] ([IPv6:2607:f3e0:0:4:87a:deae:4cd2:6d7d]) by pyroxene2a.sentex.ca (8.16.1/8.15.2) with ESMTPS id 15MIHRnS056145 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Tue, 22 Jun 2021 14:17:27 -0400 (EDT) (envelope-from mike@sentex.net) Subject: Re: possible releng13 deadlock ? To: Alan Somers Cc: FreeBSD-STABLE Mailing List References: From: mike tancsa Message-ID: <782ac221-93f4-2633-87d5-f6923852701b@sentex.net> Date: Tue, 22 Jun 2021 14:17:28 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 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 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4G8ZPN1JVKz3QwC X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N On 6/22/2021 2:14 PM, Alan Somers wrote: > If you think there's a deadlock, please send the kernel stacks of the > zfs send and recv processes.  You can get those with "procstat -kk ". > Unfortunately, I was locked out over the network as the server was non responsive :(     ---Mike From nobody Wed Jun 23 06:07:06 2021 X-Original-To: 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 A78F65D6AEF for ; Wed, 23 Jun 2021 06:07:11 +0000 (UTC) (envelope-from yaroslav@shvets.name) Received: from gw1.artcapital.ua (mail.artcapital.ua [91.216.135.35]) (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 4G8t8G3sTNz3L93 for ; Wed, 23 Jun 2021 06:07:10 +0000 (UTC) (envelope-from yaroslav@shvets.name) Received: from gw1.artcapital.ua (localhost [127.0.0.1]) by gw1.artcapital.ua (8.16.1/8.16.1) with ESMTP id 15N6771N068808 for ; Wed, 23 Jun 2021 09:07:07 +0300 (EEST) (envelope-from yaroslav@shvets.name) Received: from localhost (yar@localhost) by gw1.artcapital.ua (8.16.1/8.16.1/Submit) with ESMTP id 15N677nc068804 for ; Wed, 23 Jun 2021 09:07:07 +0300 (EEST) (envelope-from yaroslav@shvets.name) X-Authentication-Warning: gw1.artcapital.ua: yar owned process doing -bs Date: Wed, 23 Jun 2021 09:07:06 +0300 (EEST) From: Yaroslav Shvets To: stable@freebsd.org Subject: [releng/13.0] make delete-old deletes /etc/host.conf, but isc-dhcpd need this file Message-ID: <32825orp-n875-79r3-272n-3np74sr86s40@negpncvgny.hn> 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; format=flowed; charset=US-ASCII X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.2 (gw1.artcapital.ua [0.0.0.0]); Wed, 23 Jun 2021 09:07:07 +0300 (EEST) X-Rspamd-Queue-Id: 4G8t8G3sTNz3L93 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of yaroslav@shvets.name has no SPF policy when checking 91.216.135.35) smtp.mailfrom=yaroslav@shvets.name X-Spamd-Result: default: False [-2.10 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[91.216.135.35:from]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[91.216.135.35:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; PREVIOUSLY_DELIVERED(0.00)[stable@freebsd.org]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_NA(0.00)[shvets.name]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:61117, ipnet:91.216.135.0/24, country:UA]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[stable] X-ThisMailContainsUnwantedMimeParts: N Hello All. I'm not sure if I should write here. During upgrading to releng/13.0 `make delete-old` deletes /etc/host.conf. But isc-dhcpd can't start: # service isc-dhcpd start /usr/local/etc/rc.d/isc-dhcpd: ERROR: unable to copy /etc/host.conf to /var/db/dhcpd/etc/host.conf -- not a file or a directory # service isc-dhcpd status dhcpd is not running. rc.conf: -- cut -- dhcpd_enable="YES" # dhcpd enabled? dhcpd_flags="-4" # command option(s) dhcpd_conf="/usr/local/etc/dhcpd.conf" # configuration file dhcpd_ifaces="if_lan" # ethernet interface(s) dhcpd_withumask="002" # file creation mask dhcpd_chuser_enable="YES" # runs w/o privileges? dhcpd_withuser="dhcpd" # user name to run as dhcpd_withgroup="dhcpd" # group name to run as dhcpd_chroot_enable="YES" # runs chrooted? dhcpd_devfs_enable="YES" # use devfs if available? dhcpd_rootdir="/var/db/dhcpd" # directory to run in -- cut -- /usr/local/etc/rc.d/isc-dhcpd: -- cut -- ... setup_chroot () { local _hconf _hosts _ltime _rconf _hconf=host.conf _hosts=hosts _ltime=localtime _rconf=resolv.conf ... eval "safe_copy \${${name}_etcdir}/\$_hconf \${_dhcpd_etcdir}/\$_hconf" ... -- cut -- What is not working correctly? `make delete-old` or the file "/usr/local/etc/rc.d/isc-dhcpd"? -- Yaroslav Shvets From nobody Wed Jun 23 07:52:36 2021 X-Original-To: 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 EAAD111CD4A3 for ; Wed, 23 Jun 2021 07:52:38 +0000 (UTC) (envelope-from yaroslav@shvets.name) Received: from gw1.artcapital.ua (mail.artcapital.ua [91.216.135.35]) (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 4G8wTy4lzcz3jRZ for ; Wed, 23 Jun 2021 07:52:38 +0000 (UTC) (envelope-from yaroslav@shvets.name) Received: from gw1.artcapital.ua (localhost [127.0.0.1]) by gw1.artcapital.ua (8.16.1/8.16.1) with ESMTP id 15N7qaiw062286; Wed, 23 Jun 2021 10:52:36 +0300 (EEST) (envelope-from yaroslav@shvets.name) Received: from localhost (yar@localhost) by gw1.artcapital.ua (8.16.1/8.16.1/Submit) with ESMTP id 15N7qaXg062283; Wed, 23 Jun 2021 10:52:36 +0300 (EEST) (envelope-from yaroslav@shvets.name) X-Authentication-Warning: gw1.artcapital.ua: yar owned process doing -bs Date: Wed, 23 Jun 2021 10:52:36 +0300 (EEST) From: Yaroslav Shvets To: Marek Zarychta cc: stable@freebsd.org Subject: Re: [releng/13.0] error during installworld In-Reply-To: Message-ID: <47112s24-4o65-9q7r-n942-8718770232@negpncvgny.hn> References: <3877o092-527-554s-3n1n-58r27r7p6522@negpncvgny.hn> 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; format=flowed Content-Transfer-Encoding: 8BIT X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.2 (gw1.artcapital.ua [0.0.0.0]); Wed, 23 Jun 2021 10:52:36 +0300 (EEST) X-Rspamd-Queue-Id: 4G8wTy4lzcz3jRZ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N Hello Marek. On Tue, 22 Jun 2021, 12:18, you wrote: > W dniu 22.06.2021 o 10:51, Yaroslav Shvets pisze: >> Hello Marek. >> >> On Tue, 22 Jun 2021, 11:04, you wrote: >> >>> W dniu 22.06.2021 o 08:30, Yaroslav Shvets pisze: >>>> Hello All. >>>> >>>> I have successfully updated os from the sources from releng/12.2 to >>>> releng/13.0. >>>> But when reinstalling the world from releng/13.0, >>>> I get the error during installworld: >>>> >>>> installworld.log: >>>> -- cut -- >>>> ===> stand/i386/mbr (install) >>>> install   -o root -g wheel -m 444   mbr /boot/mbr >>>> ===> stand/i386/pmbr (install) >>>> install   -o root -g wheel -m 444   pmbr /boot/pmbr >>>> ===> stand/i386/boot0 (install) >>>> install   -o root -g wheel -m 444   boot0 /boot/boot0 >>>> ===> stand/i386/boot0sio (install) >>>> install   -o root -g wheel -m 444   boot0 /boot/boot0sio >>>> ===> stand/i386/boot2 (install) >>>> btxld -v -E 0x2000 -f bin -b >>>> /usr/obj/usr/src/amd64.amd64/stand/i386/btx/btx/btx -l boot2.ldr  -o >>>> boot2.ld -P 1 boot2.bin >>>> make[6]: exec(btxld) failed (No such file or directory) >>>> *** Error code 1 >>>> >>>> Stop. >>>> make[6]: stopped in /usr/src/stand/i386/boot2 >>>> *** Error code 1 >>>> >>>> Stop. >>>> make[5]: stopped in /usr/src/stand/i386 >>>> *** Error code 1 >>>> >>>> Stop. >>>> make[4]: stopped in /usr/src/stand >>>> *** Error code 1 >>>> >>>> Stop. >>>> make[3]: stopped in /usr/src >>>> *** Error code 1 >>>> >>>> Stop. >>>> make[2]: stopped in /usr/src >>>> *** Error code 1 >>>> >>>> Stop. >>>> make[1]: stopped in /usr/src >>>> *** Error code 1 >>>> >>>> Stop. >>>> make: stopped in /usr/src >>>> -- cut -- >>>> >>>> /etc/src.conf is absent >>>> >>>> /etc/make.conf: >>>> -- cut -- >>>> NO_GUI=         true >>>> NO_X=           true >>>> OPTIONS_UNSET=  GUI >>>> OPTIONS_UNSET=  X11 >>>> >>>> # with SASLv2: >>>> SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2 >>>> SENDMAIL_LDFLAGS=-L/usr/local/lib >>>> SENDMAIL_LDADD=-lsasl2 >>>> -- cut -- >>>> >>>> What to do now? >>>> >>> >>> It became quite a common failure (race) lately for parallel builds with >>> NO_CLEAN and nullfs mounted OBJ dir. In my case rebuilding world with >>> only one job helps. You can also ignore this and install the world >>> anyway. >> >> Thank a lot for your answer! >> >> Indeed, /usr/obj is mounted by nullfs. >> I will try to rebuild the world in one thread. >> >> But how can i ignore the error and continue the installation of the world? >> Is there some kind of flag for the Makefile? >> > > Please compare make(1). "make -i installworld" will do the job, but it > should be considered as a temporary only solution which might lead to > some serious failures when abused. > > There was a thread about this issue in 13-BETA3 on the freebsd-stable@ > mailing list, but I can't give you the reference since archives from > February 2021 disappeared. For the first time I have fallen into this > about 2 years (January 2020) on CURRENT and asked for help on > freebsd-current@. At that time keveans@ suggested such a patch: > > diff --git a/stand/i386/Makefile b/stand/i386/Makefile > index a9d402acf60..24255eefabf 100644 > --- a/stand/i386/Makefile > +++ b/stand/i386/Makefile > @@ -4,7 +4,10 @@ NO_OBJ=t > > .include > > -SUBDIR.yes= mbr pmbr boot0 boot0sio btx boot2 cdboot gptboot \ > +# Almost everything else here relies on btxldr, so we must make sure > it's built > +# before everything else proceeds so we don't end up building against a > stale > +# btxldr and ending up with a build-during-install scenario. > +SUBDIR.yes= btx .WAIT mbr pmbr boot0 boot0sio boot2 cdboot gptboot \ > isoboot libi386 > > This patch worked back at that time. Unfortunately the thread on the > mailing list disappeared, so I can't give you the reference. > > Rebuilding the world into one thread did not help ;( I umounted ssd (mounted via nullfs) and mount hdd-partition to /usr/obj and buildworld-installworld completed correctly. It looks like still need to fix the Makefile. -- Yaroslav Shvets From nobody Wed Jun 23 21:24: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 7685511D9805 for ; Wed, 23 Jun 2021 21:24:12 +0000 (UTC) (envelope-from mrrooster@gmail.com) Received: from mail-vs1-xe36.google.com (mail-vs1-xe36.google.com [IPv6:2607:f8b0:4864:20::e36]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G9GVM65Jjz4RRk for ; Wed, 23 Jun 2021 21:24:11 +0000 (UTC) (envelope-from mrrooster@gmail.com) Received: by mail-vs1-xe36.google.com with SMTP id 68so2240116vsu.6 for ; Wed, 23 Jun 2021 14:24:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=E8JlO5XT8EdjiticX93bLgc+7U58Wd4hR3Zxqr3vFcA=; b=nDBIfFSDLRD4/wKN1Q5haPX5cjwo7HWv/axZfc5zuzZPz2IDSwOpbH2jMKfYxRcoVb z6mGbl1nGW4bo3UbWj2aUc3gK9MfzAI8Xm63JX5i6cZ86Rz4AIrQlGBnVxjnZyNmixAQ QzE3u9LchwORGrl9m9WcSeyYGd2Vt67zt/DtvaUIjBfrbcqGhzY0TyvuE8hR+90fDgY/ RG2bKP+OnvmrGr7s6dSUrG6koxS7q3XqHI6sR7XilW3NoUN0nUs6BKN02zW/JQVKpUJM Rfwdsm1iuMRn+0GwO+Q42xFi+tIMghToNU5+VcuwT+cEgzVxewtm7ZkFWDUY30oV3Laf WEMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=E8JlO5XT8EdjiticX93bLgc+7U58Wd4hR3Zxqr3vFcA=; b=LuB8mvJKEToLuc1wC8KVBPZpkrFHRdCKZRzTESgX3irnRXoByx4mVYxBWmwAoJCBRr 5Fi8az1VSfXnicBCIXtNAL9/UKui5TU2TsmQgsYj5FvnX86SHgu5rKaHETl9L2j4ZjUz H7JDWInHSxEL4nrATPZJqmJxbo/rwqwdPR3ZpxcPD/SZbpfmtiuVPByturGTHD+Y/y6T TSqhx7E6X7GlK05eYYfTsyJf8ASotvwusJOv7Fn0Wf5XOWPHKMz8PfTq4APBgA4euNYp RvXN79+cAry72gsfLkdF2K+ylnPJg+r1gOOAmDbllD1MYo5Ds3oMIZzfy+tDlRBHjnDo RU1A== X-Gm-Message-State: AOAM532gQVJ9fHPk6LmCK6wF5yPP8k1c2wiTHQd/Cp+Nd20Rh57lJxDJ vOmqk8CS+yuhLFGvfT7bmH6p6TmdwGTTp6Bem2Mja7q59H0= X-Google-Smtp-Source: ABdhPJzJ7qbLWoAshZ/6JZWv9bVQTdf+lOGOVpp16IOML4VW2Ds3GEHx4zP4I2ziFvhw6uik6/VoMIjuOEpVoIvTgaU= X-Received: by 2002:a67:67c1:: with SMTP id b184mr59478vsc.28.1624483450928; Wed, 23 Jun 2021 14:24:10 -0700 (PDT) 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 From: Mr Roooster Date: Wed, 23 Jun 2021 22:24:00 +0100 Message-ID: Subject: Crash on boot after moving root zpool To: freebsd-stable@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4G9GVM65Jjz4RRk X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=nDBIfFSD; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of mrrooster@gmail.com designates 2607:f8b0:4864:20::e36 as permitted sender) smtp.mailfrom=mrrooster@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::e36:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::e36:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::e36:from]; FROM_NAME_HAS_TITLE(1.00)[mr]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-stable] X-ThisMailContainsUnwantedMimeParts: N Hi All, I appreciate the below is a bit 'odd', so not sure if it's worth raising a bug for. I have my home server running FreeBSD 13-stable (amd64), specifically 'FreeBSD 13.0-STABLE #5 stable/13-n246071-659f77766031'. It's an AMD Ryzen 8 core on an Asus X-370 Pro. I have root on a SATA attached SSD, a 1TB samsung evo, this was installed from the FreeBSD install media. It boots via EFI. I decided to move the root to a 2TB NVMe, so I installed the NVMe, duplicated the partition layouty (apart from a larger freebsd-zfs partition) and used dd to copy the efi and freebsd-boot partitions over. I then rebooted and selected the new drive as boot to check the EFI partition and bootloader worked as expected, the system rebooted fine. Next step was to 'zpool add' the zfs parttion on the new drive to the zroot pool, then 'zpool remove' the existing partition located on the SATA SSD. (ada7p4 IIRC) This all appeared to work, and I got a message telling me the data had been migrated and an amount of memory had been used. The data seemed okay and the machine remained operational. Then I rebooted. At this point I got stuck in an endless reboot loop, a video of the incident suggets it's somewhere around spa_import_rootpool, but it's so quick I didn't get a full stacktrace. I was able to boot off a USB and import the pool, the data looked okay, so I then used zfs send to dump the data to a file. I have since sucesfully zfs receive'd this onto a new zroot pool and all is well again. But I am a little curious why it didn't work. The pool appearead to be importable and the data was fully retrievable via zfs send. I have also managed to re-create this in a VM. Using Hyper-V, I created a new VM for FreeBSD, with EFI, 4 CPU, and 4G of memory. The default size HD. Installed from FreeBSD-13.0-RELEASE-amd64-disc1.iso I then added another virtual SCSI disk (da1) and did the following: <----------------------------------------------------------------------------------------------CUT [root@vm ~]# gpart show da0 => 40 266338224 da0 GPT (127G) 40 532480 1 efi (260M) 532520 1024 2 freebsd-boot (512K) 533544 984 - free - (492K) 534528 4194304 3 freebsd-swap (2.0G) 4728832 261607424 4 freebsd-zfs (125G) 266336256 2008 - free - (1.0M) [root@vm ~]# gpart create -s gpt da1 da1 created [root@vm ~]# gpart add -t efi -b 40 -s 532480 -i 1 da1 da1p1 added [root@vm ~]# gpart add -t freebsd-boot -b 532520 -s 1024 -i 2 da1 da1p2 added [root@vm ~]# gpart add -t freebsd-swap -b 534528 -s 4194304 -i 3 da1 da1p3 added [root@vm ~]# gpart add -t freebsd-zfs -b 4728832 -s 261607424 -i 4 da1 da1p4 added [root@vm ~]# gpart show da1 => 40 266338224 da1 GPT (127G) 40 532480 1 efi (260M) 532520 1024 2 freebsd-boot (512K) 533544 984 - free - (492K) 534528 4194304 3 freebsd-swap (2.0G) 4728832 261607424 4 freebsd-zfs (125G) 266336256 2008 - free - (1.0M) [root@vm ~]# dd if=/dev/da0p1 of=/dev/da1p1 bs=1m 260+0 records in 260+0 records out 272629760 bytes transferred in 0.124740 secs (2185582343 bytes/sec) [root@vm ~]# dd if=/dev/da0p2 of=/dev/da1p2 1024+0 records in 1024+0 records out 524288 bytes transferred in 0.343932 secs (1524395 bytes/sec) [root@vm ~]# zpool status zroot pool: zroot state: ONLINE config: NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 da0p4 ONLINE 0 0 0 errors: No known data errors [root@vm ~]# zpool add zroot da1p4 [root@vm ~]# zpool remove zroot da0p4 [root@vm ~]# zpool status zroot pool: zroot state: ONLINE remove: Removal of vdev 0 copied 1013M in 0h0m, completed on Wed Jun 23 20:43:46 2021 11.8K memory used for removed device mappings config: NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 da1p4 ONLINE 0 0 0 errors: No known data errors <----------------------------------------------------------------------------------------------CUT If at this point I shut down the VM, remove what was da0, and set da1 to be the only (and first) scsi device I get exactly the same reboot loop. Booting the VM of the install DVD allows me to zpool import the root pool just fine. (Rebooting still fails after doing this though). Worth a PR? Cheers, Ian From nobody Thu Jun 24 13:28:24 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 4C02E11CA839 for ; Thu, 24 Jun 2021 13:28:24 +0000 (UTC) (envelope-from mike@sentex.net) Received: from pyroxene2a.sentex.ca (pyroxene19.sentex.ca [IPv6:2607:f3e0:0:3::19]) (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 "pyroxene.sentex.ca", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G9gtv0BP1z4Tg5; Thu, 24 Jun 2021 13:28:22 +0000 (UTC) (envelope-from mike@sentex.net) Received: from [IPv6:2607:f3e0:0:4:2d41:71f5:30e7:f7c1] ([IPv6:2607:f3e0:0:4:2d41:71f5:30e7:f7c1]) by pyroxene2a.sentex.ca (8.16.1/8.15.2) with ESMTPS id 15ODSLjD035271 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Thu, 24 Jun 2021 09:28:22 -0400 (EDT) (envelope-from mike@sentex.net) Subject: Re: possible releng13 deadlock ? From: mike tancsa To: Alan Somers Cc: FreeBSD-STABLE Mailing List References: <782ac221-93f4-2633-87d5-f6923852701b@sentex.net> Message-ID: <57ae2e30-28c6-5db5-104a-771e57fdec2a@sentex.net> Date: Thu, 24 Jun 2021 09:28:24 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 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 In-Reply-To: <782ac221-93f4-2633-87d5-f6923852701b@sentex.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4G9gtv0BP1z4Tg5 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mike@sentex.net designates 2607:f3e0:0:3::19 as permitted sender) smtp.mailfrom=mike@sentex.net X-Spamd-Result: default: False [-0.67 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f3e0::/32]; HFILTER_HELO_IP_A(1.00)[pyroxene2a.sentex.ca]; HFILTER_HELO_NORES_A_OR_MX(0.30)[pyroxene2a.sentex.ca]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.57)[-0.567]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_LOW(-0.10)[2607:f3e0:0:3::19:from]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f3e0:0:3::19:from]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:11647, ipnet:2607:f3e0::/32, country:CA]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FREEFALL_USER(0.00)[mike]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SUBJECT_ENDS_QUESTION(1.00)[]; DMARC_NA(0.00)[sentex.net]; SPAMHAUS_ZRD(0.00)[2607:f3e0:0:3::19:from:127.0.2.255]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-stable] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N I am going to chalk this up to a hardware issue.   Not sure if CPU/MB or RAM but I dont think its a software issue     ---Mike On 6/22/2021 2:17 PM, mike tancsa wrote: > On 6/22/2021 2:14 PM, Alan Somers wrote: >> If you think there's a deadlock, please send the kernel stacks of the >> zfs send and recv processes.  You can get those with "procstat -kk ". >> > Unfortunately, I was locked out over the network as the server was non > responsive :( > >     ---Mike > > From nobody Thu Jun 24 19:48:00 2021 X-Original-To: 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 4152411E64E3 for ; Thu, 24 Jun 2021 19:48:20 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G9rKH0pT5z3hMR for ; Thu, 24 Jun 2021 19:48:18 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-wr1-x42d.google.com with SMTP id j2so7927356wrs.12 for ; Thu, 24 Jun 2021 12:48:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3VT1oNmGHP9tXCtC/JqW1rSrcZzQsDrW7g1IQ8dpMoE=; b=RFRh0ktECxOdDaU55E7hoI8vTHcnUZ9VOXua5uMDVl7CyaC4jOpsTocS9hxj5fPVjY fccTFi4R/FYS7zOo2UTb4wj/Q7f/WtrwqqbKVLVHp8loNMKRwEmerSPeEqrwV7dxEbhD NzTqBtTgd5ilACGQu/gU6zQHDEIK2fCTRuzP5ZoosouLETvLORPQagRwFRdCiS63jMgY 57PmXOHpH/RDA1J7LyHN6elZkUXEK7MrW0xLEPrKPEjBpqClz7vbRFNO1QYDts9zDkO8 wX/fzQbYGPSoNnwKANQYrXRGzNZLiWkb9A3ize7Z0LJ3c60v9z+d5VRHpMk9NFWUmTY+ 74+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3VT1oNmGHP9tXCtC/JqW1rSrcZzQsDrW7g1IQ8dpMoE=; b=aAAjqQQux2ZSc+qkWkRI0hz8n1HUUmCFORzAn36ieb9bK0HGz8hOmPZrBMnJ9S+z16 vw+zKaVuDV+GOv6CldJFposzz9vLsz/JMuapcw2t7HX/lu+W6g1kq3a9UnskbQ0OLdtE YX2Of6p8nKRp/vkkmduHYOH7OuArOB3flYe914Csgi075J7CcCBzdOXJxnhpWIUJwDWN jnCVu5Un2tlrI8B0f8xDK7sR+7oe14khU8UPs6pPjfkx7hAFFfR9ksC6Kio5MumIKPka ibIXZVJmu3UOX3/sZmiFX8AWYf0mKfGh8rmLpFCWiCp3mOagLxL/Opt9dHf6bTYNx3Eg YPPw== X-Gm-Message-State: AOAM5301CCGGW7TWeJ+w631L+NPWcHrI41m2uMfJ8CXvvqv0GkZyHf+/ UZdLDeygoePU/RYFJzcqZ52TLdA1kjaFi7qZOj9Dk4nzFgQ= X-Google-Smtp-Source: ABdhPJyWax+hwkfRXbWhwRIZwi6ZDs4ICugqS4+yV5MaTYZ3NGo56LG+ES/uuxAy5Yi+L+ebESV7n3EPazo7465INLM= X-Received: by 2002:adf:c843:: with SMTP id e3mr6595343wrh.25.1624564097235; Thu, 24 Jun 2021 12:48:17 -0700 (PDT) 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 References: <32825orp-n875-79r3-272n-3np74sr86s40@negpncvgny.hn> In-Reply-To: <32825orp-n875-79r3-272n-3np74sr86s40@negpncvgny.hn> From: Kevin Oberman Date: Thu, 24 Jun 2021 12:48:00 -0700 Message-ID: Subject: Re: [releng/13.0] make delete-old deletes /etc/host.conf, but isc-dhcpd need this file To: Yaroslav Shvets Cc: FreeBSD Stable ML Content-Type: multipart/alternative; boundary="000000000000ee3c7c05c5884dcd" X-Rspamd-Queue-Id: 4G9rKH0pT5z3hMR X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=RFRh0ktE; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2a00:1450:4864:20::42d as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-3.55 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.85)[-0.853]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::42d:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[stable@freebsd.org]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::42d:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42d:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[stable] X-ThisMailContainsUnwantedMimeParts: Y --000000000000ee3c7c05c5884dcd Content-Type: text/plain; charset="UTF-8" On Tue, Jun 22, 2021 at 11:08 PM Yaroslav Shvets wrote: > Hello All. > > I'm not sure if I should write here. > During upgrading to releng/13.0 `make delete-old` deletes /etc/host.conf. > But isc-dhcpd can't start: > > # service isc-dhcpd start > /usr/local/etc/rc.d/isc-dhcpd: ERROR: unable to copy /etc/host.conf to > /var/db/dhcpd/etc/host.conf -- not a file or a directory > > # service isc-dhcpd status > dhcpd is not running. > > rc.conf: > -- cut -- > dhcpd_enable="YES" # dhcpd enabled? > dhcpd_flags="-4" # command option(s) > dhcpd_conf="/usr/local/etc/dhcpd.conf" # configuration file > dhcpd_ifaces="if_lan" # ethernet interface(s) > dhcpd_withumask="002" # file creation mask > dhcpd_chuser_enable="YES" # runs w/o privileges? > dhcpd_withuser="dhcpd" # user name to run as > dhcpd_withgroup="dhcpd" # group name to run as > dhcpd_chroot_enable="YES" # runs chrooted? > dhcpd_devfs_enable="YES" # use devfs if available? > dhcpd_rootdir="/var/db/dhcpd" # directory to run in > -- cut -- > > > /usr/local/etc/rc.d/isc-dhcpd: > -- cut -- > ... > setup_chroot () > { > local _hconf _hosts _ltime _rconf > > _hconf=host.conf > _hosts=hosts > _ltime=localtime > _rconf=resolv.conf > ... > eval "safe_copy \${${name}_etcdir}/\$_hconf \${_dhcpd_etcdir}/\$_hconf" > ... > -- cut -- > > What is not working correctly? > `make delete-old` or the file "/usr/local/etc/rc.d/isc-dhcpd"? > > -- > Yaroslav Shvets > No idea why delete-old wants to delete /etc/hosts! It has never touched mine running 13.0-Stable and updated every couple of weeks. I suspect that you may have a WITHOUT_something in /etc/src.conf that makes the delete-old do this. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 --000000000000ee3c7c05c5884dcd-- From nobody Thu Jun 24 21:22:27 2021 X-Original-To: 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 43AD65D4D41 for ; Thu, 24 Jun 2021 21:22:30 +0000 (UTC) (envelope-from SRS0=/R63=LS=klop.ws=ronald-lists@realworks.nl) 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 4G9tPy0h50z3qXD for ; Thu, 24 Jun 2021 21:22:29 +0000 (UTC) (envelope-from SRS0=/R63=LS=klop.ws=ronald-lists@realworks.nl) Date: Thu, 24 Jun 2021 23:22:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1624569748; 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; bh=FNVyprkOIR5k7ZcWkIdOrTen6t9NokBgVBRuTPeGhng=; b=uj3clgq9sS+NxCY9ns2uSVoJUYow1x9fiUWwnB+BH9ES22sAL9XZKyrbI2zXyHm0MCBplk VHh9a3FUTuO59H1hgxwX5ROQMCDcKjWpIrlhyJ3E/3dXRy7+qeWRQ5cUUVUIm5rGihRTS4 RBUisYuSyP9ARFLst/QJEYptsH05FJyx6ykDATROG3io7/qAAgAWSH5Sb4MOFrD1mHzMbX rxOnIbhLYeywkqTGVcOHsDdrlYXuDWLfYd7Y9Rxl4CyMz20i+r1kjylPU+D6OzwCClh0l6 8IqFroTttWOqRTCtz8GezPFqbEf68J5K5Ly64ZZ+wvFyTyYWzaCuIJJJbscjDg== From: Ronald Klop To: Kevin Oberman , Yaroslav Shvets , FreeBSD Stable ML Message-ID: <764543478.13087.1624569747065@localhost> In-Reply-To: Subject: Re: [releng/13.0] make delete-old deletes /etc/host.conf, but isc-dhcpd need this file 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: multipart/alternative; boundary="----=_Part_13086_1846283759.1624569747059" X-Mailer: Realworks (564.29.00a777ccff8) Importance: Normal X-Priority: 3 (Normal) X-Rspamd-Queue-Id: 4G9tPy0h50z3qXD X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: Y ------=_Part_13086_1846283759.1624569747059 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Van: Kevin Oberman Datum: 24 juni 2021 21:49 Aan: Yaroslav Shvets CC: FreeBSD Stable ML Onderwerp: Re: [releng/13.0] make delete-old deletes /etc/host.conf, but isc-dhcpd need this file > > > > On Tue, Jun 22, 2021 at 11:08 PM Yaroslav Shvets > wrote: > > > Hello All. > > > > I'm not sure if I should write here. > > During upgrading to releng/13.0 `make delete-old` deletes /etc/host.conf. > > But isc-dhcpd can't start: > > > > # service isc-dhcpd start > > /usr/local/etc/rc.d/isc-dhcpd: ERROR: unable to copy /etc/host.conf to > > /var/db/dhcpd/etc/host.conf -- not a file or a directory > > > > # service isc-dhcpd status > > dhcpd is not running. > > > > rc.conf: > > -- cut -- > > dhcpd_enable="YES" # dhcpd enabled? > > dhcpd_flags="-4" # command option(s) > > dhcpd_conf="/usr/local/etc/dhcpd.conf" # configuration file > > dhcpd_ifaces="if_lan" # ethernet interface(s) > > dhcpd_withumask="002" # file creation mask > > dhcpd_chuser_enable="YES" # runs w/o privileges? > > dhcpd_withuser="dhcpd" # user name to run as > > dhcpd_withgroup="dhcpd" # group name to run as > > dhcpd_chroot_enable="YES" # runs chrooted? > > dhcpd_devfs_enable="YES" # use devfs if available? > > dhcpd_rootdir="/var/db/dhcpd" # directory to run in > > -- cut -- > > > > > > /usr/local/etc/rc.d/isc-dhcpd: > > -- cut -- > > ... > > setup_chroot () > > { > > local _hconf _hosts _ltime _rconf > > > > _hconf=host.conf > > _hosts=hosts > > _ltime=localtime > > _rconf=resolv.conf > > ... > > eval "safe_copy ${${name}_etcdir}/$_hconf ${_dhcpd_etcdir}/$_hconf" > > ... > > -- cut -- > > > > What is not working correctly? > > `make delete-old` or the file "/usr/local/etc/rc.d/isc-dhcpd"? > > > > -- > > Yaroslav Shvets > > > No idea why delete-old wants to delete /etc/hosts! It has never touched > mine running 13.0-Stable and updated every couple of weeks. I suspect that > you may have a WITHOUT_something in /etc/src.conf that makes the delete-old > do this. > -- > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkoberman@gmail.com > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > > > > > It is not about hosts. It is about this: $ grep host.conf ObsoleteFiles.inc # 20200318: host.conf was deprecated a long time ago. OLD_FILES+=etc/host.conf Regards, Ronald. ------=_Part_13086_1846283759.1624569747059-- From nobody Thu Jun 24 21:29:13 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 446085D69AB for ; Thu, 24 Jun 2021 21:29:57 +0000 (UTC) (envelope-from oscar@prutt.party) Received: from out1.migadu.com (out1.migadu.com [IPv6:2001:41d0:2:863f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4G9tZV4mg9z3rYR for ; Thu, 24 Jun 2021 21:29:54 +0000 (UTC) (envelope-from oscar@prutt.party) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prutt.party; s=key1; t=1624570185; 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=mtukWBMkj0iBMu/y0cozgBH/64FK2l8yUkmL9pntd5Q=; b=A3DjRBWaOqHcoG/+WNFE1bLVMc54RaBzk8Fxy1laEhsvJN9ZcoG4KPV95nse6iWldyeS1o 7xw1LSeZoNVGoSON5xA2me2JZqwXCR9vF2x2ciAzHTa6JFlQ+XinnAni1/2wIzsdBKSU7j 9q/holbe8VYE/wD6EBim6Z8/lSUNJCJW7ZKukQm4Tnb3SLeNK7EDVA044CA15CiF8PFCph EzLG8a1hGIHDF+BnhHJlRTLQU2GYt8JC0+CBAO9alew53oU0rLilrIYdafTIUMfq/Q6s0P Wv9yHQ0T3tBNg77dcTQ5Len+ENHXhcSRNzFy/coAtU2UYBeYyaDyEghFsxaPQA== To: freebsd-stable@freebsd.org Subject: dma crashes with simple configuration? Message-ID: <87lf6zdk9i.fsf@prutt.party> Date: Thu, 24 Jun 2021 23:29:13 +0200 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 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: oscar@prutt.party X-Rspamd-Queue-Id: 4G9tZV4mg9z3rYR X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=prutt.party header.s=key1 header.b=A3DjRBWa; dmarc=pass (policy=reject) header.from=prutt.party; spf=pass (mx1.freebsd.org: domain of oscar@prutt.party designates 2001:41d0:2:863f:: as permitted sender) smtp.mailfrom=oscar@prutt.party X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:41d0:2:863f:::from]; R_DKIM_ALLOW(-0.20)[prutt.party:s=key1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:41d0:2:863f::]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2001:41d0:2:863f:::from:127.0.2.255]; DKIM_TRACE(0.00)[prutt.party:+]; DMARC_POLICY_ALLOW(-0.50)[prutt.party,reject]; NEURAL_HAM_SHORT(-1.00)[-0.999]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-stable] Reply-To: oscar@prutt.party From: Oscar Carlsson via freebsd-stable X-Original-From: Oscar Carlsson X-ThisMailContainsUnwantedMimeParts: N Hi, I've tried to configure dma(8) to use a smarthost (hosted by migadu.com) with a simple setup, but it just consumes 100% CPU before crashing. I've seen this on two FreeBSD systems on different major versions (13 and 12) so I'm not sure if it's my configuration, my mailing provider or dma is acting up. Any obvious ideas? Here's a log: Jun 24 23:17:02 hilda dma[1800f][846]: new mail from user=root uid=26 envelope_from= Jun 24 23:17:02 hilda dma[1800f][846]: mail to= queued as 1800f.800e48050 Jun 24 23:17:02 hilda dma[1800f.800e48050][1203]: trying delivery Jun 24 23:17:02 hilda dma[1800f.800e48050][1203]: using smarthost (smtp.migadu.com:465) Jun 24 23:17:03 hilda dma[1800f.800e48050][1203]: trying remote delivery to smtp.migadu.com [2001:41d0:2:863f::] pref 0 Jun 24 23:17:03 hilda dma[1800f.800e48050][1203]: connect to smtp.migadu.com [2001:41d0:2:863f::] failed: No route to host Jun 24 23:17:03 hilda dma[1800f.800e48050][1203]: trying remote delivery to smtp.migadu.com [2001:41d0:2:aacc::] pref 0 Jun 24 23:17:03 hilda dma[1800f.800e48050][1203]: connect to smtp.migadu.com [2001:41d0:2:aacc::] failed: No route to host Jun 24 23:17:03 hilda dma[1800f.800e48050][1203]: trying remote delivery to smtp.migadu.com [2001:41d0:2:267::] pref 0 Jun 24 23:17:03 hilda dma[1800f.800e48050][1203]: connect to smtp.migadu.com [2001:41d0:2:267::] failed: No route to host Jun 24 23:17:03 hilda dma[1800f.800e48050][1203]: trying remote delivery to smtp.migadu.com [91.121.223.63] pref 0 Jun 24 23:22:03 hilda dma[1800f.800e48050][1203]: stack overflow detected; terminated My /etc/dma/dma.conf SMARTHOST smtp.migadu.com PORT 465 AUTHPATH /etc/dma/auth.conf SECURETRANSFER STARTTLS My /etc/dma/auth.conf username@prutt.party|smtp.migadu.com:supersecretpassword My /usr/local/etc/mail/mailer.conf: sendmail /usr/libexec/dma mailq /usr/libexec/dma newaliases /usr/libexec/dma rmail /usr/libexec/dma Regards, Oscar From nobody Thu Jun 24 21:49:31 2021 X-Original-To: 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 7F59B9F0779 for ; Thu, 24 Jun 2021 21:49:43 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G9v1M2Zyfz3v2Z for ; Thu, 24 Jun 2021 21:49:43 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-wr1-x42c.google.com with SMTP id f15so8282335wro.8 for ; Thu, 24 Jun 2021 14:49:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zw7zYPza2xFM2y7u54Pyy6qdweNOyqyKtGi37uZMrwc=; b=RnEZF15G2fOkjKswY3QFAvW0vbSCTTi7sBQn8a2obycP8yLDIXdwRO/nK1FmCfgr19 ZZFCT4LhXl6VH5/o74Pt/qbQOSImgRKGuJvd50KXLm19riTu9xwTthnXCPg0AlAleKn7 Z6ZJ5AKxW2NFqOhQgitcFYl4NZwVW5DpDZzaGQL0fjZIXYKOJU+O+Y9PKSoVwsvO6LJC sm2sToje5XLUUX+nPVSPbt92j2KcyJGWoQ08U8xLsjTZ5OTLJhZa2/hFPhyL3RxIahCf mycziprnNCfbstiVTPy2d6BDyBJMAtymu5nZAdjJ/zpGI7ASv8jmM/K/XTOmwsLDg2hC PWSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zw7zYPza2xFM2y7u54Pyy6qdweNOyqyKtGi37uZMrwc=; b=XJsycNurJauZ/jDRb4qME7GH6+tEGzGCDdiM5ri4Hn5htK2sPZ79+jPB4xE5eTyBFq DwT+SgAE7ROmf9x2DYqZWeIUvnV88GxvVxOospRGwmBCu7lIoWLGI2y3RedicPccgyyX uMkkrFQxJ3c8I2dK+31xJGoepJKGBhEMR3GWwoTiV/Yvw0+Ro6CW1+uddGPJGx/Hho8I SDxC78hxRAuU3YEm6uPXGRyor9PM/6Mk0WNqy3vGRdXR1s56b7bq7M/3sWwCnMNFy/YR qU5DSrb8Zd/MGncH6jL0lzBsDhoX/fy1LT7Kegtd6rAMi7ucGQxqLO9Wroco60fC36bt 7EpQ== X-Gm-Message-State: AOAM533ZDwioPNm06jX+LboAy1yxcR1xNBoDQeAly09uSxBSwSiHF08R xhFSJe6kCoBgvORr41/I+TgM6Cows1h9dKGBEmo= X-Google-Smtp-Source: ABdhPJyxWBOqv5fOfga1g1rv0eSxilL2WxkEyXytpBUEMm6dj42srpsXe6QSqFxA5NlYE8LzburqpCf7z7Ph5iSe7+A= X-Received: by 2002:adf:c843:: with SMTP id e3mr7104134wrh.25.1624571381351; Thu, 24 Jun 2021 14:49:41 -0700 (PDT) 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 References: <764543478.13087.1624569747065@localhost> In-Reply-To: <764543478.13087.1624569747065@localhost> From: Kevin Oberman Date: Thu, 24 Jun 2021 14:49:31 -0700 Message-ID: Subject: Re: [releng/13.0] make delete-old deletes /etc/host.conf, but isc-dhcpd need this file To: Ronald Klop Cc: Yaroslav Shvets , FreeBSD Stable ML Content-Type: multipart/alternative; boundary="00000000000019073b05c58a00af" X-Rspamd-Queue-Id: 4G9v1M2Zyfz3v2Z X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: Y --00000000000019073b05c58a00af Content-Type: text/plain; charset="UTF-8" Ack! Didn't pay enough attention. I read 'hots.conf' and thought 'hosts'. Sorry. -- On Thu, Jun 24, 2021, 14:22 Ronald Klop wrote: > > *Van:* Kevin Oberman > *Datum:* 24 juni 2021 21:49 > *Aan:* Yaroslav Shvets > *CC:* FreeBSD Stable ML > *Onderwerp:* Re: [releng/13.0] make delete-old deletes /etc/host.conf, > but isc-dhcpd need this file > > On Tue, Jun 22, 2021 at 11:08 PM Yaroslav Shvets > wrote: > > > Hello All. > > > > I'm not sure if I should write here. > > During upgrading to releng/13.0 `make delete-old` deletes /etc/host.conf. > > But isc-dhcpd can't start: > > > > # service isc-dhcpd start > > /usr/local/etc/rc.d/isc-dhcpd: ERROR: unable to copy /etc/host.conf to > > /var/db/dhcpd/etc/host.conf -- not a file or a directory > > > > # service isc-dhcpd status > > dhcpd is not running. > > > > rc.conf: > > -- cut -- > > dhcpd_enable="YES" # dhcpd enabled? > > dhcpd_flags="-4" # command option(s) > > dhcpd_conf="/usr/local/etc/dhcpd.conf" # configuration file > > dhcpd_ifaces="if_lan" # ethernet interface(s) > > dhcpd_withumask="002" # file creation mask > > dhcpd_chuser_enable="YES" # runs w/o privileges? > > dhcpd_withuser="dhcpd" # user name to run as > > dhcpd_withgroup="dhcpd" # group name to run as > > dhcpd_chroot_enable="YES" # runs chrooted? > > dhcpd_devfs_enable="YES" # use devfs if available? > > dhcpd_rootdir="/var/db/dhcpd" # directory to run in > > -- cut -- > > > > > > /usr/local/etc/rc.d/isc-dhcpd: > > -- cut -- > > ... > > setup_chroot () > > { > > local _hconf _hosts _ltime _rconf > > > > _hconf=host.conf > > _hosts=hosts > > _ltime=localtime > > _rconf=resolv.conf > > ... > > eval "safe_copy ${${name}_etcdir}/$_hconf ${_dhcpd_etcdir}/$_hconf" > > ... > > -- cut -- > > > > What is not working correctly? > > `make delete-old` or the file "/usr/local/etc/rc.d/isc-dhcpd"? > > > > -- > > Yaroslav Shvets > > > No idea why delete-old wants to delete /etc/hosts! It has never touched > mine running 13.0-Stable and updated every couple of weeks. I suspect that > you may have a WITHOUT_something in /etc/src.conf that makes the delete-old > do this. > -- > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkoberman@gmail.com > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > ------------------------------ > > > > It is not about hosts. It is about this: > > $ grep host.conf ObsoleteFiles.inc > # 20200318: host.conf was deprecated a long time ago. > OLD_FILES+=etc/host.conf > > Regards, > Ronald. > --00000000000019073b05c58a00af-- From nobody Fri Jun 25 07:06:14 2021 X-Original-To: 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 04FD411C8E0D for ; Fri, 25 Jun 2021 07:06:26 +0000 (UTC) (envelope-from yaroslav@shvets.name) Received: from gw1.artcapital.ua (mail.artcapital.ua [91.216.135.35]) (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 4GB7Mj5HDZz3L8Y for ; Fri, 25 Jun 2021 07:06:25 +0000 (UTC) (envelope-from yaroslav@shvets.name) Received: from gw1.artcapital.ua (localhost [127.0.0.1]) by gw1.artcapital.ua (8.16.1/8.16.1) with ESMTP id 15P76GEr046729; Fri, 25 Jun 2021 10:06:16 +0300 (EEST) (envelope-from yaroslav@shvets.name) Received: from localhost (yar@localhost) by gw1.artcapital.ua (8.16.1/8.16.1/Submit) with ESMTP id 15P76EE1046723; Fri, 25 Jun 2021 10:06:16 +0300 (EEST) (envelope-from yaroslav@shvets.name) X-Authentication-Warning: gw1.artcapital.ua: yar owned process doing -bs Date: Fri, 25 Jun 2021 10:06:14 +0300 (EEST) From: Yaroslav Shvets To: Ronald Klop cc: Kevin Oberman , FreeBSD Stable ML Subject: Re: [releng/13.0] make delete-old deletes /etc/host.conf, but isc-dhcpd need this file In-Reply-To: <764543478.13087.1624569747065@localhost> Message-ID: References: <764543478.13087.1624569747065@localhost> 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; format=flowed; charset=US-ASCII X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (gw1.artcapital.ua [0.0.0.0]); Fri, 25 Jun 2021 10:06:16 +0300 (EEST) X-Rspamd-Queue-Id: 4GB7Mj5HDZz3L8Y X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N Hello Ronald. On Fri, 25 Jun 2021, 00:22, you wrote: > Van: Kevin Oberman > Datum: 24 juni 2021 21:49 > Aan: Yaroslav Shvets > CC: FreeBSD Stable ML > Onderwerp: Re: [releng/13.0] make delete-old deletes /etc/host.conf, but > isc-dhcpd need this file > >> >> >> >> On Tue, Jun 22, 2021 at 11:08 PM Yaroslav Shvets >> wrote: >> >> > Hello All. >> > >> > I'm not sure if I should write here. >> > During upgrading to releng/13.0 `make delete-old` deletes /etc/host.conf. >> > But isc-dhcpd can't start: >> > >> > # service isc-dhcpd start >> > /usr/local/etc/rc.d/isc-dhcpd: ERROR: unable to copy /etc/host.conf to >> > /var/db/dhcpd/etc/host.conf -- not a file or a directory >> > >> > # service isc-dhcpd status >> > dhcpd is not running. >> > >> > rc.conf: >> > -- cut -- >> > dhcpd_enable="YES" # dhcpd enabled? >> > dhcpd_flags="-4" # command option(s) >> > dhcpd_conf="/usr/local/etc/dhcpd.conf" # configuration file >> > dhcpd_ifaces="if_lan" # ethernet interface(s) >> > dhcpd_withumask="002" # file creation mask >> > dhcpd_chuser_enable="YES" # runs w/o privileges? >> > dhcpd_withuser="dhcpd" # user name to run as >> > dhcpd_withgroup="dhcpd" # group name to run as >> > dhcpd_chroot_enable="YES" # runs chrooted? >> > dhcpd_devfs_enable="YES" # use devfs if available? >> > dhcpd_rootdir="/var/db/dhcpd" # directory to run in >> > -- cut -- >> > >> > >> > /usr/local/etc/rc.d/isc-dhcpd: >> > -- cut -- >> > ... >> > setup_chroot () >> > { >> > local _hconf _hosts _ltime _rconf >> > >> > _hconf=host.conf >> > _hosts=hosts >> > _ltime=localtime >> > _rconf=resolv.conf >> > ... >> > eval "safe_copy ${${name}_etcdir}/$_hconf ${_dhcpd_etcdir}/$_hconf" >> > ... >> > -- cut -- >> > >> > What is not working correctly? >> > `make delete-old` or the file "/usr/local/etc/rc.d/isc-dhcpd"? >> > >> > -- >> > Yaroslav Shvets >> > >> No idea why delete-old wants to delete /etc/hosts! It has never touched >> mine running 13.0-Stable and updated every couple of weeks. I suspect that >> you may have a WITHOUT_something in /etc/src.conf that makes the delete-old >> do this. >> -- >> Kevin Oberman, Part time kid herder and retired Network Engineer >> E-mail: rkoberman@gmail.com >> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > > It is not about hosts. It is about this: > > > $ grep host.conf ObsoleteFiles.inc # 20200318: host.conf was deprecated a > long time ago. > OLD_FILES+=etc/host.conf > > > Regards, > Ronald. I have reinstalled isc-dhcpd-server from "pkg+http://pkg.FreeBSD.org/${ABI}/latest" (not quarterly!). There is the new version of isc-dhcpd-server with fixed start script. All works fine as for me. -- Yaroslav Shvets From nobody Sat Jun 26 02:30:14 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 A76E811DC4BD for ; Sat, 26 Jun 2021 02:30:28 +0000 (UTC) (envelope-from mgrooms@shrew.net) Received: from mx1.shrew.net (mx1.shrew.net [38.97.5.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4GBdBq4yvFz4Wh0 for ; Sat, 26 Jun 2021 02:30:27 +0000 (UTC) (envelope-from mgrooms@shrew.net) Received: from mail.shrew.net (mail.shrew.prv [10.24.10.20]) by mx1.shrew.net (8.15.2/8.15.2) with ESMTP id 15Q2UKGV023693 for ; Fri, 25 Jun 2021 21:30:20 -0500 (CDT) (envelope-from mgrooms@shrew.net) Received: from [10.24.1.224] (unknown [198.29.36.26]) by mail.shrew.net (Postfix) with ESMTPSA id A504519A5F6 for ; Fri, 25 Jun 2021 21:30:15 -0500 (CDT) To: freebsd-stable@freebsd.org From: Matthew Grooms Subject: arm64 stable/13 buildworld stops in bc Message-ID: Date: Fri, 25 Jun 2021 21:30:14 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 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; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx1.shrew.net [10.24.10.10]); Fri, 25 Jun 2021 21:30:20 -0500 (CDT) X-Rspamd-Queue-Id: 4GBdBq4yvFz4Wh0 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mgrooms@shrew.net designates 38.97.5.131 as permitted sender) smtp.mailfrom=mgrooms@shrew.net X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[38.97.5.131:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[38.97.5.131:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[shrew.net]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:174, ipnet:38.0.0.0/8, country:US]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-stable] X-ThisMailContainsUnwantedMimeParts: N Hi All, I've been trying to build stable/13 kernel & world periodically for arm64 and either I'm not having very much luck or it's broken more times than it compiles. Is there an automated process that's checking builds for that platform? Most recently, world stops building with bc ( see below ). However, that looks like that was last touched on June 1st. Has the build really been broken since then? :/ --- all_subdir_usr.bin --- /usr/src/contrib/bc/src/program.c:515:28: error: too few arguments to function call, expected 3, have 2         bc_file_puts(&vm.fout, str);         ~~~~~~~~~~~~              ^ /usr/src/contrib/bc/include/file.h:81:6: note: 'bc_file_puts' declared here void bc_file_puts(BcFile *restrict f, BcFlushType type, const char *str);      ^ /usr/src/contrib/bc/src/program.c:529:21: error: too few arguments to function call, expected 2, have 1                 bc_vm_putchar('\0');                 ~~~~~~~~~~~~~     ^ /usr/src/contrib/bc/include/vm.h:437:6: note: 'bc_vm_putchar' declared here void bc_vm_putchar(int c, BcFlushType type);      ^ /usr/src/contrib/bc/src/program.c:552:23: error: too few arguments to function call, expected 2, have 1                                 bc_vm_putchar('\\');                                 ~~~~~~~~~~~~~     ^ /usr/src/contrib/bc/include/vm.h:437:6: note: 'bc_vm_putchar' declared here void bc_vm_putchar(int c, BcFlushType type);      ^ /usr/src/contrib/bc/src/program.c:556:18: error: too few arguments to function call, expected 2, have 1                 bc_vm_putchar(c);                 ~~~~~~~~~~~~~  ^ /usr/src/contrib/bc/include/vm.h:437:6: note: 'bc_vm_putchar' declared here void bc_vm_putchar(int c, BcFlushType type);      ^ /usr/src/contrib/bc/src/program.c:601:25: error: too few arguments to function call, expected 2, have 1                 bc_file_flush(&vm.fout);                 ~~~~~~~~~~~~~         ^ /usr/src/contrib/bc/include/file.h:76:6: note: 'bc_file_flush' declared here void bc_file_flush(BcFile *restrict f, BcFlushType type);      ^ /usr/src/contrib/bc/src/program.c:607:49: error: too few arguments to function call, expected 2, have 1                         if (inst == BC_INST_PRINT) bc_vm_putchar('\n'); ~~~~~~~~~~~~~     ^ /usr/src/contrib/bc/include/vm.h:437:6: note: 'bc_vm_putchar' declared here void bc_vm_putchar(int c, BcFlushType type);      ^ --- all_subdir_secure --- --- dgst.o --- cc -target aarch64-unknown-freebsd13.0 --sysroot=/var/rpi4/build/usr/src/arm64.aarch64/tmp -B/var/rpi4/build/usr/src/arm64.aarch64/tmp/usr/bin  -O2 -pipe -fno-common   -I/usr/src/crypto/openssl -I/usr/src/crypto/openssl/include -DL_ENDIAN -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DNDEBUG -I/usr/src/crypto/openssl/apps -I/var/rpi4/build/usr/src/arm64.aarch64/secure/lib/libcrypto -g -MD  -MF.depend.dgst.o -MTdgst.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments    -c /usr/src/crypto/openssl/apps/dgst.c -o dgst.o --- all_subdir_usr.bin --- /usr/src/contrib/bc/src/program.c:1812:73: error: too few arguments to function call, expected 4, have 3                 bc_file_write(&vm.fout, bc_program_ready_msg, bc_program_ready_msg_len); ~~~~~~~~~~~~~ ^ /usr/src/contrib/bc/include/file.h:77:6: note: 'bc_file_write' declared here void bc_file_write(BcFile *restrict f, BcFlushType type,      ^ /usr/src/contrib/bc/src/program.c:1813:25: error: too few arguments to function call, expected 2, have 1                 bc_file_flush(&vm.fout);                 ~~~~~~~~~~~~~         ^ /usr/src/contrib/bc/include/file.h:76:6: note: 'bc_file_flush' declared here void bc_file_flush(BcFile *restrict f, BcFlushType type);      ^ 8 errors generated. *** [program.o] Error code 1 make[4]: stopped in /usr/src/usr.bin/gh-bc --- all_subdir_secure --- make[2]: stopped in /usr/src --- all_subdir_usr.sbin --- make[2]: stopped in /usr/src --- all_subdir_lib --- make[2]: stopped in /usr/src --- all_subdir_usr.bin --- make[2]: stopped in /usr/src make[1]: stopped in /usr/src make: stopped in /usr/src Thanks, -Matthew From nobody Sat Jun 26 04:58:52 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 4C94C5D4836 for ; Sat, 26 Jun 2021 04:59:00 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-25.consmr.mail.gq1.yahoo.com (sonic312-25.consmr.mail.gq1.yahoo.com [98.137.69.206]) (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 4GBhVC07Jxz4vhV for ; Sat, 26 Jun 2021 04:58:58 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1624683537; bh=OPBQqpRjahSMmSe9/J4V+5tAfoyqXSZgBCBy+lQXFo4=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=d6hBJWj84ek9gRUfxZHzcgzlhU6rfDEeK4z7AjbVHQWtmxWdYSgy6i8Z5BW948XoTWCOIo9dkbQuRGrz4WboIRP4XcZhjRkXt1qzSKeRYe3CoQgHazp6T45wKRtNFzp7qY54YP4xvk18wJauvXQvzBbzydStJHw0kCb94Wk0KViEPilz+DdV1SaKGcDRSOgbzRH4FLc13UGqn0qI+m8jgxT2g9UhkvDrpK0TyccCYdiH3hCRsv26Qg5ZxH54Hw3PfIPoWfz1L2bSjuRk7UzLxGvcxcYoBlFLojSeyEXbnQTf8O3owSDUG8ElOo2cGMdpFcYRR3VGrj5wLDJcpTOmXQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1624683537; bh=ScAIxTAQyDuN9DzG6FieMYjZ/x2WOBWNfkX4XNdxbEr=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=GSNQJ4N9IqJk9vbLYbxVta/WSoD29mq4Gu7Nb3wH94qq4v1BWuHv32fTaaXNKWnDwJr8tILaJh1M2aHyi28QCQCh4OUzIe0ViDYoOE4eLo5rwuHDL4D1e1xbvTuLWJ0mGIu/8z1KF8RfemalyeZavphNp/51qRhyt/sPu6LP8V4h1ESGz9fY0pk4oyNxACJtNMSa2TWv8QgMWDl0/eP15bTDgGm++bqOMuq/SuwZYqpmtphG3FEFn/9pPUzDN85+ZckyY0QsaX6Vo2xIYjiFsn9K3ekCKA+wpdqtNfwp3ka0fDC4SKGL8iQK208RDLJ7oJdD4Uv2Q8f5SYZo69Vv2A== X-YMail-OSG: 9HtVxD4VM1nPuu0IOruUcAdqyp2KVrZ2F9DC_PJfIqmBNb.p194RKMzWIpPjukg Gi7xfhyEAF2LOCNM6tZSCNvuGGLiG_NxDJpNVtS7Sf1CKKng8itO5I5.wVwiJulp1.2yxTG162u0 JRJx.grRlLBzWsL4wYs3ByVaH7KB1fWb1Px9KA07I6WzAIq_aCd.L8U8AV1t71BpGfXFBZs3v5lp kLCqrQh58_cqIszZcFDmqAMqlKSGxWC6KaZ18kCC.rgYxZSgmWD0CJAYAsYyQUObW5WBNsfAjV.A Z7KUv08vFDqu2dtv8lwOdAIdwjKfI4gj3fi0jpDyal.e_lLzwkbhE9qlAZ4bzCLEvAVDuFSNJNuc 5bZsrlgIy9PCMZkcjOkz2xEre8nh._YDFDZEM1okMd3mV4F_7WNJhCQNQIDaCHrG_5kP.Ired5HP H9Fg1dNEa6ez5FbAG5sEUzUfayGN8EhIFqB4c.m7JUH9Yvcn5z_3BjP.telcDd7.9Sk6oR4H45EJ _T9svzc_UO653WXmfHhJ7La56zqFv3ONFkrwT.uX9PctE5L9IJn8KMQcpOH7EMcHsO4XEyOH1NE5 E4ASA7qVormYUVwZTBx4hXOKtd.Rsi5rkcxx63qU3wNCuGnb7QzkZleERLEj.pSUxW0UYZ4cqv.f QqwC6AxZu8jZROxYmmWtFyMrqCxtTT5Pf.e5V78kzYQUsbPPn.DhVqkyN8hQ3LFCS9YUZBCkdQDg 2DzLqrxRVU8bRr1T6YlNjfgWLhMCaTCiYPZSvj2ucXTS5cMJ23Jok3w9E1vBu9WySdeJa2Yhpf4N VMtLbF2d8Em5OvRBSFfHt.cKCJSuGKDHlDUNgMwE9d44Aq1iUHqN3lU86hPUfHf96snvUtU6eNL7 V_pJ6yhRWmCNLA_xCsGuGPa89AT2qD19D0boPs9VLN4cq.KGsUyFDk3RBJ6PStZOmFHsRptqo95l vrvV5E.9Qn8uxH0XzDJjoFUmkWawCdeMvFoLSEiCRVHo1zPw8Du7hJ4iSQHlJx8w6R_rb0MYOgN9 fTS1EeGPbIdS4jtOe1zZ8DCFw9c5JFcM7DPIIz7NJ0p2auCaBYcz5OAVPmMUL3zRa010erlrebIf pdkA_z6bZk3yUfe8ZV2r9dveS5T80s2dnm6RQ52A5SUaSAq.KHfw3DFeaoynFbMfd_GKYkTYPnOo QgpXcpxfo95O7FmOU7uSaFK8MwkFgB5qMmbZ71k0pK9dKAyfh.HQjrcZd5KAHl58rAAjPLfwsyw0 xQqu_rwkeGaY5PzBIvVGt0cyBNX0EiL4uHnfnAdK88.O58edTobFHzdDwtVfkeRHM6OL93eNl0pi D.b1909QE62_73vyOGnrrSnu8mMtooNg2ZxuoNsHUxj2iRkMuhX5isgwthCGRLkZJmrJopilbZlp jY2iv7ZxoLChpnyrkmW071jLHYjdnRIE34c4yBdPC.aB7_MHJv14Iu4Wmja98x7S1aRv6TbKIrBO 7NVfrtzRiUF0LHBbsJW.1_BPGl22WczwYvUEIrdmcPNg7q0XBFETx1rOtQUZzXK1iaFHYejhk6_V g4fEtKOcNFbhZ_iBZALZrEgZ5AfQnttBNHyJhrdGKQuYpixR3IA5Ws6DNn6Fbe.bJ13MBUX8KLpy EEwqqUsGb8C8XFSkof9JZYxwFfMMHZxfKDDzlZZjvLFTJyhq7vgHC6g95rQIopL.xdMCxtsaHyRn 8EyFm3WM0EdGnMiOZaFVP4Y3Y9.10HGL3xVPQbfgDJ5coeMptbzGkDRs6SGJoO2eybnr6x985ZXo EcajjHr9wlHD8P_yZOSB8ts1dDcwoMS9CorhMTMin6RHDtB7teVsLWUBZ.x6ytuTTlC7IVwgMK3a dNXcBep3dyibd8ZQyEqZwBG0T80Jx3Z2rA1BzXy_gIHO8zRAtzVjwfFHJN_Hy9wS_maMgRvypOFo XNSGzoySbkc9WMWJQWJ.rvpu6nwByV81CgMBPjQ37ACrGzLWnwvjOlXJh7BBC3rddNvCFrYybo3S WV5Wg4lHeWBNGR0RERRURJkj8w76ZmgnQDM_VHyy3XckYHSlR8fcd2QhExYyWfKeGnIRm5p5Dd48 HkD6w1RdVBIcm0pLTaofBRtCurZ3lF2eTzLMnpfDPMEnon9G7XdtiGGj.79T227r3l7te8Rg0hUN cQ.51TD4iw5M2TqDZUVBI84beVWlfAEkpADh1U.oL0nnjqV2iQMe_VzzQooMYTX5fV91SIxQ6QZ7 APHy3dzh4r7Uu7A.BcCp99uCGBwnLVpRdtoQLzc6e34Axy6NtPxkdjc9KZGzqYbVaf0d0.jdibFr WwPANl493QJQrJGfRGhuQKeaRAL3Cf5yo6pr8oaWk8qD98cve6dPzqKfg1d6_AbeXKJv9dyLjvu3 ioUgjxzI.WT9nkiCXsBSJ.ns2bMB.sZNsW2tUeAu.i9CHhLw9c_ZAOFAYo4Ibw1ncjU97c2Z7ecz LAggzxDA- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Sat, 26 Jun 2021 04:58:57 +0000 Received: by kubenode550.mail-prod1.omega.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID e209572d536d2ffd3018d7273d3d3ee4; Sat, 26 Jun 2021 04:58:53 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Subject: Re: arm64 stable/13 buildworld stops in bc Message-Id: <4020A72C-3D32-48C4-92E2-340A9DD8B693@yahoo.com> Date: Fri, 25 Jun 2021 21:58:52 -0700 To: mgrooms@shrew.net, FreeBSD-STABLE Mailing List X-Mailer: Apple Mail (2.3654.100.0.2.22) References: <4020A72C-3D32-48C4-92E2-340A9DD8B693.ref@yahoo.com> X-Rspamd-Queue-Id: 4GBhVC07Jxz4vhV X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=d6hBJWj8; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.206 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.50 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,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.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.69.206:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.69.206:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.206:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.206:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-stable] Reply-To: marklmi@yahoo.com From: Mark Millard via freebsd-stable X-Original-From: Mark Millard X-ThisMailContainsUnwantedMimeParts: N From: Matthew Grooms wrote on Date: Fri, 25 Jun 2021 21:30:14 -0500 : . . . > I've been trying to build stable/13 kernel & world periodically for=20 > arm64 and either I'm not having very much luck or it's broken more = times=20 > than it compiles. Is there an automated process that's checking builds=20= > for that platform? >=20 > Most recently, world stops building with bc ( see below ). However, = that=20 > looks like that was last touched on June 1st. Has the build really = been=20 > broken since then? :/ >=20 > --- all_subdir_usr.bin --- > /usr/src/contrib/bc/src/program.c:515:28: error: too few arguments to=20= > function call, expected 3, have 2 > bc_file_puts(&vm.fout, str); > ~~~~~~~~~~~~ ^ . . . Well, - bc_file_puts(&vm.fout, str); + bc_file_puts(&vm.fout, bc_flush_save, str); happend on main at: author Stefan E=C3=9Fer 2021-04-06 08:44:52 = +0000 committer Stefan E=C3=9Fer 2021-04-06 = 08:44:52 +0000 commit 7a590c074ceede12b2b6e794f8703d6fa5749918 (patch) tree 5d73533c45895d17bdc2a759755ac6a34c477a3b /src/program.c parent 893ecb52db5ed47d6c1e8698334d34e0df651612 (diff) download src-7a590c074ceede12b2b6e794f8703d6fa5749918.tar.gz src-7a590c074ceede12b2b6e794f8703d6fa5749918.zip Vendor import of Gavin D. Howard's bc version 4.0.0vendor/bc/4.0.0 Diffstat (limited to 'src/program.c') -rw-r--r-- src/program.c 36=09 1 files changed, 21 insertions, 15 deletions diff --git a/src/program.c b/src/program.c index 6ab794736f79..82735083bd03 100644 --- a/src/program.c +++ b/src/program.c and on stable/13 at: author Stefan E=C3=9Fer 2021-04-06 08:44:52 = +0000 committer Stefan E=C3=9Fer 2021-04-10 = 14:18:50 +0000 commit 0ca6ce5e976a045ab1e81ec3469957a64f15ab12 (patch) tree 284f16319f560883110f93f7be7e6526d3a84097 = /contrib/bc/src/program.c parent 8393e034dacec0bbafdd470c3cceaecc693357ea (diff) download src-0ca6ce5e976a045ab1e81ec3469957a64f15ab12.tar.gz src-0ca6ce5e976a045ab1e81ec3469957a64f15ab12.zip [bc] Update to version 4.0.0 This version fixes an issue (missing pop of top-of-stack value in the "P" command of the dc program). This issue did not affect the bc program, since it does not use dc as an back-end to actually perform the calculations as was the case with the traditional bc and dc programs. The major number has been bumped due to Windows support that has been added to this version. It does not correspond to a major change that might affect FreeBSD. (cherry picked from commit b55a927bc884d7780d65a508572023b0dc2dede9) Diffstat (limited to 'contrib/bc/src/program.c') -rw-r--r-- contrib/bc/src/program.c 36=09 1 files changed, 21 insertions, 15 deletions diff --git a/contrib/bc/src/program.c b/contrib/bc/src/program.c index 6ab794736f79..82735083bd03 100644 --- a/contrib/bc/src/program.c +++ b/contrib/bc/src/program.c Looks likes you need to get your source code updated to accurately match some specific commit. I did not investigate anything beyond the example difference above. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From nobody Sat Jun 26 05:20:21 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 BA5B6CF9D44 for ; Sat, 26 Jun 2021 05:20:26 +0000 (UTC) (envelope-from se@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 4GBhyy4jM4z3JPT; Sat, 26 Jun 2021 05:20:26 +0000 (UTC) (envelope-from se@freebsd.org) Received: from Stefans-MBP-449.fritz.box (p200300cd5f1d3e002d23433c24bece7b.dip0.t-ipconnect.de [IPv6:2003:cd:5f1d:3e00:2d23:433c:24be:ce7b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: se/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 0941CE3C3; Sat, 26 Jun 2021 05:20:25 +0000 (UTC) (envelope-from se@freebsd.org) To: Matthew Grooms References: From: Stefan Esser Cc: freebsd-stable@freebsd.org Subject: Re: arm64 stable/13 buildworld stops in bc Message-ID: Date: Sat, 26 Jun 2021 07:20:21 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 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 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ZxpIzhU4EAkz3ZgzEZ0VPUodoVfT8OJvW" X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --ZxpIzhU4EAkz3ZgzEZ0VPUodoVfT8OJvW Content-Type: multipart/mixed; boundary="qyEW2c5IcNZqxQf8RRzU8filg0bBcsBSM"; protected-headers="v1" From: Stefan Esser To: Matthew Grooms Cc: freebsd-stable@freebsd.org Message-ID: Subject: Re: arm64 stable/13 buildworld stops in bc References: In-Reply-To: --qyEW2c5IcNZqxQf8RRzU8filg0bBcsBSM Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: quoted-printable Am 26.06.21 um 04:30 schrieb Matthew Grooms: > Hi All, >=20 > I've been trying to build stable/13 kernel & world periodically for arm= 64 and > either I'm not having very much luck or it's broken more times than it > compiles. Is there an automated process that's checking builds for that= platform? Hi Matthew, there automated CI tests for all supported platforms, and if bc had faile= d to build there, I'd have been informed. > Most recently, world stops building with bc ( see below ). However, tha= t looks > like that was last touched on June 1st. Has the build really been broke= n since > then? :/ Not for me ... > --- all_subdir_usr.bin --- > /usr/src/contrib/bc/src/program.c:515:28: error: too few arguments to f= unction > call, expected 3, have 2 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 bc_file_puts(&vm.fout, str);= > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ~~~~~~~~~~~~=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^ > /usr/src/contrib/bc/include/file.h:81:6: note: 'bc_file_puts' declared = here > void bc_file_puts(BcFile *restrict f, BcFlushType type, const char *str= ); > =C2=A0=C2=A0=C2=A0=C2=A0 ^ This looks to me like the result of an incomplete update of the sources. History editing has been added a few releases back and the function signa= ture of bc_files_puts has been changed to take 3 instead of 2 arguments. It looks like you got a mismatch between this header and the callers of t= his function. Specifically, line 515 mentioned in the error message above is = line 517 in up-to.date sources and reads: bc_file_puts(&vm.fout, bc_flush_save, str); Definitely 3 parameters there ... See https://cgit.freebsd.org/src/tree/contrib/bc/src/program.c?h=3Dstable= /13#n512 line 517 - that's what your program.c should look like ... > /usr/src/contrib/bc/src/program.c:529:21: error: too few arguments to f= unction > call, expected 2, have 1 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 bc_vm_putchar('\0'); > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 ~~~~~~~~~~~~~=C2=A0=C2=A0=C2=A0=C2=A0 ^ > /usr/src/contrib/bc/include/vm.h:437:6: note: 'bc_vm_putchar' declared = here > void bc_vm_putchar(int c, BcFlushType type); > =C2=A0=C2=A0=C2=A0=C2=A0 ^ > /usr/src/contrib/bc/src/program.c:552:23: error: too few arguments to f= unction > call, expected 2, have 1 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 bc_vm_putchar('\\'); > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ~~~~~~~~~~~~~=C2=A0=C2=A0=C2=A0=C2= =A0 ^ > /usr/src/contrib/bc/include/vm.h:437:6: note: 'bc_vm_putchar' declared = here > void bc_vm_putchar(int c, BcFlushType type); > =C2=A0=C2=A0=C2=A0=C2=A0 ^ > /usr/src/contrib/bc/src/program.c:556:18: error: too few arguments to f= unction > call, expected 2, have 1 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 bc_vm_putchar(c); > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 ~~~~~~~~~~~~~=C2=A0 ^ > /usr/src/contrib/bc/include/vm.h:437:6: note: 'bc_vm_putchar' declared = here > void bc_vm_putchar(int c, BcFlushType type); > =C2=A0=C2=A0=C2=A0=C2=A0 ^ > /usr/src/contrib/bc/src/program.c:601:25: error: too few arguments to f= unction > call, expected 2, have 1 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 bc_file_flush(&vm.fout); > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 ~~~~~~~~~~~~~=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 ^ > /usr/src/contrib/bc/include/file.h:76:6: note: 'bc_file_flush' declared= here > void bc_file_flush(BcFile *restrict f, BcFlushType type); > =C2=A0=C2=A0=C2=A0=C2=A0 ^ > /usr/src/contrib/bc/src/program.c:607:49: error: too few arguments to f= unction > call, expected 2, have 1 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if (in= st =3D=3D BC_INST_PRINT) bc_vm_putchar('\n'); > ~~~~~~~~~~~~~=C2=A0=C2=A0=C2=A0=C2=A0 ^ > /usr/src/contrib/bc/include/vm.h:437:6: note: 'bc_vm_putchar' declared = here > void bc_vm_putchar(int c, BcFlushType type); All the other error messages do point at a mix of source files from befor= e and after introduction of the history feature, too ... The line numbers in your version of program.c seem to be off, compared to= the current sources, e.g. check out lines 609 and 610 on the above given = URL for the correct sources that correspond to that last error message. Update your sources to a consistent state and your issue should be resolv= ed. Let me know if there are any further problems with this program. Regards, STefan --qyEW2c5IcNZqxQf8RRzU8filg0bBcsBSM-- --ZxpIzhU4EAkz3ZgzEZ0VPUodoVfT8OJvW Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAmDWuRUFAwAAAAAACgkQR+u171r99UQP NQf/aayQFJoXSQfm/nkc/Nysq4FlYRClzBWn2UdJl9SzTZapcisj7ehuu6NrrofZJF21E2JBAudI CsNUWOQYDDLdaf9E3rrcd2YApc39n643+W+mLP1iR+83YDwJ4e9X9+T4EQLIPZTzwTo636q8QxY7 yPW19/1n9Vu7mqzPPnjR9+LkqtNhuASRiukkVHj8Lr2sNpQPV6jfUUU4rrFjvhQGuMFufac5xYb4 AkutKPj5OZK1u9mZ1zrTXjT+B0/mdV9v6l+T6op4oXxtSQ0JA76JfiSaEoNwYhykCoZ16Xw50EUQ 70uCYE6Tm9+QR6BfiVsv2kuR/RQPvHKpkHmJ3mONIQ== =yI07 -----END PGP SIGNATURE----- --ZxpIzhU4EAkz3ZgzEZ0VPUodoVfT8OJvW-- From nobody Sat Jun 26 09:18:31 2021 X-Original-To: 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 6955A11D2D84 for ; Sat, 26 Jun 2021 09:18:56 +0000 (UTC) (envelope-from mgrooms@shrew.net) Received: from mx1.shrew.net (mx1.shrew.net [38.97.5.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4GBpG7345Cz3w8c for ; Sat, 26 Jun 2021 09:18:55 +0000 (UTC) (envelope-from mgrooms@shrew.net) Received: from mail.shrew.net (mail.shrew.prv [10.24.10.20]) by mx1.shrew.net (8.15.2/8.15.2) with ESMTP id 15Q9IsYo025838 for ; Sat, 26 Jun 2021 04:18:54 -0500 (CDT) (envelope-from mgrooms@shrew.net) Received: from [10.24.1.224] (unknown [198.29.36.26]) by mail.shrew.net (Postfix) with ESMTPSA id E8FAD19ADF7 for ; Sat, 26 Jun 2021 04:18:48 -0500 (CDT) Subject: Re: arm64 stable/13 buildworld stops in bc To: stable@freebsd.org References: From: Matthew Grooms Message-ID: <230194b7-8836-8672-a793-a7a8c6dcb146@shrew.net> Date: Sat, 26 Jun 2021 04:18:31 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 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 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx1.shrew.net [10.24.10.10]); Sat, 26 Jun 2021 04:18:54 -0500 (CDT) X-Rspamd-Queue-Id: 4GBpG7345Cz3w8c X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mgrooms@shrew.net designates 38.97.5.131 as permitted sender) smtp.mailfrom=mgrooms@shrew.net X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[38.97.5.131:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[stable@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[38.97.5.131:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[shrew.net]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:174, ipnet:38.0.0.0/8, country:US]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[stable] X-ThisMailContainsUnwantedMimeParts: N On 6/26/2021 12:20 AM, Stefan Esser wrote: > Am 26.06.21 um 04:30 schrieb Matthew Grooms: >> Hi All, >> >> I've been trying to build stable/13 kernel & world periodically for arm64 and >> either I'm not having very much luck or it's broken more times than it >> compiles. Is there an automated process that's checking builds for that platform? > Hi Matthew, > > there automated CI tests for all supported platforms, and if bc had failed > to build there, I'd have been informed. > >> Most recently, world stops building with bc ( see below ). However, that looks >> like that was last touched on June 1st. Has the build really been broken since >> then? :/ > Not for me ... > >> --- all_subdir_usr.bin --- >> /usr/src/contrib/bc/src/program.c:515:28: error: too few arguments to function >> call, expected 3, have 2 >>         bc_file_puts(&vm.fout, str); >>         ~~~~~~~~~~~~              ^ >> /usr/src/contrib/bc/include/file.h:81:6: note: 'bc_file_puts' declared here >> void bc_file_puts(BcFile *restrict f, BcFlushType type, const char *str); >>      ^ > This looks to me like the result of an incomplete update of the sources. > > History editing has been added a few releases back and the function signature > of bc_files_puts has been changed to take 3 instead of 2 arguments. > > It looks like you got a mismatch between this header and the callers of this > function. Specifically, line 515 mentioned in the error message above is line > 517 in up-to.date sources and reads: > > bc_file_puts(&vm.fout, bc_flush_save, str); > > Definitely 3 parameters there ... > > See https://cgit.freebsd.org/src/tree/contrib/bc/src/program.c?h=stable/13#n512 > line 517 - that's what your program.c should look like ... > >> /usr/src/contrib/bc/src/program.c:529:21: error: too few arguments to function >> call, expected 2, have 1 >>                 bc_vm_putchar('\0'); >>                 ~~~~~~~~~~~~~     ^ >> /usr/src/contrib/bc/include/vm.h:437:6: note: 'bc_vm_putchar' declared here >> void bc_vm_putchar(int c, BcFlushType type); >>      ^ >> /usr/src/contrib/bc/src/program.c:552:23: error: too few arguments to function >> call, expected 2, have 1 >>                                 bc_vm_putchar('\\'); >>                                 ~~~~~~~~~~~~~     ^ >> /usr/src/contrib/bc/include/vm.h:437:6: note: 'bc_vm_putchar' declared here >> void bc_vm_putchar(int c, BcFlushType type); >>      ^ >> /usr/src/contrib/bc/src/program.c:556:18: error: too few arguments to function >> call, expected 2, have 1 >>                 bc_vm_putchar(c); >>                 ~~~~~~~~~~~~~  ^ >> /usr/src/contrib/bc/include/vm.h:437:6: note: 'bc_vm_putchar' declared here >> void bc_vm_putchar(int c, BcFlushType type); >>      ^ >> /usr/src/contrib/bc/src/program.c:601:25: error: too few arguments to function >> call, expected 2, have 1 >>                 bc_file_flush(&vm.fout); >>                 ~~~~~~~~~~~~~         ^ >> /usr/src/contrib/bc/include/file.h:76:6: note: 'bc_file_flush' declared here >> void bc_file_flush(BcFile *restrict f, BcFlushType type); >>      ^ >> /usr/src/contrib/bc/src/program.c:607:49: error: too few arguments to function >> call, expected 2, have 1 >>                         if (inst == BC_INST_PRINT) bc_vm_putchar('\n'); >> ~~~~~~~~~~~~~     ^ >> /usr/src/contrib/bc/include/vm.h:437:6: note: 'bc_vm_putchar' declared here >> void bc_vm_putchar(int c, BcFlushType type); > All the other error messages do point at a mix of source files from before > and after introduction of the history feature, too ... > > The line numbers in your version of program.c seem to be off, compared to > the current sources, e.g. check out lines 609 and 610 on the above given URL > for the correct sources that correspond to that last error message. > > Update your sources to a consistent state and your issue should be resolved. > > Let me know if there are any further problems with this program. Hi Stefan & Mark, I appreciate the quick response. That is strange. This build host didn't exist a few days ago and I started with a fresh git clone of stable/13.I could try to re-clone that but I'm not sure how it could have a mix of old and new sources. I also do a git pull before every build attempt ... root@build:/usr/src # git pull Already up to date. root@build:/usr/src # git status On branch stable/13 Your branch is up to date with 'origin/stable/13'. However, I am cross compiling aarch64 from an amd64 host which is running the release branch .... root@build:/usr/src # freebsd-version -u 13.0-RELEASE-p2 Do I need to update my amd64 build host to stable before cross compiling aarch64? I wouldn't think that compiling sources from /usr/src would be affected by release files installed on the build host. Thanks, -Matthew From nobody Sat Jun 26 10:20:25 2021 X-Original-To: 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 5848E11D755F for ; Sat, 26 Jun 2021 10:20:28 +0000 (UTC) (envelope-from se@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 4GBqd81rzSz4WbG; Sat, 26 Jun 2021 10:20:28 +0000 (UTC) (envelope-from se@freebsd.org) Received: from Stefans-MBP-449.fritz.box (p200300cd5f1d3e002d23433c24bece7b.dip0.t-ipconnect.de [IPv6:2003:cd:5f1d:3e00:2d23:433c:24be:ce7b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: se/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id A3D19FDE2; Sat, 26 Jun 2021 10:20:27 +0000 (UTC) (envelope-from se@freebsd.org) To: Matthew Grooms References: <230194b7-8836-8672-a793-a7a8c6dcb146@shrew.net> From: Stefan Esser Cc: stable@freebsd.org Subject: Re: arm64 stable/13 buildworld stops in bc Message-ID: Date: Sat, 26 Jun 2021 12:20:25 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 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 In-Reply-To: <230194b7-8836-8672-a793-a7a8c6dcb146@shrew.net> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="UvskFFFKLo30QsPTtoXIF6qBGB2Db3nOR" X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --UvskFFFKLo30QsPTtoXIF6qBGB2Db3nOR Content-Type: multipart/mixed; boundary="7CJZUEWVawwzS7Rc4H8XBfgpes4llX6Op"; protected-headers="v1" From: Stefan Esser To: Matthew Grooms Cc: stable@freebsd.org Message-ID: Subject: Re: arm64 stable/13 buildworld stops in bc References: <230194b7-8836-8672-a793-a7a8c6dcb146@shrew.net> In-Reply-To: <230194b7-8836-8672-a793-a7a8c6dcb146@shrew.net> --7CJZUEWVawwzS7Rc4H8XBfgpes4llX6Op Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: quoted-printable Am 26.06.21 um 11:18 schrieb Matthew Grooms: > On 6/26/2021 12:20 AM, Stefan Esser wrote: >=20 >> Am 26.06.21 um 04:30 schrieb Matthew Grooms: >>> Hi All, >>> >>> I've been trying to build stable/13 kernel & world periodically for a= rm64 and >>> either I'm not having very much luck or it's broken more times than i= t >>> compiles. Is there an automated process that's checking builds for th= at >>> platform? >> Hi Matthew, >> >> there automated CI tests for all supported platforms, and if bc had fa= iled >> to build there, I'd have been informed. >> >>> Most recently, world stops building with bc ( see below ). However, t= hat looks >>> like that was last touched on June 1st. Has the build really been bro= ken since >>> then? :/ >> Not for me ... >> >>> --- all_subdir_usr.bin --- >>> /usr/src/contrib/bc/src/program.c:515:28: error: too few arguments to= function >>> call, expected 3, have 2 >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 bc_file_puts(&vm.fou= t, str); >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ~~~~~~~~~~~~=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^ >>> /usr/src/contrib/bc/include/file.h:81:6: note: 'bc_file_puts' declare= d here >>> void bc_file_puts(BcFile *restrict f, BcFlushType type, const char *s= tr); >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^ >> This looks to me like the result of an incomplete update of the source= s. >> >> History editing has been added a few releases back and the function si= gnature >> of bc_files_puts has been changed to take 3 instead=C2=A0 of 2 argumen= ts. >> >> It looks like you got a mismatch between this header and the callers o= f this >> function. Specifically, line 515 mentioned in the error message above = is line >> 517 in up-to.date sources and reads: >> >> =C2=A0=C2=A0=C2=A0=C2=A0bc_file_puts(&vm.fout, bc_flush_save, str); >> >> Definitely 3 parameters there ... >> >> See https://cgit.freebsd.org/src/tree/contrib/bc/src/program.c?h=3Dsta= ble/13#n512 >> line 517 - that's what your program.c should look like ... >> >>> /usr/src/contrib/bc/src/program.c:529:21: error: too few arguments to= function >>> call, expected 2, have 1 >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 bc_vm_putchar('\0'); >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 ~~~~~~~~~~~~~=C2=A0=C2=A0=C2=A0=C2=A0 ^ >>> /usr/src/contrib/bc/include/vm.h:437:6: note: 'bc_vm_putchar' declare= d here >>> void bc_vm_putchar(int c, BcFlushType type); >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^ >>> /usr/src/contrib/bc/src/program.c:552:23: error: too few arguments to= function >>> call, expected 2, have 1 >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 bc_vm_putchar('\\'); >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ~~~~~~~~~~~~~=C2=A0=C2=A0= =C2=A0=C2=A0 ^ >>> /usr/src/contrib/bc/include/vm.h:437:6: note: 'bc_vm_putchar' declare= d here >>> void bc_vm_putchar(int c, BcFlushType type); >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^ >>> /usr/src/contrib/bc/src/program.c:556:18: error: too few arguments to= function >>> call, expected 2, have 1 >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 bc_vm_putchar(c); >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 ~~~~~~~~~~~~~=C2=A0 ^ >>> /usr/src/contrib/bc/include/vm.h:437:6: note: 'bc_vm_putchar' declare= d here >>> void bc_vm_putchar(int c, BcFlushType type); >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^ >>> /usr/src/contrib/bc/src/program.c:601:25: error: too few arguments to= function >>> call, expected 2, have 1 >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 bc_file_flush(&vm.fout); >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 ~~~~~~~~~~~~~=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 ^ >>> /usr/src/contrib/bc/include/file.h:76:6: note: 'bc_file_flush' declar= ed here >>> void bc_file_flush(BcFile *restrict f, BcFlushType type); >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^ >>> /usr/src/contrib/bc/src/program.c:607:49: error: too few arguments to= function >>> call, expected 2, have 1 >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= if (inst =3D=3D BC_INST_PRINT) bc_vm_putchar('\n'); >>> ~~~~~~~~~~~~~=C2=A0=C2=A0=C2=A0=C2=A0 ^ >>> /usr/src/contrib/bc/include/vm.h:437:6: note: 'bc_vm_putchar' declare= d here >>> void bc_vm_putchar(int c, BcFlushType type); >> All the other error messages do point at a mix of source files from be= fore >> and after introduction of the history feature, too ... >> >> The line numbers in your version of program.c seem to be off, compared= to >> the current sources, e.g. check out lines 609 and 610 on the above giv= en URL >> for the correct sources that correspond to that last error message. >> >> Update your sources to a consistent state and your issue should be res= olved. >> >> Let me know if there are any further problems with this program. >=20 > Hi Stefan & Mark, >=20 > I appreciate the quick response. >=20 > That is strange. This build host didn't exist a few days ago and I star= ted with > a fresh git clone of stable/13.I could try to re-clone that but I'm not= sure > how it could have a mix of old and new sources. I also do a git pull be= fore > every build attempt ... >=20 > root@build:/usr/src # git pull > Already up to date. > root@build:/usr/src # git status > On branch stable/13 > Your branch is up to date with 'origin/stable/13'. >=20 > However, I am cross compiling aarch64 from an amd64 host which is runni= ng the > release branch .... >=20 > root@build:/usr/src # freebsd-version -u > 13.0-RELEASE-p2 >=20 > Do I need to update my amd64 build host to stable before cross compilin= g > aarch64? I wouldn't think that compiling sources from /usr/src would be= > affected by release files installed on the build host. Hi Matthew, that might explain it ... But in fact, if it did, there would be an issue, since that would indicat= e that headers from the running system were used to build the new bc. BUT: The error messages clearly indicate a build failure caused by a mism= atch between declarations in /usr/src/contrib/bc/include/ and calls in the c f= iles. And since all files are within /usr/src/contrib/bc/, it is apparent that = files in the base system do not play a role. Please compare your sources in /usr/src/contrib/bc/ with those in the repository (starting at the link I sent). You could also go to that directory and perform "git log ." to get a list= of commits that you have on your system - compare that with the log in th= e repository. Anyway, I do not see that there is anything wrong in general, and I do as= sume it is an issue on your build system. Not much that I could do, I'm afraid. Regards, STefan --7CJZUEWVawwzS7Rc4H8XBfgpes4llX6Op-- --UvskFFFKLo30QsPTtoXIF6qBGB2Db3nOR Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAmDW/2kFAwAAAAAACgkQR+u171r99UQ6 Jgf/RH65KNC0amArdPm1kX39i9n3bL8b4y/j4QsJK6yxqc1Yq64bPSUqTN1rNLD2EHd3pq6jN9rU FTmUv0YftTH/usgDxu0cdeVD+bHMT98Wi0Fn3vXokM3YaFFHXL/zTRlo0YA/8paGpd45LGoOnVQj GVTAv8lnRefCV6p99lck0ScpM4kDE8uZUUm3Dmk4K4h8z13DU54scpixxxqbgdMtpKF4nBphTWRp zPgj/Dkf2D846f625O0EddetT1cd56DXHoTzKm+Wxu+advZYgPbtS6CNnNXnXZLmbkZwHhO1DgF6 MkSxIt/mxrQpIntb+d5jeAktRjrBwFMOnIzUsr0VAw== =tdMg -----END PGP SIGNATURE----- --UvskFFFKLo30QsPTtoXIF6qBGB2Db3nOR-- From nobody Sat Jun 26 10:51:46 2021 X-Original-To: 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 5DAEA11CA25D for ; Sat, 26 Jun 2021 10:51:55 +0000 (UTC) (envelope-from mgrooms@shrew.net) Received: from mx1.shrew.net (mx1.shrew.net [38.97.5.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4GBrKQ6fDQz4Zdq for ; Sat, 26 Jun 2021 10:51:54 +0000 (UTC) (envelope-from mgrooms@shrew.net) Received: from mail.shrew.net (mail.shrew.prv [10.24.10.20]) by mx1.shrew.net (8.15.2/8.15.2) with ESMTP id 15QApr9a026482 for ; Sat, 26 Jun 2021 05:51:53 -0500 (CDT) (envelope-from mgrooms@shrew.net) Received: from [10.24.1.224] (unknown [198.29.36.26]) by mail.shrew.net (Postfix) with ESMTPSA id 4C0F519AD5D for ; Sat, 26 Jun 2021 05:51:48 -0500 (CDT) Subject: Re: arm64 stable/13 buildworld stops in bc To: stable@freebsd.org References: <230194b7-8836-8672-a793-a7a8c6dcb146@shrew.net> From: Matthew Grooms Message-ID: <8d2e006f-7ace-e914-3a5d-8e251553719d@shrew.net> Date: Sat, 26 Jun 2021 05:51:46 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 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 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx1.shrew.net [10.24.10.10]); Sat, 26 Jun 2021 05:51:53 -0500 (CDT) X-Rspamd-Queue-Id: 4GBrKQ6fDQz4Zdq X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mgrooms@shrew.net designates 38.97.5.131 as permitted sender) smtp.mailfrom=mgrooms@shrew.net X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[38.97.5.131:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[stable@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[38.97.5.131:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[shrew.net]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:174, ipnet:38.0.0.0/8, country:US]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[stable] X-ThisMailContainsUnwantedMimeParts: N On 6/26/2021 5:20 AM, Stefan Esser wrote: > Am 26.06.21 um 11:18 schrieb Matthew Grooms: >> On 6/26/2021 12:20 AM, Stefan Esser wrote: >> >>> Am 26.06.21 um 04:30 schrieb Matthew Grooms: >>>> Hi All, >>>> >>>> I've been trying to build stable/13 kernel & world periodically for arm64 and >>>> either I'm not having very much luck or it's broken more times than it >>>> compiles. Is there an automated process that's checking builds for that >>>> platform? >>> Hi Matthew, >>> >>> there automated CI tests for all supported platforms, and if bc had failed >>> to build there, I'd have been informed. >>> >>>> Most recently, world stops building with bc ( see below ). However, that looks >>>> like that was last touched on June 1st. Has the build really been broken since >>>> then? :/ >>> Not for me ... >>> >>>> --- all_subdir_usr.bin --- >>>> /usr/src/contrib/bc/src/program.c:515:28: error: too few arguments to function >>>> call, expected 3, have 2 >>>>          bc_file_puts(&vm.fout, str); >>>>          ~~~~~~~~~~~~              ^ >>>> /usr/src/contrib/bc/include/file.h:81:6: note: 'bc_file_puts' declared here >>>> void bc_file_puts(BcFile *restrict f, BcFlushType type, const char *str); >>>>       ^ >>> This looks to me like the result of an incomplete update of the sources. >>> >>> History editing has been added a few releases back and the function signature >>> of bc_files_puts has been changed to take 3 instead  of 2 arguments. >>> >>> It looks like you got a mismatch between this header and the callers of this >>> function. Specifically, line 515 mentioned in the error message above is line >>> 517 in up-to.date sources and reads: >>> >>>     bc_file_puts(&vm.fout, bc_flush_save, str); >>> >>> Definitely 3 parameters there ... >>> >>> See https://cgit.freebsd.org/src/tree/contrib/bc/src/program.c?h=stable/13#n512 >>> line 517 - that's what your program.c should look like ... >>> >>>> /usr/src/contrib/bc/src/program.c:529:21: error: too few arguments to function >>>> call, expected 2, have 1 >>>>                  bc_vm_putchar('\0'); >>>>                  ~~~~~~~~~~~~~     ^ >>>> /usr/src/contrib/bc/include/vm.h:437:6: note: 'bc_vm_putchar' declared here >>>> void bc_vm_putchar(int c, BcFlushType type); >>>>       ^ >>>> /usr/src/contrib/bc/src/program.c:552:23: error: too few arguments to function >>>> call, expected 2, have 1 >>>>                                  bc_vm_putchar('\\'); >>>>                                  ~~~~~~~~~~~~~     ^ >>>> /usr/src/contrib/bc/include/vm.h:437:6: note: 'bc_vm_putchar' declared here >>>> void bc_vm_putchar(int c, BcFlushType type); >>>>       ^ >>>> /usr/src/contrib/bc/src/program.c:556:18: error: too few arguments to function >>>> call, expected 2, have 1 >>>>                  bc_vm_putchar(c); >>>>                  ~~~~~~~~~~~~~  ^ >>>> /usr/src/contrib/bc/include/vm.h:437:6: note: 'bc_vm_putchar' declared here >>>> void bc_vm_putchar(int c, BcFlushType type); >>>>       ^ >>>> /usr/src/contrib/bc/src/program.c:601:25: error: too few arguments to function >>>> call, expected 2, have 1 >>>>                  bc_file_flush(&vm.fout); >>>>                  ~~~~~~~~~~~~~         ^ >>>> /usr/src/contrib/bc/include/file.h:76:6: note: 'bc_file_flush' declared here >>>> void bc_file_flush(BcFile *restrict f, BcFlushType type); >>>>       ^ >>>> /usr/src/contrib/bc/src/program.c:607:49: error: too few arguments to function >>>> call, expected 2, have 1 >>>>                          if (inst == BC_INST_PRINT) bc_vm_putchar('\n'); >>>> ~~~~~~~~~~~~~     ^ >>>> /usr/src/contrib/bc/include/vm.h:437:6: note: 'bc_vm_putchar' declared here >>>> void bc_vm_putchar(int c, BcFlushType type); >>> All the other error messages do point at a mix of source files from before >>> and after introduction of the history feature, too ... >>> >>> The line numbers in your version of program.c seem to be off, compared to >>> the current sources, e.g. check out lines 609 and 610 on the above given URL >>> for the correct sources that correspond to that last error message. >>> >>> Update your sources to a consistent state and your issue should be resolved. >>> >>> Let me know if there are any further problems with this program. >> Hi Stefan & Mark, >> >> I appreciate the quick response. >> >> That is strange. This build host didn't exist a few days ago and I started with >> a fresh git clone of stable/13.I could try to re-clone that but I'm not sure >> how it could have a mix of old and new sources. I also do a git pull before >> every build attempt ... >> >> root@build:/usr/src # git pull >> Already up to date. >> root@build:/usr/src # git status >> On branch stable/13 >> Your branch is up to date with 'origin/stable/13'. >> >> However, I am cross compiling aarch64 from an amd64 host which is running the >> release branch .... >> >> root@build:/usr/src # freebsd-version -u >> 13.0-RELEASE-p2 >> >> Do I need to update my amd64 build host to stable before cross compiling >> aarch64? I wouldn't think that compiling sources from /usr/src would be >> affected by release files installed on the build host. > Hi Matthew, > > that might explain it ... > > But in fact, if it did, there would be an issue, since that would indicate > that headers from the running system were used to build the new bc. > > BUT: The error messages clearly indicate a build failure caused by a mismatch > between declarations in /usr/src/contrib/bc/include/ and calls in the c files. > > And since all files are within /usr/src/contrib/bc/, it is apparent that files > in the base system do not play a role. > > Please compare your sources in /usr/src/contrib/bc/ with those in the > repository (starting at the link I sent). > > You could also go to that directory and perform "git log ." to get a list > of commits that you have on your system - compare that with the log in the > repository. > > Anyway, I do not see that there is anything wrong in general, and I do assume > it is an issue on your build system. > > Not much that I could do, I'm afraid. Hi Stefan, Thanks again for the assistance. I just did a fresh clone of stable/13 ... root@build:~ # git clone -b stable/13 https://git.freebsd.org/src.git /usr/src Cloning into '/usr/src'... remote: Enumerating objects: 378566, done. remote: Counting objects: 100% (378566/378566), done. remote: Compressing objects: 100% (27086/27086), done. remote: Total 3965834 (delta 372825), reused 351480 (delta 351480), pack-reused 3587268 Receiving objects: 100% (3965834/3965834), 1.31 GiB | 18.79 MiB/s, done. Resolving deltas: 100% (3140074/3140074), done. Updating files: 100% (85386/85386), done. I will attempt to cross-compile world again and then report back here. Thanks, -Matthew From nobody Sat Jun 26 16:20:55 2021 X-Original-To: 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 5495411DA5AB for ; Sat, 26 Jun 2021 16:21:05 +0000 (UTC) (envelope-from mgrooms@shrew.net) Received: from mx1.shrew.net (mx1.shrew.net [38.97.5.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4GBzdD3LCpz4v1R for ; Sat, 26 Jun 2021 16:21:04 +0000 (UTC) (envelope-from mgrooms@shrew.net) Received: from mail.shrew.net (mail.shrew.prv [10.24.10.20]) by mx1.shrew.net (8.15.2/8.15.2) with ESMTP id 15QGL1H6029173 for ; Sat, 26 Jun 2021 11:21:02 -0500 (CDT) (envelope-from mgrooms@shrew.net) Received: from [10.24.1.224] (unknown [198.29.36.26]) by mail.shrew.net (Postfix) with ESMTPSA id B557219ABB2 for ; Sat, 26 Jun 2021 11:20:56 -0500 (CDT) Subject: Re: arm64 stable/13 buildworld stops in bc To: stable@freebsd.org References: <230194b7-8836-8672-a793-a7a8c6dcb146@shrew.net> <8d2e006f-7ace-e914-3a5d-8e251553719d@shrew.net> From: Matthew Grooms Message-ID: Date: Sat, 26 Jun 2021 11:20:55 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 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 In-Reply-To: <8d2e006f-7ace-e914-3a5d-8e251553719d@shrew.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx1.shrew.net [10.24.10.10]); Sat, 26 Jun 2021 11:21:02 -0500 (CDT) X-Rspamd-Queue-Id: 4GBzdD3LCpz4v1R X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mgrooms@shrew.net designates 38.97.5.131 as permitted sender) smtp.mailfrom=mgrooms@shrew.net X-Spamd-Result: default: False [-2.92 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[38.97.5.131:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[stable@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[38.97.5.131:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[shrew.net]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.62)[-0.621]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:174, ipnet:38.0.0.0/8, country:US]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[stable] X-ThisMailContainsUnwantedMimeParts: N On 6/26/2021 5:51 AM, Matthew Grooms wrote: > On 6/26/2021 5:20 AM, Stefan Esser wrote: > >>   Hi Matthew, >> >> that might explain it ... >> >> But in fact, if it did, there would be an issue, since that would >> indicate >> that headers from the running system were used to build the new bc. >> >> BUT: The error messages clearly indicate a build failure caused by a >> mismatch >> between declarations in /usr/src/contrib/bc/include/ and calls in the >> c files. >> >> And since all files are within /usr/src/contrib/bc/, it is apparent >> that files >> in the base system do not play a role. >> >> Please compare your sources in /usr/src/contrib/bc/ with those in the >> repository (starting at the link I sent). >> >> You could also go to that directory and perform "git log ." to get a >> list >> of commits that you have on your system - compare that with the log >> in the >> repository. >> >> Anyway, I do not see that there is anything wrong in general, and I >> do assume >> it is an issue on your build system. >> >> Not much that I could do, I'm afraid. > > Hi Stefan, > > Thanks again for the assistance. I just did a fresh clone of stable/13 > ... > > root@build:~ # git clone -b stable/13 https://git.freebsd.org/src.git > /usr/src > Cloning into '/usr/src'... > remote: Enumerating objects: 378566, done. > remote: Counting objects: 100% (378566/378566), done. > remote: Compressing objects: 100% (27086/27086), done. > remote: Total 3965834 (delta 372825), reused 351480 (delta 351480), > pack-reused 3587268 > Receiving objects: 100% (3965834/3965834), 1.31 GiB | 18.79 MiB/s, done. > Resolving deltas: 100% (3140074/3140074), done. > Updating files: 100% (85386/85386), done. > > I will attempt to cross-compile world again and then report back here. > Seems to be compiling now. Well, that's embarrassing. Not sure how it could have happened but I appreciate the help. Sorry for the noise. -Matthew