Closed deviantintegral closed 1 year ago
It looks like build are broken during the apk install phase with errors like #0 9.392 ERROR: ffmpeg5-libavutil-5.1.3-r2: trying to overwrite usr/lib/libavutil.so.57 owned by ffmpeg-libs-5.1.1-r0..
apk install
#0 9.392 ERROR: ffmpeg5-libavutil-5.1.3-r2: trying to overwrite usr/lib/libavutil.so.57 owned by ffmpeg-libs-5.1.1-r0.
andrew@socks:~/swayvnc-firefox$ docker build . [+] Building 21.0s (6/9) => [internal] load build definition from Dockerfile 0.3s => => transferring dockerfile: 2.28kB 0.0s => [internal] load .dockerignore 0.3s => => transferring context: 2B 0.0s => [internal] load metadata for ghcr.io/bbusse/swayvnc:latest 0.5s => [1/5] FROM ghcr.io/bbusse/swayvnc:latest@sha256:f61ad4b9c64d87867ec05a8b89a5c714c2cb6054a3b83d834adfe55539bad913 9.8s => => resolve ghcr.io/bbusse/swayvnc:latest@sha256:f61ad4b9c64d87867ec05a8b89a5c714c2cb6054a3b83d834adfe55539bad913 0.0s => => sha256:88ecf269dec31566a8e6b05147732fe34d32bc608de0d636dffaba659230a515 2.80MB / 2.80MB 0.2s => => sha256:9fe403ab194c7450adf5fa40bc8c0bbdb8598508e05663607ec11adbc6113491 3.24MB / 3.24MB 0.3s => => sha256:e9690d6cd162d09cb62750b4410c0277527b7ea6e8c85a4d2702f8f06190fd71 7.42MB / 7.42MB 0.4s => => sha256:939f5df652f5f11949bec3e0517ab3159ec7b845e1edab9254a91c9b2d82da23 7.42kB / 7.42kB 0.0s => => sha256:f61ad4b9c64d87867ec05a8b89a5c714c2cb6054a3b83d834adfe55539bad913 3.04kB / 3.04kB 0.0s => => extracting sha256:88ecf269dec31566a8e6b05147732fe34d32bc608de0d636dffaba659230a515 0.7s => => sha256:cdf6c75b2615d880b29962257e82d67a4e1018d6c7669c8bddbe08a143c8f5e2 4.57MB / 4.57MB 0.6s => => sha256:7beeeb81bbac0b5bacec9ae416f40ed0457d13a3f30db8ebb83742fa42a83524 17.35MB / 17.35MB 1.3s => => sha256:9041ab77c22b43f2649884ef5f728dd6541083761d90cdd9c27cc9f965b03f86 1.26kB / 1.26kB 0.5s => => sha256:f44dea815ac83d92c5b6c6701c004ec91892defa3de6a65ecc4cdc4dce405c46 25.43kB / 25.43kB 0.7s => => sha256:5b4b39b84151b4e7d5d23e9ebb10dbe9baec7e1ef33b7d0d9698c124d2291094 33.17kB / 33.17kB 0.7s => => sha256:288f96c1351dc9ef3e2358142521f3f04a2c62344e84571ee039ea48460e9340 2.26kB / 2.26kB 0.9s => => sha256:60f347107135f216366683076ea0184976b7d94e29d2aeeb7bbb1ffd89c3bf32 30.78MB / 30.78MB 1.5s => => sha256:8d99be723f9310be015ae44f367eca5b3703a24fe057d8adaa9344e207ff0552 476B / 476B 1.0s => => sha256:8a69ee167c5d33d3ab5dddb127b4d1d112a299a3a21e85755a98b3fe01fd0c36 3.94kB / 3.94kB 1.2s => => sha256:014bee99825c1dbaee3f6198ce1f5d0baf82c5a2eb9bc53f1caf5e45b84daa5a 198B / 198B 1.5s => => extracting sha256:9fe403ab194c7450adf5fa40bc8c0bbdb8598508e05663607ec11adbc6113491 0.4s => => extracting sha256:e9690d6cd162d09cb62750b4410c0277527b7ea6e8c85a4d2702f8f06190fd71 0.6s => => extracting sha256:7beeeb81bbac0b5bacec9ae416f40ed0457d13a3f30db8ebb83742fa42a83524 1.4s => => extracting sha256:cdf6c75b2615d880b29962257e82d67a4e1018d6c7669c8bddbe08a143c8f5e2 0.5s => => extracting sha256:9041ab77c22b43f2649884ef5f728dd6541083761d90cdd9c27cc9f965b03f86 0.0s => => extracting sha256:f44dea815ac83d92c5b6c6701c004ec91892defa3de6a65ecc4cdc4dce405c46 0.0s => => extracting sha256:5b4b39b84151b4e7d5d23e9ebb10dbe9baec7e1ef33b7d0d9698c124d2291094 0.0s => => extracting sha256:60f347107135f216366683076ea0184976b7d94e29d2aeeb7bbb1ffd89c3bf32 1.6s => => extracting sha256:288f96c1351dc9ef3e2358142521f3f04a2c62344e84571ee039ea48460e9340 0.0s => => extracting sha256:8d99be723f9310be015ae44f367eca5b3703a24fe057d8adaa9344e207ff0552 0.0s => => extracting sha256:8a69ee167c5d33d3ab5dddb127b4d1d112a299a3a21e85755a98b3fe01fd0c36 0.0s => => extracting sha256:014bee99825c1dbaee3f6198ce1f5d0baf82c5a2eb9bc53f1caf5e45b84daa5a 0.0s => [internal] load build context 0.2s => => transferring context: 179B 0.0s => ERROR [2/5] RUN addgroup -S firefox-user && adduser -S firefox-user -G firefox-user && sed -i -e 's/https/http/ 10.1s ------ > [2/5] RUN addgroup -S firefox-user && adduser -S firefox-user -G firefox-user && sed -i -e 's/https/http/' /etc/apk/repositories && apk add --no-cache libc-dev libxkbcommon-dev gcc git python3 python3-dev py3-pip py3-wheel firefox && apk del --no-cache && rm -rf /usr/share/man/* /usr/includes/* /var/cache/apk/* && wget https://github.com/mozilla/geckodriver/releases/download/v0.31.0/geckodriver-v0.31.0-linux64.tar.gz && tar -xzf geckodriver-v0.31.0-linux64.tar.gz -C /usr/bin && rm geckodriver-v0.31.0-linux64.tar.gz && geckodriver --version && wget -P /usr/local/bin https://raw.githubusercontent.com/bbusse/webdriver-util/main/webdriver_util.py && chmod +x /usr/local/bin/webdriver_util.py && wget -O /tmp/requirements_webdriver.txt https://raw.githubusercontent.com/bbusse/webdriver-util/main/requirements.txt && wget -P /usr/local/bin https://raw.githubusercontent.com/bbusse/stream-controller/main/controller.py && chmod +x /usr/local/bin/controller.py && wget -O /tmp/requirements_controller.txt https://raw.githubusercontent.com/bbusse/stream-controller/main/requirements.txt && echo "exec controller.py --stream-source=vnc-browser --debug=$DEBUG" >> /etc/sway/config.d/firefox: #0 0.619 fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz #0 0.847 fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz #0 1.212 (1/112) Upgrading musl (1.2.3-r1 -> 1.2.3_git20230424-r0) #0 1.224 (2/112) Upgrading zlib (1.2.12-r3 -> 1.2.13-r1) #0 1.229 (3/112) Upgrading libxau (1.0.10-r0 -> 1.0.11-r1) #0 1.236 (4/112) Upgrading libxdmcp (1.1.3-r1 -> 1.1.4-r1) #0 1.240 (5/112) Upgrading libxcb (1.15-r0 -> 1.15-r1) #0 1.257 (6/112) Installing onevpl-libs (2023.2.1-r0) #0 1.264 (7/112) Installing ffmpeg-libavutil (6.0-r12) #0 1.275 (8/112) Installing libhwy (1.0.4-r1) #0 1.288 (9/112) Installing lcms2 (2.15-r1) #0 1.311 (10/112) Installing libjxl (0.8.1-r5) #0 1.342 (11/112) Upgrading libgomp (12.1.1_git20220630-r5 -> 12.2.1_git20220924-r10) #0 1.350 (12/112) Installing ffmpeg-libswresample (6.0-r12) #0 1.356 (13/112) Upgrading libvpx (1.12.0-r1 -> 1.13.0-r1) #0 1.386 (14/112) Installing ffmpeg-libavcodec (6.0-r12) #0 1.550 (15/112) Upgrading mesa (22.1.7-r3 -> 23.0.3-r3) #0 1.560 (16/112) Upgrading mesa-gbm (22.1.7-r3 -> 23.0.3-r3) #0 1.567 (17/112) Upgrading mesa-egl (22.1.7-r3 -> 23.0.3-r3) #0 1.578 (18/112) Installing libxxf86vm (1.1.5-r2) #0 1.582 (19/112) Installing mesa-gl (23.0.3-r3) #0 1.591 (20/112) Installing pciutils-libs (3.9.0-r2) #0 1.599 (21/112) Installing libxcomposite (0.4.6-r2) #0 1.602 (22/112) Installing libxdamage (1.1.6-r1) #0 1.609 (23/112) Installing libxrandr (1.5.3-r1) #0 1.613 (24/112) Installing libatk-1.0 (2.48.0-r2) #0 1.619 (25/112) Installing cairo-gobject (1.17.8-r1) #0 1.624 (26/112) Installing dbus-glib (0.112-r4) #0 1.628 (27/112) Installing libevent (2.1.12-r6) #0 1.644 (28/112) Upgrading xz-libs (5.2.6-r1 -> 5.4.2-r1) #0 1.652 (29/112) Upgrading libxml2 (2.10.2-r0 -> 2.11.0-r2) #0 1.665 (30/112) Installing hicolor-icon-theme (0.17-r2) #0 1.688 (31/112) Installing gtk-update-icon-cache (3.24.37-r1) #0 1.698 (32/112) Installing libxcursor (1.2.1-r2) #0 1.704 (33/112) Installing libxi (1.8-r1) #0 1.709 (34/112) Installing libxinerama (1.1.5-r1) #0 1.713 (35/112) Installing libxtst (1.2.4-r2) #0 1.718 (36/112) Installing at-spi2-core (2.48.0-r2) #0 1.725 (37/112) Installing libatk-bridge-2.0 (2.48.0-r2) #0 1.735 (38/112) Installing avahi-libs (0.8-r11) #0 1.742 (39/112) Installing cups-libs (2.4.2-r5) #0 1.751 (40/112) Installing libepoxy (1.5.10-r1) #0 1.761 (41/112) Installing wayland-libs-egl (1.22.0-r2) #0 1.765 (42/112) Upgrading libxkbcommon (1.4.1-r0 -> 1.5.0-r2) #0 1.804 (43/112) Installing gtk+3.0 (3.24.37-r1) #0 1.888 Executing gtk+3.0-3.24.37-r1.post-install #0 1.930 Error relocating /usr/lib/libgtk-3.so.0: g_task_set_static_name: symbol not found #0 1.932 Error relocating /usr/lib/libgtk-3.so.0: g_string_free_and_steal: symbol not found #0 1.935 Error relocating /usr/lib/libgdk-3.so.0: g_string_free_and_steal: symbol not found #0 1.941 Error relocating /usr/lib/libatk-bridge-2.0.so.0: g_string_free_and_steal: symbol not found #0 2.013 (44/112) Installing icu-data-en (73.1-r1) #0 2.034 Executing icu-data-en-73.1-r1.post-install #0 2.037 * #0 2.037 * If you need ICU with non-English locales and legacy charset support, install #0 2.037 * package icu-data-full. #0 2.037 * #0 2.038 (45/112) Installing icu-libs (73.1-r1) #0 2.075 (46/112) Installing nspr (4.35-r2) #0 2.085 (47/112) Installing sqlite-libs (3.41.2-r2) #0 2.100 (48/112) Installing nss (3.89-r1) #0 2.135 (49/112) Installing firefox (112.0.2-r0) #0 4.527 (50/112) Installing binutils (2.40-r5) #0 4.650 (51/112) Installing libatomic (12.2.1_git20220924-r10) #0 4.655 (52/112) Installing isl26 (0.26-r1) #0 4.677 (53/112) Installing mpfr4 (4.2.0-r1) #0 4.692 (54/112) Installing mpc1 (1.3.1-r1) #0 4.705 (55/112) Installing gcc (12.2.1_git20220924-r10) #0 6.412 (56/112) Installing ca-certificates (20230106-r1) #0 6.482 (57/112) Installing nghttp2-libs (1.52.0-r1) #0 6.491 (58/112) Installing libcurl (8.0.1-r2) #0 6.511 (59/112) Installing pcre2 (10.42-r1) #0 6.526 (60/112) Installing git (2.40.1-r0) #0 6.642 (61/112) Installing musl-dev (1.2.3_git20230424-r0) #0 6.750 (62/112) Installing libc-dev (0.7.2-r5) #0 6.764 (63/112) Installing libxkbcommon-x11 (1.5.0-r2) #0 6.769 (64/112) Installing zlib-dev (1.2.13-r1) #0 6.775 (65/112) Installing xz (5.4.2-r1) #0 6.793 (66/112) Installing xz-dev (5.4.2-r1) #0 6.805 (67/112) Installing libxml2-utils (2.11.0-r2) #0 6.811 (68/112) Installing libxml2-dev (2.11.0-r2) #0 6.838 (69/112) Installing xorgproto (2022.2-r0) #0 6.888 (70/112) Installing libxau-dev (1.0.11-r1) #0 6.894 (71/112) Installing gdbm (1.23-r1) #0 6.904 (72/112) Installing mpdecimal (2.5.1-r2) #0 6.914 (73/112) Installing python3 (3.11.3-r10) #0 7.296 (74/112) Installing python3-pycache-pyc0 (3.11.3-r10) #0 7.591 (75/112) Installing pyc (0.1-r0) #0 7.596 (76/112) Installing xcb-proto-pyc (1.15.2-r2) #0 7.604 (77/112) Installing python3-pyc (3.11.3-r10) #0 7.608 (78/112) Installing xcb-proto (1.15.2-r2) #0 7.626 (79/112) Installing libxdmcp-dev (1.1.4-r1) #0 7.632 (80/112) Installing libxcb-dev (1.15-r1) #0 7.713 (81/112) Installing libxkbcommon-dev (1.5.0-r2) #0 7.729 (82/112) Installing py3-parsing (3.0.9-r2) #0 7.741 (83/112) Installing py3-parsing-pyc (3.0.9-r2) #0 7.753 (84/112) Installing py3-packaging (23.1-r1) #0 7.765 (85/112) Installing py3-packaging-pyc (23.1-r1) #0 7.774 (86/112) Installing py3-setuptools (67.7.2-r0) #0 7.858 (87/112) Installing py3-setuptools-pyc (67.7.2-r0) #0 7.962 (88/112) Installing py3-pip (23.1.2-r0) #0 8.232 (89/112) Installing py3-pip-pyc (23.1.2-r0) #0 8.539 (90/112) Installing py3-wheel (0.40.0-r1) #0 8.548 (91/112) Installing py3-wheel-pyc (0.40.0-r1) #0 8.574 (92/112) Installing python3-dev (3.11.3-r10) #0 9.362 (93/112) Upgrading mesa-gles (22.1.7-r3 -> 23.0.3-r3) #0 9.382 (94/112) Installing ffmpeg5-libavutil (5.1.3-r2) #0 9.392 ERROR: ffmpeg5-libavutil-5.1.3-r2: trying to overwrite usr/lib/libavutil.so.57 owned by ffmpeg-libs-5.1.1-r0. #0 9.395 ERROR: ffmpeg5-libavutil-5.1.3-r2: trying to overwrite usr/lib/libavutil.so.57.28.100 owned by ffmpeg-libs-5.1.1-r0. #0 9.397 (95/112) Installing ffmpeg5-libswresample (5.1.3-r2) #0 9.402 (96/112) Installing ffmpeg5-libavcodec (5.1.3-r2) #0 9.402 ERROR: ffmpeg5-libswresample-5.1.3-r2: trying to overwrite usr/lib/libswresample.so.4 owned by ffmpeg-libs-5.1.1-r0. #0 9.402 ERROR: ffmpeg5-libswresample-5.1.3-r2: trying to overwrite usr/lib/libswresample.so.4.7.100 owned by ffmpeg-libs-5.1.1-r0. #0 9.410 ERROR: ffmpeg5-libavcodec-5.1.3-r2: trying to overwrite usr/lib/libavcodec.so.59 owned by ffmpeg-libs-5.1.1-r0. #0 9.411 ERROR: ffmpeg5-libavcodec-5.1.3-r2: trying to overwrite usr/lib/libavcodec.so.59.37.100 owned by ffmpeg-libs-5.1.1-r0. #0 9.528 (97/112) Installing ffmpeg5-libavformat (5.1.3-r2) #0 9.543 ERROR: ffmpeg5-libavformat-5.1.3-r2: trying to overwrite usr/lib/libavformat.so.59 owned by ffmpeg-libs-5.1.1-r0. #0 9.543 ERROR: ffmpeg5-libavformat-5.1.3-r2: trying to overwrite usr/lib/libavformat.so.59.27.100 owned by ffmpeg-libs-5.1.1-r0. #0 9.559 (98/112) Installing ffmpeg5-libpostproc (5.1.3-r2) #0 9.569 (99/112) Installing ffmpeg5-libswscale (5.1.3-r2) #0 9.569 ERROR: ffmpeg5-libpostproc-5.1.3-r2: trying to overwrite usr/lib/libpostproc.so.56 owned by ffmpeg-libs-5.1.1-r0. #0 9.569 ERROR: ffmpeg5-libpostproc-5.1.3-r2: trying to overwrite usr/lib/libpostproc.so.56.6.100 owned by ffmpeg-libs-5.1.1-r0. #0 9.575 ERROR: ffmpeg5-libswscale-5.1.3-r2: trying to overwrite usr/lib/libswscale.so.6 owned by ffmpeg-libs-5.1.1-r0. #0 9.575 ERROR: ffmpeg5-libswscale-5.1.3-r2: trying to overwrite usr/lib/libswscale.so.6.7.100 owned by ffmpeg-libs-5.1.1-r0. #0 9.579 (100/112) Upgrading vidstab (1.1.0-r1 -> 1.1.1-r0) #0 9.585 (101/112) Installing ffmpeg5-libavfilter (5.1.3-r2) #0 9.596 ERROR: ffmpeg5-libavfilter-5.1.3-r2: trying to overwrite usr/lib/libavfilter.so.8 owned by ffmpeg-libs-5.1.1-r0. #0 9.600 ERROR: ffmpeg5-libavfilter-5.1.3-r2: trying to overwrite usr/lib/libavfilter.so.8.44.100 owned by ffmpeg-libs-5.1.1-r0. #0 9.620 (102/112) Purging ffmpeg-libs (5.1.1-r0) #0 9.627 (103/112) Purging sdl2 (2.24.0-r0) #0 9.628 (104/112) Purging libpulse (16.1-r4) #0 9.632 (105/112) Purging libasyncns (0.8-r1) #0 9.632 (106/112) Purging libltdl (2.4.7-r0) #0 9.632 (107/112) Purging orc (0.4.32-r1) #0 9.634 (108/112) Purging libsndfile (1.1.0-r2) #0 9.634 (109/112) Purging flac-libs (1.4.0-r0) #0 9.636 (110/112) Purging speexdsp (1.2.1-r0) #0 9.636 (111/112) Purging tdb-libs (1.4.7-r0) #0 9.636 (112/112) Purging v4l-utils-libs (1.22.1-r2) #0 9.744 Executing busybox-1.35.0-r25.trigger #0 9.759 Executing glib-2.72.3-r1.trigger #0 9.777 Executing gtk-update-icon-cache-3.24.37-r1.trigger #0 9.806 Executing ca-certificates-20230106-r1.trigger #0 9.917 7 errors; 665 MiB in 214 packages ------ Dockerfile:18 -------------------- 17 | # Cleanup: Remove files and users 18 | >>> RUN addgroup -S $USER && adduser -S $USER -G $USER \ 19 | >>> # https://gitlab.alpinelinux.org/alpine/aports/-/issues/11768 20 | >>> && sed -i -e 's/https/http/' /etc/apk/repositories \ 21 | >>> # Add packages 22 | >>> && apk add --no-cache ${APK_ADD} \ 23 | >>> && apk del --no-cache ${APK_DEL} \ 24 | >>> # Cleanup: Remove files 25 | >>> && rm -rf \ 26 | >>> /usr/share/man/* \ 27 | >>> /usr/includes/* \ 28 | >>> /var/cache/apk/* \ 29 | >>> 30 | >>> # Get geckodriver 31 | >>> && wget https://github.com/mozilla/geckodriver/releases/download/v${GECKODRIVER_VERSION}/geckodriver-v${GECKODRIVER_VERSION}-linux64.tar.gz \ 32 | >>> && tar -xzf geckodriver-v${GECKODRIVER_VERSION}-linux64.tar.gz -C /usr/bin \ 33 | >>> && rm geckodriver-v${GECKODRIVER_VERSION}-linux64.tar.gz \ 34 | >>> && geckodriver --version \ 35 | >>> 36 | >>> # Add latest webdriver-util script for firefox automation 37 | >>> && wget -P /usr/local/bin https://raw.githubusercontent.com/bbusse/webdriver-util/main/webdriver_util.py \ 38 | >>> && chmod +x /usr/local/bin/webdriver_util.py \ 39 | >>> && wget -O /tmp/requirements_webdriver.txt https://raw.githubusercontent.com/bbusse/webdriver-util/main/requirements.txt \ 40 | >>> 41 | >>> # Add stream-controller for stream handling 42 | >>> && wget -P /usr/local/bin https://raw.githubusercontent.com/bbusse/stream-controller/main/controller.py \ 43 | >>> && chmod +x /usr/local/bin/controller.py \ 44 | >>> && wget -O /tmp/requirements_controller.txt https://raw.githubusercontent.com/bbusse/stream-controller/main/requirements.txt \ 45 | >>> 46 | >>> # Run controller.py 47 | >>> && echo "exec controller.py --stream-source=vnc-browser --debug=$DEBUG" >> /etc/sway/config.d/firefox 48 | -------------------- ERROR: failed to solve: process "/bin/sh -c addgroup -S $USER && adduser -S $USER -G $USER && sed -i -e 's/https/http/' /etc/apk/repositories && apk add --no-cache ${APK_ADD} && apk del --no-cache ${APK_DEL} && rm -rf /usr/share/man/* /usr/includes/* /var/cache/apk/* && wget https://github.com/mozilla/geckodriver/releases/download/v${GECKODRIVER_VERSION}/geckodriver-v${GECKODRIVER_VERSION}-linux64.tar.gz && tar -xzf geckodriver-v${GECKODRIVER_VERSION}-linux64.tar.gz -C /usr/bin && rm geckodriver-v${GECKODRIVER_VERSION}-linux64.tar.gz && geckodriver --version && wget -P /usr/local/bin https://raw.githubusercontent.com/bbusse/webdriver-util/main/webdriver_util.py && chmod +x /usr/local/bin/webdriver_util.py && wget -O /tmp/requirements_webdriver.txt https://raw.githubusercontent.com/bbusse/webdriver-util/main/requirements.txt && wget -P /usr/local/bin https://raw.githubusercontent.com/bbusse/stream-controller/main/controller.py && chmod +x /usr/local/bin/controller.py && wget -O /tmp/requirements_controller.txt https://raw.githubusercontent.com/bbusse/stream-controller/main/requirements.txt && echo \"exec controller.py --stream-source=vnc-browser --debug=$DEBUG\" >> /etc/sway/config.d/firefox" did not complete successfully: exit code: 7
Thanks for your report! I will have a look
I do not see the error you see but added a missing dependency. Please try again and report if you still get the error
https://github.com/bbusse/swayvnc-firefox/commit/69de2227cb6115e92a9e24cd5937cbddf1854b32 fixed it. Thank you!
It looks like build are broken during the
apk install
phase with errors like#0 9.392 ERROR: ffmpeg5-libavutil-5.1.3-r2: trying to overwrite usr/lib/libavutil.so.57 owned by ffmpeg-libs-5.1.1-r0.
.