From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yOdlOsuJpmC9CgEAgWs5BA (envelope-from ) for ; Thu, 20 May 2021 18:09:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gCgNNsuJpmBjGAAAbx9fmQ (envelope-from ) for ; Thu, 20 May 2021 16:09:47 +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 626651ED3B for ; Thu, 20 May 2021 18:09:47 +0200 (CEST) Received: from localhost ([::1]:50146 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ljlF4-0002pf-7q for larch@yhetil.org; Thu, 20 May 2021 12:09:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58904) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljlEM-0002pN-Ki for guix-patches@gnu.org; Thu, 20 May 2021 12:09:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51757) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ljlEM-0001rZ-D7 for guix-patches@gnu.org; Thu, 20 May 2021 12:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ljlEM-0000El-8f for guix-patches@gnu.org; Thu, 20 May 2021 12:09: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: Thu, 20 May 2021 16:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48541 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48541@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1621526930879 (code B ref -1); Thu, 20 May 2021 16:09:02 +0000 Received: (at submit) by debbugs.gnu.org; 20 May 2021 16:08:50 +0000 Received: from localhost ([127.0.0.1]:35067 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljlE2-0000Dx-Kw for submit@debbugs.gnu.org; Thu, 20 May 2021 12:08:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:51726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljlDy-0000Dn-Es for submit@debbugs.gnu.org; Thu, 20 May 2021 12:08:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljlDy-0002mh-Ae for guix-patches@gnu.org; Thu, 20 May 2021 12:08:38 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38076) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ljlDy-0001gr-47 for guix-patches@gnu.org; Thu, 20 May 2021 12:08:38 -0400 Received: from [143.121.198.253] (port=36816) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ljlDx-0002Mc-UU for guix-patches@gnu.org; Thu, 20 May 2021 12:08:38 -0400 From: Roel Janssen Message-ID: <2b42fec5-8266-4953-4a6d-8b73e2105fff@gnu.org> Date: Thu, 20 May 2021 18:08:31 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------64176B0C9C346E1BD577E5BF" Content-Language: en-US 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=1621526987; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post; bh=kU2H/Q/ApFoBFs8pS6AAt8EdQNUEc/IP08LYn0DOBQ8=; b=ASced/qk3g7FUk4P5if7rMniOzPfxs8RmLY4WRWtJ4G8nte0vt4z7P0f52tWIwXNKztUra 28s29QLCHewS3Rab3vsYOtcLOyw75kzmcQiKr4H1H2nT440uuh3eYxb8lw6qFK7wGnQ4r2 U6riQmQBofAdtqgHFvyCD4gprFDJ5fSrInpYK6Q9hXg1O3UCZR2eejnQhEpoHJzcdmIxDO iIk05hDBZXXJ2z0/tvy4yj3WNnPp8sFHlGFiNjoqdqBBwESCyY/guUNVt0r+KopTYNQbmT DQizlnAAjozi1d5k6sX66rbpD2ttOeeuJjsGT89SgvbFCezY8wPo6a7Yf9Q9GQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621526987; a=rsa-sha256; cv=none; b=BGk/WaYMqrBj0sUFNg67OWK+Ni6vglUzfpOWEm78U8FMXK0lE53ZWmB+ar04AUFzOs/6lV D+C6FkHeZumQU5JtDojPh5vNFrOQAVfRrrH9t+jsL5RRv+/WDr7lvJamttY1MiZmX4f4Yd /mj4ettxrDGZhR85baxNC/GgGQNuVp8fnZC2HgFp/WzI8nPK2cnXytXNhaQ147/0oDdOU2 FYN9JTH9WnI3WjIschBcuxOiSJivfhflxxD8DYgSPYZBq1ixAfMVEDhUfJ66mkpSUHzSwo a1GPiO4d4ID3axo6b+F2+qYwOw+hsU+ca3WzC4Yv3J1HadXWoBXdeduT1dqq7A== 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: 626651ED3B X-Spam-Score: -2.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: HrQHHurbbrl2 This is a multi-part message in MIME format. --------------64176B0C9C346E1BD577E5BF Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Dear Guix, I looked into why our LDC package fails to build, and it seems that all tests that make use of "ptrace" fail because the build environment doesn't allow it. So I disabled these tests by removing the relevant files, and completed a successful build. If there is a way to provide the build environment with the ability to use ptrace, and if that is preferred to removing tests, then please let me know so I can prepare another patch. Kind regards, Roel Janssen --------------64176B0C9C346E1BD577E5BF Content-Type: text/x-patch; charset=UTF-8; name="0001-gnu-Fix-build-for-ldc.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-gnu-Fix-build-for-ldc.patch" >From 191aa4cc2f131453d9ffc902d72dbe16307aa0c0 Mon Sep 17 00:00:00 2001 From: Roel Janssen Date: Thu, 20 May 2021 18:04:05 +0200 Subject: [PATCH] gnu: Fix build for ldc. * gnu/packages/dlang.scm (ldc): Disable tests that use ptrace. --- gnu/packages/dlang.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gnu/packages/dlang.scm b/gnu/packages/dlang.scm index da3b818c26..33be779ba3 100644 --- a/gnu/packages/dlang.scm +++ b/gnu/packages/dlang.scm @@ -240,6 +240,16 @@ bootstrapping more recent compilers written in D.") (delete-file "tests/compilable/ctfe_math.d") (delete-file "tests/debuginfo/nested_gdb.d") (delete-file "tests/debuginfo/classtypes_gdb.d") + ;; the following tests need special permissions for ptrace: + (delete-file "tests/d2/dmd-testsuite/runnable/b18504.d") + (delete-file "tests/d2/dmd-testsuite/runnable/gdb14225.d") + (delete-file "tests/d2/dmd-testsuite/runnable/gdb14276.d") + (delete-file "tests/d2/dmd-testsuite/runnable/gdb14313.d") + (delete-file "tests/d2/dmd-testsuite/runnable/gdb14330.d") + (delete-file "tests/d2/dmd-testsuite/runnable/gdb1.d") + (delete-file "tests/d2/dmd-testsuite/runnable/gdb4149.d") + (delete-file "tests/d2/dmd-testsuite/runnable/gdb4181.d") + (delete-file "tests/d2/dmd-testsuite/runnable/gdb15729.sh") ;; the following tests plugins we don't have. (delete-file "tests/plugins/addFuncEntryCall/testPlugin.d") ;; the following tests requires AVX instruction set in the CPU. -- 2.31.1 --------------64176B0C9C346E1BD577E5BF--