unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#69667: build of sway-1.9-checkout.drv failed
@ 2024-03-09  6:46 chris
  2024-03-10  5:03 ` 宋文武 via Bug reports for GNU Guix
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: chris @ 2024-03-09  6:46 UTC (permalink / raw)
  To: 69667; +Cc: chris

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'
```




^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#69667: build of sway-1.9-checkout.drv failed
  2024-03-09  6:46 bug#69667: build of sway-1.9-checkout.drv failed chris
@ 2024-03-10  5:03 ` 宋文武 via Bug reports for GNU Guix
  2024-03-10 13:11   ` chris
                     ` (2 more replies)
  2024-03-11 14:07 ` Isaac van Bakel
                   ` (2 subsequent siblings)
  3 siblings, 3 replies; 9+ messages in thread
From: 宋文武 via Bug reports for GNU Guix @ 2024-03-10  5:03 UTC (permalink / raw)
  To: chris; +Cc: 69667

chris <chris@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.




^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#69667: build of sway-1.9-checkout.drv failed
  2024-03-10  5:03 ` 宋文武 via Bug reports for GNU Guix
@ 2024-03-10 13:11   ` chris
  2024-03-10 13:41   ` chris
  2024-03-11  5:40   ` chris
  2 siblings, 0 replies; 9+ messages in thread
From: chris @ 2024-03-10 13:11 UTC (permalink / raw)
  To: 宋文武; +Cc: 69667

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.




^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#69667: build of sway-1.9-checkout.drv failed
  2024-03-10  5:03 ` 宋文武 via Bug reports for GNU Guix
  2024-03-10 13:11   ` chris
@ 2024-03-10 13:41   ` chris
  2024-03-11  5:40   ` chris
  2 siblings, 0 replies; 9+ messages in thread
From: chris @ 2024-03-10 13:41 UTC (permalink / raw)
  To: 宋文武; +Cc: 69667

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.




^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#69667: build of sway-1.9-checkout.drv failed
  2024-03-10  5:03 ` 宋文武 via Bug reports for GNU Guix
  2024-03-10 13:11   ` chris
  2024-03-10 13:41   ` chris
@ 2024-03-11  5:40   ` chris
  2024-03-17  1:05     ` Hilton Chain via Bug reports for GNU Guix
  2 siblings, 1 reply; 9+ messages in thread
From: chris @ 2024-03-11  5:40 UTC (permalink / raw)
  To: 宋文武; +Cc: 69667

All issues were resolved by removing grimshot and wlgreet




^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#69667: build of sway-1.9-checkout.drv failed
  2024-03-09  6:46 bug#69667: build of sway-1.9-checkout.drv failed chris
  2024-03-10  5:03 ` 宋文武 via Bug reports for GNU Guix
@ 2024-03-11 14:07 ` Isaac van Bakel
  2024-03-11 14:26 ` Ignas Lapėnas
  2024-03-12  6:33 ` Ignas Lapėnas
  3 siblings, 0 replies; 9+ messages in thread
From: Isaac van Bakel @ 2024-03-11 14:07 UTC (permalink / raw)
  To: 69667

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





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#69667: build of sway-1.9-checkout.drv failed
  2024-03-09  6:46 bug#69667: build of sway-1.9-checkout.drv failed chris
  2024-03-10  5:03 ` 宋文武 via Bug reports for GNU Guix
  2024-03-11 14:07 ` Isaac van Bakel
@ 2024-03-11 14:26 ` Ignas Lapėnas
  2024-03-12  6:33 ` Ignas Lapėnas
  3 siblings, 0 replies; 9+ messages in thread
From: Ignas Lapėnas @ 2024-03-11 14:26 UTC (permalink / raw)
  To: 69667

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




^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#69667: build of sway-1.9-checkout.drv failed
  2024-03-09  6:46 bug#69667: build of sway-1.9-checkout.drv failed chris
                   ` (2 preceding siblings ...)
  2024-03-11 14:26 ` Ignas Lapėnas
@ 2024-03-12  6:33 ` Ignas Lapėnas
  3 siblings, 0 replies; 9+ messages in thread
From: Ignas Lapėnas @ 2024-03-12  6:33 UTC (permalink / raw)
  To: 69667

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




^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#69667: build of sway-1.9-checkout.drv failed
  2024-03-11  5:40   ` chris
@ 2024-03-17  1:05     ` Hilton Chain via Bug reports for GNU Guix
  0 siblings, 0 replies; 9+ messages in thread
From: Hilton Chain via Bug reports for GNU Guix @ 2024-03-17  1:05 UTC (permalink / raw)
  To: chris; +Cc: 69667-done, 宋文武

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!




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-03-19  6:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-09  6:46 bug#69667: build of sway-1.9-checkout.drv failed chris
2024-03-10  5:03 ` 宋文武 via Bug reports for GNU Guix
2024-03-10 13:11   ` chris
2024-03-10 13:41   ` chris
2024-03-11  5:40   ` chris
2024-03-17  1:05     ` Hilton Chain via Bug reports for GNU Guix
2024-03-11 14:07 ` Isaac van Bakel
2024-03-11 14:26 ` Ignas Lapėnas
2024-03-12  6:33 ` Ignas Lapėnas

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).