one2build / ungoogled-chromium

0 stars 0 forks source link

Can't build on Alpine #3

Open StaticallyLinked opened 3 years ago

StaticallyLinked commented 3 years ago

Thank you for this awesome repo!

Unfortunately I encounter the following problems while trying to build on Alpine out of the box, All and any help would be appreciated.

static@link  ~/LinuxChromium/ungoogled-chromium   master  ./build.sh ./build.sh: line 4: docker: not found ./build.sh: line 14: docker: not found ar: ../ungoogled-chromium_.deb: No such file or directory tar: can't open 'data.tar.xz': No such file or directory rm: can't remove 'data.tar.xz': No such file or directory ar: ../ungoogled-chromium-common.deb: No such file or directory tar: can't open 'data.tar.xz': No such file or directory rm: can't remove 'data.tar.xz': No such file or directory rm: can't remove 'control.tar.xz': No such file or directory rm: can't remove 'debian-binary': No such file or directory sed: ./chrome-linux/usr/bin/chromium: No such file or directory sed: ./chrome-linux/usr/bin/chromium: No such file or directory --2021-04-11 21:37:33-- https://github.com//AppImage/pkg2appimage/releases/download/continuous/pkg2appimage-1803-x86_64.AppImage Resolving github.com (github.com)... 140.82.121.3 Connecting to github.com (github.com)|140.82.121.3|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://github-releases.githubusercontent.com/40756369/c028da80-952a-11eb-8e2e-ff8a116a32db?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210411%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210411T183733Z&X-Amz-Expires=300&X-Amz-Signature=c95b4b2f6a2df776906d583b3669e27eaddf0723bf56db1a9ae755ef4c4e2277&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=40756369&response-content-disposition=attachment%3B%20filename%3Dpkg2appimage-1803-x86_64.AppImage&response-content-type=application%2Foctet-stream [following] --2021-04-11 21:37:33-- https://github-releases.githubusercontent.com/40756369/c028da80-952a-11eb-8e2e-ff8a116a32db?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210411%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210411T183733Z&X-Amz-Expires=300&X-Amz-Signature=c95b4b2f6a2df776906d583b3669e27eaddf0723bf56db1a9ae755ef4c4e2277&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=40756369&response-content-disposition=attachment%3B%20filename%3Dpkg2appimage-1803-x86_64.AppImage&response-content-type=application%2Foctet-stream Resolving github-releases.githubusercontent.com (github-releases.githubusercontent.com)... 185.199.111.154, 185.199.109.154, 185.199.110.154, ... Connecting to github-releases.githubusercontent.com (github-releases.githubusercontent.com)|185.199.111.154|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 20075712 (19M) [application/octet-stream] Saving to: 'pkg2appimage-1803-x86_64.AppImage'

pkg2appimage-1803-x86_64.AppI 100%[=================================================>] 19.15M 5.11MB/s in 3.8s

2021-04-11 21:37:38 (5.00 MB/s) - 'pkg2appimage-1803-x86_64.AppImage' saved [20075712/20075712]

./build.sh: line 40: ./pkg2appimage-1803-x86_64.AppImage: not found ./build.sh: line 45: ./out/Chromium-.AppImage: not found mv: can't rename 'out/Chromium.AppImage': No such file or directory mv: can't rename './squashfs-root': No such file or directory ./build.sh: line 51: can't create ./chromium/chrome: nonexistent directory chmod: ./chromium/chrome: No such file or directory prompt_git:40: vcs_info: function definition file not found

markwylde commented 3 years ago

Hey @StaticallyLinked

You'll definitely need to install Docker. I haven't really made this clear yet, but the whole point of the one2build repos, is that we can use Docker to ensure a consistent build environment between users.

I'll update the descriptions/docs/etc when I get a second.

But for the moment, you can:

apk update
apk add docker
service docker start

Then run it again.

Although, there's no point building for alpine right now, as I don't think it will work until I get the flags branch working. Alpine uses a different c runtime (I think), and there is, no doubt, some flags needed to make this work.

Unfortunatly the builds take so long, and I'm just doing this via trial and error.

I'm hoping to have it working in the next couple of days.

StaticallyLinked commented 3 years ago

Hey @markwylde

Thanks for the fast reply and for the info. I will try again in the coming days (just for fun, since you say it won't be complete without the flags thing).

Let me know if you need a tester, I'll be glad to help whichever way I can.