all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Guix system build fails on Aarch64
@ 2021-12-24 11:06 phodina via
  2022-01-13  7:42 ` phodina
  0 siblings, 1 reply; 4+ messages in thread
From: phodina via @ 2021-12-24 11:06 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 955 bytes --]

Hi,

when building system for Aarch64 for Pinebook Pro, there are 2 tests failing:

$ guix describe
Generation 13 Dec 24 2021 03:33:28 (current)
guix ba744fa
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: ba744faeb104a1132d9f6ed04fc296b23bc09334

$ guix system build pinebook-pro.scm

make check-TESTS check-local
...
FAIL: tests/gremlin.scm
...
FAIL: tests/guix-system.sh
...
============================================================================
Testsuite summary for GNU Guix 1.3.0-17.2a49ddb
============================================================================
# TOTAL: 2077
# PASS: 1970
# SKIP: 104
# XFAIL: 1
# FAIL: 2
# XPASS: 0
# ERROR: 0

Could somebody please tell me how to fix these tests?
Log and system configuration files are attached.

FIY the command is run on Pinebook Pro itself, on x86_64 I don't get errors in these tests when building system for Intel laptop

Merry Christmas
----
Petr

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: pinebook-pro.scm --]
[-- Type: text/x-scheme; name=pinebook-pro.scm, Size: 3986 bytes --]

;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2020 Mathieu Othacehe <m.othacehe@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix 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.
;;;
;;; GNU Guix 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 GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu system images pinebook-pro)
  #:use-module (gnu bootloader)
  #:use-module (gnu bootloader u-boot)
  #:use-module (gnu image)
  #:use-module (srfi srfi-1)
  #:use-module (gnu packages linux)
  #:use-module (gnu packages wm)
  #:use-module (gnu packages xdisorg)
  #:use-module (gnu packages version-control)
  #:use-module (gnu packages vim)
  #:use-module (gnu packages certs)
  #:use-module (gnu packages tmux)
  #:use-module (gnu packages suckless)
  #:use-module (gnu services xorg)
  ;#:use-module (gnu platforms arm)
  #:use-module (gnu services)
  #:use-module (gnu services desktop)
  #:use-module (gnu services ssh)
  #:use-module (gnu services sddm)
  #:use-module (gnu services base)
  #:use-module (gnu system)
  #:use-module (gnu system nss)
  #:use-module (gnu system accounts)
  #:use-module (gnu system shadow)
  #:use-module (gnu system file-systems)
  #:use-module (gnu system image)
  #:use-module (srfi srfi-26)
  #:export (pinebook-pro-barebones-os
            pinebook-pro-image-type
            pinebook-pro-barebones-raw-image))

(define pinebook-pro-barebones-os
  (operating-system
    (host-name "valhalla")
    (timezone "Europe/Prague")
    (locale "en_US.utf8")
    (bootloader (bootloader-configuration
                 (bootloader u-boot-pinebook-pro-rk3399-bootloader)
                 (targets '("/dev/vda"))))
    (initrd-modules '())

    (packages
      (append
	(list
          sway
          swaybg
          swayidle
          swaylock-effects
          redshift-wayland
	  git
	  vim
	  nss-certs
	  tmux
	  st)
	%base-packages))

    (users
      (cons
	(user-account
	  (name "cylon2p0")
	  (group "users")
	  (home-directory "/home/cylon2p0")
	  (supplementary-groups
	    '("wheel"
	      "netdev"
	      "kvm"
	      "tty"
	      "input"
	      ;"adbusers"
	      ;"docker"
	      "realtime"
	      "lp"
	      "audio"
	      "dialout"
	      "video")))
	%base-user-accounts))

    (groups
      (cons
	(user-group
	  (system? #t)
	  (name "realtime"))
	  %base-groups))

;(kernel linux-arm64)
(kernel linux-libre-arm64-generic)
    (file-systems (cons (file-system
                          (device "/dev/mmcblk2p1")
                          (mount-point "/")
                          (type "ext4"))
                        %base-file-systems))

    (name-service-switch %mdns-host-lookup-nss)

    (services (cons* ;(service sddm-service-type
		;	      (sddm-configuration
		;		(display-server "wayland")))
		     (screen-locker-service swaylock-effects "swaylock")
		     (service openssh-service-type
			      (openssh-configuration))
			;	(permit-root-login #f)
			;(service dhcp-client-service-type)
		   (service agetty-service-type
                             (agetty-configuration
                              (extra-options '("-L")) ; no carrier detect
                              (baud-rate "1500000")
                              (term "vt100")
                              (tty "ttyS2")))
		   (remove (lambda (service)
			     (eq? (service-kind service) gdm-service-type))
                    (modify-services %desktop-services))))))

;; Return the default image.
pinebook-pro-barebones-os

[-- Attachment #3: xbx6fi00imhhdg2m4yh3z2flyj1h42-guix-1.3.0-17.2a49ddb.drv.bz2 --]
[-- Type: application/x-bzip2, Size: 335800 bytes --]

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

end of thread, other threads:[~2022-01-13 21:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-24 11:06 Guix system build fails on Aarch64 phodina via
2022-01-13  7:42 ` phodina
2022-01-13  9:31   ` Chris Marusich
2022-01-13 21:57     ` phodina

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.