GNU bug report logs - #69667
build of sway-1.9-checkout.drv failed

Previous Next

Package: guix;

Reported by: chris <chris <at> bumblehead.com>

Date: Sat, 9 Mar 2024 06:49:02 UTC

Severity: normal

Done: Hilton Chain <hako <at> ultrarare.space>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 69667 in the body.
You can then email your comments to 69667 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#69667; Package guix. (Sat, 09 Mar 2024 06:49:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to chris <chris <at> bumblehead.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 09 Mar 2024 06:49:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: chris <chris <at> bumblehead.com>
To: bug-guix <at> gnu.org
Cc: chris <at> bumblehead.com
Subject: build of sway-1.9-checkout.drv failed
Date: Fri, 8 Mar 2024 22:46:52 -0800
guix home reconfigure fails at sway-1.9. The bottom of the drv file shows this,
```
`source is at 'sway-1.9-checkout'
Backtrace:
          10 (primitive-load "/gnu/store/5ahfcp5009pgdh17lg5y01w4vhv…")
In ice-9/eval.scm:
    619:8  9 (_ #(#(#<directory (guile-user) 7ffff77f7c80> "swa…") #))
In ice-9/boot-9.scm:
    142:2  8 (dynamic-wind _ _ #<procedure 7ffff77aa3c0 at ice-9/eva…>)
In system/base/compile.scm:
   352:28  7 (compile _ #:from _ #:to _ #:env _ #:optimization-level …)
   265:44  6 (_ _ _)
   265:44  5 (_ _ _)
   265:44  4 (_ _ _)
   261:27  3 (_ _ _)
In ice-9/boot-9.scm:
   2836:4  2 (save-module-excursion #<procedure 7ffff3d9bb40 at lang…>)
In language/bytecode/spec.scm:
    43:19  1 (_)
In unknown file:
           0 (delete-file "contrib/grimshot.1")

ERROR: In procedure delete-file:
In procedure delete-file: No such file or directory
/gnu/store/5wqhngwwzaa9b9g1apxr8lawk3g8sxwm-sway-1.9-checkout/assets/Sway_Wallpaper_Blue_1136x640_Portrait.png' -> `sway-1.9-checkout/assets/Sway_Wallpaper_Blue_1136x640_Portrait.png'
`/gnu/store/5wqhngwwzaa9b9g1apxr8lawk3g8sxwm-sway-1.9-checkout/assets/Sway_Wallpaper_Blue_768x1024.png' -> `sway-1.9-checkout/assets/Sway_Wallpaper_Blue_768x1024.png'
`/gnu/store/5wqhngwwzaa9b9g1apxr8lawk3g8sxwm-sway-1.9-checkout/assets/Sway_Wallpaper_Blue_1920x1080.png' -> `sway-1.9-checkout/assets/Sway_Wallpaper_Blue_1920x1080.png'
`/gnu/store/5wqhngwwzaa9b9g1apxr8lawk3g8sxwm-sway-1.9-checkout/assets/Sway_Logo+Text_Ver3.svg' -> `sway-1.9-checkout/assets/Sway_Logo+Text_Ver3.svg'
`/gnu/store/5wqhngwwzaa9b9g1apxr8lawk3g8sxwm-sway-1.9-checkout/assets/Sway_Tree.svg' -> `sway-1.9-checkout/assets/Sway_Tree.svg'
`/gnu/store/5wqhngwwzaa9b9g1apxr8lawk3g8sxwm-sway-1.9-checkout/assets/Sway_Logo+Text_Ver1_1500x716.png' -> `sway-1.9-checkout/assets/Sway_Logo+Text_Ver1_1500x716.png'
`/gnu/store/5wqhngwwzaa9b9g1apxr8lawk3g8sxwm-sway-1.9-checkout/assets/Sway_Logo+Text_Ver4.png' -> `sway-1.9-checkout/assets/Sway_Logo+Text_Ver4.png'
```




Information forwarded to bug-guix <at> gnu.org:
bug#69667; Package guix. (Sun, 10 Mar 2024 05:04:02 GMT) Full text and rfc822 format available.

Message #8 received at 69667 <at> debbugs.gnu.org (full text, mbox):

From: 宋文武 <iyzsong <at> envs.net>
To: chris <chris <at> bumblehead.com>
Cc: 69667 <at> debbugs.gnu.org
Subject: Re: bug#69667: build of sway-1.9-checkout.drv failed
Date: Sun, 10 Mar 2024 13:03:03 +0800
chris <chris <at> bumblehead.com> writes:

> guix home reconfigure fails at sway-1.9. The bottom of the drv file shows this,
> ```
> `source is at 'sway-1.9-checkout'
> [...]
> ERROR: In procedure delete-file:
> In procedure delete-file: No such file or directory

Hello, sway build fine for me (and CI), this seems like a disk or
filesystem issue on your side.




Information forwarded to bug-guix <at> gnu.org:
bug#69667; Package guix. (Sun, 10 Mar 2024 13:14:02 GMT) Full text and rfc822 format available.

Message #11 received at 69667 <at> debbugs.gnu.org (full text, mbox):

From: chris <chris <at> bumblehead.com>
To: 宋文武 <iyzsong <at> envs.net>
Cc: 69667 <at> debbugs.gnu.org
Subject: Re: bug#69667: build of sway-1.9-checkout.drv failed
Date: Sun, 10 Mar 2024 06:11:51 -0700
On  3月10日 日, 宋文武 wrote:
>
> Hello, sway build fine for me (and CI), this seems like a disk or
> filesystem issue on your side.

Removing grimshot resolved the issue for me.




Information forwarded to bug-guix <at> gnu.org:
bug#69667; Package guix. (Sun, 10 Mar 2024 13:44:02 GMT) Full text and rfc822 format available.

Message #14 received at 69667 <at> debbugs.gnu.org (full text, mbox):

From: chris <chris <at> bumblehead.com>
To: 宋文武 <iyzsong <at> envs.net>
Cc: 69667 <at> debbugs.gnu.org
Subject: Re: bug#69667: build of sway-1.9-checkout.drv failed
Date: Sun, 10 Mar 2024 06:41:42 -0700
On  3月10日 日, 宋文武 wrote:
> 
> Hello, sway build fine for me (and CI), this seems like a disk or
> filesystem issue on your side.

Booting to sway 1.9 results in a flashing screen and its necessary to restart and boot to a previous generation. This system uses seat and wlgreet. Have not tried to debug yet.




Information forwarded to bug-guix <at> gnu.org:
bug#69667; Package guix. (Mon, 11 Mar 2024 05:43:01 GMT) Full text and rfc822 format available.

Message #17 received at 69667 <at> debbugs.gnu.org (full text, mbox):

From: chris <chris <at> bumblehead.com>
To: 宋文武 <iyzsong <at> envs.net>
Cc: 69667 <at> debbugs.gnu.org
Subject: Re: bug#69667: build of sway-1.9-checkout.drv failed
Date: Sun, 10 Mar 2024 22:40:31 -0700
All issues were resolved by removing grimshot and wlgreet




Information forwarded to bug-guix <at> gnu.org:
bug#69667; Package guix. (Mon, 11 Mar 2024 15:02:02 GMT) Full text and rfc822 format available.

Message #20 received at 69667 <at> debbugs.gnu.org (full text, mbox):

From: Isaac van Bakel <isaac.vanbakel <at> inf.ethz.ch>
To: <69667 <at> debbugs.gnu.org>
Subject: build of sway-1.9-checkout.drv failed
Date: Mon, 11 Mar 2024 15:07:40 +0100
grimshot was removed from the sway repo[0] and moved to a standalone 
user-contributions repo[1]. This build failure is visible in CI. It is 
possible to use grimshot from the new repository, if you delete the 
'chdir phase.

wlgreet seems to have a known issue with sway 1.9[2] that causes the 
startup failure, though this should go in a separate issue, since it's 
unrelated to the checkout error which is linked to grimshot.

 0: https://github.com/swaywm/sway/issues/7405
 1: https://github.com/OctopusET/sway-contrib
 2: 
https://git.sr.ht/~kennylevinsen/wlgreet/commit/7e79d6004fc5e765a5c3ece6d377f8c5999d9dfa





Information forwarded to bug-guix <at> gnu.org:
bug#69667; Package guix. (Mon, 11 Mar 2024 15:52:01 GMT) Full text and rfc822 format available.

Message #23 received at 69667 <at> debbugs.gnu.org (full text, mbox):

From: Ignas Lapėnas <ignas <at> lapenas.dev>
To: 69667 <at> debbugs.gnu.org
Subject: build of sway-1.9-checkout.drv failed
Date: Mon, 11 Mar 2024 16:26:40 +0200
It looks that contrib/grimshot was dropped from sway.

https://github.com/swaywm/sway/issues/7405

The contrib was moved to:
https://github.com/OctopusET/sway-contrib

It looks, that grimshot package will have to be updated.

-- 
Best regards,
Ignas Lapėnas




Information forwarded to bug-guix <at> gnu.org:
bug#69667; Package guix. (Tue, 12 Mar 2024 07:48:01 GMT) Full text and rfc822 format available.

Message #26 received at 69667 <at> debbugs.gnu.org (full text, mbox):

From: Ignas Lapėnas <ignas <at> lapenas.dev>
To: 69667 <at> debbugs.gnu.org
Subject: build of sway-1.9-checkout.drv failed
Date: Tue, 12 Mar 2024 08:33:38 +0200
Dropping this here, if anyone still needs it. Still looking how would I
go to send a merge request or a patch. Also as I see this might just be
a duplication of work with Isaac van Bakel. Sorry about that.

#+BEGIN_SRC Guile
(define-module (packages sway)
  #:use-module (guix packages)
  #:use-module (gnu packages base)
  #:use-module (guix download)
  #:use-module (guix build-system copy)
  #:use-module (guix git-download)
  #:use-module (gnu packages wm)
  #:use-module (gnu packages image)
  #:use-module (gnu packages web)
  #:use-module (gnu packages gnome)
  #:use-module (gnu packages xdisorg)
  #:use-module (gnu packages man)
  #:use-module (guix gexp)
  #:use-module (guix utils)
  #:use-module ((guix licenses) #:prefix license:))

(define-public grimshot
  (package
    (name "grimshot")
    (version "1.9-contrib.0")
    (source (origin
	     (method git-fetch)
	     (uri (git-reference
		   (url "https://github.com/OctopusET/sway-contrib")
		   (commit version)))
	     (sha256
	      (base32
	       "16fa8l81zjy25nsky1i525hb7zjprqz74mbirm9b76pvksschdv5"))))
    (build-system copy-build-system)
    (arguments
     (list #:install-plan #~`(("grimshot" "bin/")
                              ("grimshot.1" "share/man/man1/"))
           #:phases #~(modify-phases %standard-phases
                        (add-after 'chdir 'patch-script-dependencies
                          (lambda* (#:key inputs #:allow-other-keys)
                            (substitute* "grimshot"
                              (("\\b(date|grim|jq|notify-send|slurp|swaymsg|wl-copy)\\b"
                                _ binary)
                               (search-input-file
                                inputs (string-append "bin/" binary))))))
                        (add-after 'patch-script-dependencies 'build-man-page
                          (lambda _
                            (with-input-from-file "grimshot.1.scd"
                              (lambda _
                                (with-output-to-file "grimshot.1"
                                  (lambda _
                                    (invoke "scdoc"))))))))))
    (native-inputs (list scdoc))
    (inputs (list coreutils
                  grim
                  jq
                  libnotify
                  slurp
                  sway
                  wl-clipboard))
    (synopsis "Screenshot utility for the Sway window manager")
    (description "Grimshot is a screenshot utility for @code{sway}.  It provides
an interface over @code{grim}, @code{slurp} and @code{jq}, and supports storing
the screenshot either directly to the clipboard using @code{wl-copy} or to a
file.")
    (home-page "https://github.com/OctopusET/sway-contrib")
    (license license:expat)))
#+END_SRC scm

-- 
Best regards,
Ignas Lapėnas




Reply sent to Hilton Chain <hako <at> ultrarare.space>:
You have taken responsibility. (Sun, 17 Mar 2024 01:25:01 GMT) Full text and rfc822 format available.

Notification sent to chris <chris <at> bumblehead.com>:
bug acknowledged by developer. (Sun, 17 Mar 2024 01:25:01 GMT) Full text and rfc822 format available.

Message #31 received at 69667-done <at> debbugs.gnu.org (full text, mbox):

From: Hilton Chain <hako <at> ultrarare.space>
To: chris <chris <at> bumblehead.com>
Cc: 69667-done <at> debbugs.gnu.org,
 宋文武 <iyzsong <at> envs.net>
Subject: Re: bug#69667: build of sway-1.9-checkout.drv failed
Date: Sun, 17 Mar 2024 09:05:41 +0800
Hi,

On Mon, 11 Mar 2024 13:40:31 +0800,
chris wrote:
>
> All issues were resolved by removing grimshot and wlgreet

Fixed grimshot and wlgreet with fcf0fc0f33e6fc4ac96e585db5b048be620c3438 and
edfb05e16d409ab71f5cc5c91747b693f0054d59.

Thanks for reporting!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 14 Apr 2024 11:24:52 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 123 days ago.

Previous Next


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