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 ms0.migadu.com with LMTPS id EMYYAujbp2BDlQAAgWs5BA (envelope-from ) for ; Fri, 21 May 2021 18:12:24 +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 EGtpOefbp2CScQAA1q6Kng (envelope-from ) for ; Fri, 21 May 2021 16:12:23 +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 B0701167BA for ; Fri, 21 May 2021 18:12:23 +0200 (CEST) Received: from localhost ([::1]:42648 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lk7l8-0004XS-Q5 for larch@yhetil.org; Fri, 21 May 2021 12:12:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46276) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lk7jq-0002Rs-Eh for guix-patches@gnu.org; Fri, 21 May 2021 12:11:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54123) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lk7jq-0006L3-5k for guix-patches@gnu.org; Fri, 21 May 2021 12:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lk7jq-0008Dw-0D for guix-patches@gnu.org; Fri, 21 May 2021 12:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48541] [PATCH] gnu: Fix build for ldc. Resent-From: Roel Janssen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 21 May 2021 16:11:01 +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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 48541@debbugs.gnu.org Received: via spool by 48541-submit@debbugs.gnu.org id=B48541.162161342231563 (code B ref 48541); Fri, 21 May 2021 16:11:01 +0000 Received: (at 48541) by debbugs.gnu.org; 21 May 2021 16:10:22 +0000 Received: from localhost ([127.0.0.1]:37436 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lk7jC-0008D0-B3 for submit@debbugs.gnu.org; Fri, 21 May 2021 12:10:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lk7j7-0008Ce-1Z for 48541@debbugs.gnu.org; Fri, 21 May 2021 12:10:20 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48594) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lk7j1-00061l-I0; Fri, 21 May 2021 12:10:11 -0400 Received: from 2001-1c02-0b18-2900-222e-248e-9586-e52d.cable.dynamic.v6.ziggo.nl ([2001:1c02:b18:2900:222e:248e:9586:e52d]:57482) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lk7j0-0000h2-90; Fri, 21 May 2021 12:10:11 -0400 Message-ID: <66023883188fa15907b02e9968fe8dad971ffa6c.camel@gnu.org> From: Roel Janssen Date: Fri, 21 May 2021 18:10:06 +0200 In-Reply-To: <87im3c6soy.fsf_-_@gnu.org> References: <2b42fec5-8266-4953-4a6d-8b73e2105fff@gnu.org> <87o8d44cvw.fsf@gnu.org> <87im3c6soy.fsf_-_@gnu.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.40.1 (3.40.1-1.fc34) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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=1621613543; 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=ScsKSslIaTtCVwLqSgfYQ9/A/EIUNMZRkSMVUHFGjUk=; b=rKPPgp1qH2IUzm4nCBntJABlr20McqYY03uKrsfSSyqB+yqkb+lE3IR0eKjwQBwhgaYa6g BYWhSfAy0i8pZkBh0fuDMVGm9n6NsITEC1SC3J5VBguyDrZ3u3joOlHJBkti5++3pD7WB+ 8KXnfWZ0kkxwJDxXwX7nbgQjFWnez5cEX07H4/7MhMxHeDVzADMEQte08X8DucrWY/mbrA uNeC573xzvlUS7TmzHMI+T59HpetJnQizuFfQcl9/MAQSlTp38JuZPFDT4LYZxDJbnPifa JvVYw5VJ4tw1LTA8U+pmtHWznMnzyh2bAIgsoS0rzBHTGOokqk4jnXAEyMHhNA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621613543; a=rsa-sha256; cv=none; b=uZdaW8jw8T76VDLfbVkTQguGNafA2jLRKx82n9j2UyIqf/q0Hw8lokPXlIxY6oD10cknnV wO0GI2tRmjyPDC1dj/SBEHFreACxHqbV4fVT46gUQpyluzw9pScRPuvqsQFWpw0ezCCjJY VKV9yQKe+Ft+k+MkxxEpV1sLy580SaS0/OzPUYZgyhcff/9TuOnDTae/TbzGzLP8TWBSvN 0BR+Ux8c35hc48ORbrEXngk9ogOUQJaXMXcwUBkbsIBv5uYlrtz/gw5ffMqXVkjgjR0IVh xrAFodOHfMk0locL7LrbWGCAGzaQ7Se+O6OZUdPsEWpQPFCFBJGmXbzfPVUSow== 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: B0701167BA X-Spam-Score: -2.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: 67RWa6eI84oY On Fri, 2021-05-21 at 16:57 +0200, Ludovic Courtès wrote: > 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= -m64 - > > Irunnable > > -g -g -link-defaultlib-debug  -od../../../../build/dmd-testsuite- > > debug/runnable -of../../../../build/dmd-testsuite- > > debug/runnable/b18504_0  runnable/b18504.d > > 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’s not supposed to fail with > EPERM > in the build environment, unless again that’s because of the Yama > thing > I mentioned.  What’s the value of /proc/sys/kernel/yama/ptrace_scope > on > your build machine? > Interesting indeed. Then I don't know why it fails. It is set to 0 on my build machine. > So I’d 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. > I adjusted the comment in the recipe, and pushed in 082988afac8ddac7525b40fb7ef8da7ff40f8ad3. Thanks for the quick reviewing! > > Thanks, > Ludo’. >