From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YPq/OrrKp2AhbwAAgWs5BA (envelope-from ) for ; Fri, 21 May 2021 16:59:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id sNprNrrKp2C3DwAAB5/wlQ (envelope-from ) for ; Fri, 21 May 2021 14:59:06 +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 23EA414E46 for ; Fri, 21 May 2021 16:59:06 +0200 (CEST) Received: from localhost ([::1]:51580 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lk6cD-0005KN-73 for larch@yhetil.org; Fri, 21 May 2021 10:59:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lk6bC-00045g-KQ for guix-patches@gnu.org; Fri, 21 May 2021 10:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54063) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lk6bC-0001BJ-Ce for guix-patches@gnu.org; Fri, 21 May 2021 10:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lk6bC-0006Lx-9j for guix-patches@gnu.org; Fri, 21 May 2021 10:58:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48541] [PATCH] gnu: Fix build for ldc. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 21 May 2021 14:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48541 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Roel Janssen Cc: 48541@debbugs.gnu.org Received: via spool by 48541-submit@debbugs.gnu.org id=B48541.162160903224363 (code B ref 48541); Fri, 21 May 2021 14:58:02 +0000 Received: (at 48541) by debbugs.gnu.org; 21 May 2021 14:57:12 +0000 Received: from localhost ([127.0.0.1]:37376 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lk6aO-0006Kt-3H for submit@debbugs.gnu.org; Fri, 21 May 2021 10:57:12 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:39296) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lk6aM-0006Kf-4C for 48541@debbugs.gnu.org; Fri, 21 May 2021 10:57:11 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 8FC5F68B; Fri, 21 May 2021 16:57:03 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XqkijznDxrrq; Fri, 21 May 2021 16:57:02 +0200 (CEST) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 61C02287; Fri, 21 May 2021 16:57:02 +0200 (CEST) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <2b42fec5-8266-4953-4a6d-8b73e2105fff@gnu.org> <87o8d44cvw.fsf@gnu.org> Date: Fri, 21 May 2021 16:57:01 +0200 In-Reply-To: (Roel Janssen's message of "Fri, 21 May 2021 12:24:00 +0200") Message-ID: <87im3c6soy.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: --- X-Rspamd-Server: hera X-Rspamd-Queue-Id: 8FC5F68B X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; BAYES_HAM(-3.00)[100.00%] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621609146; h=from:from:sender:sender: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; bh=ntaKif1M5Oy4/U+Yz4KAB2pmPb8jh6B3aVfPb9YF62E=; b=iRdOXNZShD88hFIZ6g9yukXuA+oByFeRJxEOzZpzacQqUH6cnEkHDKNMjMzlhefE8kFKdm cHM3nzIQzbCavmleEiUN5RDvgvTUOz888n7hjEP0MSXRbnNvqXZDYfAdPHsT3JlQw06pNo LOdUAiNLV9PbrnXzOjPHQFx61lSetlLK9FqgRH/ehtPcj3O5kzORSkojhcSWD1d3gE4i2e Zm7TMtRBRga8XfEcEgyBFHOnv0yz2dU+C50nMTLjFU4zKqO8LqnwmUCEmawFryUchP4Kpv +2Vha8UKrt9HK+XsRAxv0mWVui/PiuOWLaRyq2jfhNS7dQMKSxm0SJpXBfnMqA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621609146; a=rsa-sha256; cv=none; b=PUO2Q58pABUN2TKuym6Y7T6CE/80RTw78mBwunogQm7PxROkr6U7b60muaf2XH3FAfnWOW LrIoZU52R0V2blpmyht01az7pbXnqSE+PfnIvhC36CJCzQdtplUHJpjQVBFN1kJovo6+86 U7kpdhX1ES0lYs1BFGsvixRuCsbBjek7/GrAH/rQbNscTgQIH0ugzz8dT9b/RxUstJTY7I 407kyunMu/AYrKlSJZLesirw5DueJNFH+j9xVsJPNRgoDZUznuWldAB2QFxxoqcytJW+f7 Ll+mnSdXiBzWs/62C1410MWrd9yrhm990souF7VPGo5l/8eChmnjkjlQvAXujQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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: -2.94 Authentication-Results: aspmx1.migadu.com; dkim=none; 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: 23EA414E46 X-Spam-Score: -2.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7Ckp8ocb83zs Hi! Roel Janssen writes: > I attached the test suite's logs for the failed tests. The complete log > can be found in 'build/Testing/Temporary/LastTest.log' of the build > directory of a failed build. It is too large to attach though. > > The log shows the following: > ------ > Test runnable/b18504.d failed. The logged output: > /tmp/guix-build-ldc-1.10.0.drv-0/build/bin/ldmd2 -conf=3D -m64 -Irunnable > -g -g -link-defaultlib-debug -od../../../../build/dmd-testsuite- > debug/runnable -of../../../../build/dmd-testsuite- > debug/runnable/b18504_0 runnable/b18504.d=20 > gdb ../../../../build/dmd-testsuite-debug/runnable/b18504_0 --batch -x > ../../../../build/dmd-testsuite-debug/runnable/b18504_0.gdb > warning: Could not trace the inferior process. > warning: ptrace: Operation not permitted > ../../../../build/dmd-testsuite-debug/runnable/b18504_0.gdb:2: Error in > sourced command file: > During startup program exited with code 127. > > ------ Interesting. Looking at ptrace(2), it=E2=80=99s not supposed to fail with = EPERM in the build environment, unless again that=E2=80=99s because of the Yama t= hing I mentioned. What=E2=80=99s the value of /proc/sys/kernel/yama/ptrace_scop= e on your build machine? So I=E2=80=99d say: adjust the comment with a link to , saying that ptrace(2) fails with EPERM, and push it. We can always improve later if/when we find more info. Thanks, Ludo=E2=80=99.