Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # (1) On the build machine, after running crossbuild-alpine-bootstrap.sh, I try to install packages into the sysroot
- $ abuild-apk -u \
- --repository /home/edge/s390x/packages-s390x-alpine-linux-musl/main \
- --root /home/edge/s390x/sysroot-s390x-alpine-linux-musl \
- --arch s390x \
- add linux-headers musl libc-dev fortify-headers \
- busybox busybox-initscripts zlib binutils make pkgconf pkgconfig
- openssl libfetch apk-tools gmp mpfr3 mpc1 isl cloog gcc \
- openrc alpine-conf alpine-baselayout alpine-keys alpine-base build-base \
- attr libcap patch sudo acl fakeroot tar \
- pax-utils abuild openssh \
- ncurses util-linux lvm2 popt xz cryptsetup kmod lddtree mkinitfs
- (1/68) Installing fakeroot (1.21-r0)
- (2/68) Installing sudo (1.8.17-r0)
- (3/68) Installing scanelf (1.1.6-r0)
- (4/68) Installing libcap (2.25-r1)
- (5/68) Installing pax-utils (1.1.6-r0)
- (6/68) Installing zlib (1.2.8-r2)
- (7/68) Installing libcrypto1.0 (1.0.2h-r1)
- (8/68) Installing libssl1.0 (1.0.2h-r1)
- (9/68) Installing openssl (1.0.2h-r1)
- (10/68) Installing apk-tools (2.6.7-r1)
- (11/68) Installing musl-utils (1.1.15-r0)
- (12/68) Installing libc-utils (0.7-r1)
- (13/68) Installing libattr (2.4.47-r4)
- (14/68) Installing attr (2.4.47-r4)
- (15/68) Installing tar (1.29-r0)
- (16/68) Installing pkgconf (1-r2)
- (17/68) Installing patch (2.7.5-r1)
- (18/68) Installing abuild (2.27.2-r1)
- Executing abuild-2.27.2-r1.pre-install
- ERROR: abuild-2.27.2-r1.pre-install: script exited with error 1
- (19/68) Installing libacl (2.2.52-r2)
- (20/68) Installing acl (2.2.52-r2)
- (21/68) Installing alpine-baselayout (3.0.3-r1)
- Executing alpine-baselayout-3.0.3-r1.pre-install
- ERROR: alpine-baselayout-3.0.3-r1.pre-install: script exited with error 1
- Executing alpine-baselayout-3.0.3-r1.post-install
- ERROR: alpine-baselayout-3.0.3-r1.post-install: script exited with error 1
- (22/68) Installing openrc (0.21.2-r0)
- Executing openrc-0.21.2-r0.post-install
- ERROR: openrc-0.21.2-r0.post-install: script exited with error 1
- (23/68) Installing alpine-conf (3.4.1-r0)
- (24/68) Installing busybox-suid (1.24.2-r9)
- (25/68) Installing busybox-initscripts (3.0-r3)
- Executing busybox-initscripts-3.0-r3.post-install
- ERROR: busybox-initscripts-3.0-r3.post-install: script exited with error 1
- (26/68) Installing alpine-keys (1.1-r1)
- (27/68) Installing alpine-base (3.4.0-r0)
- (28/68) Installing binutils-libs (2.26.1-r0)
- (29/68) Installing binutils (2.26.1-r0)
- (30/68) Installing gmp (6.1.1-r0)
- (31/68) Installing isl (0.17.1-r0)
- (32/68) Installing libgomp (6.1.1-r0)
- (33/68) Installing libatomic (6.1.1-r0)
- (34/68) Installing mpfr3 (3.1.2-r0)
- (35/68) Installing mpc1 (1.0.3-r0)
- (36/68) Installing gcc (6.1.1-r0)
- (37/68) Installing make (4.2.1-r0)
- (38/68) Installing fortify-headers (0.8-r0)
- (39/68) Installing g++ (6.1.1-r0)
- (40/68) Installing build-base (0.4-r1)
- (41/68) Installing cloog (0.18.4-r1)
- (42/68) Installing device-mapper (2.02.161-r0)
- (43/68) Installing libuuid (2.28-r4)
- (44/68) Installing cryptsetup-libs (1.7.2-r0)
- (45/68) Installing popt (1.16-r6)
- (46/68) Installing cryptsetup (1.7.2-r0)
- (47/68) Installing xz-libs (5.2.2-r1)
- (48/68) Installing kmod (22-r0)
- (49/68) Installing lddtree (1.25-r2)
- (50/68) Installing libfetch (2.33-r1)
- (51/68) Installing linux-headers (4.4.6-r1)
- (52/68) Installing lvm2-libs (2.02.161-r0)
- (53/68) Installing lvm2 (2.02.161-r0)
- (54/68) Installing libblkid (2.28-r4)
- (55/68) Installing mkinitfs (3.0.5-r1)
- Executing mkinitfs-3.0.5-r1.post-install
- ERROR: mkinitfs-3.0.5-r1.post-install: script exited with error 1
- (56/68) Installing ncurses-terminfo-base (6.0-r7)
- (57/68) Installing ncurses-terminfo (6.0-r7)
- (58/68) Installing ncurses-libs (6.0-r7)
- (59/68) Installing ncurses (6.0-r7)
- (60/68) Installing openssh-client (7.2_p2-r1)
- (61/68) Installing openssh-sftp-server (7.2_p2-r1)
- (62/68) Installing openssh (7.2_p2-r1)
- (63/68) Installing libmount (2.28-r4)
- (64/68) Installing libsmartcols (2.28-r4)
- (65/68) Installing findmnt (2.28-r4)
- (66/68) Installing libfdisk (2.28-r4)
- (67/68) Installing util-linux (2.28-r4)
- (68/68) Installing xz (5.2.2-r1)
- Executing busybox-1.24.2-r9.trigger
- ERROR: busybox-1.24.2-r9.trigger: script exited with error 1
- 6 errors; 152 MiB in 75 packages
- # (2) On the target machine
- $ sudo ./sbin/apk.static -X http://localhost:8000/packages-s390x-alpine-linux-musl/main -U --allow-untrusted --root ${chroot_dir} --initdb add alpine-base
- fetch http://localhost:8000/packages-s390x-alpine-linux-musl/main/s390x/APKINDEX.tar.gz
- (1/17) Installing busybox (1.24.2-r9)
- Executing busybox-1.24.2-r9.post-install
- ERROR: busybox-1.24.2-r9.post-install: script exited with error 1
- (2/17) Installing musl (1.1.15-r0)
- (3/17) Installing alpine-baselayout (3.0.3-r1)
- Executing alpine-baselayout-3.0.3-r1.pre-install
- ERROR: alpine-baselayout-3.0.3-r1.pre-install: script exited with error 1
- Executing alpine-baselayout-3.0.3-r1.post-install
- ERROR: alpine-baselayout-3.0.3-r1.post-install: script exited with error 1
- (4/17) Installing openrc (0.21.2-r0)
- Executing openrc-0.21.2-r0.post-install
- ERROR: openrc-0.21.2-r0.post-install: script exited with error 1
- (5/17) Installing alpine-conf (3.4.1-r0)
- (6/17) Installing zlib (1.2.8-r2)
- (7/17) Installing libcrypto1.0 (1.0.2h-r1)
- (8/17) Installing libssl1.0 (1.0.2h-r1)
- (9/17) Installing apk-tools (2.6.7-r1)
- (10/17) Installing busybox-suid (1.24.2-r9)
- (11/17) Installing busybox-initscripts (3.0-r3)
- Executing busybox-initscripts-3.0-r3.post-install
- ERROR: busybox-initscripts-3.0-r3.post-install: script exited with error 1
- (12/17) Installing scanelf (1.1.6-r0)
- (13/17) Installing libc6-compat (1.1.15-r0)
- (14/17) Installing musl-utils (1.1.15-r0)
- (15/17) Installing libc-utils (0.7-r1)
- (16/17) Installing alpine-keys (1.1-r1)
- (17/17) Installing alpine-base (3.4.0-r0)
- Executing busybox-1.24.2-r9.trigger
- ERROR: busybox-1.24.2-r9.trigger: script exited with error 1
- 4 errors; 12 MiB in 17 packages
Add Comment
Please, Sign In to add comment