Guest User

Untitled

a guest
Jul 25th, 2016
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.86 KB | None | 0 0
  1.  
  2. # (1) On the build  machine, after running crossbuild-alpine-bootstrap.sh, I try to install packages into the sysroot
  3.  
  4. $ abuild-apk -u \
  5.     --repository /home/edge/s390x/packages-s390x-alpine-linux-musl/main \
  6.     --root /home/edge/s390x/sysroot-s390x-alpine-linux-musl \
  7.     --arch s390x \
  8.     add linux-headers musl libc-dev fortify-headers \
  9.     busybox busybox-initscripts zlib binutils make pkgconf pkgconfig
  10.     openssl libfetch apk-tools gmp mpfr3 mpc1 isl cloog gcc \
  11.     openrc alpine-conf alpine-baselayout alpine-keys alpine-base build-base \
  12.     attr libcap patch sudo acl fakeroot tar \
  13.     pax-utils abuild openssh \
  14.     ncurses util-linux lvm2 popt xz cryptsetup kmod lddtree mkinitfs
  15.  
  16. (1/68) Installing fakeroot (1.21-r0)
  17. (2/68) Installing sudo (1.8.17-r0)
  18. (3/68) Installing scanelf (1.1.6-r0)
  19. (4/68) Installing libcap (2.25-r1)
  20. (5/68) Installing pax-utils (1.1.6-r0)
  21. (6/68) Installing zlib (1.2.8-r2)
  22. (7/68) Installing libcrypto1.0 (1.0.2h-r1)
  23. (8/68) Installing libssl1.0 (1.0.2h-r1)
  24. (9/68) Installing openssl (1.0.2h-r1)
  25. (10/68) Installing apk-tools (2.6.7-r1)
  26. (11/68) Installing musl-utils (1.1.15-r0)
  27. (12/68) Installing libc-utils (0.7-r1)
  28. (13/68) Installing libattr (2.4.47-r4)
  29. (14/68) Installing attr (2.4.47-r4)
  30. (15/68) Installing tar (1.29-r0)
  31. (16/68) Installing pkgconf (1-r2)
  32. (17/68) Installing patch (2.7.5-r1)
  33. (18/68) Installing abuild (2.27.2-r1)
  34. Executing abuild-2.27.2-r1.pre-install
  35. ERROR: abuild-2.27.2-r1.pre-install: script exited with error 1
  36. (19/68) Installing libacl (2.2.52-r2)
  37. (20/68) Installing acl (2.2.52-r2)
  38. (21/68) Installing alpine-baselayout (3.0.3-r1)
  39. Executing alpine-baselayout-3.0.3-r1.pre-install
  40. ERROR: alpine-baselayout-3.0.3-r1.pre-install: script exited with error 1
  41. Executing alpine-baselayout-3.0.3-r1.post-install
  42. ERROR: alpine-baselayout-3.0.3-r1.post-install: script exited with error 1
  43. (22/68) Installing openrc (0.21.2-r0)
  44. Executing openrc-0.21.2-r0.post-install
  45. ERROR: openrc-0.21.2-r0.post-install: script exited with error 1
  46. (23/68) Installing alpine-conf (3.4.1-r0)
  47. (24/68) Installing busybox-suid (1.24.2-r9)
  48. (25/68) Installing busybox-initscripts (3.0-r3)
  49. Executing busybox-initscripts-3.0-r3.post-install
  50. ERROR: busybox-initscripts-3.0-r3.post-install: script exited with error 1
  51. (26/68) Installing alpine-keys (1.1-r1)
  52. (27/68) Installing alpine-base (3.4.0-r0)
  53. (28/68) Installing binutils-libs (2.26.1-r0)
  54. (29/68) Installing binutils (2.26.1-r0)
  55. (30/68) Installing gmp (6.1.1-r0)
  56. (31/68) Installing isl (0.17.1-r0)
  57. (32/68) Installing libgomp (6.1.1-r0)
  58. (33/68) Installing libatomic (6.1.1-r0)
  59. (34/68) Installing mpfr3 (3.1.2-r0)
  60. (35/68) Installing mpc1 (1.0.3-r0)
  61. (36/68) Installing gcc (6.1.1-r0)
  62. (37/68) Installing make (4.2.1-r0)
  63. (38/68) Installing fortify-headers (0.8-r0)
  64. (39/68) Installing g++ (6.1.1-r0)
  65. (40/68) Installing build-base (0.4-r1)
  66. (41/68) Installing cloog (0.18.4-r1)
  67. (42/68) Installing device-mapper (2.02.161-r0)
  68. (43/68) Installing libuuid (2.28-r4)
  69. (44/68) Installing cryptsetup-libs (1.7.2-r0)
  70. (45/68) Installing popt (1.16-r6)
  71. (46/68) Installing cryptsetup (1.7.2-r0)
  72. (47/68) Installing xz-libs (5.2.2-r1)
  73. (48/68) Installing kmod (22-r0)
  74. (49/68) Installing lddtree (1.25-r2)
  75. (50/68) Installing libfetch (2.33-r1)
  76. (51/68) Installing linux-headers (4.4.6-r1)
  77. (52/68) Installing lvm2-libs (2.02.161-r0)
  78. (53/68) Installing lvm2 (2.02.161-r0)
  79. (54/68) Installing libblkid (2.28-r4)
  80. (55/68) Installing mkinitfs (3.0.5-r1)
  81. Executing mkinitfs-3.0.5-r1.post-install
  82. ERROR: mkinitfs-3.0.5-r1.post-install: script exited with error 1
  83. (56/68) Installing ncurses-terminfo-base (6.0-r7)
  84. (57/68) Installing ncurses-terminfo (6.0-r7)
  85. (58/68) Installing ncurses-libs (6.0-r7)
  86. (59/68) Installing ncurses (6.0-r7)
  87. (60/68) Installing openssh-client (7.2_p2-r1)
  88. (61/68) Installing openssh-sftp-server (7.2_p2-r1)
  89. (62/68) Installing openssh (7.2_p2-r1)
  90. (63/68) Installing libmount (2.28-r4)
  91. (64/68) Installing libsmartcols (2.28-r4)
  92. (65/68) Installing findmnt (2.28-r4)
  93. (66/68) Installing libfdisk (2.28-r4)
  94. (67/68) Installing util-linux (2.28-r4)
  95. (68/68) Installing xz (5.2.2-r1)
  96. Executing busybox-1.24.2-r9.trigger
  97. ERROR: busybox-1.24.2-r9.trigger: script exited with error 1
  98. 6 errors; 152 MiB in 75 packages
  99.  
  100.  
  101. # (2) On the target machine
  102.  
  103. $ sudo ./sbin/apk.static -X http://localhost:8000/packages-s390x-alpine-linux-musl/main -U --allow-untrusted --root ${chroot_dir} --initdb add alpine-base
  104. fetch http://localhost:8000/packages-s390x-alpine-linux-musl/main/s390x/APKINDEX.tar.gz
  105. (1/17) Installing busybox (1.24.2-r9)
  106. Executing busybox-1.24.2-r9.post-install
  107. ERROR: busybox-1.24.2-r9.post-install: script exited with error 1
  108. (2/17) Installing musl (1.1.15-r0)
  109. (3/17) Installing alpine-baselayout (3.0.3-r1)
  110. Executing alpine-baselayout-3.0.3-r1.pre-install
  111. ERROR: alpine-baselayout-3.0.3-r1.pre-install: script exited with error 1
  112. Executing alpine-baselayout-3.0.3-r1.post-install
  113. ERROR: alpine-baselayout-3.0.3-r1.post-install: script exited with error 1
  114. (4/17) Installing openrc (0.21.2-r0)
  115. Executing openrc-0.21.2-r0.post-install
  116. ERROR: openrc-0.21.2-r0.post-install: script exited with error 1
  117. (5/17) Installing alpine-conf (3.4.1-r0)
  118. (6/17) Installing zlib (1.2.8-r2)
  119. (7/17) Installing libcrypto1.0 (1.0.2h-r1)
  120. (8/17) Installing libssl1.0 (1.0.2h-r1)
  121. (9/17) Installing apk-tools (2.6.7-r1)
  122. (10/17) Installing busybox-suid (1.24.2-r9)
  123. (11/17) Installing busybox-initscripts (3.0-r3)
  124. Executing busybox-initscripts-3.0-r3.post-install
  125. ERROR: busybox-initscripts-3.0-r3.post-install: script exited with error 1
  126. (12/17) Installing scanelf (1.1.6-r0)
  127. (13/17) Installing libc6-compat (1.1.15-r0)
  128. (14/17) Installing musl-utils (1.1.15-r0)
  129. (15/17) Installing libc-utils (0.7-r1)
  130. (16/17) Installing alpine-keys (1.1-r1)
  131. (17/17) Installing alpine-base (3.4.0-r0)
  132. Executing busybox-1.24.2-r9.trigger
  133. ERROR: busybox-1.24.2-r9.trigger: script exited with error 1
  134. 4 errors; 12 MiB in 17 packages
Add Comment
Please, Sign In to add comment