From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eO30J616sV7BXAAA0tVLHw (envelope-from ) for ; Tue, 05 May 2020 14:39:41 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id MDBnELh6sV6VXQAA1q6Kng (envelope-from ) for ; Tue, 05 May 2020 14:39:52 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5CF2E942546 for ; Tue, 5 May 2020 14:38:10 +0000 (UTC) Received: from localhost ([::1]:59608 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVyi2-0002n9-QH for larch@yhetil.org; Tue, 05 May 2020 10:38:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34638) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVyhu-0002l9-A5 for bug-guix@gnu.org; Tue, 05 May 2020 10:38:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53682) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jVyhu-0003iP-0W for bug-guix@gnu.org; Tue, 05 May 2020 10:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jVyht-0000OK-V1 for bug-guix@gnu.org; Tue, 05 May 2020 10:38:01 -0400 Subject: bug#41090: [core-updates] fakeroot fails its test suite (breaks spacefm) Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Tue, 05 May 2020 14:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 41090 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer , 41090-done@debbugs.gnu.org Mail-Followup-To: 41090@debbugs.gnu.org, mbakke@fastmail.com, maxim.cournoyer@gmail.com Received: via spool by 41090-done@debbugs.gnu.org id=D41090.15886894251435 (code D ref 41090); Tue, 05 May 2020 14:38:01 +0000 Received: (at 41090-done) by debbugs.gnu.org; 5 May 2020 14:37:05 +0000 Received: from localhost ([127.0.0.1]:36993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVygy-0000N5-LY for submit@debbugs.gnu.org; Tue, 05 May 2020 10:37:04 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:50029) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVygx-0000MZ-RL for 41090-done@debbugs.gnu.org; Tue, 05 May 2020 10:37:04 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 45C275C00BB; Tue, 5 May 2020 10:36:57 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 05 May 2020 10:36:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm2; bh=ONGKE+HrOj77bM3SbN567oGeFm fr6GKpPN0nvVu49ac=; b=O1KphibMW49knyAMdw4JX514BoPOnxsxW7uP5gBj/m S4xx9jO3JvC08PCMQViISCBZD+JhCEcNBPDFj7jJOB3IzCgVhQBWst6PENpKT3KT 4y/K0Xso4IGMA781TpNQxMKzjZLrgCgfjroBYjNhahvzgHmxpAZ93WIxleFjH1/p gKzOf8Le/vl+uuh4c0Bek6kH+1AtiSpkH4eUHq7T4jEqfs6f5aQSpTb7NRu0OGMl yQpYbvtFUP1L7wMc+403fJHqNvL2faYnxSThHbbpFK/hinoGbSXRq0zTayd0R/Wh 5sp6tlapcW+Aw2e3trg3Aaetay2O5CH3Wg9BQP7jfGrg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=ONGKE+ HrOj77bM3SbN567oGeFmfr6GKpPN0nvVu49ac=; b=cs2K++9Ae+eZuEHkdPqszU Rq8hXHxNVx78zmkvXKbHnDB5ZffOv0m54tKAaCPZPxBacNIW75CXWgYX1U74tsv3 uTdSVwbxgY0bw6diwih6Qnq+JHX/sGG/RVQa2slONoiko70uDt0JBElfilK/wxfn uMSAAnxA+0v3LqB8Rf3i4mcD7Wzq/qBu4dZcCNDmaYwW3vKtYU4wXwrdJ7GOeO5v uBTDmcZ/OBzMoYkdw2H7gUTgE77CIEIoDyDtHLOiLP0rwvT5I8E8CEqm1LDv3piT Kd326ouGT6uMgLP4U3+OcqmL6FRmeyuzSJfR3ewcwIXHmHBhWLIwlHVWu1crhV3w == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrjeeigdejhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffujghffgffkfggtgesghdtreertdertdenucfhrhhomhepofgrrhhiuhhs uceurghkkhgvuceomhgsrghkkhgvsehfrghsthhmrghilhdrtghomheqnecuggftrfgrth htvghrnheptddvgfegveegiedvffeujeeitdetvdektddugffgtdegfeeitdeikeffudfg ueffnecukfhppeekgedrvddtvddrieekrdejheenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Received: from localhost (ti0006q161-2604.bb.online.no [84.202.68.75]) by mail.messagingengine.com (Postfix) with ESMTPA id CB351328005E; Tue, 5 May 2020 10:36:56 -0400 (EDT) From: Marius Bakke In-Reply-To: <878si72qle.fsf@gmail.com> References: <878si72qle.fsf@gmail.com> User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Tue, 05 May 2020 16:36:54 +0200 Message-ID: <87mu6mzbw9.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 X-Spam-Score: -2.01 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=fastmail.com header.s=fm2 header.b=O1KphibM; dkim=fail (rsa verify failed) header.d=messagingengine.com header.s=fm2 header.b=cs2K++9A; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fastmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Scan-Result: default: False [-2.01 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.4954954889556]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; FREEMAIL_FROM(0.00)[fastmail.com]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.12), country: US(-0.00), ip: 2001:470:142::17(-0.50)]; R_DKIM_REJECT(1.00)[fastmail.com:s=fm2,messagingengine.com:s=fm2]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[fastmail.com:-,messagingengine.com:-]; MAILLIST(-0.20)[mailman]; SIGNED_PGP(-2.00)[]; FREEMAIL_TO(0.00)[gmail.com,debbugs.gnu.org]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[mbakke@fastmail.com,bug-guix-bounces@gnu.org]; ARC_NA(0.00)[]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; FROM_HAS_DN(0.00)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; HAS_LIST_UNSUB(-0.01)[]; RCVD_COUNT_SEVEN(0.00)[10]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[fastmail.com : SPF not aligned (relaxed),none] X-TUID: Lzf2GVebcWSQ --=-=-= Content-Type: text/plain Maxim Cournoyer writes: > Hello, > > Testing the core-updates branch, I got this failure from fakeroot: > > --8<---------------cut here---------------start------------->8--- > make check-TESTS > make[2]: Entering directory '/tmp/guix-build-fakeroot-1.24.drv-0/fakeroot-1.24/test' > make[3]: Entering directory '/tmp/guix-build-fakeroot-1.24.drv-0/fakeroot-1.24/test' > PASS: t.falsereturn > PASS: t.truereturn > PASS: t.option > PASS: t.echoarg > FAIL: t.mknod > PASS: t.touchinstall > FAIL: t.chmod_dev > PASS: t.no_ld_preload > PASS: t.no_ld_preload_link > FAIL: t.xattr > PASS: t.cp-a > PASS: t.tar > ======================================== > fakeroot 1.24: test/test-suite.log > ======================================== > > # TOTAL: 12 > # PASS: 9 > # SKIP: 0 > # XFAIL: 0 > # FAIL: 3 > # XPASS: 0 > # ERROR: 0 > > .. contents:: :depth: 2 > > FAIL: t.chmod_dev > ================= > > -rw-r--r-- 1 nixbld nixbld 0 May 5 00:04 t.chmod_dev.dir/hda3 > FAIL t.chmod_dev (exit status: 1) > > FAIL: t.mknod > ============= > > -rw-r--r-- 1 nixbld nixbld 0 May 5 00:04 t.mknod.dir/hda3 > FAIL t.mknod (exit status: 1) These two tests create a block device with 'mknod' inside the fakeroot, and afterwards verifies with 'ls' that they are in fact block devices. It turns out that the 'ls' invokation does not work because the newer 'ls' uses statx() which is not supported/caught by fakeroot, and thus it does not see the fake block device. So I changed these tests to use 'test -b' as a stopgap measure. > FAIL: t.xattr > ============= > > unable to set CAP_SETFCAP effective capability: Operation not permitted > FAIL t.xattr (exit status: 1) This turned out to be a regression in 'libcap', fixed by providing a newer version. Fixed in ba151b7e1a9cc0baf932b5c5e0c916e54d2e27f4, thanks! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl6xegYACgkQoqBt8qM6 VPrp9Af/Q4EQkoWMQ8bZsH9yA9qyieVMH5JxeADzE9FfTOY5ishK2yyp5Dj/nRUb Ly4/k3ustVC1ZTgpjfUzPVIFdToJkOhtUG7yoU4YEAU7QKxcaHmh3zXtDaap8Ywp wJzIULtpVTJ9wuFZb9NeZ54UEPEF2Sj56v6cCDefJAPwCBEOL9Iwu2WeRwsbyyvK P1tHm1oo9y69Qbs6DXyMXWcWZdYeSQNCe0YoTeY+bE9N0dnlp0bH1zEG1gEJdlof bMIMSq1Hw+YNK3NUONzc+YCohS6Yr06kjxXfgCnDqJzJ8s1YVuvL2sf46/6lwNxH XfTX4BHDuirePRtWRFh4C4BqFA0tIQ== =yis3 -----END PGP SIGNATURE----- --=-=-=--