diff mbox series

[bug#66648] gnu: emacs-mastodon: update to 1.0.12

Message ID 49b26e03-40c5-463c-9c86-0e95c17dfd18@riseup.net
State New
Headers show
Series [bug#66648] gnu: emacs-mastodon: update to 1.0.12 | expand

Commit Message

martian hiatus Oct. 20, 2023, 11:15 a.m. UTC
* gnu/packages/emacs-xyz.scm (emacs-mastodon): Update to 1.0.12
---

(this is my first attempt to send a patch, apols if errors.
git send-email not working for me (sigh), so i'm having a go w tb.
just bumping version of mastodon.el (i'm the maintainer)

m.

---
  gnu/packages/emacs-xyz.scm | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Ludovic Courtès Oct. 29, 2023, 11:28 p.m. UTC | #1
Hi,

(Happy mastodon.el user here.  :-))

marty hiatt <martianhiatus@riseup.net> skribis:

> * gnu/packages/emacs-xyz.scm (emacs-mastodon): Update to 1.0.12

[...]

> +    (version "1.0.12")
>       (source
>        (origin
>          (method git-fetch)
> @@ -32841,7 +32841,7 @@ (define-public emacs-mastodon
>                (commit version)))
>          (file-name (git-file-name name version))
>          (sha256
> -        (base32 "1z5lmzxhindxa0f6qi6z361k9smqcz68alr6w6jbmwg279qmk8jj"))))
> +        (base32 "1rlp6jb3408wq915i0v6z5vlp6w5f8nq4hsyb10c0xv7s0f7cn4x"))))

Looks like the hash is incorrect, or that the tag was modified in place:

--8<---------------cut here---------------start------------->8---
HEAD is now at cd2d6f2 bump
r:sha256 hash mismatch for /gnu/store/gnmq1v528knpafibk9a1d4zxm7k1q8aa-emacs-mastodon-1.0.12-checkout:
  expected hash: 1rlp6jb3408wq915i0v6z5vlp6w5f8nq4hsyb10c0xv7s0f7cn4x
  actual hash:   1b2rhb18md2n2xg2d5ikl95m4h78x8l566970r5xc2y5p199b6hi
hash mismatch for store item '/gnu/store/gnmq1v528knpafibk9a1d4zxm7k1q8aa-emacs-mastodon-1.0.12-checkout'
build of /gnu/store/yrgcm0p0pxsxdb4disgb0xa5c1z1x4d8-emacs-mastodon-1.0.12-checkout.drv failed
--8<---------------cut here---------------end--------------->8---

Could you check what the expected hash is?

Thanks,
Ludo’.
martian hiatus Oct. 30, 2023, 9:12 a.m. UTC | #2
Hi Ludo',

hm, i suspect the issue lies in the fact that i don't know what i'm doing!

i had another go just now, but i don't understand how to build the 1.0.12 version, or how to build packages from my git/development guix as opposed to my installed guix, which i understand i need to do in order to compute the hash.

(i can't really see if/where the docs address this either?)

i'll have to learn some more and get back to you, sorry.

i'll prob release a 13 v soon also.

best,
m

On 10/30/23 00:28, Ludovic Courtès wrote:
> Hi,
> 
> (Happy mastodon.el user here.  :-))
> 
> marty hiatt <martianhiatus@riseup.net> skribis:
> 
>> * gnu/packages/emacs-xyz.scm (emacs-mastodon): Update to 1.0.12
> 
> [...]
> 
>> +    (version "1.0.12")
>>        (source
>>         (origin
>>           (method git-fetch)
>> @@ -32841,7 +32841,7 @@ (define-public emacs-mastodon
>>                 (commit version)))
>>           (file-name (git-file-name name version))
>>           (sha256
>> -        (base32 "1z5lmzxhindxa0f6qi6z361k9smqcz68alr6w6jbmwg279qmk8jj"))))
>> +        (base32 "1rlp6jb3408wq915i0v6z5vlp6w5f8nq4hsyb10c0xv7s0f7cn4x"))))
> 
> Looks like the hash is incorrect, or that the tag was modified in place:
> 
> --8<---------------cut here---------------start------------->8---
> HEAD is now at cd2d6f2 bump
> r:sha256 hash mismatch for /gnu/store/gnmq1v528knpafibk9a1d4zxm7k1q8aa-emacs-mastodon-1.0.12-checkout:
>    expected hash: 1rlp6jb3408wq915i0v6z5vlp6w5f8nq4hsyb10c0xv7s0f7cn4x
>    actual hash:   1b2rhb18md2n2xg2d5ikl95m4h78x8l566970r5xc2y5p199b6hi
> hash mismatch for store item '/gnu/store/gnmq1v528knpafibk9a1d4zxm7k1q8aa-emacs-mastodon-1.0.12-checkout'
> build of /gnu/store/yrgcm0p0pxsxdb4disgb0xa5c1z1x4d8-emacs-mastodon-1.0.12-checkout.drv failed
> --8<---------------cut here---------------end--------------->8---
> 
> Could you check what the expected hash is?
> 
> Thanks,
> Ludo’.
diff mbox series

Patch

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 659e96600e..3a9969d5a4 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -32832,7 +32832,7 @@  (define-public emacs-wc-mode
  (define-public emacs-mastodon
    (package
      (name "emacs-mastodon")
-    (version "1.0.6")
+    (version "1.0.12")
      (source
       (origin
         (method git-fetch)
@@ -32841,7 +32841,7 @@  (define-public emacs-mastodon
               (commit version)))
         (file-name (git-file-name name version))
         (sha256
-        (base32 "1z5lmzxhindxa0f6qi6z361k9smqcz68alr6w6jbmwg279qmk8jj"))))
+        (base32 "1rlp6jb3408wq915i0v6z5vlp6w5f8nq4hsyb10c0xv7s0f7cn4x"))))
      (build-system emacs-build-system)
      (arguments
       (list