unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Jack Hill <jackhill@jackhill.us>
To: 52137@debbugs.gnu.org
Cc: Ricardo Wurmus <rekado@elephly.net>
Subject: bug#52137: committer.scm wrong type passed to car
Date: Sat, 27 Nov 2021 01:41:20 -0500 (EST)	[thread overview]
Message-ID: <alpine.DEB.2.21.2111270133030.13935@marsh.hcoop.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 3008 bytes --]

Hi Guix and Ricardo,

Running the etc/commiter.scm script with the diff of a patch that I 
recently submitted [0] results in the backtrace below. This might be 
because I was holding the script wrong, but it would be nice to provide a 
more friendly message for people like me who don't remember how to use it 
properly.

[0] https://issues.guix.gnu.org/52134#1

jackhill@leyden ~/repos/guix [env]$ git status
On branch committer-test
Changes not staged for commit:
   (use "git add <file>..." to update what will be committed)
   (use "git restore <file>..." to discard changes in working directory)
modified:   gnu/packages/web-browsers.scm

no changes added to commit (use "git add" and/or "git commit -a")
jackhill@leyden ~/repos/guix [env]$ git diff
diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
index 7ea2a9a9ec..50a41309d3 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -51,6 +51,7 @@ (define-module (gnu packages web-browsers)
    #:use-module (gnu packages)
    #:use-module (gnu packages autotools)
    #:use-module (gnu packages backup)
+  #:use-module (gnu packages base)
    #:use-module (gnu packages bison)
    #:use-module (gnu packages compression)
    #:use-module (gnu packages curl)
@@ -125,10 +126,12 @@ (define-public midori
             (assoc-ref glib-or-gtk:%standard-phases
                        'glib-or-gtk-wrap)))))
      (native-inputs
-     `(("glib:bin" ,glib "bin")
+     `(("desktop-file-utils" ,desktop-file-utils) ;for tests
+       ("glib:bin" ,glib "bin")
         ("gtk+:bin" ,gtk+ "bin")
         ("intltool" ,intltool)
-       ("pkg-config" ,pkg-config)))
+       ("pkg-config" ,pkg-config)
+       ("which" ,which))) ;for tests
      (inputs
       `(("adwaita-icon-theme" ,adwaita-icon-theme)
         ("gcr" ,gcr)
@@ -139,10 +142,9 @@ (define-public midori
         ("json-glib" ,json-glib)
         ("libarchive" ,libarchive)
         ("libpeas" ,libpeas)
-       ("libsoup" ,libsoup)
         ("sqlite" ,sqlite)
         ("vala" ,vala)
-       ("webkitgtk" ,webkitgtk)))
+       ("webkitgtk" ,webkitgtk-with-libsoup2)))
      (synopsis "Lightweight graphical web browser")
      (description "@code{Midori} is a lightweight, Webkit-based web browser.
  It features integration with GTK+3, configurable web search engine, bookmark
jackhill@leyden ~/repos/guix [env]$ ./etc/committer.scm
Backtrace:
            5 (primitive-load "/home/jackhill/repos/guix/./etc/commit…")
In srfi/srfi-1.scm:
     634:9  4 (for-each #<procedure 7fefd554e4c0 at ice-9/eval.scm:3…> …)
In ice-9/eval.scm:
     619:8  3 (_ #(#(#(#(#(#(#(#(#(#(#(…) …) …) …) …) …) …) …) …) …) …))
     619:8  2 (_ #(#(#(#<directory (guile-user) 7fefd7cbbc80>) # …) …))
    626:19  1 (_ #(#(#(#<directory (guile-user) 7fefd7cbbc80>) # …) …))
In unknown file:
            0 (car ())

ERROR: In procedure car:
In procedure car: Wrong type (expecting pair): ()
Aborting commit due to empty commit message.

             reply	other threads:[~2021-11-27  6:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-27  6:41 Jack Hill [this message]
2021-11-27  8:48 ` bug#52137: committer.scm wrong type passed to car Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.21.2111270133030.13935@marsh.hcoop.net \
    --to=jackhill@jackhill.us \
    --cc=52137@debbugs.gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).