From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-patches-bounces+larch=yhetil.org@gnu.org>
Received: from mp0 ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms0.migadu.com with LMTPS
	id tFdBHrl5D2GOCAEAgWs5BA
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 08 Aug 2021 08:29:13 +0200
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 wOdNGbl5D2FfcAAA1q6Kng
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 08 Aug 2021 06:29:13 +0000
Received: from lists.gnu.org (lists.gnu.org [209.51.188.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 EDE4211EE5
	for <larch@yhetil.org>; Sun,  8 Aug 2021 08:29:12 +0200 (CEST)
Received: from localhost ([::1]:55726 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	id 1mCcJ5-00033a-S5
	for larch@yhetil.org; Sun, 08 Aug 2021 02:29:11 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:52284)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1mCcIw-00033R-UT
 for guix-patches@gnu.org; Sun, 08 Aug 2021 02:29:03 -0400
Received: from debbugs.gnu.org ([209.51.188.43]:42001)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1mCcIw-0003as-LC
 for guix-patches@gnu.org; Sun, 08 Aug 2021 02:29:02 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1mCcIw-0007Vt-EX
 for guix-patches@gnu.org; Sun, 08 Aug 2021 02:29:02 -0400
X-Loop: help-debbugs@gnu.org
Subject: [bug#49933] [PATCH core-updates-frozen] gnu: util-linux: Disable
 unreliable ioctl_ns test
Resent-From: Thiago Jung Bauermann <bauermann@kolabnow.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: guix-patches@gnu.org
Resent-Date: Sun, 08 Aug 2021 06:29:02 +0000
Resent-Message-ID: <handler.49933.B49933.162840408428804@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 49933
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Maxime Devos <maximedevos@telenet.be>
Cc: 49933@debbugs.gnu.org
Received: via spool by 49933-submit@debbugs.gnu.org id=B49933.162840408428804
 (code B ref 49933); Sun, 08 Aug 2021 06:29:02 +0000
Received: (at 49933) by debbugs.gnu.org; 8 Aug 2021 06:28:04 +0000
Received: from localhost ([127.0.0.1]:53547 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1mCcI0-0007UV-6a
 for submit@debbugs.gnu.org; Sun, 08 Aug 2021 02:28:04 -0400
Received: from mx.kolabnow.com ([95.128.36.42]:52076)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bauermann@kolabnow.com>) id 1mCcHx-0007U0-94
 for 49933@debbugs.gnu.org; Sun, 08 Aug 2021 02:28:03 -0400
Received: from localhost (unknown [127.0.0.1])
 by ext-mx-out002.mykolab.com (Postfix) with ESMTP id DA4C213CE;
 Sun,  8 Aug 2021 08:27:54 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h=
 content-type:content-type:content-transfer-encoding:mime-version
 :references:in-reply-to:message-id:date:date:subject:subject
 :from:from:received:received:received; s=dkim20160331; t=
 1628404074; x=1630218475; bh=ImFI5gCas2mGRfydNGnCA4+cH17ZHJYx9R1
 9mhN0xbg=; b=u+3JTMRUaI/dIF7IZ98+8XlXBdm4bL+MTMtKio7e4ITKM6Zy1Ks
 9wGIndp30CJkpliMMKgqEgaeusRj+T5qyUIE3PZrAEoXhTThhgnW+miTcLxKsSIQ
 DJVj7x6wZ0MjBXPSioREKYYMacYxBmAY5GiFib1nWq19EhG8N/6TWkRSinaHPdoQ
 O5L7hhlGwSKu+gGN01+c/QRbTlJJUL9p2HOaTc5LxtV8uF5+WQr41LrtWnbesjx3
 vNcEX1tAWpR0bsiuzf0pZRHeMuxkNchdBrvRZoOIjFYpfrmv5hg6D1uRr2rdiNtA
 P8Xv/jkzPdxZdmxY9Oz5zD9/qm+bigczp39aJx7fGQPlrsLXBw+0hEjOtxwaccnB
 jCb4urq/EPtBHvVUzr6FBOaj2f1KNl+AMh8BPbN1esdMHFL9Oz2srgf0xG3t5LF0
 Sh+sfXJIlEyPbXMHEKTqbIn/vlA74AllAXlfVohupYPp9ga7oxx5GNlfYHDUtINx
 VITGHcHRQDwIdzPxKhHaZdiZ/z/QOebAKmz653BP+uMotBgFjSQlVZvCfxINP5AI
 CzNpvkrhNO/xrsjYbrFNXyVwZASAGZgk0T4ON8rRFxpqHm/pWy4sMwLNQn/NnI6B
 rHxtwno7x3UKZ3aGYgbB8PCDVRAM7ux5i3ePAlu2ezVRs/Sr2inR+Xkw=
X-Virus-Scanned: amavisd-new at mykolab.com
Received: from mx.kolabnow.com ([127.0.0.1])
 by localhost (ext-mx-out002.mykolab.com [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id kJq6CznkA6tD; Sun,  8 Aug 2021 08:27:54 +0200 (CEST)
Received: from int-mx001.mykolab.com (unknown [10.9.13.1])
 by ext-mx-out002.mykolab.com (Postfix) with ESMTPS id 347D2BED;
 Sun,  8 Aug 2021 08:27:52 +0200 (CEST)
Received: from ext-subm001.mykolab.com (unknown [10.9.6.1])
 by int-mx001.mykolab.com (Postfix) with ESMTPS id 9DDBE64D;
 Sun,  8 Aug 2021 08:27:52 +0200 (CEST)
Date: Sun, 08 Aug 2021 03:27:46 -0300
Message-ID: <74088102.xUv88IJzmX@popigai>
In-Reply-To: <cc327a48ae0b6e2a2570f923b428d4dbd5eeb7cc.camel@telenet.be>
References: <cc327a48ae0b6e2a2570f923b428d4dbd5eeb7cc.camel@telenet.be>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: guix-patches@gnu.org
List-Id: <guix-patches.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guix-patches>
List-Post: <mailto:guix-patches@gnu.org>
List-Help: <mailto:guix-patches-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=subscribe>
Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org
Sender: "Guix-patches" <guix-patches-bounces+larch=yhetil.org@gnu.org>
Reply-to:  Thiago Jung Bauermann <bauermann@kolabnow.com>
X-ACL-Warn: ,  Thiago Jung Bauermann via Guix-patches <guix-patches@gnu.org>
From:  Thiago Jung Bauermann via Guix-patches via <guix-patches@gnu.org>
X-Migadu-Flow: FLOW_IN
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1628404153;
	h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:resent-cc:
	 resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=ImFI5gCas2mGRfydNGnCA4+cH17ZHJYx9R19mhN0xbg=;
	b=EkkaVmjLyzMlyKzZdBoyFVVgiZ3D0vvQD4gNLzvWytsIlkOncHBqOy6vNZmk3CFAfAFnWX
	yE89WqQagSQNfd9yOaIXKDys1NyDoycOLsd2n67nZaV+BsdacP/2sHIRTXsxKzzjk20eF5
	eoxaAXVA6kVkqCF3ZHGXMWZrsgAlij1aiMzBjeQudS0kB1FAW9KLiMGwosfduIkJVzFCDC
	gym5mS4y+rDx3JGps/KaQK6LixXDdY5qfWdyLhzGGr6meonKkMMR8sIr+kwASt4McaHdVO
	x8wpXDlm6T/6eCM0gAh+C6tjOWgYcoB1ljdC1SaUUWB0qIkTmgx/41RmXhkDtA==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628404153; a=rsa-sha256; cv=none;
	b=hYBMKfUTHZy5Hvr27FTjNmfnFIeogZsA8elQgWCr86Ztv2fRgXdxX3DYA6Rapfv5CviAif
	Q/A1UvFtaI041zAR3mbIXPu6h2EdViImlGC8MPKAB3lAAa37mRGbYmsW9mHZ/oLMNGMjYk
	tdupYDKrFo4YJL0MgsmJaV9Oi0rhBg/0fBWjD7jLfAdfUTAUQxLi/jI/OpUJkLgfpVl78A
	l42n9Ni0wcsfEERRlJAb+bPdn2skSAUUHK2Onf9ihCaCNmyylRcZcnKC6yexLQjq6ea9sF
	z8H74MuYNabRWe+I9hIRSnkYJ2kfVysFfXSqdH6J/Gd3JSOvecIWa7ByuMyciA==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=u+3JTMRU;
	dmarc=pass (policy=none) header.from=gnu.org;
	spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org
X-Migadu-Spam-Score: -0.91
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=u+3JTMRU;
	dmarc=pass (policy=none) header.from=gnu.org;
	spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org
X-Migadu-Queue-Id: EDE4211EE5
X-Spam-Score: -0.91
X-Migadu-Scanner: scn1.migadu.com
X-TUID: vZ3LTOg4iFCm

Hello Maxime,

Em s=C3=A1bado, 7 de agosto de 2021, =C3=A0s 18:54:50 -03, Maxime Devos esc=
reveu:
> diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
> index a5fd8ddaee..c964602e63 100644
> --- a/gnu/packages/linux.scm
> +++ b/gnu/packages/linux.scm
> @@ -1804,6 +1804,14 @@ providing the system administrator with some help =
in common tasks.")
>                           (string-append
>                            all "\n"
>                            "ts_skip \"setarch tests are unreliable under =
QEMU\"")))))
> +                  (add-before 'check 'disable-lsns-test
> +                    (lambda _
> +                      ;; The lsns tests can fail due to ioctl(_, NS_GET_=
USERNS)
> +                      ;; returning ENOTTY, indicating this kernel does n=
ot
> +                      ;; support user namespaces.  Curiously, this test =
can fail
> +                      ;; on i686 even if the same test passes on x86_64 =
on the
> +                      ;; same machine.  See <https://issues.guix.gnu.org=
/XXXXX>.
> +                      (delete-file "tests/ts/lsns/ioctl_ns")))
>                    (add-after 'install 'move-static-libraries
>                      (lambda* (#:key outputs #:allow-other-keys)
>                        (let ((lib    (assoc-ref outputs "lib"))

Thanks! I can confirm this behavior also happens on my machine, running
Guix on a foreign distro (Ubuntu, with kernel 5.11.0-25-generic). I ran
into the problem while trying to build =E2=80=98bootstrap-tarballs=E2=80=99=
, and with
your patch it works.

Just one suggestion: what about only deleting the problematic test if
=E2=80=98%current-system=E2=80=99 is "i686-linux"?

=2D-=20
Thanks,
Thiago