From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GGFVMQojHWFUGAAAgWs5BA (envelope-from ) for ; Wed, 18 Aug 2021 17:11:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iO4GLQojHWF0RQAAB5/wlQ (envelope-from ) for ; Wed, 18 Aug 2021 15:11: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 2CD791F10B for ; Wed, 18 Aug 2021 17:11:06 +0200 (CEST) Received: from localhost ([::1]:58808 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGNDc-0007ac-4F for larch@yhetil.org; Wed, 18 Aug 2021 11:11:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGNDE-0007Zu-Q7 for help-guix@gnu.org; Wed, 18 Aug 2021 11:10:40 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:33678) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mGNDC-0002wY-SR for help-guix@gnu.org; Wed, 18 Aug 2021 11:10:40 -0400 Received: by mail-wr1-x42e.google.com with SMTP id r7so4161878wrs.0 for ; Wed, 18 Aug 2021 08:10:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=x06mLTDMOKGDxJod9N4QLWZ133qXUcTka21tIaBJDzo=; b=jKXzjWV3YInnpgP05KDGuQWufo4X90q8L6QY1Zggx91rA88BW/HwVvIvCjxe+vT3bX eK9ZHrakdaJf/u+YZhrI6kcpA98h+I6t3lCOm+AfEDXjOIiSxPybjHn778stIDb+zTIf zliPC1tY5Wb7OuDePTl0V7Su53AIQm4BkbWIOMUeADJj9q1/MEFA7PpmMlX3rexUXho4 AfFz2ZamVV1r7deLT++4MIGcOQI/xSWZYgMpRIMUT3pZ74pBrdxg7IK123NPSyMT3m5R SYFPGGnSIJn3IQcQ8+IMrvjpDdBFT45uQv2q+k8jPtr1zeyEush7Wr4ghyDwcd2fQkMv kFdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=x06mLTDMOKGDxJod9N4QLWZ133qXUcTka21tIaBJDzo=; b=UEXEcfV+rzntXhBmXw+piVJ/QVUSY8GuPLZdPUzXbAXLa9cRJkuPx/O4J8NUnKH3Rr AR9SfAB+kdqVBKXD8sNA9qf7imkuspt+PUlqy6TLMKpNYgHUObLrCi/Zz4YEaOLvdkve q5TeEbvEG41S2YsL13ugBHAsqurdwQoC6sTxOfUn2u4OMHzXD+l6mSgozHaYilVqxdp2 zt2mq5mQ2uJ/gEcobhy6j9FVhIQ7t8wzKtVpLrknfe+V88ORN54yUScWZ3GQx1foxA3g emkJs6twGEsrd+3IFz7lTnVAyveiMpbSdzXCWiReBgYRSSNaY8Y2ih+LiajasloN5Eoa jmZQ== X-Gm-Message-State: AOAM5334kUPVMj6htbZ7vezNhzztTYt5vdwyajpWTOxJu820iobTltnQ 0VCcGS9CqeqZPciQADmgBmf93wvE6JtnuQ== X-Google-Smtp-Source: ABdhPJy6F7UzUsC9fNd8WwNAtPi8nDzPVN5U9juUMewPVsYE39Z3fNdPAbmKBB43xuQgmjsoS7NsNg== X-Received: by 2002:a5d:6909:: with SMTP id t9mr10850964wru.44.1629299437361; Wed, 18 Aug 2021 08:10:37 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id k1sm65552wrz.61.2021.08.18.08.10.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Aug 2021 08:10:36 -0700 (PDT) From: zimoun To: phodina , "help-guix@gnu.org" Subject: Re: File not found during package build In-Reply-To: References: Date: Wed, 18 Aug 2021 16:41:03 +0200 Message-ID: <86wnoike80.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , 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=1629299466; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=x06mLTDMOKGDxJod9N4QLWZ133qXUcTka21tIaBJDzo=; b=L4TvIzMJCBFVOZRehhjoImSJguHO4D09NGZjCFgaoSvpPVrdWIGqHYS6ydivlBlguaI2Yq 1Hm2yCl1mpHzprZ6sfiJLHdsNZ8PjPA3+ptomErq28vACdRIDML18OCUFO4HPMwvqIJljw 1E/Swq4x1WkhpQ5FO9lfx34QBiiqixbnPs15rDSyGipR8nJokSShdgAOAFpfUbHHZMA05C Agi2x0dgJ4N9gfkhDS9CnrrEm2G8M0zvzviPOg/xCu2rLKEiHuY/rA2nu2OhOSfFZGw4EZ IvxhrAN9RWa9d85dY3jE+YpN7wbHO/rshvXLoJW5KuQKgBU4MHAocr7+LCY2ww== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629299466; a=rsa-sha256; cv=none; b=XIZbUqvCr1wDdIRrRaiVys7Q4mFGMFLAlqMsg0dOs7F1hCH6rHE1CZ5t+n82lGqd9AYJuq v0czpQYO5H8lXyDCPmhuRrS369JGZe/1Hq3SVIAD1vEBb/u1aB+AmS4d0HrQOl49BK1jwb O7ZzoTQdZmghKAjTk/tlJ2V8qNqweeKbihtCRG/oFlXzUzy36yviph5FreakUK3e6RsaMe 6075T4MAs0oNwUkgwxcmgViBkc943kxFl9AS4RTJYjC+33YMyfe4i1+KZyieMo1aB9BA9h 7emcBxHIzdYiaBHX1VNPonFNimUml1ehQQUBosb44iShk7f/yi7F0d7/LTxL/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=jKXzjWV3; dmarc=pass (policy=none) header.from=gmail.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-Spam-Score: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=jKXzjWV3; dmarc=pass (policy=none) header.from=gmail.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: 2CD791F10B X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1p2At5uSBcm8 Hi, On Sat, 24 Jul 2021 at 18:32, phodina wrote: > (define-public novaboot > (package > (name "novaboot") > (version "20210126a") > (source (origin > (method git-fetch) > (uri > (git-reference > (url "https://github.com/wentasah/novaboot") > (commit version))) > (sha256 > (base32 > "1xwgxpngjp345fg4xmacyxm21wqvx4h6n6b51wnvivvzjj9vga4z")))) > (build-system gnu-build-system) > (inputs `(("perl" ,perl) ("perl-expect" ,perl-expect))) Where is defined the symbol =E2=80=99perl-expect=E2=80=99? > (arguments > '(#:phases (modify-phases %standard-phases > (delete 'configure) > (add-before 'build 'set-prefix-in-makefile > (lambda* (#:key outputs #:allow-other-keys) > (let ((out (assoc-ref outputs "out"))) > (substitute* "Makefile" > (("PREFIX=3D.*") > (string-append "PREFIX=3D" > "\n"))) > (substitute* "Makefile" > (("DESTDIR=3D.*") > (string-append "DESTDIR=3D" out "\n")))) > )) > (replace 'check > (lambda* (#:key outputs #:allow-other-keys) > (chdir "tests") > (chmod "wvtool" #o555) > (invoke "make")))))) > (synopsis "A tool that automates booting of operating systems on target= hardware or in qemu") > (description "Novaboot is a tool that automates booting of operating sy= stems on target hardware (typically embedded boards) or in Qemu. Initially,= it was developed to boot NOVA Microhypervisor (hence the name), but nowada= ys is well suited for booting Linux (and perhaps other OSes) too.") > (home-page "https://github.com/wentasah/novaboot") > (license license:gpl2))) Then I get this, which means that it also depends on Python. See in the lo= g: --8<---------------cut here---------------start------------->8--- starting phase `patch-generated-file-shebangs' [...] patch-shebang: ./tests/wvtool: warning: no binary for interpreter `python3'= found in $PATH --8<---------------cut here---------------end--------------->8--- Adding Python in the =E2=80=99inputs=E2=80=99 list, I get: --8<---------------cut here---------------start------------->8--- starting phase `check' ./wvtool runall ./novaboot.wv ./parser.wv ./expect.wv ./server.wv ./uboot.wv Traceback (most recent call last): File "./wvtool", line 131, in term =3D Term() File "./wvtool", line 71, in __init__ if os.environ['TERM'] =3D=3D 'dumb': File "/gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python= 3.8/os.py", line 675, in __getitem__ raise KeyError(key) from None KeyError: 'TERM' make: *** [Makefile:6: all] Error 1 --8<---------------cut here---------------end--------------->8--- Note that I am not convinced that =E2=80=99chmod=E2=80=99 is required here. Well to be continued to have the package working. ;-) Hope that helps, simon