unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: phodina via <help-guix@gnu.org>
To: help-guix <help-guix@gnu.org>
Subject: Guix system build fails on Aarch64
Date: Fri, 24 Dec 2021 11:06:37 +0000	[thread overview]
Message-ID: <25ZN3mlfC5pLJu-WYen4-H9lo--KzcmV5utk7MQKcLJ8kW590x_1DHTNW1XM0ktD1f32julF9pSmBbVu5ZJcbvvJbVP2a8pTFHrvJI2txuQ=@protonmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2021-12-24 11:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-24 11:06 phodina via [this message]
2022-01-13  7:42 ` Guix system build fails on Aarch64 phodina
2022-01-13  9:31   ` Chris Marusich
2022-01-13 21:57     ` phodina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='25ZN3mlfC5pLJu-WYen4-H9lo--KzcmV5utk7MQKcLJ8kW590x_1DHTNW1XM0ktD1f32julF9pSmBbVu5ZJcbvvJbVP2a8pTFHrvJI2txuQ=@protonmail.com' \
    --to=help-guix@gnu.org \
    --cc=phodina@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).