From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ivkyLwAIfGCjcAEAgWs5BA (envelope-from ) for ; Sun, 18 Apr 2021 12:20:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id cIIHKQAIfGDqIwAA1q6Kng (envelope-from ) for ; Sun, 18 Apr 2021 10:20:48 +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 DFB8515967 for ; Sun, 18 Apr 2021 12:20:47 +0200 (CEST) Received: from localhost ([::1]:54090 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lY4Xm-000545-45 for larch@yhetil.org; Sun, 18 Apr 2021 06:20:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47228) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lY0t5-0004ZI-Hm for help-guix@gnu.org; Sun, 18 Apr 2021 02:26:31 -0400 Received: from forward101o.mail.yandex.net ([2a02:6b8:0:1a2d::601]:49746) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lY0t2-0000Pa-Fw for help-guix@gnu.org; Sun, 18 Apr 2021 02:26:31 -0400 Received: from forward103q.mail.yandex.net (forward103q.mail.yandex.net [IPv6:2a02:6b8:c0e:50:0:640:b21c:d009]) by forward101o.mail.yandex.net (Yandex) with ESMTP id 4D2023C009FA for ; Sun, 18 Apr 2021 09:26:22 +0300 (MSK) Received: from vla1-959417d84f9a.qloud-c.yandex.net (vla1-959417d84f9a.qloud-c.yandex.net [IPv6:2a02:6b8:c0d:39a2:0:640:9594:17d8]) by forward103q.mail.yandex.net (Yandex) with ESMTP id 4AC3F61E0004 for ; Sun, 18 Apr 2021 09:26:22 +0300 (MSK) Received: from vla1-1bc5b51c612f.qloud-c.yandex.net (vla1-1bc5b51c612f.qloud-c.yandex.net [2a02:6b8:c0d:89c:0:640:1bc5:b51c]) by vla1-959417d84f9a.qloud-c.yandex.net (mxback/Yandex) with ESMTP id pseVj63uPg-QMJeJKOn; Sun, 18 Apr 2021 09:26:22 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1618727182; bh=2+UKjaWpBTyOwTpFLJZiaZL/CHZLNlRPPWPyJalCTwk=; h=Reply-To:Subject:To:From:Message-ID:Date; b=CXtpsGu3du37WkQ/qzEWmOqG7IWx5AuvCTuwsYpipdKkaPE6RFNpZzGBkc3CNPIxh XM8FYElKrCPIDGT0X6xs1Ei/VN075LGlnuaDG0rP/daoO6zS6QqikGBv/OoiiSHlNF dXDWc726CMaaIdXdcp14bCpH/uI7leh1UgJkuGEo= Received: by vla1-1bc5b51c612f.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id YbvPAUTtLF-QLK4nafk; Sun, 18 Apr 2021 09:26:21 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) User-agent: mu4e 1.4.15; emacs 27.2 From: Dmitry Matveyev To: help-guix@gnu.org Subject: How to debug hanging "check" phase when building Kakoune Date: Sun, 18 Apr 2021 12:26:20 +0600 Message-ID: <87sg3ocdmb.fsf@yandex.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a02:6b8:0:1a2d::601; envelope-from=greenfork.lists@yandex.com; helo=forward101o.mail.yandex.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 18 Apr 2021 06:20:28 -0400 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: greenfork.lists@yandex.com Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618741248; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=2+UKjaWpBTyOwTpFLJZiaZL/CHZLNlRPPWPyJalCTwk=; b=b7EToXiYaPv69bm45RAIZMc7022XrFxZxZYVdC0evbRXuIca+uO5GKuJ0miFVuv/YxQ2TB ICua/0N4CBmITOD4i/RG2m7qubOtDYPqqZFYq8FM9HH0jEXS5x4crEQnPvLI6rAnSmVmKk OUDdwp51cNkfyjefh+UwqW5XQ9E1v0vWVP85W0OW2sNgxO6WHJBhWV1HnSBElwLMP7lVqH 8YGo/8/v87zKBlxcsVBS+JwAXYeHngkjPvBhLWg8/1NGQ8lbKZB0HNjEbbLJre46R3Suuw lw9r6aoHeT9Dm6UVtijkFjs2FiFlOBMY3feX4NGCJ29Kngt6a74JydSh7SK+4A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618741248; a=rsa-sha256; cv=none; b=eg8SnD2j0ytRksKWXH0yniHiqs82RQ5zT6/KElI9xOIhq0ivheagzy5wA9P5a2udYEBI2v fmgI8WlRHU+AzvBG9F6N3w/nv2RvaWLxlBcJNx1AXNRtXeolrEyDkisirHIbR/uaHvINOW MEinBg5mD1QBLoRuBy3397L7NDC1p43+zyJBCkvRH1ZOAVn/nSvbY/Npakp+pt/Tppf+B1 UE5e5/hykFP5x79Iyj36zKcrhBpoxgrBaLzhPlVqqyDvN7UWIYOBk8xS9n1oEMKPUJaQfY B3xLufyEKQfgvYmvnjIX2IdDp/mIjm4B1UKyNsvz8BVb6dKexdOSCM8bBhIqHg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=yandex.com header.s=mail header.b=CXtpsGu3; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -3.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=yandex.com header.s=mail header.b=CXtpsGu3; dmarc=pass (policy=none) header.from=yandex.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: DFB8515967 X-Spam-Score: -3.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: H2Wag7Kfl6DL Hi, I use guix on Arch Linux, version 050be36cbf3a42199f64f2e44c59f1cb1b3afab5. When I run guix build --check kakoune everything builds correctly. Now I change original `source` definition to fetch not from url but from git repository. Original source and version: (version "2020.09.01") (source (origin (method url-fetch) (uri (string-append "https://github.com/mawww/kakoune/" "releases/download/v" version "/" "kakoune-" version ".tar.bz2")) (sha256 (base32 "0x81rxy7bqnhd9374g5ypy4w4nxmm0vnqw6b52bf62jxdg2qj6l6")))) And my modified kakoune package: (define-module (mykak) #:use-module (guix packages) #:use-module (guix git-download) #:use-module (gnu packages text-editors)) (package (inherit kakoune) (version "2020.09.01") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/mawww/kakoune.git") (commit (string-append "v" version)))) (file-name (git-file-name "mykak" version)) (sha256 (base32 "091qzk0qs7hql0q51hix99srgma35mhdnjfd5ncfba1bmc1h8x5i"))))) Now when I run to build this package, assuming it is named `kakoune.scm`: guix build --check -f kakoune.scm it freezes with this output: phase `build' succeeded after 29.7 seconds starting phase `check' ln -sf kak.opt kak cd ../test && ./run kak-tests.R6Lc8cJk compose And the problem as I figured out with printf debugging is on this line: https://github.com/mawww/kakoune/blob/v2020.09.01/test/run#L71 Same result is when I manually download tarball from github, unpack and use it to build the package: (define-module (mykak) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix gexp) #:use-module (gnu packages text-editors)) (package (inherit kakoune) (version "2020.09.01") (source (local-file "/tmp/kakoune-2020.09.01" #:recursive? #t))) I have assumption that this is somehow connected with read-write permissions because when I keep failed builds and later try to delete them, it asks whether I really want to delete some read-only files. I have no idea how exactly that `test/run` script works with all the pipes and output redirection. And I have no idea how to check why this build phase hangs. Any tips would be really helpful. Regards, Dmitry.