GNU bug report logs - #36061
Error when byte compiling

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: hyperbole; Reported by: "LaFreniere\, Joseph" <joseph@HIDDEN>; dated Sun, 2 Jun 2019 21:47:02 UTC; Maintainer for hyperbole is bug-hyperbole@HIDDEN.

Message received at 36061 <at> debbugs.gnu.org:


Received: (at 36061) by debbugs.gnu.org; 13 Jul 2019 15:36:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 13 11:36:02 2019
Received: from localhost ([127.0.0.1]:43189 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hmK4A-0002V1-1G
	for submit <at> debbugs.gnu.org; Sat, 13 Jul 2019 11:36:02 -0400
Received: from mx.kolabnow.com ([95.128.36.40]:30932)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <joseph@HIDDEN>) id 1hmK47-0002UU-MO
 for 36061 <at> debbugs.gnu.org; Sat, 13 Jul 2019 11:36:00 -0400
Received: from localhost (unknown [127.0.0.1])
 by ext-mx-out003.mykolab.com (Postfix) with ESMTP id 25AB5403CA;
 Sat, 13 Jul 2019 17:35:53 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h=
 content-type:content-type:mime-version:message-id:date:date
 :in-reply-to:subject:subject:from:from:references:received
 :received:received; s=dkim20160331; t=1563032151; x=1564846552;
 bh=5UEnXMhs51aBcpoaI8BJhJ547HdhZF4axAeMw+QVXGU=; b=hNG3nitpjLqG
 mbghaTpCEFx7V3lt3QETDwBHZfgLr5aIRx5DfJmSe3+p34X6IlBO7uTGLyt2gwal
 EjsofCscwRmBP41ng4OtxSV2dNfZyqX9HgI2Xr6/hTNLD1biWr8iZhqPmgnZAcS0
 87GjRwwbNNI7U5H3iFG92JppaJ9aMSDePNPxavy4ygPjFygH/PyIdNGQxY82uvNw
 mXKfumL5HLn75Y2wEVRQR2Wkb98MwMvPCmrkUjBqOprilM8yqPljTjB63I5fbx5+
 Arq8VGEaFOFTgJXBKv6XWt7OQThE1QDkROg17xN3Vi9o58BFOAWutjzxylS/ZMku
 2Y+Sf3Ei0RD29Wif+bUTTHOqqsdVvAzTROm2CK9TPv4jxONdYHVblyB3zseSnNLt
 9p2i5MB+pwpvs4u4Fa5ROfT0XZKzAWJMqj/bYRpqP38g4jhC/Ym7r4Z2HQzvLZIo
 +DRy3su8XQlh9cz4bTR5r+UyfhNwwPiDGFEqoxdyrjtwdHGm3z7r5pUZH7k8r8Yx
 nC66ITyJgwQDmueAVD8dMA3wHS/LW0p3l4LN6T9Hej5rfEXseoYb2lBlTXUEqSwg
 /+KuKXrhq3rowCJyy4Dpwlltp9Foc06WPO0h/FjAGM7GDriSZz2PMmmfVmag6NFi
 /dBWi2dcefPJZePfe0Cj6awLzFnS0mQ=
X-Virus-Scanned: amavisd-new at mykolab.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-10 required=5
 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no
Received: from mx.kolabnow.com ([127.0.0.1])
 by localhost (ext-mx-out003.mykolab.com [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id n5-A0bhmGqcf; Sat, 13 Jul 2019 17:35:51 +0200 (CEST)
Received: from int-mx003.mykolab.com (unknown [10.9.13.3])
 by ext-mx-out003.mykolab.com (Postfix) with ESMTPS id BC9D1401A0;
 Sat, 13 Jul 2019 17:35:51 +0200 (CEST)
Received: from ext-subm003.mykolab.com (unknown [10.9.6.3])
 by int-mx003.mykolab.com (Postfix) with ESMTPS id 6F9F42031;
 Sat, 13 Jul 2019 17:35:51 +0200 (CEST)
References: <871s0birth.fsf@HIDDEN>
 <BC53533B-0629-4FE5-95B8-92CAB0E4F961@HIDDEN>
 <87lfygpmod.fsf@HIDDEN>
From: "LaFreniere\, Joseph" <joseph@HIDDEN>
To: Robert Weiner <rswgnu@HIDDEN>
Subject: Re: bug#36061: Error when byte compiling
In-reply-to: <87lfygpmod.fsf@HIDDEN>
Date: Sat, 13 Jul 2019 10:35:43 -0500
Message-ID: <87r26u7xrk.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 36061
Cc: 36061 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.5 (/)

--=-=-=
Content-Type: text/plain; format=flowed

I have attached a working patch to successfully build Hyperbole in 
Guix 1.0.1.

The notable changes are in the patch files my patch adds:
- The definition of hyperbole-toggle-messaging is moved to 
  hsettings.el, which seems to be the only place in the Hyperbole 
  repo where that function is called.  This avoids the build error 
  I initially reported.
- hyperb:check-dir-user fails during Guix's build process;  for 
  now, I have simply removed that check from the initialization 
  steps.

Now that Hyperbole is successfully building, I will start using it 
and report any bugs I encounter here.  Are there specific 
ramifications to either of these changes that you would recommend 
I look for?

--
Joseph LaFreniere

--=-=-=
Content-Type: text/x-patch; charset=utf-8
Content-Disposition: attachment; filename=0001-gnu-Add-emacs-hyperble.patch
Content-Transfer-Encoding: quoted-printable

From 3f8e1b289c722ad9f96a3483e312c9f57de3d29f Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@HIDDEN>
Date: Wed, 5 Jun 2019 01:27:49 -0500
Subject: [PATCH] gnu: Add emacs-hyperble.

* gnu/packages/emacs-xyz.scm (emacs-hyperbole): Add at 7.0.3
---
 gnu/packages/emacs-xyz.scm                    | 57 ++++++++++++
 .../emacs-hyperbole-do-not-check-dir.patch    | 24 ++++++
 .../patches/emacs-hyperbole-domainname.patch  | 29 +++++++
 .../emacs-hyperbole-toggle-messaging.patch    | 86 +++++++++++++++++++
 4 files changed, 196 insertions(+)
 create mode 100644 gnu/packages/patches/emacs-hyperbole-do-not-check-dir.p=
atch
 create mode 100644 gnu/packages/patches/emacs-hyperbole-domainname.patch
 create mode 100644 gnu/packages/patches/emacs-hyperbole-toggle-messaging.p=
atch

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2d9f271cc8..ae78f9d8e7 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -181,6 +181,63 @@ metadata.")
 (define-public geiser
   (deprecated-package "geiser" emacs-geiser))
=20
+(define-public emacs-hyperbole
+  (package
+    (name "emacs-hyperbole")
+    (version "7.0.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "http://ftpmirror.gnu.org/hyperbole/"
+                    "hyperbole-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0znsjhm0lmzpmkgfni4qzx4l6dp604bmrzp3mwxxax2v96wpwmcx"))
+              (patches
+               (search-patches
+                "emacs-hyperbole-do-not-check-dir.patch"
+                "emacs-hyperbole-domainname.patch"
+                "emacs-hyperbole-toggle-messaging.patch"))))
+    (build-system emacs-build-system)
+    (propagated-inputs `(("inetutils" ,inetutils)))
+    (home-page "https://www.gnu.org/software/hyperbole/")
+    (synopsis "The Everyday Hypertextual Information Manager")
+    (description
+     "GNU Hyperbole, or just Hyperbole, is an easy-to-use, yet powerful and
+programmable hypertextual information management system implemented as a G=
NU
+Emacs package.  It offers rapid views and interlinking of all kinds of tex=
tual
+information, utilizing Emacs for editing.  It can dramatically increase yo=
ur
+productivity and greatly reduce the number of keyboard/mouse keys you'll n=
eed
+to work efficiently.
+
+Hyperbole lets you:
+@itemize
+@item Quickly create hyperlink buttons either from the keyboard or by drag=
ging
+between a source and destination window with a mouse button depressed.  La=
ter,
+activate buttons by pressing/clicking on them or by giving the name of the
+button.
+@item Activate many kinds of \"implicit buttons\" recognized by context wi=
thin
+text buffers, e.g. URLs, grep output lines, and git commits.  A single key=
 or
+mouse button automatically does the right thing in dozens of contexts; just
+press and go.
+@item Build outlines with multi-level numbered outline nodes, e.g. 1.4.8.6,
+that all renumber automatically as any node or tree is moved in the outlin=
e.
+Each node also has a permanent hyperlink anchor that you can reference from
+any other node.
+@item Manage all your contacts quickly with hierarchical categories and em=
bed
+hyperlinks within each entry.  Or create an archive of documents with
+hierarchical entries and use the same search mechanism to quickly find any
+matching entry.
+@item Use single keys to easily manage your Emacs windows or frames and
+quickly retrieve saved window and frame configurations.
+@item Search for things in your current buffers, in a directory tree or ac=
ross
+major web search engines with the touch of a few keys.
+@end itemize
+
+The common thread in all these features is making retrieval, management and
+display of information fast and easy.  That is Hyperbole's purpose.")
+    (license license:gpl3+)))
+
 (define-public emacs-paredit
   (package
     (name "emacs-paredit")
diff --git a/gnu/packages/patches/emacs-hyperbole-do-not-check-dir.patch b/=
gnu/packages/patches/emacs-hyperbole-do-not-check-dir.patch
new file mode 100644
index 0000000000..66c7a0fb08
--- /dev/null
+++ b/gnu/packages/patches/emacs-hyperbole-do-not-check-dir.patch
@@ -0,0 +1,24 @@
+From 3016fbd61e47978be73bbbaf7a8c2709bec42066 Mon Sep 17 00:00:00 2001
+From: Joseph LaFreniere <joseph@HIDDEN>
+Date: Fri, 12 Jul 2019 13:12:40 -0500
+Subject: [PATCH] Do not run hyperb:check-dir-user during initialization
+
+---
+ hyperbole.el | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/hyperbole.el b/hyperbole.el
+index 872dbaf..6edb2a7 100644
+--- a/hyperbole.el
++++ b/hyperbole.el
+@@ -653,7 +653,6 @@ If FLAG is nil then text is shown, while if FLAG is t =
the text is hidden."
+   (interactive)
+   (message "Initializing Hyperbole...")
+   (run-hooks 'hyperbole-init-hook)
+-  (hyperb:check-dir-user)
+   (or (stringp hyperb:user-email)
+       (setq hyperb:user-email
+ 	    (or (and (boundp 'user-mail-address)
+--=20
+2.22.0
+
diff --git a/gnu/packages/patches/emacs-hyperbole-domainname.patch b/gnu/pa=
ckages/patches/emacs-hyperbole-domainname.patch
new file mode 100644
index 0000000000..cf4b63b54b
--- /dev/null
+++ b/gnu/packages/patches/emacs-hyperbole-domainname.patch
@@ -0,0 +1,29 @@
+From 17c87ac58ce6d475fa1987347fcb868ef7f75e40 Mon Sep 17 00:00:00 2001
+From: Joseph LaFreniere <joseph@HIDDEN>
+Date: Sun, 2 Jun 2019 12:38:27 -0500
+Subject: [PATCH] Replace executable domainname with hostname
+
+Fixes build failure:
+> ice-9/boot-9.scm:752:25: In procedure dispatch-exception:
+> patch-el-files: unable to locate  "domainname"
+---
+ hypb.el | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/hypb.el b/hypb.el
+index 6abc17a..0332946 100644
+--- a/hypb.el
++++ b/hypb.el
+@@ -183,8 +183,7 @@ Global keymap is used unless optional KEYMAP is given."
+=20
+ (defun hypb:domain-name ()
+   "Returns current Internet domain name with '@' prepended or nil if none=
."
+-  (let* ((dname-cmd (or (file-exists-p "/usr/bin/domainname")
+-			(file-exists-p "/bin/domainname")))
++  (let* ((dname-cmd (file-exists-p "/bin/hostname"))
+ 	 (dname (or (and (boundp 'message-user-fqdn) (stringp message-user-fqdn)
+ 			 (string-match "\\." message-user-fqdn)
+ 			 message-user-fqdn)
+--=20
+2.21.0
+
diff --git a/gnu/packages/patches/emacs-hyperbole-toggle-messaging.patch b/=
gnu/packages/patches/emacs-hyperbole-toggle-messaging.patch
new file mode 100644
index 0000000000..ab66e1b389
--- /dev/null
+++ b/gnu/packages/patches/emacs-hyperbole-toggle-messaging.patch
@@ -0,0 +1,86 @@
+From 6d5c587ec719e3309077c7d637b03b13db65c047 Mon Sep 17 00:00:00 2001
+From: Joseph LaFreniere <joseph@HIDDEN>
+Date: Fri, 12 Jul 2019 12:43:46 -0500
+Subject: [PATCH] Move definition of hyperbole-toggle-messaging to hsettings
+
+---
+ hsettings.el | 25 +++++++++++++++++++++++++
+ hyperbole.el | 26 --------------------------
+ 2 files changed, 25 insertions(+), 26 deletions(-)
+
+diff --git a/hsettings.el b/hsettings.el
+index 6cdd1b8..9632067 100644
+--- a/hsettings.el
++++ b/hsettings.el
+@@ -163,6 +163,31 @@ package to display search results."
+ 			      search-term)))
+       (user-error "(Hyperbole): Invalid web search service `%s'" service-=
name))))
+=20
++;;;###autoload
++(defun hyperbole-toggle-messaging (&optional arg)
++  "Toggle Hyperbole support for explicit buttons in mail and news buffers.
++Toggles the boolean variable `inhibit-hyperbole-messaging=E2=80=99 and ei=
ther
++adds hooks (nil value) or removes them (t value).
++
++With optional prefix ARG > 0, enables support.  If ARG <=3D 0,
++disables/inhibits support."
++  (interactive "P")
++  (setq inhibit-hyperbole-messaging (if (null arg)
++					(not inhibit-hyperbole-messaging)
++				      (<=3D (prefix-numeric-value arg) 0)))
++  (if inhibit-hyperbole-messaging
++      (var:remove-all)
++    (var:append-all)
++    ;; Add any hooks that were skipped when inhibit-hyperbole-messaging
++    ;; was nil.
++    (cond ((boundp 'hyperbole-loading))
++	  ((not after-init-time)
++	   (add-hook 'after-init-hook (lambda () (load "hyperbole"))))
++	  (t (load "hyperbole"))))
++  (if (called-interactively-p 'interactive)
++      (message "Hyperbole messaging button support is %s"
++	       (if inhibit-hyperbole-messaging "disabled" "enabled"))))
++
+ (defcustom inhibit-hyperbole-messaging t
+   "*Determines whether Hyperbole supports explicit buttons in mail and ne=
ws buffers.
+ The default of t means disable such support (work remains to
+diff --git a/hyperbole.el b/hyperbole.el
+index 4aa427d..872dbaf 100644
+--- a/hyperbole.el
++++ b/hyperbole.el
+@@ -121,32 +121,6 @@
+ 			    t)))
+     (error "(Hyperbole): Startup failure: `hyperb:dir' must be manually a=
dded to `load-path' to fix.")))
+=20
+-;; This must be defined before the defcustom `inhbit-hyperbole-messaging'.
+-;;;###autoload
+-(defun hyperbole-toggle-messaging (&optional arg)
+-  "Toggle Hyperbole support for explicit buttons in mail and news buffers.
+-Toggles the boolean variable `inhibit-hyperbole-messaging=E2=80=99 and ei=
ther
+-adds hooks (nil value) or removes them (t value).
+-
+-With optional prefix ARG > 0, enables support.  If ARG <=3D 0,
+-disables/inhibits support."
+-  (interactive "P")
+-  (setq inhibit-hyperbole-messaging (if (null arg)
+-					(not inhibit-hyperbole-messaging)
+-				      (<=3D (prefix-numeric-value arg) 0)))
+-  (if inhibit-hyperbole-messaging
+-      (var:remove-all)
+-    (var:append-all)
+-    ;; Add any hooks that were skipped when inhibit-hyperbole-messaging
+-    ;; was nil.
+-    (cond ((boundp 'hyperbole-loading))
+-	  ((not after-init-time)
+-	   (add-hook 'after-init-hook (lambda () (load "hyperbole"))))
+-	  (t (load "hyperbole"))))
+-  (if (called-interactively-p 'interactive)
+-      (message "Hyperbole messaging button support is %s"
+-	       (if inhibit-hyperbole-messaging "disabled" "enabled"))))
+-
+ (defgroup hyperbole-koutliner nil
+   "Hyperbole multi-level autonumbered outliner customizations."
+   :group 'hyperbole)
+--=20
+2.22.0
+
--=20
2.22.0


--=-=-=--




Information forwarded to bug-hyperbole@HIDDEN:
bug#36061; Package hyperbole. Full text available.

Message received at 36061 <at> debbugs.gnu.org:


Received: (at 36061) by debbugs.gnu.org; 5 Jun 2019 06:32:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 05 02:32:34 2019
Received: from localhost ([127.0.0.1]:46285 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hYPTO-0004eR-1e
	for submit <at> debbugs.gnu.org; Wed, 05 Jun 2019 02:32:34 -0400
Received: from mx.kolabnow.com ([95.128.36.41]:50082)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <joseph@HIDDEN>) id 1hYPTM-0004eB-0l
 for 36061 <at> debbugs.gnu.org; Wed, 05 Jun 2019 02:32:32 -0400
Received: from localhost (unknown [127.0.0.1])
 by ext-mx-out001.mykolab.com (Postfix) with ESMTP id CBBCA33A;
 Wed,  5 Jun 2019 08:32:24 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h=
 content-type:content-type:mime-version:message-id:date:date
 :in-reply-to:subject:subject:from:from:references:received
 :received:received; s=dkim20160331; t=1559716343; x=1561530744;
 bh=ErLFnlUGeoV/iGvandQXM2mlsVRgIQ9WDwJeNO3vBqs=; b=rBQMdfAaRnu1
 ne8opqjo9oeZ6Z+vSOLHPfaXobSRirUAU4o9D1wepX7gBBpZMcZ42WNMoKCh9eD0
 wN6Kf7sj3OvARmxuZsmeQZmonNWzDRPW2H7wxeqcI1vsGT778fCgEyNfqm8LN/H7
 VCzmGQm0llGCFu3WGFEvqPuF4ixU1p9k/4yaUS+fJfv0m2svDym0Xe3dcS5KniIw
 FJWCXQnh0jZRCfLO/MXecDjIJkex7vxdbHV/Aus/QmFSw2c2UDT0XPuV49RcUXW9
 Z0YEp/ii4Z2Lz8iOoIcqEJjYrg8VY0gtQdSWekCsavJ8bLaQusJiYMwBh/YrFJQv
 eKB4fOlpdyVHIOS35JxS2e/86B54hGyP0r4QR0C/Kqr4AjWoZtUvckkfeacosgUa
 uow3q4ds4L04Zv6xSjrADhuGUl1rFCF249kEUFsv1lUUHfKlcNGdj8dDxDlt19lC
 FaJaaBiird6h6d+9D2siT0BzC3QTCHJF5Jh8Jk6ZE3t6I/61dwjivVCEFxXK7sBM
 IV8XIhowjr6/QTA67/VZTMIZOg7ZleyjPpzVLDqXkd4lo6NEy0L9FyB61ELpDgpD
 jwU5DApkWR2VVpDU832aVmEIjVx/nZ/Srmx4NLHTTh+gA4iOc0MWwkOFM2yrGv6Z
 dFRBZQyDdL3NtYgRYUBXBTJHeI/qCks=
X-Virus-Scanned: amavisd-new at mykolab.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-10 required=5
 tests=[BAYES_00=-1.9, URIBL_BLOCKED=0.001]
 autolearn=ham autolearn_force=no
Received: from mx.kolabnow.com ([127.0.0.1])
 by localhost (ext-mx-out001.mykolab.com [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 3_cH_LV3ShTv; Wed,  5 Jun 2019 08:32:23 +0200 (CEST)
Received: from int-mx003.mykolab.com (unknown [10.9.13.3])
 by ext-mx-out001.mykolab.com (Postfix) with ESMTPS id C53461AC;
 Wed,  5 Jun 2019 08:32:23 +0200 (CEST)
Received: from ext-subm003.mykolab.com (unknown [10.9.6.3])
 by int-mx003.mykolab.com (Postfix) with ESMTPS id 8741128F5;
 Wed,  5 Jun 2019 08:32:23 +0200 (CEST)
References: <871s0birth.fsf@HIDDEN>
 <BC53533B-0629-4FE5-95B8-92CAB0E4F961@HIDDEN>
From: "LaFreniere\, Joseph" <joseph@HIDDEN>
To: Robert Weiner <rswgnu@HIDDEN>
Subject: Re: bug#36061: Error when byte compiling
In-reply-to: <BC53533B-0629-4FE5-95B8-92CAB0E4F961@HIDDEN>
Date: Wed, 05 Jun 2019 01:32:18 -0500
Message-ID: <87lfygpmod.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 36061
Cc: 36061 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.5 (/)

--=-=-=
Content-Type: text/plain; format=flowed

Robert Weiner <rswgnu@HIDDEN> writes:
> Is the failure repeatable every time?

Yes, the failure is repeatable and occurs with every build attempt 
of 7.0.3, which is the only version I have attempted to package. 
My WIP patch is attached.

> There are some complex ordering dependencies but they are 
> supposed to be handled by the existing file requirements.

Yes, I would have thought that the file requirements would suffice 
to resolve compilation order.

Reading through Guix's source code (namely 
guix/build/emacs-utils.scm), it seems that emacs-build-system 
compiles packages by invoking Emacs with the following arguments:
--quick --batch --eval="(progn (setq byte-compile-debug t) 
  (byte-recompile-directory (file-name-as-directory 
  \"$path_to_hyperbole\") 0 1))"

--
Joseph LaFreniere

--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=emacs-hyperbole.patch

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index c2d515ed95..e2b3cdae3c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -179,6 +179,60 @@ metadata.")
 (define-public geiser
   (deprecated-package "geiser" emacs-geiser))
 
+(define-public emacs-hyperbole
+  (package
+    (name "emacs-hyperbole")
+    (version "7.0.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "http://ftpmirror.gnu.org/hyperbole/"
+                    "hyperbole-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0znsjhm0lmzpmkgfni4qzx4l6dp604bmrzp3mwxxax2v96wpwmcx"))
+              (patches
+               (search-patches "emacs-hyperbole-domainname.patch"))))
+    (build-system emacs-build-system)
+    (propagated-inputs `(("inetutils" ,inetutils)))
+    (home-page "https://www.gnu.org/software/hyperbole/")
+    (synopsis "The Everyday Hypertextual Information Manager")
+    (description
+     "GNU Hyperbole (pronounced Ga-new Hi-per-bo-lee), or just Hyperbole, is
+an easy-to-use, yet powerful and programmable hypertextual information
+management system implemented as a GNU Emacs package.  It offers rapid views
+and interlinking of all kinds of textual information, utilizing Emacs for
+editing.  It can dramatically increase your productivity and greatly reduce
+the number of keyboard/mouse keys you'll need to work efficiently.
+
+Hyperbole lets you:
+@itemize
+@item Quickly create hyperlink buttons either from the keyboard or by dragging
+between a source and destination window with a mouse button depressed.  Later
+activate buttons by pressing/clicking on them or by giving the name of the
+button.
+@item Activate many kinds of `implicit buttons' recognized by context within
+text buffers, e.g. URLs, grep output lines, and git commits.  A single key or
+mouse button automatically does the right thing in dozens of contexts; just
+press and go.
+@item Build outlines with multi-level numbered outline nodes,e.g. 1.4.8.6,
+that all renumber automatically as any node or tree is moved in the outline.
+Each node also has a permanent hyperlink anchor that you can reference from
+any other node.
+@item Manage all your contacts quickly with hierarchical categories and embed
+hyperlinks within each entry.  Or create an archive of documents with
+hierarchical entries and use the same search mechanism to quickly find any
+matching entry.
+@item Use single keys to easily manage your Emacs windows or frames and
+quickly retrieve saved window and frame configurations;
+@item Search for things in your current buffers, in a directory tree or across
+major web search engines with the touch of a few keys.
+@end itemize
+
+The common thread in all these features is making retrieval, management and
+display of information fast and easy. That is Hyperbole's purpose. ")
+    (license license:gpl3+)))
+
 (define-public emacs-paredit
   (package
     (name "emacs-paredit")
diff --git a/gnu/packages/patches/emacs-hyperbole-domainname.patch b/gnu/packages/patches/emacs-hyperbole-domainname.patch
new file mode 100644
index 0000000000..cf4b63b54b
--- /dev/null
+++ b/gnu/packages/patches/emacs-hyperbole-domainname.patch
@@ -0,0 +1,29 @@
+From 17c87ac58ce6d475fa1987347fcb868ef7f75e40 Mon Sep 17 00:00:00 2001
+From: Joseph LaFreniere <joseph@HIDDEN>
+Date: Sun, 2 Jun 2019 12:38:27 -0500
+Subject: [PATCH] Replace executable domainname with hostname
+
+Fixes build failure:
+> ice-9/boot-9.scm:752:25: In procedure dispatch-exception:
+> patch-el-files: unable to locate  "domainname"
+---
+ hypb.el | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/hypb.el b/hypb.el
+index 6abc17a..0332946 100644
+--- a/hypb.el
++++ b/hypb.el
+@@ -183,8 +183,7 @@ Global keymap is used unless optional KEYMAP is given."
+ 
+ (defun hypb:domain-name ()
+   "Returns current Internet domain name with '@' prepended or nil if none."
+-  (let* ((dname-cmd (or (file-exists-p "/usr/bin/domainname")
+-			(file-exists-p "/bin/domainname")))
++  (let* ((dname-cmd (file-exists-p "/bin/hostname"))
+ 	 (dname (or (and (boundp 'message-user-fqdn) (stringp message-user-fqdn)
+ 			 (string-match "\\." message-user-fqdn)
+ 			 message-user-fqdn)
+-- 
+2.21.0
+

--=-=-=--




Information forwarded to bug-hyperbole@HIDDEN:
bug#36061; Package hyperbole. Full text available.

Message received at 36061 <at> debbugs.gnu.org:


Received: (at 36061) by debbugs.gnu.org; 4 Jun 2019 05:22:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 04 01:22:00 2019
Received: from localhost ([127.0.0.1]:43625 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hY1tY-00025O-DF
	for submit <at> debbugs.gnu.org; Tue, 04 Jun 2019 01:22:00 -0400
Received: from mail-qt1-f179.google.com ([209.85.160.179]:46236)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rswgnu@HIDDEN>) id 1hY1tW-00025B-Sf
 for 36061 <at> debbugs.gnu.org; Tue, 04 Jun 2019 01:21:59 -0400
Received: by mail-qt1-f179.google.com with SMTP id z19so12279688qtz.13
 for <36061 <at> debbugs.gnu.org>; Mon, 03 Jun 2019 22:21:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:subject:from:in-reply-to:date:cc
 :content-transfer-encoding:message-id:references:to;
 bh=ILSFGVkESNXy8Hp9eRiar16euTvhV/YIYnWDfhQc/0c=;
 b=JjXsL7BK6PemmWWziJDN3TvSbidUSXy8bpqf9mRTiqU86bKpRXPYI+bsThwG/DJxn+
 Rs5mQ2b+rBWDDDYlPyKsYek0xNUKddFv/Ovid3LKpG/G2MXOt15pef1fqMc2L6zJPk64
 iENEajusAHOjIN6JVV+ToALsX+xw4BRz/UoynIrG5597jBafNieejCIYEKvHUDdVoVJu
 rw21X13W35GuC2xJxuVtQilpN6OU1GBhH1Sh4hPGLJJdi+aUsVq9hbPMnLmdIm0SS2aq
 KO5aShw4fZLUYO1kxAU+cT/yH6YlPHbBqHuGfsl7BCtOKjgWJzX7HKz7DzxY1YFzWB8v
 1x6w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc
 :content-transfer-encoding:message-id:references:to;
 bh=ILSFGVkESNXy8Hp9eRiar16euTvhV/YIYnWDfhQc/0c=;
 b=N9caSoRlpmpb1peJo6ARskicFBO6csaLpIPhQAk9pwU7kFcPX5khUXHAd+PiIQdhdh
 JedER+OmdOgVUfWtFhzJULYfHT3xNqCPGhDMLzQJLpILyptqUyZSZM07pASvMpWTtrnl
 ASJLkCHbgvfef3rH28FE1TqZVbI3HegS2dOkGbRy4UlPp/a7pzm2K6+AiqKmkMzl58On
 uXSkTZm1xGXF+6YaqB0dX0cKXuuK2hBrG2uPOmakMVOkqPgoZ2CjPOoa7Z9OOJpdqq4b
 3kSwPuoZ7U2iZC8HmPmF6vBWCe3ZqWSM/rFlGZdxHXSPRvCNyEEmkesSc5PoGtdeO07b
 S4DQ==
X-Gm-Message-State: APjAAAXH0zs0/5GMB70auC0r91MkqNP5sk8AyZ9OtD7hHX113SQduCuX
 VImPVa3kFfdfl1YBEdXk5LOJncP9
X-Google-Smtp-Source: APXvYqxYrQWcReuzQCUPiBB7b9Q7CdA4oeI9R9G1X2YXUEgz8hoxXZFYpo54cLXfuSJrKjmZ3UXw6A==
X-Received: by 2002:ad4:50a2:: with SMTP id d2mr25255328qvq.210.1559625713005; 
 Mon, 03 Jun 2019 22:21:53 -0700 (PDT)
Received: from [192.168.1.13] (ool-44c12231.dyn.optonline.net. [68.193.34.49])
 by smtp.gmail.com with ESMTPSA id
 p13sm2082804qkj.4.2019.06.03.22.21.52
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Mon, 03 Jun 2019 22:21:52 -0700 (PDT)
Content-Type: text/plain;
	charset=utf-8
Mime-Version: 1.0 (1.0)
Subject: Re: bug#36061: Error when byte compiling
From: Robert Weiner <rswgnu@HIDDEN>
X-Mailer: iPhone Mail (16E227)
In-Reply-To: <871s0birth.fsf@HIDDEN>
Date: Tue, 4 Jun 2019 01:21:51 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <BC53533B-0629-4FE5-95B8-92CAB0E4F961@HIDDEN>
References: <871s0birth.fsf@HIDDEN>
To: "LaFreniere, Joseph" <joseph@HIDDEN>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 36061
Cc: 36061 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Have to look at this.  There are some complex ordering dependencies but they=
 are supposed to be handled by the existing file requirements.

Is the failure repeatable every time?


> On Jun 2, 2019, at 5:46 PM, LaFreniere, Joseph <joseph@HIDDEN> wro=
te:
>=20
> I am attempting to package Hyperbole for GNU Guix using its provided emacs=
-build-system.  As part of the default packaging steps, Hyperbole's Emacs Li=
sp code is byte compiled.  This step is failing for me with the following er=
ror:
>=20
>> Compiling /gnu/store/334qz3xsnfx2alz4gii2s6vgw4762ixa-emacs-hyperbole-7.0=
.3/share/emacs/site-lisp/guix.d/hyperbole-7.0.3/hact.el...
>>=20
>> In end of data:
>> hact.el:377:1:Warning: the following functions are not known to be define=
d:
>>    hypb:indirect-function, hypb:emacs-byte-code-p, hattr:get,     hbut:is=
-p
>> Compiling /gnu/store/334qz3xsnfx2alz4gii2s6vgw4762ixa-emacs-hyperbole-7.0=
.3/share/emacs/site-lisp/guix.d/hyperbole-7.0.3/hactypes.el...
>> Symbol=E2=80=99s function definition is void: hyperbole-toggle-messaging
>=20
> I can see where hyperbole-toggle-message is defined and marked for autoloa=
ding in hyperbole.el.  My best guess is that the problem is caused by the or=
der in which the files are being byte compiled, but I would appreciate analy=
sis from someone who is familiar with Hyperbole's source.
>=20
> --
> Joseph LaFreniere
>=20
>=20
>=20
> _______________________________________________
> Bug-hyperbole mailing list
> Bug-hyperbole@HIDDEN
> https://lists.gnu.org/mailman/listinfo/bug-hyperbole




Information forwarded to bug-hyperbole@HIDDEN:
bug#36061; Package hyperbole. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 2 Jun 2019 21:46:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 02 17:46:47 2019
Received: from localhost ([127.0.0.1]:41026 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hXYJR-0001r4-Mg
	for submit <at> debbugs.gnu.org; Sun, 02 Jun 2019 17:46:47 -0400
Received: from eggs.gnu.org ([209.51.188.92]:45822)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <joseph@HIDDEN>) id 1hXYJP-0001qr-9p
 for submit <at> debbugs.gnu.org; Sun, 02 Jun 2019 17:46:44 -0400
Received: from lists.gnu.org ([209.51.188.17]:43017)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <joseph@HIDDEN>)
 id 1hXYJK-0002DW-4z
 for submit <at> debbugs.gnu.org; Sun, 02 Jun 2019 17:46:38 -0400
Received: from eggs.gnu.org ([209.51.188.92]:60202)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <joseph@HIDDEN>) id 1hXYJJ-00039X-1v
 for bug-hyperbole@HIDDEN; Sun, 02 Jun 2019 17:46:38 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <joseph@HIDDEN>) id 1hXYJE-0002Af-6N
 for bug-hyperbole@HIDDEN; Sun, 02 Jun 2019 17:46:37 -0400
Received: from mx.kolabnow.com ([95.128.36.40]:53158)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <joseph@HIDDEN>) id 1hXYJD-0002A0-V4
 for bug-hyperbole@HIDDEN; Sun, 02 Jun 2019 17:46:32 -0400
Received: from localhost (unknown [127.0.0.1])
 by ext-mx-out003.mykolab.com (Postfix) with ESMTP id ACDA6404A7
 for <bug-hyperbole@HIDDEN>; Sun,  2 Jun 2019 23:46:28 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h=
 content-transfer-encoding:content-type:content-type:mime-version
 :message-id:date:date:subject:subject:from:from:received
 :received:received; s=dkim20160331; t=1559511988; x=1561326389;
 bh=9FZl4fX2XgUhED22Zm5GD8pc9Z1o/mcI7Fv2QiANIQo=; b=PWBu53UhCLgN
 kAYMljjHVLvVtSMQiGgQHi0ouvBI1H51uEmslhazyAZ6MvfFC4isisB2P1ocUFd4
 tQfKuViSaS5dUI81eJBmwfTcEHJ29d0d9XCK5t24+tKSh7qVeXKjx+lQOdTjIp43
 RKcTWvJA5h1lJFK+B7Mh/G9SsGAw4qZrhQ/CD3u/nTqwxcGGSn+X7AFLEhJHULKf
 izy32AsfLMyRubc9efNq5as8UB1Ns85BEempF03ToCCYalBQjK8kQ4O4yUIjv9tB
 EN0IsbmS1JobnEkjVZgNj2xLBTKTUUrfgocpeL0HqwJJ2Iuix6wB/XB8P1KtT/1A
 ZJnfxzhjFbQdrOZ8fcHZA3cuI/AIzCJtuFiaCdQKFfYCcy6xYSqfmVKjoX8MhF+L
 YTme23tx1kppBCuBPrnggBa9Ec9iDq3ELKHgwsy4Hr/V2Bj7fBs3/ttDZYLDmBGj
 KQjUjufM5px9s5UeN2k1RsU5lFr/cJaCVVnDqn2SadbL95rhp+yCRKcyVdWDarU+
 3sFeVB/WvKO/RWGVnq4IdoMJ2UVBZSLeL/7nvGi8F+l6+rnauhHPRQPixXr1jeYg
 jOgMWeYLbakqMbfdgOZqEDLfHgmZjvOgws+okoDfczFdhCz3kXVWlI+V1Pt0OVVL
 /HjL9qgDeHnpMMhHxfFd2wQWTAxYp5E=
X-Virus-Scanned: amavisd-new at mykolab.com
Received: from mx.kolabnow.com ([127.0.0.1])
 by localhost (ext-mx-out003.mykolab.com [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id G1LbelXUF6mF for <bug-hyperbole@HIDDEN>;
 Sun,  2 Jun 2019 23:46:28 +0200 (CEST)
Received: from int-mx001.mykolab.com (unknown [10.9.13.1])
 by ext-mx-out003.mykolab.com (Postfix) with ESMTPS id 26E4A4039C
 for <bug-hyperbole@HIDDEN>; Sun,  2 Jun 2019 23:46:27 +0200 (CEST)
Received: from ext-subm001.mykolab.com (unknown [10.9.6.1])
 by int-mx001.mykolab.com (Postfix) with ESMTPS id CECCE29F
 for <bug-hyperbole@HIDDEN>; Sun,  2 Jun 2019 23:46:27 +0200 (CEST)
From: "LaFreniere\, Joseph" <joseph@HIDDEN>
To: bug-hyperbole@HIDDEN
Subject: Error when byte compiling
Date: Sun, 02 Jun 2019 16:46:18 -0500
Message-ID: <871s0birth.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 95.128.36.40
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: -0.9 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.9 (-)

I am attempting to package Hyperbole for GNU Guix using its=20
provided emacs-build-system.  As part of the default packaging=20
steps, Hyperbole's Emacs Lisp code is byte compiled.  This step is=20
failing for me with the following error:

> Compiling=20
> /gnu/store/334qz3xsnfx2alz4gii2s6vgw4762ixa-emacs-hyperbole-7.0.3/share/e=
macs/site-lisp/guix.d/hyperbole-7.0.3/hact.el...
>
> In end of data:
> hact.el:377:1:Warning: the following functions are not known to=20
> be defined:
>     hypb:indirect-function, hypb:emacs-byte-code-p, hattr:get,=20
>     hbut:is-p
> Compiling=20
> /gnu/store/334qz3xsnfx2alz4gii2s6vgw4762ixa-emacs-hyperbole-7.0.3/share/e=
macs/site-lisp/guix.d/hyperbole-7.0.3/hactypes.el...
> Symbol=E2=80=99s function definition is void: hyperbole-toggle-messaging

I can see where hyperbole-toggle-message is defined and marked for=20
autoloading in hyperbole.el.  My best guess is that the problem is=20
caused by the order in which the files are being byte compiled,=20
but I would appreciate analysis from someone who is familiar with=20
Hyperbole's source.

--
Joseph LaFreniere




Acknowledgement sent to "LaFreniere\, Joseph" <joseph@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-hyperbole@HIDDEN. Full text available.
Report forwarded to bug-hyperbole@HIDDEN:
bug#36061; Package hyperbole. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 13 Jul 2019 15:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.