Closed derzahla closed 2 years ago
What part are you struggling with?
@networkException It's been awhile since I tried it so I went back through using the newest version. The problem seems to be that it keeps defaulting to it's built in tools that dont work, but I was able to build ungoogled-chromium on my aarch64 snapdragon laptop without these issues. First it was erroring out on trying to use the built in 'flatc', fixed that. Im currently stuck on the protoc error below, any suggestions would be appreciated. Thanks!
make[2]: Nothing to be done for 'all'.
+ gcc -std=gnu99 -Wall -Wshadow -Wunused -Wextra -fgnu89-inline -Wformat=2 -Werror -g -O2 -Wl,-rpath-link,libelf:libdw -Wl,--build-id=none -o eu-strip src/strip.o libebl/libebl.a libelf/libelf.a lib/libeu.a libdw/libdw.a -ldl -lz
+ ./eu-strip -o ../../bin/eu-strip eu-strip
~/sys/build/ungoogled-chromium/src/chromium-101.0.4951.64
Done. Made 16750 targets from 2784 files in 2018ms
ninja: Entering directory `out/Release'
[1059/43685] ACTION //base/tracing/protos:chrome_track_event_gen(//build/toolchain/linux/unbundle:default)
FAILED: gen/base/tracing/protos/chrome_track_event.descriptor
python3 ../../tools/protoc_wrapper/protoc_wrapper.py base/tracing/protos/chrome_track_event.proto --protoc ./protoc --proto-in-dir ../../ --descriptor-set-out gen/base/tracing/protos/chrome_track_event.descriptor --descriptor-set-dependency-file gen/base/tracing/protos/chrome_track_event.descriptor.d --import-dir=../../third_party/perfetto/
Traceback (most recent call last):
File "/home/dr3/sys/build/ungoogled-chromium/src/chromium-101.0.4951.64/out/Release/../../tools/protoc_wrapper/protoc_wrapper.py", line 216, in <module>
main(sys.argv[1:])
File "/home/dr3/sys/build/ungoogled-chromium/src/chromium-101.0.4951.64/out/Release/../../tools/protoc_wrapper/protoc_wrapper.py", line 190, in main
with open(options.descriptor_set_dependency_file, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'gen/base/tracing/protos/chrome_track_event.descriptor.d'
[1068/43685] LINK ./ipc_plugin
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
I've heard about 102 fixing this, please report back after the release if you were able to get a build :)
Yes, 102 fixes it. Thanks
I have tried with my limited skillset to backport the following patch to the latest versions of ungoogled chromium and so far have had no success:
https://chromium-review.googlesource.com/c/chromium/src/+/3545665
Sorry if this is out of scope, but I was hoping someone smarter than me has had any luck constructing a working PKGBUILD for Apple ARM64 either backporting , or using the latest unstable chromium source