From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GMwHAFPpkWA7uAAAgWs5BA (envelope-from ) for ; Wed, 05 May 2021 02:39:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id yABfN1LpkWCTawAA1q6Kng (envelope-from ) for ; Wed, 05 May 2021 00:39:46 +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 0BC8F22489 for ; Wed, 5 May 2021 02:39:46 +0200 (CEST) Received: from localhost ([::1]:47328 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1le5Zo-0006Rb-4q for larch@yhetil.org; Tue, 04 May 2021 20:39:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1le5Ze-0006RV-AK for help-guix@gnu.org; Tue, 04 May 2021 20:39:34 -0400 Received: from mail-io1-xd34.google.com ([2607:f8b0:4864:20::d34]:46892) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1le5Zb-0002H0-Ou for help-guix@gnu.org; Tue, 04 May 2021 20:39:34 -0400 Received: by mail-io1-xd34.google.com with SMTP id b9so140166iod.13 for ; Tue, 04 May 2021 17:39:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atai-org.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=sHZPPuZYHkuQlLElDNAoDp0eHplXgy+oO6JrwD18BFo=; b=p5wzOOrBUzDUzHDp7l7falVkP3mr4rhBcE+XYAjgK7ZltxEYGcTfPcKv+WzrlNNclA cwsvQKvVWJPeQOSb+vZtbjCVDVn2g45OYEdRZciNGY3d/9DAI4bS5PmV3W8PkN2GTNzm foA5KmM5w26wR985ia/VAoxhdoweATfhfNrlJ0SNo/m7XQg0imFo4YQzQcnWf2d/Kyau FBDO3KQSP00t0TL2kt9MWjyFiXU27uFmS2zt/8Evd/KTjqG+ZYiIr1Wp3YCoCsVIdNhE c9EeA+CcWOdPPSDzEpxyVM/MPhfTRgCh0/2xaZmKAv6j1+nI357AujyAigtDpORMMXCb H1rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=sHZPPuZYHkuQlLElDNAoDp0eHplXgy+oO6JrwD18BFo=; b=fSJ+LF96Qv/9ATAXfNq0Nwl1OW+7mI7DKfKqd13LfFU9Lu7wAcisFmePQEUe5785DG GE4bYVRGiIMsHfEp0+ef9Yim1d+5YirWaM9foJwbE5v9smj7CPq88zdAXjWMAht/fJqu f/GLSH0uo6wzBvtzZvHPAsVKHOuF+iWFulxAbaW6HKTKY6pBHk16zLom/mGK0wsMpbYk lmeYL/0UuAWQYCW/m0/IS/4DEuOBcfpI1/PFTir6uHtwZEjmNjZsJYxb7VHulxFhLc3p a50a0DyDBO8hn7zvZrBMztqT3xH5IlZUw1zfWploVTV9L1iFp97xxdzyuz62Lq8I6iJd +NoQ== X-Gm-Message-State: AOAM531brmIaHOG02EIVQqMUJ2lgpOERDKEIXnepDEBqeIj07TQfdxD5 wOCYaCHJdhSXTawb/tcjRoHPjs+nhlb55l061OYPVlUMPh8= X-Google-Smtp-Source: ABdhPJxBJc2DiWVRWdIIFzpf6Z9cJqeu0XCM2jtmVKfN91aOcqCnZ0V0dARdL8+RmZZyS1WoAip5nYbIuKu7Npcm/ow= X-Received: by 2002:a5e:9b06:: with SMTP id j6mr20337522iok.117.1620175167788; Tue, 04 May 2021 17:39:27 -0700 (PDT) MIME-Version: 1.0 From: Andy Tai Date: Tue, 4 May 2021 17:38:36 -0700 Message-ID: Subject: scheme error message: better hint at file location? To: help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::d34; envelope-from=lichengtai@gmail.com; helo=mail-io1-xd34.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.248, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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=1620175186; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=sHZPPuZYHkuQlLElDNAoDp0eHplXgy+oO6JrwD18BFo=; b=qLuSW/vTBtMK2PKkf0+9Rdek+9CidRABbwAJFgG6itk/ZJFsfLxCJYh2lBG4Fi5WcDEbWg FVtMinUrQph9nmcXBupjUTPVbgviD0Px8Z1EO2U3bceIVaO6Z17/oGNw2D1y8/4vrvnQ4f o69ghK8SUyCuY1GDZ35wzxSG6EZ/yvn5I0ebxU9J2pwZ1i7pns703qQRF9Li6hl6ZDB9q1 AwbpVMDLg3kgj6GC7zcqL51ImoBHqd6bPQe9IvrVwDjHpdZy4sbIBiYVNF93qxKN/BMrjT Ej5pTomElVcG1wjzIaz12Co5FXUNmM/b+BIvJdQYc09lwmVXClphigX802i1pA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620175186; a=rsa-sha256; cv=none; b=TbzBOHd6UPDaKLDV3DIv6w6lxmyfMyopYHPCbaBbQOb5GHBim6paCmEKNlxK1RU+Yoa5YP P2snreoXJjynxox1FzOsGikSuM3wA48uIfSz1EQVTdw6V4sN6s4iVMfIf2wYzSlP8/3Dps m9zcEiHb6F4feqNJvGV8M/bpYQlspct4PLnJqAQ3cYIXjgA05kSrzStgS3tv1vmQHVJjsK lgx86k4OIYJI87Dfx/KTU62vkjXHxCBVYqED+aAvo4rzYQqinWnwZq6jt1lGFHbN9CwYsn pTzsfqLciz806COR3yU1ljhUldMnVFlYDARickb7FkzhCKqKUktgbXGriRDD6w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=atai-org.20150623.gappssmtp.com header.s=20150623 header.b=p5wzOOrB; dmarc=none; 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: -1.66 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=atai-org.20150623.gappssmtp.com header.s=20150623 header.b=p5wzOOrB; dmarc=none; 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: 0BC8F22489 X-Spam-Score: -1.66 X-Migadu-Scanner: scn0.migadu.com X-TUID: hQpJh3pI9Frn This is a guix question, or a guile question. I am working on a package definition. I run into this error from guile: ---begin--- The following derivation will be built: /gnu/store/mc4ssrfp1bsima42rylxmnj8h1vjrik9-opencv-3.4.14.drv building /gnu/store/mc4ssrfp1bsima42rylxmnj8h1vjrik9-opencv-3.4.14.drv... Backtrace: In ice-9/eval.scm: 217:50 19 (lp (# ?)) 217:33 18 (lp (# ?)) 214:21 17 (_ #f) 217:50 16 (lp (# ?)) ... 217:50 2 (lp (# ?)) 217:33 1 (lp (#)) In unknown file: 0 (string-append "-DCMAKE_LIBRARY_PATH=" #f) ERROR: In procedure string-append: In procedure string-append: Wrong type (expecting string): #f ---end--- Since I just worked on the scheme code, I know where the error came from. But no where is the error message pointing to the actual line number and the scheme file name of the error. This can be confusing if I don't just remember the context, which is in a scheme file in gnu/packages (Sorry I am new to scheme). Is there better way to help to identify the error location in this scenario? Thanks for info on this.