Closed AssassinK786 closed 1 year ago
Any work on this highly appreciated! If you need anything I'll try my best to help
Can you send some instructions to build and wiki
There are generic build instructions at https://github.com/ungoogled-software/ungoogled-chromium/blob/master/docs/building.md
Getting OBS packages Can you update it for Ubuntu jammy so that i can build the the packages I will try on Ubuntu Focal @networkException
the build is building according to instructions Just add that clang latest version is required
I can approve PRs if this gets anywhere.
i am building it once again
I'm building it on my laptop which is 10 yrs old is there any way that i build these files without any hassle
is there any way that i build these files without any hassle
ccache could help immensely.
Sorry For the Delay but it is taking time to build the file, like it has taken 3-4 days to build so I'm trying my best to get it done on time
Will try to create CI/CD pipeline for this project so that the work load reduces
Yea, kinda expected. My 8 core rig took like 4-8 hours to build it when I was still trying. I just got fed up when I ran into a JS performance issue I was unable to resolve.
Stuck on this past 15minutes
Yea, kinda expected. My 8 core rig took like 4-8 hours to build it when I was still trying. I just got fed up when I ran into a JS performance issue I was unable to resolve.
Mine is i3 intel 4 core processor
The link step tends to be the slowest part. I wonder if you're using enough builders then?
give command to check it
Nevermind, you're already using -j4
. I saw that in a screenshot above.
Stuck on this past 15minutes
any way to break this issue stuck at this issue for 1 1/2 hours
contents.txt this is content of shell A Lot of warnings
Very typical for large projects like chromium. Most of the time they're intended for upstream to deal with. I would not worry about them.
Stuck on this past 15minutes
any way to break this issue stuck at this issue for 1 1/2 hours
Run top
in another terminal, press V (for forest-view), look for ninja
and see if it has children and if they are alive.
@berkley4 has been maintaining an active fork of this repo (last commit 2 days ago to refresh ungoogle patches). They might have some insight and/or be willing to merge their changes to this repo. https://github.com/berkley4/ungoogled-chromium-debian
It looks like they split the libraries into a separate package, though. Not sure how involved of a process it would be to revert that change
@berkley4 has been maintaining an active fork of this repo (last commit 2 days ago to refresh ungoogle patches). They might have some insight and/or be willing to merge their changes to this repo. https://github.com/berkley4/ungoogled-chromium-debian
I have tried 1-2 times but it gave me issues so i shifted here
Finally It is one step behind the the build Just don't know why it is still not building
Finally It is one step behind the the build Just don't know why it is still not building
Anybody can help for this issue Stuck at it for 3 hours
Normal. The final link step is usually the slowest part.
I'm willing to contribute binaries again once everything has been settled. I can also help build for testing purposes if need be.
For one Last Time today i trying it again before going on vacation
Finally I have successfully build the file where should i put the deb file
Here is the Output
How to Submit the deb file from my fork?
I'm gonna give building a shot as well with the Debian-specific instructions and with a forced submodule update to the latest Ungoogled Chromium version
Latest version fails with the following error: `[195/195] LINK gn out/Release/gn gen out/Release --args="build_with_tflite_lib=false chrome_pgo_phase=0 clang_use_chrome_plugins=false disable_fieldtrial_testing_config=true enable_hangout_services_extension=false enable_js_type_check=false enable_mdns=false enable_mse_mpeg2ts_stream_parser=true enable_nacl=false enable_reading_list=false enable_remoting=false enable_reporting=false enable_service_discovery=false enable_widevine=true exclude_unwind_tables=true google_api_key=\"\" google_default_client_id=\"\" google_default_client_secret=\"\" safe_browsing_mode=0 treat_warnings_as_errors=false use_official_google_api_keys=false use_unofficial_version_number=false custom_toolchain=\"//build/toolchain/linux/unbundle:default\" host_toolchain=\"//build/toolchain/linux/unbundle:default\" use_custom_libcxx=false is_official_build=true is_debug=false symbol_level=1 blink_enable_generated_code_formatting=false is_cfi=false use_sysroot=false use_gnome_keyring=false ffmpeg_branding=\"Chrome\" proprietary_codecs=true use_pulseaudio=true link_pulseaudio=true use_vaapi=true use_ozone=true use_goma=false enable_vr=false enable_iterator_debugging=false optimize_webui=true use_gio=true use_lld=true is_clang=true use_kerberos=false use_cups=true v8_enable_backtrace=true perfetto_use_system_zlib=true use_system_lcms2=true use_system_libopenjpeg2=true use_system_libpng=true use_system_zlib=true use_system_libjpeg=true " --fail-on-unused-args ERROR at //build/config/compiler/BUILD.gn:1385:22: Script returned non-zero exit code. clang_revision = exec_script("//tools/clang/scripts/update.py", ^---------- Current dir: /home/alexander/src/ungoogled-chromium-debian/out/Release/ Command: python3 /home/alexander/src/ungoogled-chromium-debian/tools/clang/scripts/update.py --print-revision --verify-version=16 Returned 1 and printed out:
The expected clang version is llvmorg-16-init-12251-g87d0ff91-2 but the actual version is Did you run "gclient sync"?
See //build/config/BUILDCONFIG.gn:334:3: which caused the file to be included. "//build/config/compiler:afdo_optimize_size", ^------------------------------------------- make[1]: [debian/rules:142: override_dh_auto_build] Error 1 make[1]: Leaving directory '/home/alexander/src/ungoogled-chromium-debian' make: [debian/rules:107: binary] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2 ` You can find the rest of the output here
Here is the Output
Latest version is 110, not 103.
@SugaryHull Do you have gn
on your system? It is trying to build it from sources and needs clang-16 for that, which you probably don't have.
I do not have gn on my system. I'll have to look into how to install it
I installed LLVM-16 from the upstream APT repo and changed every instance of LLVM-11 I could find, but it still fails at after the linking stage for gn
@SugaryHull Riiight! It was indeed after it finished building gn. My bad. Please inspect src/ungoogled-chromium-debian/tools/clang/scripts/update.py
. Some of the commands there are failing to determine your clang version.
This might be the culprit:
> clang-16 --print-revision
clang: error: unsupported option '--print-revision'
clang: error: no input files
clang-16 --version
prints out version and revision info
Other parameters in def main()
are failing too
Here is the Output
Latest version is 110, not 103.
@SugaryHull Do you have
gn
on your system? It is trying to build it from sources and needs clang-16 for that, which you probably don't have.
Ya I Know because I have used this repo as base so the version is 103.0.5060.134
I have followed the instructions from ungoogled chromium and from here Don't use the opensuse repo It is not working
The issue is with tools or clang which don't remember now
I'm gonna try forcing a bypass of the error to see if I can get Chromium to build anyway. Obviously, I won't commit those changes.
Got a different error this time: https://0bin.net/paste/BGkUX1gW#j7MuolecPH3Rc2AMACh3TrraNRonxuMvjXKhChA1H-E
Please re-add armhf supports because there was many people is still using the armhf machine such as the allwiner SBC based or Pinebook or even the chromebook and usually using armbian. The armhf is not like as the i386 as alive over 2 decades and the armhf life is not over 2 decades and I thing armhf still needed supports processor.
@networkException @PF4Public How to add new version to the repo Will work on it from today
@networkException @PF4Public How to add new version to the repo Will work on it from today
Have you tried yourself? Which steps did you take and what didn't work as expected?
@networkException @PF4Public How to add new version to the repo Will work on it from today
It is easy if you uploading on launchpad.net, you just adding your source code with debian stuff and let the server doing build process
That LLVM version check fails when attempting to build ungoogled-chromium-portablelinux with a forcefully updated ungoogled-chromium submodule as well
Currently building regular Chromium with Debian's packaging (which uses Debian's packaged version of LLVM 13) to rule out my system as the problem
I will try to maintain this port Need Some Perquisites to maintain & develop