02-10-2020, 02:23 PM
Hello. Here's what I get from the install to the sdcard:
curt@pop-os:~$ pmbootstrap install --sdcard /dev/mmcblk0
[14:16:09] *** (1/5) PREPARE NATIVE CHROOT ***
[14:16:09] (native) install alpine-base
[14:16:10] NOTE: Valid pkgvers are described here:
[14:16:10] <https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#pkgver>
[14:16:10] ERROR: Invalid pkgver '3.x.x' in APKBUILD: /home/curt/.local/var/pmbootstrap/cache_git/pmaports/device/linux-pin64-pinephone/APKBUILD
[14:16:10] See also: <https://postmarketos.org/troubleshooting>
Run 'pmbootstrap log' for details.
So, here's output from 'pmbootstrap log':
curt@pop-os:~$ cat pmbootstrap.log
(5/19) Installing alpine-conf (3.8.3-r6)
(6/19) Installing libcrypto1.1 (1.1.1d-r4)
(7/19) Installing libssl1.1 (1.1.1d-r4)
(8/19) Installing ca-certificates-cacert (20191127-r1)
(9/19) Installing libtls-standalone (2.9.1-r0)
(10/19) Installing ssl_client (1.31.1-r11)
(11/19) Installing zlib (1.2.11-r3)
(12/19) Installing apk-tools (2.10.4-r3)
(13/19) Installing busybox-suid (1.31.1-r11)
(14/19) Installing busybox-initscripts (3.2-r2)
Executing busybox-initscripts-3.2-r2.post-install
(15/19) Installing scanelf (1.2.4-r0)
(16/19) Installing musl-utils (1.1.24-r0)
(17/19) Installing libc-utils (0.7.2-r0)
(18/19) Installing alpine-keys (2.1-r2)
(19/19) Installing alpine-base (3.12_alpha20200122-r0)
Executing busybox-1.31.1-r11.trigger
OK: 8 MiB in 19 packages
(027632) [14:16:10] (native) % adduser -D pmos -u 12345
(027632) [14:16:10] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-abuild-config /home/pmos/.abuild
(027632) [14:16:10] (native) % chown pmos:pmos /mnt/pmbootstrap-abuild-config
(027632) [14:16:10] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-ccache /home/pmos/.ccache
(027632) [14:16:10] (native) % chown pmos:pmos /mnt/pmbootstrap-ccache
(027632) [14:16:10] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/packages
(027632) [14:16:10] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-packages /home/pmos/packages/pmos
(027632) [14:16:10] (native) % chown pmos:pmos /mnt/pmbootstrap-packages
(027632) [14:16:10] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/registry
(027632) [14:16:10] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/registry/index /home/pmos/.cargo/registry/index
(027632) [14:16:10] (native) % chown pmos:pmos /mnt/pmbootstrap-rust/registry/index
(027632) [14:16:10] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/registry/cache /home/pmos/.cargo/registry/cache
(027632) [14:16:10] (native) % chown pmos:pmos /mnt/pmbootstrap-rust/registry/cache
(027632) [14:16:10] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/git
(027632) [14:16:10] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/git/db /home/pmos/.cargo/git/db
(027632) [14:16:10] (native) % chown pmos:pmos /mnt/pmbootstrap-rust/git/db
(027632) [14:16:10] (native) calculate depends of cryptsetup, util-linux, e2fsprogs, parted, dosfstools (pmbootstrap -v for details)
(027632) [14:16:10] NOTE: Valid pkgvers are described here:
(027632) [14:16:10] <https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#pkgver>
(027632) [14:16:10] ERROR: Invalid pkgver '3.x.x' in APKBUILD: /home/curt/.local/var/pmbootstrap/cache_git/pmaports/device/linux-pin64-pinephone/APKBUILD
(027632) [14:16:10] See also: <https://postmarketos.org/troubleshooting>
(027632) [14:16:10] Traceback (most recent call last):
File "/home/curt/pmbootstrap/pmb/__init__.py", line 63, in main
getattr(frontend, args.action)(args)
File "/home/curt/pmbootstrap/pmb/helpers/frontend.py", line 198, in install
pmb.install.install(args)
File "/home/curt/pmbootstrap/pmb/install/_install.py", line 493, in install
build=False)
File "/home/curt/pmbootstrap/pmb/chroot/apk.py", line 202, in install
packages_with_depends = pmb.parse.depends.recurse(args, packages, suffix)
File "/home/curt/pmbootstrap/pmb/parse/depends.py", line 146, in recurse
package = package_from_aports(args, pkgname_depend)
File "/home/curt/pmbootstrap/pmb/parse/depends.py", line 33, in package_from_aports
aport = pmb.helpers.pmaports.find(args, pkgname_depend, False)
File "/home/curt/pmbootstrap/pmb/helpers/pmaports.py", line 133, in find
apkbuild = pmb.parse.apkbuild(args, path_current)
File "/home/curt/pmbootstrap/pmb/parse/_apkbuild.py", line 312, in apkbuild
"' in APKBUILD: " + path)
RuntimeError: Invalid pkgver '3.x.x' in APKBUILD: /home/curt/.local/var/pmbootstrap/cache_git/pmaports/device/linux-pin64-pinephone/APKBUILD
Everything went smoothly before the actual install attempt. Any suggestions will be appreciated.
curt@pop-os:~$ pmbootstrap install --sdcard /dev/mmcblk0
[14:16:09] *** (1/5) PREPARE NATIVE CHROOT ***
[14:16:09] (native) install alpine-base
[14:16:10] NOTE: Valid pkgvers are described here:
[14:16:10] <https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#pkgver>
[14:16:10] ERROR: Invalid pkgver '3.x.x' in APKBUILD: /home/curt/.local/var/pmbootstrap/cache_git/pmaports/device/linux-pin64-pinephone/APKBUILD
[14:16:10] See also: <https://postmarketos.org/troubleshooting>
Run 'pmbootstrap log' for details.
So, here's output from 'pmbootstrap log':
curt@pop-os:~$ cat pmbootstrap.log
(5/19) Installing alpine-conf (3.8.3-r6)
(6/19) Installing libcrypto1.1 (1.1.1d-r4)
(7/19) Installing libssl1.1 (1.1.1d-r4)
(8/19) Installing ca-certificates-cacert (20191127-r1)
(9/19) Installing libtls-standalone (2.9.1-r0)
(10/19) Installing ssl_client (1.31.1-r11)
(11/19) Installing zlib (1.2.11-r3)
(12/19) Installing apk-tools (2.10.4-r3)
(13/19) Installing busybox-suid (1.31.1-r11)
(14/19) Installing busybox-initscripts (3.2-r2)
Executing busybox-initscripts-3.2-r2.post-install
(15/19) Installing scanelf (1.2.4-r0)
(16/19) Installing musl-utils (1.1.24-r0)
(17/19) Installing libc-utils (0.7.2-r0)
(18/19) Installing alpine-keys (2.1-r2)
(19/19) Installing alpine-base (3.12_alpha20200122-r0)
Executing busybox-1.31.1-r11.trigger
OK: 8 MiB in 19 packages
(027632) [14:16:10] (native) % adduser -D pmos -u 12345
(027632) [14:16:10] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-abuild-config /home/pmos/.abuild
(027632) [14:16:10] (native) % chown pmos:pmos /mnt/pmbootstrap-abuild-config
(027632) [14:16:10] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-ccache /home/pmos/.ccache
(027632) [14:16:10] (native) % chown pmos:pmos /mnt/pmbootstrap-ccache
(027632) [14:16:10] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/packages
(027632) [14:16:10] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-packages /home/pmos/packages/pmos
(027632) [14:16:10] (native) % chown pmos:pmos /mnt/pmbootstrap-packages
(027632) [14:16:10] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/registry
(027632) [14:16:10] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/registry/index /home/pmos/.cargo/registry/index
(027632) [14:16:10] (native) % chown pmos:pmos /mnt/pmbootstrap-rust/registry/index
(027632) [14:16:10] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/registry/cache /home/pmos/.cargo/registry/cache
(027632) [14:16:10] (native) % chown pmos:pmos /mnt/pmbootstrap-rust/registry/cache
(027632) [14:16:10] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/git
(027632) [14:16:10] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/git/db /home/pmos/.cargo/git/db
(027632) [14:16:10] (native) % chown pmos:pmos /mnt/pmbootstrap-rust/git/db
(027632) [14:16:10] (native) calculate depends of cryptsetup, util-linux, e2fsprogs, parted, dosfstools (pmbootstrap -v for details)
(027632) [14:16:10] NOTE: Valid pkgvers are described here:
(027632) [14:16:10] <https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#pkgver>
(027632) [14:16:10] ERROR: Invalid pkgver '3.x.x' in APKBUILD: /home/curt/.local/var/pmbootstrap/cache_git/pmaports/device/linux-pin64-pinephone/APKBUILD
(027632) [14:16:10] See also: <https://postmarketos.org/troubleshooting>
(027632) [14:16:10] Traceback (most recent call last):
File "/home/curt/pmbootstrap/pmb/__init__.py", line 63, in main
getattr(frontend, args.action)(args)
File "/home/curt/pmbootstrap/pmb/helpers/frontend.py", line 198, in install
pmb.install.install(args)
File "/home/curt/pmbootstrap/pmb/install/_install.py", line 493, in install
build=False)
File "/home/curt/pmbootstrap/pmb/chroot/apk.py", line 202, in install
packages_with_depends = pmb.parse.depends.recurse(args, packages, suffix)
File "/home/curt/pmbootstrap/pmb/parse/depends.py", line 146, in recurse
package = package_from_aports(args, pkgname_depend)
File "/home/curt/pmbootstrap/pmb/parse/depends.py", line 33, in package_from_aports
aport = pmb.helpers.pmaports.find(args, pkgname_depend, False)
File "/home/curt/pmbootstrap/pmb/helpers/pmaports.py", line 133, in find
apkbuild = pmb.parse.apkbuild(args, path_current)
File "/home/curt/pmbootstrap/pmb/parse/_apkbuild.py", line 312, in apkbuild
"' in APKBUILD: " + path)
RuntimeError: Invalid pkgver '3.x.x' in APKBUILD: /home/curt/.local/var/pmbootstrap/cache_git/pmaports/device/linux-pin64-pinephone/APKBUILD
Everything went smoothly before the actual install attempt. Any suggestions will be appreciated.