- Status Assigned
- Percent Complete
- Task Type Feature Request
- Category Packages
- Assigned To No-one
- Operating System pentium4
- Severity Low
- Priority Very Low
- Reported Version
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Attached to Project: Arch Linux 32
Opened by Average Linux Fan - 10.09.2022
Last edited by Andreas Baumann - 30.10.2022
Opened by Average Linux Fan - 10.09.2022
Last edited by Andreas Baumann - 30.10.2022
FS#287 - chromium not able to build
Wait unfortunately i found a patch through which chromium would compile on x86
please try to build chromium using those patches
https://github.com/void-linux/void-packages/blob/master/srcpkgs/chromium/patches/reenable-linux-i686-builds.patch https://github.com/void-linux/void-packages/blob/master/srcpkgs/chromium/patches/chromium-i686-vaapi-fpermissive.patch https://github.com/void-linux/void-packages/blob/master/srcpkgs/chromium/patches/chromium-105-bitmap-include.patch https://github.com/void-linux/void-packages/blob/master/srcpkgs/chromium/patches/chromium-105-browser-include.patch
Just copying patches from other distros will not be enough.
I'm checking patches from VoidLinux, Slackware, T2SDE, etc. regularly for 32-bit
things.
Last time chromium compiled but didn't run because of seccomp sandboxing (which
is still pending for 32-bit - at least last time I checked it was).
i think that seccomp sandboxing is because of sse3 dependency on chromium 87…
```
=⇒ Starting build()… make: Entering directory '/build/chromium/src/chromium-launcher-8'
cc -o chromium -DLAUNCHER_VERSION=\"v8\" -DCHROMIUM_NAME=\"chromium\" -DCHROMIUM_BINARY=\"/usr/lib/chromium/chromium\" -DCHROMIUM_VENDOR="\"Arch Linux 32\"" -march=pentium4 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/chromium/src=/usr/src/debug -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wl,-O1,–sort-common,–as-needed,-z,relro,-z,now launcher.c -lglib-2.0
make: Leaving directory '/build/chromium/src/chromium-launcher-8'
ERROR at BUILD.gn:1625:1: Assertion failed.
assert(
^—– 'target_cpu=x86' is not supported for 'target_os=linux'. Consider omitting 'target_cpu' (default) or using 'target_cpu=x64' instead.
See BUILD.gn:1626:5:
This is where it was set.
```
https://github.com/void-linux/void-packages/blob/master/srcpkgs/chromium/patches/reenable-linux-i686-builds.patch
this patch should fix this thing
Ok, this is a good patch. I have to remove the sandbox patch (it's completely
outdated).. currently building.. [10000/51974]
Now failing in: (after 2 hours)
That one is new..
chromium based browsers work with –no-sandbox flag..
That's not helping me much when building chromium and hitting the error above. The build had the sandbox 32-bit seccomp patch disabled (because it has to be redone).
Still, the build failed in a (to me) unknown way..
is due to some sse3 stuff?? sse3 > chromium v86…
that means a patch has to be written..
I don't think this is a SSE-thingy:
gen/base/tracing/protos/chrome_track_event.descriptor
this is some generator (in
Python) failing on some things it is missing..
i think its related with protobuf… try with protobuf..
good point. didn't think about that. protobuf is currently not building on 32-bit (see separate bug report)..
..so that could also fix building chromium..
sorry for replying too late, recently i have been inactive due to school so right now one option left is to get chromium working with nix as they still have i686 chromium.
mmh, doesn't look to promising too me:
https://hydra.nixos.org/job/nixos/release-22.11/nixpkgs.chromium.i686-linux
protobuf is fixed in the mean time, I'll try a rebuild..
no, same issue with:
pb2.py …. seems like some python2 stuff going on
Hopefully not, Python2 is officially dead.
There is some protobuf problem here when generating the predictor API interface. Maybe
predictors can be disabled?
that can be tried