Skip to content

ERRORs on Ubuntu x86_64 in WSL trying to create ARMv7 enviroment #49

@elPytel

Description

@elPytel

Don't know if I am doing something wrong or if its broken...

I am using Ubuntu in WSL:

root@Desktop-Pytel:/# neofetch 
            .-/+oossssoo+/-.               root@Desktop-Pytel 
        `:+ssssssssssssssssss+:`           ------------------ 
      -+ssssssssssssssssssyyssss+-         OS: Ubuntu 24.04.2 LTS on Windows 10 x86_64 
    .ossssssssssssssssssdMMMNysssso.       Kernel: 6.6.87.1-microsoft-standard-WSL2 
   /ssssssssssshdmmNNmmyNMMMMhssssss/      Uptime: 15 hours, 26 mins 
  +ssssssssshmydMMMMMMMNddddyssssssss+     Packages: 1136 (dpkg), 4 (snap) 
 /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/    Shell: bash 5.2.21 
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Theme: Adwaita [GTK3] 
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   Icons: Adwaita [GTK3] 
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   Terminal: node 
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   CPU: Intel i5-7600K (4) @ 3.791GHz 
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   GPU: eb2c:00:00.0 Microsoft Corporation Basic Render Driver 
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Memory: 1521MiB / 15965MiB 
 /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/
  +sssssssssdmydMMMMMMMMddddyssssssss+                             
   /ssssssssssshdmNNNNmyNMMMMhssssss/                              
    .ossssssssssssssssssdMMMNysssso.
      -+sssssssssssssssssyyyssss+-
        `:+ssssssssssssssssss+:`
            .-/+oossssoo+/-.

I would like to cros-compile some source files for Nokia N900 (postmarked OS = Apline on armv7)

And I dont know what to do with those ERRORs:

root@Desktop-Pytel:/# alpine-chroot-install -a armv7 -d alpine-arm -p build-base -p alpine-sdk

> Installing and enabling binfmt-support on host system...
Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
Get:2 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Get:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
Get:5 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [868 kB]
Get:6 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1123 kB]
Get:7 http://security.ubuntu.com/ubuntu noble-security/main amd64 Components [21.5 kB]
Get:8 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [851 kB]           
Get:9 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Components [52.2 kB]
Get:10 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Components [212 B]
Get:11 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Components [212 B]
Get:12 http://archive.ubuntu.com/ubuntu noble-updates/main Translation-en [239 kB]
Get:13 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Components [161 kB]
Get:14 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Components [376 kB]
Get:15 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [1189 kB]
Get:16 http://archive.ubuntu.com/ubuntu noble-updates/restricted Translation-en [249 kB]
Get:17 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Components [212 B]
Get:18 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Components [940 B]
Get:19 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Components [7076 B]
Get:20 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Components [16.4 kB]
Get:21 http://archive.ubuntu.com/ubuntu noble-backports/restricted amd64 Components [216 B]
Get:22 http://archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Components [212 B]
Fetched 5535 kB in 1s (5208 kB/s)               
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
binfmt-support is already the newest version (2.2.2-7).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
'/usr/bin/qemu-arm-static' -> 'usr/bin/qemu-arm-static'

> Downloading static apk-tools
fetch https://gitlab.alpinelinux.org/api/v4/projects/5/packages/generic/v2.14.7/x86_64/apk.static
apk.static: OK

> Installing Alpine Linux latest-stable (armv7) into chroot
fetch http://dl-cdn.alpinelinux.org/alpine/latest-stable/main/armv7/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/latest-stable/community/armv7/APKINDEX.tar.gz
(1/15) Installing alpine-baselayout-data (3.7.0-r0)
(2/15) Installing musl (1.2.5-r10)
(3/15) Installing busybox (1.37.0-r18)
Executing busybox-1.37.0-r18.post-install
ERROR: busybox-1.37.0-r18.post-install: script exited with error 127
(4/15) Installing busybox-binsh (1.37.0-r18)
(5/15) Installing alpine-baselayout (3.7.0-r0)
Executing alpine-baselayout-3.7.0-r0.pre-install
ERROR: alpine-baselayout-3.7.0-r0.pre-install: script exited with error 127
Executing alpine-baselayout-3.7.0-r0.post-install
ERROR: alpine-baselayout-3.7.0-r0.post-install: script exited with error 127
(6/15) Installing libcrypto3 (3.5.0-r0)
(7/15) Installing ca-certificates-bundle (20241121-r2)
(8/15) Installing libssl3 (3.5.0-r0)
(9/15) Installing ssl_client (1.37.0-r18)
(10/15) Installing zlib (1.3.1-r2)
(11/15) Installing libapk2 (2.14.9-r2)
(12/15) Installing apk-tools (2.14.9-r2)
(13/15) Installing busybox-suid (1.37.0-r18)
(14/15) Installing scanelf (1.3.8-r1)
(15/15) Installing musl-utils (1.2.5-r10)
Executing busybox-1.37.0-r18.trigger
ERROR: busybox-1.37.0-r18.trigger: script exited with error 127
2 errors; 5 MiB in 15 packages

(I am from CZ, trying my best with my English)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions