* bug#33841: Building x86-64 on i686 not possible it seems - activation-service-error
@ 2018-12-23 5:04 swedebugia
2018-12-23 5:07 ` swedebugia
2019-01-05 17:18 ` Ludovic Courtès
0 siblings, 2 replies; 6+ messages in thread
From: swedebugia @ 2018-12-23 5:04 UTC (permalink / raw)
To: 33841
[-- Attachment #1: Type: text/plain, Size: 1357 bytes --]
time nice -19 ~/src/guix/pre-inst-env guix system build ~/config.scm
--system=x86_64-linux
building
/gnu/store/27raas2bj7sck7vgiicfr2g4h6qrd6ga-activate-service.drv...
@ unsupported-platform
/gnu/store/27raas2bj7sck7vgiicfr2g4h6qrd6ga-activate-service.drv
x86_64-linux
while setting up the build environment: a `x86_64-linux' is required to
build
`/gnu/store/27raas2bj7sck7vgiicfr2g4h6qrd6ga-activate-service.drv', but
I am a `i686-linux'
builder for
`/gnu/store/27raas2bj7sck7vgiicfr2g4h6qrd6ga-activate-service.drv'
failed with exit code 1
build of
/gnu/store/27raas2bj7sck7vgiicfr2g4h6qrd6ga-activate-service.drv failed
View build log at
'/var/log/guix/drvs/27/raas2bj7sck7vgiicfr2g4h6qrd6ga-activate-service.drv.bz2'.
cannot build derivation
`/gnu/store/da24a831db5lv0z60kyh1drz2sw20q88-activate.drv': 1
dependencies couldn't be built
building
/gnu/store/hkjn3n1q91dnvvq5nmjs8kr2lkw4fww3-module-import-compiled.drv...
cannot build derivation
`/gnu/store/fxvgakgpmhpq1abhqnrxzirgjkmns7nb-boot.drv': 1 dependencies
couldn't be built
building
/gnu/store/jqp8g5anxc2zqisb2hv4gd8rrih0z4mj-module-import.drv...
cannot build derivation
`/gnu/store/wm9blmyzw7vsxfbdd1rpx8f9k5qm2hvf-system.drv': 1 dependencies
couldn't be built
guix system: error: build failed: build of
`/gnu/store/wm9blmyzw7vsxfbdd1rpx8f9k5qm2hvf-system.drv' failed
--
Cheers
Swedebugia
[-- Attachment #2: config.scm --]
[-- Type: text/plain, Size: 4569 bytes --]
;; This is an operating system configuration template
;; for a "desktop" setup with GNOME and Xfce where the
;; root partition is encrypted with LUKS.
(use-modules (gnu) (gnu system nss))
(use-service-modules desktop networking virtualization)
(use-package-modules certs gnome
;; for my-base-packages
linux less base nano pciutils admin man texinfo
bash guile gawk compression lisp)
(define %my-base-packages
;; Like upstream but without wifi-programs and zile.
;; Default set of packages globally visible. It should include anything
;; required for basic administrator tasks.
(cons* procps psmisc which less
;;zile
nano
pciutils usbutils
util-linux
inetutils isc-dhcp
(@ (gnu packages admin) shadow) ;for 'passwd'
;; wireless-tools is deprecated in favor of iw, but it's still what
;; many people are familiar with, so keep it around.
;;iw wireless-tools
iproute
net-tools ; XXX: remove when Inetutils suffices
man-db
info-reader ;the standalone Info reader (no Perl)
;; The 'sudo' command is already in %SETUID-PROGRAMS, but we also
;; want the other commands and the man pages (notably because
;; auto-completion in Emacs shell relies on man pages.)
sudo
;; Get 'insmod' & co. from kmod, not module-init-tools, since udev
;; already depends on it anyway.
kmod eudev
e2fsprogs kbd
bash-completion
;; XXX: We don't use (canonical-package guile-2.2) here because that
;; would create a collision in the global profile between the GMP
;; variant propagated by 'guile-final' and the GMP variant propagated
;; by 'gnutls', itself propagated by 'guix'.
guile-2.2
;; The packages below are also in %FINAL-INPUTS, so take them from
;; there to avoid duplication.
(map canonical-package
(list bash coreutils findutils grep sed
diffutils patch gawk tar gzip bzip2 xz lzip))))
(operating-system
(host-name "antelope")
(timezone "Europe/Paris")
(locale "en_US.utf8")
;; Use the UEFI variant of GRUB with the EFI System
;; Partition mounted on /boot/efi.
(bootloader (bootloader-configuration
(bootloader grub-bootloader)
(target "/dev/sda")))
(file-systems (cons (file-system
(device (file-system-label "my-root"))
(mount-point "/")
(type "ext4"))
%base-file-systems))
(swap-devices '("/dev/sda2"))
(users (cons (user-account
(name "sdb")
(comment "Alice's brother")
(group "users")
(supplementary-groups '("wheel" "netdev"
"audio" "video"))
(home-directory "/home/sdb"))
%base-user-accounts))
;; This is where we specify system-wide packages.
(packages (cons* nss-certs ;for HTTPS access
gvfs ;for user mounts
network-manager-openvpn
stumpwm
%my-base-packages))
;; Add GNOME and/or Xfce---we can choose at the log-in
;; screen with F1. Use the "desktop" services, which
;; include the X11 log-in service, networking with
;; NetworkManager, and more.
(services (cons* (service qemu-binfmt-service-type
(qemu-binfmt-configuration
(platforms (lookup-qemu-platforms "arm"))
(guix-support? #t)))
(xfce-desktop-service)
(console-keymap-service "se-latin1")
(modify-services %desktop-services ; Add berlin as first priority
; substitute server
(guix-service-type config =>
(guix-configuration
(inherit config)
(substitute-urls '(
"https://berlin.guixsd.org https://mirror.hydra.gnu.org"))))
(network-manager-service-type config =>
(network-manager-configuration
(inherit config)
(vpn-plugins (list network-manager-openvpn)))))))
;; Allow resolution of '.local' host names with mDNS.
;;(name-service-switch %mdns-host-lookup-nss)
)
[-- Attachment #3: raas2bj7sck7vgiicfr2g4h6qrd6ga-activate-service.drv.bz2 --]
[-- Type: application/x-bzip2, Size: 229 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#33841: Building x86-64 on i686 not possible it seems - activation-service-error
2018-12-23 5:04 bug#33841: Building x86-64 on i686 not possible it seems - activation-service-error swedebugia
@ 2018-12-23 5:07 ` swedebugia
2019-01-05 17:18 ` Ludovic Courtès
1 sibling, 0 replies; 6+ messages in thread
From: swedebugia @ 2018-12-23 5:07 UTC (permalink / raw)
To: 33841; +Cc: bug-Guix
On 2018-12-23 06:04, swedebugia@riseup.net wrote:
> time nice -19 ~/src/guix/pre-inst-env guix system build ~/config.scm
> --system=x86_64-linux
>
> building
> /gnu/store/27raas2bj7sck7vgiicfr2g4h6qrd6ga-activate-service.drv...
> @ unsupported-platform
> /gnu/store/27raas2bj7sck7vgiicfr2g4h6qrd6ga-activate-service.drv
> x86_64-linux
> while setting up the build environment: a `x86_64-linux' is required to
> build
> `/gnu/store/27raas2bj7sck7vgiicfr2g4h6qrd6ga-activate-service.drv', but
> I am a `i686-linux'
> builder for
> `/gnu/store/27raas2bj7sck7vgiicfr2g4h6qrd6ga-activate-service.drv'
> failed with exit code 1
> build of
> /gnu/store/27raas2bj7sck7vgiicfr2g4h6qrd6ga-activate-service.drv failed
> View build log at
> '/var/log/guix/drvs/27/raas2bj7sck7vgiicfr2g4h6qrd6ga-activate-service.drv.bz2'.
> cannot build derivation
> `/gnu/store/da24a831db5lv0z60kyh1drz2sw20q88-activate.drv': 1
> dependencies couldn't be built
> building
> /gnu/store/hkjn3n1q91dnvvq5nmjs8kr2lkw4fww3-module-import-compiled.drv...
> cannot build derivation
> `/gnu/store/fxvgakgpmhpq1abhqnrxzirgjkmns7nb-boot.drv': 1 dependencies
> couldn't be built
> building
> /gnu/store/jqp8g5anxc2zqisb2hv4gd8rrih0z4mj-module-import.drv...
> cannot build derivation
> `/gnu/store/wm9blmyzw7vsxfbdd1rpx8f9k5qm2hvf-system.drv': 1 dependencies
> couldn't be built
> guix system: error: build failed: build of
> `/gnu/store/wm9blmyzw7vsxfbdd1rpx8f9k5qm2hvf-system.drv' failed
sdb@antelope ~/Desktop$ guix --version
guix (GNU Guix) 0.16.0-5.5de5f81
reconfigured from master on sdb@antelope ~/src/guix$ git log |head
commit d15211c9b5b46b96c5b658329624942b6ff5c917
--
Cheers
Swedebugia
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#33841: Building x86-64 on i686 not possible it seems - activation-service-error
2018-12-23 5:04 bug#33841: Building x86-64 on i686 not possible it seems - activation-service-error swedebugia
2018-12-23 5:07 ` swedebugia
@ 2019-01-05 17:18 ` Ludovic Courtès
2019-01-06 3:11 ` swedebugia
1 sibling, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2019-01-05 17:18 UTC (permalink / raw)
To: swedebugia; +Cc: 33841
Hello,
swedebugia@riseup.net skribis:
> time nice -19 ~/src/guix/pre-inst-env guix system build ~/config.scm
> --system=x86_64-linux
>
> building
> /gnu/store/27raas2bj7sck7vgiicfr2g4h6qrd6ga-activate-service.drv...
> @ unsupported-platform
> /gnu/store/27raas2bj7sck7vgiicfr2g4h6qrd6ga-activate-service.drv
> x86_64-linux
> while setting up the build environment: a `x86_64-linux' is required to
> build
> `/gnu/store/27raas2bj7sck7vgiicfr2g4h6qrd6ga-activate-service.drv', but
> I am a `i686-linux'
An i686 machine cannot run and build software for x86_64. You would
need to set up offloading to do that, or use
‘qemu-binfmt-service-type’.
So this all looks like “expected” behavior to me.
Does that make sense?
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#33841: Building x86-64 on i686 not possible it seems - activation-service-error
2019-01-05 17:18 ` Ludovic Courtès
@ 2019-01-06 3:11 ` swedebugia
2019-01-06 3:46 ` Ricardo Wurmus
0 siblings, 1 reply; 6+ messages in thread
From: swedebugia @ 2019-01-06 3:11 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 33841@debbugs.gnu.org
[-- Attachment #1.1: Type: text/html, Size: 1653 bytes --]
[-- Attachment #1.2: Type: text/plain, Size: 1224 bytes --]
"Ludovic Courtès" <ludo@gnu.org> skrev: (5 januari 2019 18:18:58 CET)
>Hello,
>
>swedebugia@riseup.net skribis:
>
>> time nice -19 ~/src/guix/pre-inst-env guix system build ~/config.scm
>> --system=x86_64-linux
>>
>> building
>> /gnu/store/27raas2bj7sck7vgiicfr2g4h6qrd6ga-activate-service.drv...
>> @ unsupported-platform
>> /gnu/store/27raas2bj7sck7vgiicfr2g4h6qrd6ga-activate-service.drv
>> x86_64-linux
>> while setting up the build environment: a `x86_64-linux' is required
>to
>> build
>> `/gnu/store/27raas2bj7sck7vgiicfr2g4h6qrd6ga-activate-service.drv',
>but
>> I am a `i686-linux'
>
>An i686 machine cannot run and build software for x86_64. You would
>need to set up offloading to do that, or use
>‘qemu-binfmt-service-type’.
>
>So this all looks like “expected” behavior to me.
>
>Does that make sense?
>
>Thanks,
>Ludo’.
OK. Would it be OK to state this somewhere in the manual or am I the only on trying to upgrade from 32->64 bit?
This means that if you take a disk with guix 32 and plug it into a 64 bit machine there are only two ways to use 64 bit. Reinstall from a downloaded USB or build using qemu-binfmt-service-type.
--
Sent from my p≡p for Android.
[-- Attachment #2: pEpkey.asc --]
[-- Type: application/pgp-keys, Size: 3825 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#33841: Building x86-64 on i686 not possible it seems - activation-service-error
2019-01-06 3:11 ` swedebugia
@ 2019-01-06 3:46 ` Ricardo Wurmus
2019-01-06 10:34 ` swedebugia
0 siblings, 1 reply; 6+ messages in thread
From: Ricardo Wurmus @ 2019-01-06 3:46 UTC (permalink / raw)
To: swedebugia; +Cc: 33841@debbugs.gnu.org
Hi swedebugia,
>>An i686 machine cannot run and build software for x86_64. You would
>>need to set up offloading to do that, or use
>>‘qemu-binfmt-service-type’.
[…]
> OK. Would it be OK to state this somewhere in the manual or am I the
> only on trying to upgrade from 32->64 bit?
I'd prefer not to add this to the manual as it is not particular to
Guix. x86_64 is the outlier here, as it has a i686 persona. Generally,
you cannot build software for a different architecture without a cross
toolchain (not applicable for Guix) or emulation (e.g. via
qemu-binfmt-service-type).
--
Ricardo
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#33841: Building x86-64 on i686 not possible it seems - activation-service-error
2019-01-06 3:46 ` Ricardo Wurmus
@ 2019-01-06 10:34 ` swedebugia
0 siblings, 0 replies; 6+ messages in thread
From: swedebugia @ 2019-01-06 10:34 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: 33841-done
On 2019-01-05 19:46, Ricardo Wurmus wrote:
> Hi swedebugia,
>
>>>An i686 machine cannot run and build software for x86_64. You would
>>>need to set up offloading to do that, or use
>>>‘qemu-binfmt-service-type’.
> […]
>> OK. Would it be OK to state this somewhere in the manual or am I the
>> only on trying to upgrade from 32->64 bit?
>
> I'd prefer not to add this to the manual as it is not particular to
> Guix. x86_64 is the outlier here, as it has a i686 persona. Generally,
> you cannot build software for a different architecture without a cross
> toolchain (not applicable for Guix) or emulation (e.g. via
> qemu-binfmt-service-type).
Ok, thanks, closing this.
--
Cheers
Swedebugia
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-01-06 10:36 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-23 5:04 bug#33841: Building x86-64 on i686 not possible it seems - activation-service-error swedebugia
2018-12-23 5:07 ` swedebugia
2019-01-05 17:18 ` Ludovic Courtès
2019-01-06 3:11 ` swedebugia
2019-01-06 3:46 ` Ricardo Wurmus
2019-01-06 10:34 ` swedebugia
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.