From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <help-guix-bounces+larch=yhetil.org@gnu.org> Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id cCS/Bhu1l2TjZgEASxT56A (envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Sun, 25 Jun 2023 05:31:39 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uAMBBxu1l2RhGgEA9RJhRA (envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Sun, 25 Jun 2023 05:31:39 +0200 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 B9A9C1BE8F for <larch@yhetil.org>; Sun, 25 Jun 2023 05:31:38 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=MiTvUKqW; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1687663898; a=rsa-sha256; cv=none; b=aKz0APWv4ndSgH15OUPgidUn7XJmSIrqdY9vfEbg1+YOl+/ea0el/OUs09ZdzLzb7z0XNP mXX/3QoF/XG6os6piMINbeq1YrlOO4sEndVUVjh3gD2vUCqx3zmpPIqLGI776eY3M+RSC9 cW33/7mJBqKDSoZrc0sMWImrHS6Hm+U8BLxS0PiNHVou818/RpUzXPsqxR9LVfhyrB+CqF tr/74MgnzrmIXTArkmvCnM+beOLBGUaYigX8crqaVct2Pf+SHHVaLqIdawbU2R9L+MPEBE hCipGNTNu7+qlSJfZBffnXiSQDgSS3aRtgAn68FdxUtgGdUqSCKmRQv+KtK9bg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=MiTvUKqW; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1687663898; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=p1KPcejCGLTYD5brk1MrPO1MCO1Z2oGPFBYCZoCec0U=; b=bT2FzSLn6swRwGj+mQ9JySg+j71EOIZuyJnlyb9OqyiMU53IBViR6CV5XG0h5LG+zo4+n9 XlNbjxsUGeOPNcJXVQyVmumSTjqX2yFbsl8HOpYqSSu3+g/RraR/Zc55yjapiweVqCGczf EM/gJnEHFmQE6I38KDdpsUiLj6ymejDfttjb66IFAfISr1bxNG4tFxdYTIeO1E9IqGKaDO Zez2EOsJYsL8OdWLHzXDSzWd48epQzu9DLFFm4mueHX+MnjA4THY2Ker/ZzvDuXx/2uGfP Jb0xs3p6NDzosMrlilqT4uraB2aHuxI9Cwt2e8TEggcE3Fm48kc437D2fSkZkQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <help-guix-bounces@gnu.org>) id 1qDGSt-0007Pj-5U; Sat, 24 Jun 2023 23:31:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <moralesrodrigo1100@gmail.com>) id 1qDGSs-0007PX-5S for help-guix@gnu.org; Sat, 24 Jun 2023 23:31:02 -0400 Received: from mail-qk1-x72d.google.com ([2607:f8b0:4864:20::72d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <moralesrodrigo1100@gmail.com>) id 1qDGSp-0001zd-ND for help-guix@gnu.org; Sat, 24 Jun 2023 23:31:01 -0400 Received: by mail-qk1-x72d.google.com with SMTP id af79cd13be357-765942d497fso6591985a.1 for <help-guix@gnu.org>; Sat, 24 Jun 2023 20:30:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687663858; x=1690255858; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=p1KPcejCGLTYD5brk1MrPO1MCO1Z2oGPFBYCZoCec0U=; b=MiTvUKqWL+xmErDvOIXrvf1uLRkhapQ/IfiI86JiMaahLDv4WVMQAcLq2rSSVDPj5F vWFM5jEyOWNMmcC5IClQM9Rb4+nIy96ULbJGYuEYit+RQNbQIJlN/7umlgDq6pSnaw7Z alXusQK1mpYn3ePVqPPqon7yga7T1MCxK0/P71cIc4JymGHOmmlOaC4/H/5qYiyGFrY4 XjE5ermDP9VMgYUmOSRqjbEUm+D3JjT30wHCtuv1ZZg5O34GqrSiesnB6cvQqgs0J19d EKw4l2Su2WPPbQCEZoWtI9wzx0710vCse3PDYonpE0TYEZSWiPRZ83kVztVON2IlCD+y wxlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687663858; x=1690255858; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=p1KPcejCGLTYD5brk1MrPO1MCO1Z2oGPFBYCZoCec0U=; b=DfYlWEjhTbkl2sd/x0gs9PcGO0rxR3+QE/8aMOQmxeuWbj3WQsAVlHCZNjXylOzbha OxFTgDkVWuBu6ZHn9cThtdliLtcRW9lOIu0rdffYwgJgo6NV/ioTrPxT00WLJ3bybLQ9 lpleyYYfYZ8pgyeRA1KgeWBYbz8gRNAvxyGru5r8bP2w4axZIFnSZA5LLDcwShgav05E kU7wctHSBLIgjDkyO7NL35+T9tSVuwnKIeDP63/+6Ym++dXG+U0uod4g7MBYmtauGZHg XXNEtsO6EKa6gRc0LI+6d3d/rKUHfej0EmbvcR5tru9HkakNbtfJ2Ustfs6Y9Pv09OkV cTqA== X-Gm-Message-State: AC+VfDwvoWds8WOhgaXC6ZmwM5KIxos0Hw24s/UZyzTVeWBqphizp0cM h+YYskMSnbtJoLTf32ffwozmW1DluqRK/Jclh55EjTlI/iQ= X-Google-Smtp-Source: ACHHUZ4Cnkdw7nuAuQ+jbkRgUVlcUPmpPhbMIUTmpOYVOvkkrldZDz9HMztUKW18qTh79SgLHKd3rfrmldJEKUT4CPg= X-Received: by 2002:a05:620a:4551:b0:765:4330:6e6c with SMTP id u17-20020a05620a455100b0076543306e6cmr10443966qkp.55.1687663857867; Sat, 24 Jun 2023 20:30:57 -0700 (PDT) MIME-Version: 1.0 From: Rodrigo Morales <moralesrodrigo1100@gmail.com> Date: Sun, 25 Jun 2023 03:30:42 +0000 Message-ID: <CAGxMbPZ7v3utzq4-jNcXAXi-Om3Y-UKsqLvZSUmOmF7Ej5LOYA@mail.gmail.com> Subject: Newbie: How to edit a faulty package definition? To: help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::72d; envelope-from=moralesrodrigo1100@gmail.com; helo=mail-qk1-x72d.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <help-guix.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-guix>, <mailto:help-guix-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/help-guix> List-Post: <mailto:help-guix@gnu.org> List-Help: <mailto:help-guix-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-guix>, <mailto:help-guix-request@gnu.org?subject=subscribe> Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -3.91 X-Migadu-Queue-Id: B9A9C1BE8F X-Spam-Score: -3.91 X-TUID: HU+ByFVg95NI Table of Contents _________________ 1. The context 2. The workaround 3. The question 4. Reason why I don't use the `-L' flag 1 The context =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D I recently executed `guix pull' and now when I'm trying to install `emacs-subed', I get the following error: ,---- | guix package -i emacs-subed `---- ,---- | The following package will be installed: | emacs-subed 1.2.3 | | The following derivations will be built: | /gnu/store/4s3xv6gqkzaa6gkajhgvxb0dr6wrywcy-profile.drv | /gnu/store/k4h4lnfl0ynd9yrpbkmd423m3k8xwzyx-emacs-subed-1.2.3.drv | | building /gnu/store/k4h4lnfl0ynd9yrpbkmd423m3k8xwzyx-emacs-subed-1.2.3.= drv... | builder for `/gnu/store/k4h4lnfl0ynd9yrpbkmd423m3k8xwzyx-emacs-subed-1.2.3.drv' failed with exit code 1 | build of /gnu/store/k4h4lnfl0ynd9yrpbkmd423m3k8xwzyx-emacs-subed-1.2.3.= drv failed | View build log at '/var/log/guix/drvs/k4/h4lnfl0ynd9yrpbkmd423m3k8xwzyx-emacs-subed-1.2.3.drv= .gz'. | cannot build derivation `/gnu/store/4s3xv6gqkzaa6gkajhgvxb0dr6wrywcy-profile.drv': 1 dependencies couldn't be built | guix package: error: build of `/gnu/store/4s3xv6gqkzaa6gkajhgvxb0dr6wrywcy-profile.drv' failed `---- The build log is shown below. ,---- | zcat /var/log/guix/drvs/k4/h4lnfl0ynd9yrpbkmd423m3k8xwzyx-emacs-subed-1= .2.3.drv.gz `---- ,---- | starting phase `set-SOURCE-DATE-EPOCH' | phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds | starting phase `set-paths' | environment variable `PATH' set to `/gnu/store/1s82ps0dyi2xw5d3bi6g96lk90d965lf-emacs-minimal-28.2/bin:/gnu/st= ore/sxx22f98vfbavcqmdksm6as8fvskpxiw-tar-1.34/bin:/gnu/store/x24bm49ag5dvki= 72mjdz195bfb89nrnb-gzip-1.12/bin:/gnu/store/j8wlfmlmfvpbza6is9wv9xsd8psrxn0= 0-bzip2-1.0.8/bin:/gnu/store/gr0sy0m1mv36qv54idm6cn10l3mngshq-file-5.44/bin= :/gnu/store/zmcf5kpqiighkbh7wslf91qdjwj06yr1-diffutils-3.8/bin:/gnu/store/2= 10yfax18r2g2inxrml9435ikhfcca6m-patch-2.7.6/bin:/gnu/store/c8jyph2lxw0m9na3= 4fg8h70n4nnnz7is-findutils-4.9.0/bin:/gnu/store/hc05d76f1j3iz3v2bs5jz4fpljl= 1r4dj-gawk-5.2.1/bin:/gnu/store/xxcfsimvxz7z4dj593gnqbkzc6picwzq-sed-4.8/bi= n:/gnu/store/yrv5f70mn83a876b78i5s79dd2hsh0zf-grep-3.8/bin:/gnu/store/6k1yy= s9wqrfn4y41ic1win8gpnimncwj-xz-5.2.8/bin:/gnu/store/a5i8avx826brw5grn3n4qv4= 0g514505c-coreutils-9.1/bin:/gnu/store/wj7casda7rb55rvqjnpm0bm7a2zm6618-mak= e-4.3/bin:/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/b= in:/gnu/store/na1dpbbcxjaa3n8wkwrfpch476f90hlf-ld-wrapper-0/bin:/gnu/store/= zh4x65snfis7svs6906gj1z8i7dx2j3m-binutils-2.38/bin:/gnu/store/5lqhcv91ijy82= p92ac6g5xw48l0lwwz4-gcc-11.3.0/bin:/gnu/store/gsjczqir1wbz8p770zndrpw4rnppm= xi3-glibc-2.35/bin:/gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/s= bin' | environment variable `EMACSLOADPATH' set to `/gnu/store/1s82ps0dyi2xw5d3bi6g96lk90d965lf-emacs-minimal-28.2/share/emacs= /site-lisp' | environment variable `EMACSNATIVELOADPATH' unset | environment variable `INFOPATH' set to `/gnu/store/1s82ps0dyi2xw5d3bi6g96lk90d965lf-emacs-minimal-28.2/share/info:= /gnu/store/sxx22f98vfbavcqmdksm6as8fvskpxiw-tar-1.34/share/info:/gnu/store/= x24bm49ag5dvki72mjdz195bfb89nrnb-gzip-1.12/share/info:/gnu/store/zmcf5kpqii= ghkbh7wslf91qdjwj06yr1-diffutils-3.8/share/info:/gnu/store/c8jyph2lxw0m9na3= 4fg8h70n4nnnz7is-findutils-4.9.0/share/info:/gnu/store/hc05d76f1j3iz3v2bs5j= z4fpljl1r4dj-gawk-5.2.1/share/info:/gnu/store/xxcfsimvxz7z4dj593gnqbkzc6pic= wzq-sed-4.8/share/info:/gnu/store/yrv5f70mn83a876b78i5s79dd2hsh0zf-grep-3.8= /share/info:/gnu/store/a5i8avx826brw5grn3n4qv40g514505c-coreutils-9.1/share= /info:/gnu/store/wj7casda7rb55rvqjnpm0bm7a2zm6618-make-4.3/share/info:/gnu/= store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/share/info:/gnu/= store/zh4x65snfis7svs6906gj1z8i7dx2j3m-binutils-2.38/share/info:/gnu/store/= 5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/share/info:/gnu/store/gsjczqir1= wbz8p770zndrpw4rnppmxi3-glibc-2.35/share/info' | environment variable `TREE_SITTER_GRAMMAR_PATH' unset | environment variable `BASH_LOADABLES_PATH' unset | environment variable `C_INCLUDE_PATH' set to `/gnu/store/1s82ps0dyi2xw5d3bi6g96lk90d965lf-emacs-minimal-28.2/include:/gn= u/store/j8wlfmlmfvpbza6is9wv9xsd8psrxn00-bzip2-1.0.8/include:/gnu/store/gr0= sy0m1mv36qv54idm6cn10l3mngshq-file-5.44/include:/gnu/store/hc05d76f1j3iz3v2= bs5jz4fpljl1r4dj-gawk-5.2.1/include:/gnu/store/6k1yys9wqrfn4y41ic1win8gpnim= ncwj-xz-5.2.8/include:/gnu/store/wj7casda7rb55rvqjnpm0bm7a2zm6618-make-4.3/= include:/gnu/store/zh4x65snfis7svs6906gj1z8i7dx2j3m-binutils-2.38/include:/= gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/include:/gnu/store/gs= jczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/include:/gnu/store/5iklcps70c0sfk= xvlrhg8jhf3q4h18bj-linux-libre-headers-5.15.49/include' | environment variable `CPLUS_INCLUDE_PATH' set to `/gnu/store/1s82ps0dyi2xw5d3bi6g96lk90d965lf-emacs-minimal-28.2/include:/gn= u/store/j8wlfmlmfvpbza6is9wv9xsd8psrxn00-bzip2-1.0.8/include:/gnu/store/gr0= sy0m1mv36qv54idm6cn10l3mngshq-file-5.44/include:/gnu/store/hc05d76f1j3iz3v2= bs5jz4fpljl1r4dj-gawk-5.2.1/include:/gnu/store/6k1yys9wqrfn4y41ic1win8gpnim= ncwj-xz-5.2.8/include:/gnu/store/wj7casda7rb55rvqjnpm0bm7a2zm6618-make-4.3/= include:/gnu/store/zh4x65snfis7svs6906gj1z8i7dx2j3m-binutils-2.38/include:/= gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/include/c++:/gnu/stor= e/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/include:/gnu/store/gsjczqir1w= bz8p770zndrpw4rnppmxi3-glibc-2.35/include:/gnu/store/5iklcps70c0sfkxvlrhg8j= hf3q4h18bj-linux-libre-headers-5.15.49/include' | environment variable `LIBRARY_PATH' set to `/gnu/store/1s82ps0dyi2xw5d3bi6g96lk90d965lf-emacs-minimal-28.2/lib:/gnu/st= ore/j8wlfmlmfvpbza6is9wv9xsd8psrxn00-bzip2-1.0.8/lib:/gnu/store/gr0sy0m1mv3= 6qv54idm6cn10l3mngshq-file-5.44/lib:/gnu/store/hc05d76f1j3iz3v2bs5jz4fpljl1= r4dj-gawk-5.2.1/lib:/gnu/store/6k1yys9wqrfn4y41ic1win8gpnimncwj-xz-5.2.8/li= b:/gnu/store/zh4x65snfis7svs6906gj1z8i7dx2j3m-binutils-2.38/lib:/gnu/store/= gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib:/gnu/store/l0yryi5jsa1grnvw= 01c9nkz9c81cv224-glibc-2.35-static/lib:/gnu/store/visfdda934gvivwihwhlm63fd= qhhcc8a-glibc-utf8-locales-2.35/lib' | environment variable `GUIX_LOCPATH' set to `/gnu/store/visfdda934gvivwihwhlm63fdqhhcc8a-glibc-utf8-locales-2.35/lib/lo= cale' | phase `set-paths' succeeded after 0.0 seconds | starting phase `install-locale' | using 'en_US.utf8' locale for category "LC_ALL" | phase `install-locale' succeeded after 0.0 seconds | starting phase `unpack' | subed-1.2.3/ | subed-1.2.3/README.org | subed-1.2.3/ | subed-1.2.3/subed-common.el | subed-1.2.3/subed-waveform.el | subed-1.2.3/subed-align.el.license | subed-1.2.3/subed-common.el.license | subed-1.2.3/subed-ass.el | subed-1.2.3/subed-mpv.el.license | subed-1.2.3/subed-vtt.el.license | subed-1.2.3/subed-ass.el.license | subed-1.2.3/subed.el.license | subed-1.2.3/subed-word-data.el | subed-1.2.3/subed-waveform.el.license | subed-1.2.3/subed-srt.el.license | subed-1.2.3/subed-vtt.el | subed-1.2.3/subed-debug.el | subed-1.2.3/subed-tsv.el | subed-1.2.3/subed-config.el.license | subed-1.2.3/subed-debug.el.license | subed-1.2.3/subed-align.el | subed-1.2.3/subed-word-data.el.license | subed-1.2.3/subed-srt.el | subed-1.2.3/subed-mpv.el | subed-1.2.3/subed-config.el | subed-1.2.3/subed.el | subed-1.2.3/README-elpa | subed-1.2.3/Makefile | subed-1.2.3/screenshot.jpg | subed-1.2.3/tests/ | subed-1.2.3/tests/test-subed-vtt.el.license | subed-1.2.3/tests/test-subed-vtt.el | subed-1.2.3/tests/test-subed-mpv.el.license | subed-1.2.3/tests/test-subed-ass.el.license | subed-1.2.3/tests/test-subed-common.el | subed-1.2.3/tests/test-subed-mpv.el | subed-1.2.3/tests/test-subed-srt.el | subed-1.2.3/tests/undercover-init.el | subed-1.2.3/tests/test-subed-srt.el.license | subed-1.2.3/tests/test-subed-tsv.el | subed-1.2.3/tests/test-subed-common.el.license | subed-1.2.3/tests/test-subed-ass.el | subed-1.2.3/NEWS.org | subed-1.2.3/subed-pkg.el | subed-1.2.3/LICENSES/ | subed-1.2.3/LICENSES/GPL-3.0-or-later.txt | subed-1.2.3/LICENSES/CC0-1.0.txt | subed-1.2.3/AUTHORS.org | subed-1.2.3/screenshot.jpg.license | subed-1.2.3/.dir-locals.el | phase `unpack' succeeded after 0.0 seconds | starting phase `expand-load-path' | source directory "/tmp/guix-build-emacs-subed-1.2.3.drv-0/subed-1.2.3" prepended to the `EMACSLOADPATH' environment variable | phase `expand-load-path' succeeded after 0.0 seconds | starting phase `add-install-to-native-load-path' | phase `add-install-to-native-load-path' succeeded after 0.0 seconds | starting phase `patch-usr-bin-file' | phase `patch-usr-bin-file' succeeded after 0.0 seconds | starting phase `patch-source-shebangs' | phase `patch-source-shebangs' succeeded after 0.0 seconds | starting phase `patch-generated-file-shebangs' | phase `patch-generated-file-shebangs' succeeded after 0.0 seconds | starting phase `check' | emacs -batch -f package-initialize -L . -f buttercup-run-discover | Debugger entered--Lisp error: (void-function buttercup-run-discover) | buttercup-run-discover() | command-line-1(("-f" "package-initialize" "-L" "." "-f" "buttercup-run-discover")) | command-line() | normal-top-level() | | make: *** [Makefile:20: test-only] Error 255 | error: in phase 'check': uncaught exception: | %exception #<&invoke-error program: "make" arguments: ("test-only" "-j" "16") exit-status: 2 term-signal: #f stop-signal: #f> | phase `check' failed after 0.1 seconds | command "make" "test-only" "-j" "16" failed with status 2 `---- As we can see above, the build process fails because the function `buttercup-run-discover' is not found. [This commit] deleted `emacs-buttercup' from `native-inputs' in the package definition. I believe this is the cuase of the problem. [This commit] <https://git.savannah.gnu.org/cgit/guix.git/commit/gnu/packages/emacs-xyz.s= cm?id=3D79a58ae400caea6dbdf2a4193c732b5d3f3256b6> 2 The workaround =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D I solved this problem by defining my own package and using the `-L' flag. See package definition below. Note that I added `emacs-buttercup' to `native-inputs'. ,---- | cat ~/my/git-repos/guix-packages/my/test-2.scm `---- ,---- | (define-module (my test-2) | #:use-module (guix packages) | #:use-module (guix download) | ;; emacs-build-system | #:use-module (guix build-system emacs) | ;; emacs-buttercup | #:use-module (gnu packages emacs-xyz) | #:use-module (guix gexp) | #:use-module ((guix licenses) #:prefix license:)) | | (define-public emacs-subed | (package | (name "emacs-subed") | (version "1.2.3") | (source (origin | (method url-fetch) | (uri (string-append "https://elpa.nongnu.org/nongnu/subed= -" | version ".tar")) | (sha256 | (base32 | "0np4wp7pmpayz8r9p3cl7z1i7yfq8xmkn862n9d104szf4ffk0if")= ))) | (arguments | (list | #:tests? #t | #:test-command #~(list "make" "test-only"))) | (native-inputs | (list emacs-buttercup)) | (build-system emacs-build-system) | (home-page "https://elpa.nongnu.org/nongnu/subed.html") | (synopsis "Major mode for editing subtitles") | (description | "@code{subed} is an Emacs major mode for editing subtitles while playing | the corresponding video with @code{mpv}. At the moment, the only suppo= rted | formats are SubRip (@file{.srt}), WebVTT (@file{.vtt}), and Advanced | SubStation Alpha (@file{.ass}).") | (license license:gpl3+))) `---- See installation below. Note that guix complains that there's an ambiguous package. ,---- | guix package -L ~/my/git-repos/guix-packages --no-substitutes -i emacs-= subed | echo "--- Exit code: $?" `---- ,---- | guix package: warning: ambiguous package specification `emacs-subed' | guix package: warning: choosing emacs-subed@1.2.3 from my/test-2.scm:12= :2 | The following package will be installed: | emacs-subed 1.2.3 | | The following derivations will be built: | /gnu/store/bbwwyfnkgpl6gaqfbm8v1mpa5fpba7zb-profile.drv | /gnu/store/zfkprsd6bxhf4wmz5zd5ad7mhck0j76m-emacs-subed-1.2.3.drv | | building /gnu/store/zfkprsd6bxhf4wmz5zd5ad7mhck0j76m-emacs-subed-1.2.3.= drv... | listing Emacs sub-directories... | building profile with 7 packages... | --- Exit code: 0 `---- 3 The question =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D I know that One way to solve the problem of a faulty package definition is: First, send a patch. Second, wait for the patch to be added to the source code. Third, once the patch is added, execute `guix pull'. At this point, executing `guix package -i <<package>>' shouldn't fail. However, I feel that one downside of doing this is that the user needs to wait until the patch is added to the source code. Sometimes, some users might be in a hurry and they want to be able to use a package. This leads to my second question: Is there a way to edit the package definitions so that `guix package -i' look at them without having to use the `-L' flag? See next section on why I don't want to use the `-L' flag. 4 Reason why I don't use the `-L' flag =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D The reason is that I'm currently using `guix home reconfigure' and even though I use the `-L' flag, `guix home' gives higher priority to `emacs-subed', so the build process fails and `guix home' can't exit successfully due to that faulty package. ,---- | guix home -L ~/my/git-repos/guix-packages reconfigure ~/my/git-repos/guix-config/home-configuration.scm `---- ,---- | substitute: substitute: [Kupdating substitutes from 'https://ci.guix.gnu.org'... 0.0% substitute: [Kupdating substitutes from 'https://ci.guix.gnu.org'... 33.3% substitute: [Kupdating substitutes from 'https://ci.guix.gnu.org'... 66.7% substitute: [Kupdating substitutes from 'https://ci.guix.gnu.org'... 100.0% | substitute: substitute: [Kupdating substitutes from 'https://bordeaux.guix.gnu.org'... 0.0% substitute: [Kupdating substitutes from 'https://bordeaux.guix.gnu.org'... 33.3% substitute: [Kupdating substitutes from 'https://bordeaux.guix.gnu.org'... 66.7% substitute: [Kupdating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0% | The following derivations will be built: | /gnu/store/xn5wc23wlz2cc9bc0cagnv0fdvkrhaaz-home.drv | /gnu/store/5fzw0iw5ngihlnj0s5sjcgi4f9i1bmpm-activate.drv | /gnu/store/5g4ddbrbshmy7b1dirlg5yih22abxdxf-update-symlinks.drv | /gnu/store/5kdl497kqhzd3hrbzm019yh4fdrdjm8i-profile.drv | /gnu/store/k4h4lnfl0ynd9yrpbkmd423m3k8xwzyx-emacs-subed-1.2.3.drv | /gnu/store/hhhiw4k4j4finbfn3vpyip9i934k3hyj-setup-environment.drv | | building /gnu/store/5g4ddbrbshmy7b1dirlg5yih22abxdxf-update-symlinks.dr= v... | building /gnu/store/k4h4lnfl0ynd9yrpbkmd423m3k8xwzyx-emacs-subed-1.2.3.= drv... | builder for `/gnu/store/k4h4lnfl0ynd9yrpbkmd423m3k8xwzyx-emacs-subed-1.2.3.drv' failed with exit code 1 | build of /gnu/store/k4h4lnfl0ynd9yrpbkmd423m3k8xwzyx-emacs-subed-1.2.3.= drv failed | View build log at '/var/log/guix/drvs/k4/h4lnfl0ynd9yrpbkmd423m3k8xwzyx-emacs-subed-1.2.3.drv= .gz'. | building /gnu/store/5fzw0iw5ngihlnj0s5sjcgi4f9i1bmpm-activate.drv... | cannot build derivation `/gnu/store/5kdl497kqhzd3hrbzm019yh4fdrdjm8i-profile.drv': 1 dependencies couldn't be built | cannot build derivation `/gnu/store/xn5wc23wlz2cc9bc0cagnv0fdvkrhaaz-home.drv': 1 dependencies couldn't be built | guix home: error: build of `/gnu/store/xn5wc23wlz2cc9bc0cagnv0fdvkrhaaz-home.drv' failed `---- The main topic of this thread could have been: How to make "guix home" give higher priority to a path specified through the `-L' flag? But I decided not to ask for help on `guix home', because there are less "guix home" users than Guix users, so I might need to wait significantly more to get some help. I'd rather learn how to edit package definitions and make `guix package -i' aware of that. I've opened another thread on a question related to "guix edit" [here]. [here] <https://lists.gnu.org/archive/html/help-guix/2023-06/msg00094.html>