all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#53434] Patches to unbreak many i686 packages
@ 2022-01-22  2:54 Denis 'GNUtoo' Carikli
  2022-01-22  2:59 ` [bug#53434] [PATCH 01/11] gnu: gtk-vnc: Remove dependency on GJS on non-x86_64 Denis 'GNUtoo' Carikli
                   ` (2 more replies)
  0 siblings, 3 replies; 33+ messages in thread
From: Denis 'GNUtoo' Carikli @ 2022-01-22  2:54 UTC (permalink / raw)
  To: 53434


[-- Attachment #1.1: Type: text/plain, Size: 1888 bytes --]

Hi,

This is a patch serie to unbreak many i686 packages.

In it, there is a patch to disable tests for Guix. This is necessary
until the bug #52752 [1] is fixed. Part of it was fixed, but then some
new tests failed and I'm unsure if I've managed to re-open the
bug, or if I should bugreport in a new bug.

I've tested this patch serie by building a system (I've attached the
system.scm) with the following command:
> ./pre-inst-env guix system build -M 1 -c 1 --save-provenance \
> system.scm

I use that system.scm as it worked before as my guix system
installation used that (with gdm enabled and without (debug? #t) and
(wayland? #t) in the gdm configuration).

The big issue I had when doing that work is that at the time I managed
to verify that everything was ok with guix system build, but at that
point new commits are merged into the Guix repository, and after
rebasing, the build takes ages again (usually one day or more) due to
missing substitutes but also because building Guix also hangs with
messages like that:
> GC Warning: Failed to expand heap by 1335296 bytes
> GC Warning: Out of Memory! Heap size: 2617 MiB. Returning NULL!
> Warning: Unwind-only out of memory exception; skipping pre-unwind
> handler.
> Warning: Unwind-only out of memory exception; skipping pre-unwind
> handler.
That is not an issue when building it with 'make' as you restart at the
same point, but when running guix system build you need to restart from
scratch.

So I've tested all that on top of commit
4d7a997ee147acf82c8ca510c0ecd3f520ea74f4 (gnu: Add nhooks.), and right
now I'm still in the process of testing the rebase on top of commit
cadcbbaf655953b28df9466c07b4b5c63d29b00b (gnu: r-bigmelon: Add r-knitr.

I've sent patches for the rebased version.

References:
-----------
[1]http://debbugs.gnu.org/cgi/bugreport.cgi?bug=52752

Denis.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: system.scm --]
[-- Type: text/x-scheme, Size: 11043 bytes --]

;; Copyright (C) 2021 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
;;
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;;
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License
;; along with this program.  If not, see <https://www.gnu.org/licenses/>.

(use-modules
 (gnu)
 (gnu system mapped-devices)
 (gnu system nss)
 (guix build-system gnu)
 (guix git-download)
 ((guix licenses) #:prefix license:)
 (guix packages))
(use-package-modules
 admin
 android
 audio
 autotools
 base
 bash
 bison
 bootloaders
 certs
 commencement
 compression
 cryptsetup
 databases
 disk
 display-managers
 emacs
 emacs-xyz
 file
 flashing-tools
 freedesktop
 gnome
 gnupg
 linux
 mail
 mpd
 networking
 ncurses
 package-management
 patchutils
 pulseaudio
 python
 rsync
 screen
 ssh
 terminals
 tls
 tor
 version-control
 video
 vim
 virtualization
 web
 web-browsers
 wm
 xdisorg
 xfce
 xorg)
(use-service-modules
 databases
 desktop
 mail
 networking
 sound
 virtualization
 xorg)

(define-public fdm-git
  (package
    (name "fdm-git")
    (version "2.0+25")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/nicm/fdm")
             (commit "c245d210a5b0049f48c78e40af44d2889ecf217f")))
       (file-name (git-file-name name version))
       (sha256
        (base32 "06al4rs11c859zwfqknicn31nz66w1g73bsb61463dk12q06pwy7"))))
    (build-system gnu-build-system)
    (inputs
     (list tdb openssl zlib))
    (native-inputs
      (list autoconf automake bison))
    (home-page "https://github.com/nicm/fdm")
    (synopsis "Mail Retrieval Agent (MRA) and Mail Delivery Agent (MDA)")
    (description "fdm is a program designed to fetch mail from POP3
or IMAP servers, or receive local mail from stdin, and
deliver it in various ways.")
    (license
     ;; Why point to a source file?  Well, all the individual files have a
     ;; copy of this license in their headers, but there's no seprate file
     ;; with that information.
     (license:non-copyleft
      "https://github.com/nicm/fdm/blob/master/command.c"))))

(define %lvm-vg
  (list
   (mapped-device
    (source (uuid "fd8d9fd8-56a5-4c61-9f6e-35371ff964f0"))
    (target "internal-cleartext")
    (type luks-device-mapping))
   (mapped-device
    (source "primary_laptop")
    (targets (list "primary_laptop-guix32"))
    (type lvm-device-mapping))))
(define %guix32-rootfs
  (file-system
   (device "/dev/mapper/primary_laptop-guix32")
   (mount-point "/")
   (type "ext4")
   (dependencies %lvm-vg)))
(define %parabola32-rootfs
  (file-system
   (mount-point "/srv/distros/parabola32")
   (device "/dev/mapper/primary_laptop-parabola32")
   (type "ext4")
   (dependencies %lvm-vg)
   (create-mount-point? #t)
   (mount-may-fail? #t)))

(define (parabola32-bind-mount path)
  (file-system
   (mount-point path)
   (device (string-append "/srv/distros/parabola32" path))
   (type "none")
   (dependencies (list %parabola32-rootfs))
   (flags '(bind-mount))
   (create-mount-point? #t)
   (mount-may-fail? #t)))

(operating-system
 (host-name "primary_laptop")
 (timezone "Europe/Paris")
 (locale "en_US.utf8")
 (kernel-arguments (append (list
			    "iomem=relaxed"
			    "modprobe.blacklist=pcspkr"
			    "quiet")))
 (initrd-modules (cons "i915" %base-initrd-modules))
 (keyboard-layout (keyboard-layout "us" "altgr-intl"))
 (bootloader (bootloader-configuration (bootloader (bootloader
                                                    (inherit grub-bootloader)
                                                    (installer #~(const #t))))
                                       (keyboard-layout keyboard-layout)))
 (mapped-devices %lvm-vg)
 (file-systems (append (list
                        %guix32-rootfs
                        %parabola32-rootfs
                        (parabola32-bind-mount "/home/gnutoo")
                        (parabola32-bind-mount "/root")
                        (parabola32-bind-mount "/etc/ssh/ssh_config")
                        (parabola32-bind-mount "/etc/gitconfig")
                        (parabola32-bind-mount "/etc/git/")
                        (parabola32-bind-mount "/etc/wpa_supplicant/")
                        (parabola32-bind-mount "/srv/http/")
                        (parabola32-bind-mount "/srv/kiwix/")
                        (parabola32-bind-mount "/usr/local/bin/")
                        (parabola32-bind-mount "/var/lib/postgres/"))
                       %base-file-systems))
 (users (cons*
         (user-account
          (name "gnutoo")
          (uid 1000)
          (group "gnutoo")
          (supplementary-groups '("wheel" "netdev" "audio" "video")))
         (user-account
          (name "postgres")
          (uid 88)
          (group "postgres")
          (comment "PostgreSQL user")
          (home-directory "/var/lib/postgres")
          (shell (file-append bash "/bin/bash"))
          (system? #t))
         %base-user-accounts))
 (groups (cons*
          (user-group
           (name "gnutoo")
           (id 1000))
          (user-group
           (name "postgres")
           (id 88)
           (system? #t))
          %base-groups))

 (hosts-file (local-file "etc/hosts"))
 (packages (append (list
                    alsa-utils
                    adb
                    abootimg
                    android-udev-rules
                    autoconf
                    automake
                    bash-completion
                    bemenu
                    claws-mail
                    cryptsetup
                    ddrescue
                    dosfstools
                    dovecot
                    elogind
                    emacs
                    fastboot
                    fdm-git
                    file
                    flashrom
                    fluxbox
                    gnu-make
                    gcc-toolchain
                    gdm
                    git
                    glibc ;; for the utilities
                    gnupg
                    grub
                    heimdall
                    htop
                    kiwix-tools
                    libtool
                    links
                    lvm2
                    lzip
                    meld
                    midori
                    mkbootimg
                    mpd
                    mpd-mpc
                    mplayer
                    myrepos
                    nbd
                    ncurses
                    net-tools
                    netcat-openbsd
                    nss-certs
                    openssh
                    picocom
                    pinentry
                    pulseaudio
                    python
                    ponymix
                    redshift
                    rsync
                    screen
                    sshfs
                    strace
                    sway
                    terminator
                    tor
                    udisks
                    vim
                    virt-manager
                    vlc
                    waybar
                    wayland
                    wpa-supplicant
                    xauth
                    xfce4-screensaver
                    xfce4-session
                    xf86-input-keyboard
                    xf86-input-libinput
                    xf86-video-intel
                    xinit
                    xorg-server
                    xrandr)
                   %base-packages))
 (services (append (list
                    (dovecot-service #:config
                                     (dovecot-configuration
                                      (mail-location "maildir:~/.local/Maildir")
                                      (listen '("127.0.0.1"))))
                    (service alsa-service-type)
                    (service dhcp-client-service-type)
                    (service elogind-service-type)
                    ;; (service gdm-service-type
                              ;;(gdm-configuration
                               ;; (debug? #t)
                               ;; (wayland? #t)
		              ;;)
			      ;;)
                    (service libvirt-service-type
                             (libvirt-configuration))
                    (service postgresql-service-type
                             (postgresql-configuration
                              (postgresql postgresql-13)
                              (data-directory "/var/lib/postgres/data")
                              (config-file
                               (postgresql-config-file
                                (hba-file
                                 (plain-file
                                  "pg_hba.conf"
                                  (string-append
                                   "# TYPE DATABASE USER ADDRESS\n"
                                   "  local  all      all  trust\n")))
                                (extra-config
                                 '(("max_connections"            100)
                                   ("shared_buffers"             "128 MB")
                                   ("dynamic_shared_memory_type" "posix")
                                   ("max_wal_size"               "1 GB")
                                   ("min_wal_size"               "80 MB")
                                   ("log_timezone"               "Europe/Paris")
                                   ("datestyle"                  "iso, dmy")
                                   ("timezone"                   "Europe/Paris")
                                   ("lc_messages"                "en_US.UTF-8")
                                   ("lc_monetary"                "en_US.UTF-8")
                                   ("lc_numeric"                 "en_US.UTF-8")
                                   ("lc_time"                    "fr_FR.UTF-8")
                                   ("default_text_search_config"
                                    "pg_catalog.english")))))))
                    (service pulseaudio-service-type)
                    (service tor-service-type
                             (tor-configuration))
                    (udisks-service)
                    (service xfce-desktop-service-type))
                   %base-services)))

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2022-04-28 21:36 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-22  2:54 [bug#53434] Patches to unbreak many i686 packages Denis 'GNUtoo' Carikli
2022-01-22  2:59 ` [bug#53434] [PATCH 01/11] gnu: gtk-vnc: Remove dependency on GJS on non-x86_64 Denis 'GNUtoo' Carikli
2022-01-22  2:59   ` [bug#53434] [PATCH 02/11] gnu: gtk-vnc: Build with correct librsvg Denis 'GNUtoo' Carikli
2022-01-22  2:59   ` [bug#53434] [PATCH 03/11] gnu: gnome-settings-daemon: " Denis 'GNUtoo' Carikli
2022-01-22  2:59   ` [bug#53434] [PATCH 04/11] gnu: vlc: " Denis 'GNUtoo' Carikli
2022-01-22  2:59   ` [bug#53434] [PATCH 05/11] gnu: python-dbusmock: Disable tests on i686 Denis 'GNUtoo' Carikli
2022-01-22  2:59   ` [bug#53434] [PATCH 06/11] gnu: node: " Denis 'GNUtoo' Carikli
2022-01-22  2:59   ` [bug#53434] [PATCH 07/11] gnu: guix: " Denis 'GNUtoo' Carikli
2022-01-23 21:35     ` [bug#53434] Patches to unbreak many i686 packages Ludovic Courtès
2022-01-22  2:59   ` [bug#53434] [PATCH 08/11] gnu: mesa: Disable tests on i686 Denis 'GNUtoo' Carikli
2022-01-26  3:27     ` Denis 'GNUtoo' Carikli
2022-01-22  2:59   ` [bug#53434] [PATCH 09/11] gnu: imath: " Denis 'GNUtoo' Carikli
2022-01-26  1:06     ` Denis 'GNUtoo' Carikli
2022-01-26  3:17       ` Leo Famulari
2022-01-26  3:44       ` Leo Famulari
2022-01-22  2:59   ` [bug#53434] [PATCH 10/11] gnu: openexr: " Denis 'GNUtoo' Carikli
2022-01-22  2:59   ` [bug#53434] [PATCH 11/11] gnu: upower: " Denis 'GNUtoo' Carikli
2022-01-24 10:43     ` Maxime Devos
2022-02-16 13:53       ` [bug#53434] Patches to unbreak many i686 packages Ludovic Courtès
2022-02-16 16:38         ` Maxime Devos
2022-02-17 10:40           ` Ludovic Courtès
2022-02-17 20:30             ` Maxime Devos
2022-02-18  7:50             ` Maxime Devos
2022-02-18 13:43               ` Ludovic Courtès
2022-04-23 19:54         ` Denis 'GNUtoo' Carikli
2022-04-28 21:35           ` bug#53434: " Ludovic Courtès
2022-01-22 12:38 ` [bug#53434] " Maxime Devos
2022-01-22 16:49   ` Denis 'GNUtoo' Carikli
2022-01-22 19:19     ` Denis 'GNUtoo' Carikli
2022-01-22 19:32       ` Maxime Devos
2022-01-23 21:32         ` Ludovic Courtès
2022-01-22 19:34       ` Maxime Devos
2022-01-23 22:39 ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.