bug#49600: [core-updates] gcc-11 fails to cross-compile from x86_64-linux

2021-09-01 Thread Sam James
Seem to have hit the same thing in Gentoo (reported as 
https://bugs.gentoo.org/811294).

Has Guix found a workaround since?




signature.asc
Description: Message signed with OpenPGP


bug#39696: linux-libre >= 5.4.20 network interfaces, gdm or Xorg and lvm stopped working

2020-02-20 Thread Sam P
Hi,

I am using guix desktop for day to day usage for many months

Everything are working fine till linux-libre <= 5.4.19

But after linux-libre >= 5.4.20

1. No ethernet interface is shown only lo: is shown
2. gdm, Xorg totally stopped working
3. lvm command vgchange -ay taken forever and not able to create device
node in /dev/mapper

Presently for lvm support, I had added a mapper class with open/close method
for many months it is nicely working (It was a work around which work for
~6 volumes at boot time.)



I have attached my system config.scm and packages.scm with mail

I am not sure if it issue of

1. my configurations (which still work nicely with <= 5.4.19)

2. it is some issue in guix changes

3. or it linux kernel >= 5.4.20 is causing.

I had tried searching if somebody had reported it, when I have seen nobody
has reported it.

Thanks,

/sharad
;; This is an operating system configuration generated
;; by the graphical installer.

;; TODO: debug emacs semantic (semantic-parse-region-default (point-min) (point-max) nil nil nil)


(define %alpine-system-init #t)
(define %alpine-use-nongnu  #f)

(define nongnu-desktop? (and %alpine-use-nongnu
 (not %alpine-system-init)))


(use-modules (guix utils))
(use-modules (guix packages))
(use-modules (gnu services networking))
(use-modules (gnu) (gnu system nss))
(use-service-modules networking ssh)
(use-package-modules bootloaders certs suckless wm)

(use-service-modules desktop networking cups ssh xorg avahi mail)
(use-package-modules certs gnome cups)

(use-modules (gnu packages shells))
(use-modules (gnu packages vim))

(use-modules (gnu))
(use-package-modules screen)

;; other guix

(use-modules (gnu system locale))
(use-modules (guix store))
(use-modules (rnrs lists))
(use-modules (srfi srfi-1))
(use-package-modules base idutils)
(use-service-modules dns mcron messaging)

(define this-config-file (local-file (assoc-ref (current-source-location) 'filename)))
;; (define nm-dnsmasq-file
;;   (plain-file "cache.conf"
;;   "cache-size=1000\n"))

;; non-guix

;; Import nonfree linux module.
(when  nongnu-desktop?
  (use-modules (nongnu packages linux)))


(define %alpine-account-uid   1000)
(define %alpine-account-user-name "user1")
(define %alpine-account-comment   "User1")
(define %alpine-account-group-name"users")
(define %alpine-account-supplementry-groups   '("wheel" "netdev" "audio" "video"))
(define %alpine-account-home-parent-directory "/home")
(define %alpine-account-shell #~(string-append #$zsh "/bin/zsh"))
(define %alpine-account-create-home-directory #f)
(define %alpine-guix-substitute-urls  '("https://ci.guix.gnu.org";
   "https://bayfront.guixsd.org";
   "http://guix.genenetwork.org";
   "https://guix.tobias.gr";
   "https://ci.guix.info/";
   "https://berlin.guixsd.org";))
(define %alpine-guix-extra-options'(
   ;; "--max-jobs=2"
   ;; "--cores=1"
   "--gc-keep-derivations=yes"
   "--gc-keep-outputs=yes"))
(define %alpine-guix-use-substitutes  #t) ;always true

(define %alpine-network-manager-dns   "dnsmasq")


(use-modules (gnu packages linux))
(use-modules (guix modules))

(define (open-nonudev-lvm-device source target)
  "Return a gexp that maps SOURCES to TARGETS as a LVM device, using
'lvm'."
  (with-imported-modules (source-module-closure '((gnu build file-systems)))
#~(let ((source  #$source)
(lvm-bin #$(file-append lvm2-static "/sbin/lvm")))
;; Use 'lvm2-static', not 'lvm2', to avoid pulling the
;; whole world inside the initrd (for when we're in an initrd).
(begin
  (format #t "Enabling ~a~%" #$target)
  (sleep 1)
  (system* lvm-bin "vgscan" "--mknodes")
  (sleep 1)
  (system* lvm-bin "vgchange" "-ay" (car (string-split #$target #\-)))
  (sleep 1)
  (zero? (system* lvm-bin "lvchange" "-aay" "-y" "--sysinit" "--ignoreskippedcluster"
  (string-join (string-split #$target #\-) "/")))

(define (close-nonudev-lvm-device sources target)
  "Return a gexp that closes TARGET, a LVM device."
  #~(zero? (system* #$(file-append lvm2-static "/sbin/lvm")
"lvchange" "-an" "-y" (string-join (string-split #$target #\-) "/"

;; (define* (check-nonudev-lvm-device md #:key
;; needed-for-boot?
;; (initrd-modules '())
;; #:allow-other-keys
;; #:rest rest)
;;   "Ens

bug#38142: Evolution: e-mail wizard fails due to missing service file

2019-11-09 Thread Sam
Sorry, I noticed that shortly after sending the message, it made it work 
for me.

I'll check more thoroughly before bothering the next time.
Is there any reason why it's not at least a propagated input? I know 
there are better ways, but that would probably fix the program.






bug#38142: Evolution: e-mail wizard fails due to missing service file

2019-11-08 Thread Sam

Hello,
evolution, the gnome e-mail program, currently (3.30.5) is not able to 
add an E-mail account ootb. The set-up works fine until the very last 
moment, when the configuration is supposed to be saved.

When the finish button is pressed, this error message appears:
"The name org.gnome.evolution.dataserver.Sources5 was not provided by 
any .service files".
NixOS had a the same error, but somehow managed to fix it: 
https://github.com/NixOS/nixpkgs/issues/12756 in this patch: 
https://github.com/NixOS/nixpkgs/pull/17926.

However, I am not sure how to translate this fix to Guix.
If I can somehow help with this bug, please let me know.

Thank you,
Sam





bug#37937: Lollypop missing propagated-input gsettings-desktop-schemas

2019-10-26 Thread Sam

Hello,
lollypop is missing gsettings-desktop-schemas as dependency, and fails 
to start without the package.
Below there is a patch where I tried to fix it, but since I couldn't 
find out how to test the effect I chose to not send it to the patch 
mailing list.

I'm sorry for the inconvenience.

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 8bb891bfb3..a6596bc92d 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -7833,8 +7833,9 @@ views can be printed as PDF or PostScript files, 
or exported to HTML.")

("totem-pl-parser" ,totem-pl-parser)
("webkitgtk" ,webkitgtk)))
 (propagated-inputs
- `(;; gst-plugins-base is required to start Lollypop,
+ `(;; gst-plugins-base and gsettings-desktop-schemas are required 
to start Lollypop,

;; the others are required to play streaming.
+   ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
("gst-plugins-good" ,gst-plugins-good)
("gst-plugins-ugly" ,gst-plugins-ugly)))
 (home-page "https://wiki.gnome.org/Apps/Lollypop";)