Raptor Computing Systems Community Forums (BETA)

Software => Applications and Porting => Topic started by: MauryG5 on November 17, 2024, 11:16:00 am

Title: Chromium for Ubuntu
Post by: MauryG5 on November 17, 2024, 11:16:00 am
By chance I re -examined the Hardisk where I had installed Ubuntu 20.04, I had dismantled it about 3 years ago as it had too many small bugs and in the meantime Debian 11 had arrived which I had liked much more than Debian 10 and so I went to Debian. I noticed with my great surprise that in the meantime, after years, they finally resolved those ugly and annoying bugs that compromised the proper functioning of Firefox and that did not work completely working Thunderbird. I said incredible Wow, considering how little I see used Ubuntu in our Cominita Power, compared to Fedora and Debian above all. I must say that now I am using it again with good satisfaction, however, I miss the only thing and that I cannot use Chromium despite being Ubuntu a direct debian derivative. I was wondering and I would also ask Raptor that I take care of Chromium, is it not possible to have repositories compatible for Chromium? I tried to use those of Debian 12 before and 11 after but nothing. I managed to install the key, the repositories, on the other hand, obviously do not go even if in reality when I try to update after putting the reposoarths, he loads them almost all except one that ignores and I think it happens because they are not the right ones for Ubuntu. I was wondering if there was a way, as Ubuntu was a Debian derivative, to be able to install Chromium too ...
Title: Re: Chromium for Ubuntu
Post by: MauryG5 on November 24, 2024, 12:03:20 pm
I am trying to build Chromium from 0, following the wiki/raptor guide but unfortunately I blocked myself in the part where you have to enter the exact version of the Clag compiler that Chromium uses. Raptor recommends using the specific version of the moment and from a link where to see it and the link shows this result: Clang_revision = 'LLVMORG-20-ARST-9764-GB81D8E90'

The problem is that it does not work in every way, whether I take it as it is, it gives me error of syntax because it only wants it to numbers, entering only the numbers I see. I can't understand how to take this number of clan version, to give it correctly. I also searched on the web but I can't find it in the same way. The mistakes that gives me are always the same:
Unable to connect to a repository at url 'https://llvm.org/svn/llvm-project/llvm/trunk'

Access To '/Svn/LLVM-PROJECT/LLVM/TRUNK' FORBIDDEN
Does anyone know how to get this correct number of Clag Version?
Title: Re: Chromium for Ubuntu
Post by: carlosgonz on November 24, 2024, 06:23:35 pm
Hi
I am  using Netsurf plus duckduckgo-htmlsearch because native libre firmware on gles1.
Title: Re: Chromium for Ubuntu
Post by: MauryG5 on November 25, 2024, 10:49:41 am
Hi, I don't understand how I can get the number I need from this information you are giving me...
Title: Re: Chromium for Ubuntu
Post by: atomicdog on November 26, 2024, 08:12:13 pm
LLVM switched from svn to git.

https://github.com/llvm/llvm-project
Title: Re: Chromium for Ubuntu
Post by: MauryG5 on November 27, 2024, 06:57:23 am
Yes, I too had come to see that git screen, only I don't know where to get the number that is requested of me... I don't understand where to find this number that he is asking me...
Title: Re: Chromium for Ubuntu
Post by: atomicdog on November 27, 2024, 12:21:15 pm
Looks like that tag isn't from the main LLVM git but chromium has their own repo of LLVM (https://chromium.googlesource.com/a/external/github.com/llvm/llvm-project).

Here's a recent build log (https://commondatastorage.googleapis.com/chromium-browser-clang/Linux_x64/clang-llvmorg-20-init-9764-gb81d8e90-72-buildlog.txt) that shows what you can do.

https://chromium.googlesource.com/chromium/src/+/main/docs/updating_clang.md (https://chromium.googlesource.com/chromium/src/+/main/docs/updating_clang.md)

I think this might work:
Code: [Select]
# git clone https://chromium.googlesource.com/external/github.com/llvm/llvm-project
# git checkout llvmorg-20-init-9764-gb81d8e90
Title: Re: Chromium for Ubuntu
Post by: MauryG5 on November 27, 2024, 01:08:34 pm
So excuse me, do you mean to tell me that I should replace the original line that Raptor gives in his wiki guide, that is the line of the depot tools that says:

$ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git

and insert instead of this the one you mentioned, that is:

# git clone https://chromium.googlesource.com/external/github.com/llvm/llvm-project
# git checkout llvmorg-?20-init-9764-gb81d8e90?

After when you have to insert the part dedicated to LLVM/CLANG, inserting the code: 20-init-9764-gb81d8e90, at that point it should recognize it... I don't know, I had understood that in this part it wants a series of numbers and that's it, then I don't know for sure if inserting that part that you tell me instead of the one reported in the guide, changes everything... I have to understand this fundamentally...
Title: Re: Chromium for Ubuntu
Post by: atomicdog on November 27, 2024, 03:36:47 pm
No, that's a different section in the wiki, you still need the helper programs in depot_tools.

The sections below LLVM/Clang is what needs to be updated/modified. Replace the SVN checkout commands with git clone and checkout commands

The number is a git tag. It tells git which exact version to checkout/use so you can compile a known good version.
The 'CLANG_SVN_REVISION=35769' number in the wiki will no longer work since LLVM doesn't use SVN anymore.
Title: Re: Chromium for Ubuntu
Post by: MauryG5 on November 27, 2024, 03:52:18 pm
Ah ok then let me understand, okay replace the commands in the checkout wiki with the ones you gave me, but the command export CLANG_SVN_REVISION, which is immediately after entering the created directory of CHROMIUM, what do I have to do at this point? Thanks for your patience and collaboration!
Title: Re: Chromium for Ubuntu
Post by: atomicdog on November 27, 2024, 05:06:13 pm
Replace this:
Code: [Select]
$ cd $CHROMIUM_DIR
$ export CLANG_SVN_REVISION=357692 # Check the above link for the current version
$ svn checkout --force https://llvm.org/svn/llvm-project/llvm/trunk@$CLANG_SVN_REVISION llvm
$ svn checkout --force https://llvm.org/svn/llvm-project/cfe/trunk@$CLANG_SVN_REVISION llvm/tools/clang
$ svn checkout --force https://llvm.org/svn/llvm-project/compiler-rt/trunk@$CLANG_SVN_REVISION llvm/compiler-rt

With:
Code: [Select]
$ cd $CHROMIUM_DIR
$ git clone https://chromium.googlesource.com/external/github.com/llvm/llvm-project
$ git checkout llvmorg-20-init-9764-gb81d8e90
Title: Re: Chromium for Ubuntu
Post by: MauryG5 on November 28, 2024, 12:57:47 am
Perfect now it's clear thank you very much, I'll update you as soon as I get on the computer these days.
Title: Re: Chromium for Ubuntu
Post by: MauryG5 on November 28, 2024, 12:54:47 pm
I performed the first of the 2 commands and downloaded me 3.4 GB of files and therefore everything went regular, when I performed the command:
$ Git Checkout LLVMORG-20-INART-9764-GB81D8E90
gives me this output:
Fatal: it is not a git repository (nor is any parent to the point of Mount /)
I stop at the limit of the filesystem (the Git_discovery_across_filesystem option is not set).
Title: Re: Chromium for Ubuntu
Post by: atomicdog on November 28, 2024, 02:50:08 pm
Sorry, you need to change into the llvm-project directory first (or specify which directory in the git checkout command).

Code: [Select]
$ cd $CHROMIUM_DIR
$ git clone https://chromium.googlesource.com/external/github.com/llvm/llvm-project

$ cd llvm-project

$ git checkout llvmorg-20-init-9764-gb81d8e90
Title: Re: Chromium for Ubuntu
Post by: MauryG5 on November 28, 2024, 03:57:56 pm
Yes, after this specification you made, I worked, I continued with the CMAKE command, from the Chromium_dir/Llvm -Protject/LLVM_BUILD $ path, I performed: Cmake -Dcmake_build_type = release -Dllvm_Targets_to_build = "PowerPC" -G "Unix Makefiles" .. /LLVM.
It initially gave me error on the CMAKE command as it told me that I had version 3.16 and he wanted at least 3.20. Hop proceeds to install version 3.20 after which the CMAKE command started. It seems that some things have not found them but I don't know if it is just things about other architectures or files that are needed for me ...

-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Python3: /usr/bin/python3.8 (found suitable version "3.8.10", minimum required is "3.8") found components: Interpreter
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for errno.h
-- Looking for errno.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for malloc/malloc.h
-- Looking for malloc/malloc.h - not found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for signal.h
-- Looking for signal.h - found
-- Looking for sys/ioctl.h
-- Looking for sys/ioctl.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for sys/resource.h
-- Looking for sys/resource.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sysexits.h
-- Looking for sysexits.h - found
-- Looking for termios.h
-- Looking for termios.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for valgrind/valgrind.h
-- Looking for valgrind/valgrind.h - not found
-- Looking for fenv.h
-- Looking for fenv.h - found
-- Looking for FE_ALL_EXCEPT
-- Looking for FE_ALL_EXCEPT - found
-- Looking for FE_INEXACT
-- Looking for FE_INEXACT - found
-- Performing Test HAVE_BUILTIN_THREAD_POINTER
-- Performing Test HAVE_BUILTIN_THREAD_POINTER - Failed
-- Looking for mach/mach.h
-- Looking for mach/mach.h - not found
-- Looking for CrashReporterClient.h
-- Looking for CrashReporterClient.h - not found
-- Looking for linux/magic.h
-- Looking for linux/magic.h - found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Looking for pthread_rwlock_init in pthread
-- Looking for pthread_rwlock_init in pthread - found
-- Looking for pthread_mutex_lock in pthread
-- Looking for pthread_mutex_lock in pthread - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for pfm_initialize in pfm
-- Looking for pfm_initialize in pfm - not found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Found ZLIB: /usr/lib/powerpc64le-linux-gnu/libz.so (found version "1.2.11")
-- Looking for compress2
-- Looking for compress2 - found
-- Found LibXml2: /usr/lib/powerpc64le-linux-gnu/libxml2.so (found version "2.9.10")
-- Looking for xmlReadMemory
-- Looking for xmlReadMemory - found
-- Could NOT find LibEdit (missing: LibEdit_INCLUDE_DIRS LibEdit_LIBRARIES)
-- Looking for arc4random
-- Looking for arc4random - not found
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /usr/include 
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed
-- Looking for __register_frame
-- Looking for __register_frame - found
-- Looking for __deregister_frame
-- Looking for __deregister_frame - found
-- Looking for __unw_add_dynamic_fde
-- Looking for __unw_add_dynamic_fde - not found
-- Looking for _Unwind_Backtrace
-- Looking for _Unwind_Backtrace - found
-- Looking for getpagesize
-- Looking for getpagesize - found
-- Looking for sysconf
-- Looking for sysconf - found
-- Looking for getrusage
-- Looking for getrusage - found
-- Looking for setrlimit
-- Looking for setrlimit - found
-- Looking for isatty
-- Looking for isatty - found
-- Looking for futimens
-- Looking for futimens - found
-- Looking for futimes
-- Looking for futimes - found
-- Looking for sigaltstack
-- Looking for sigaltstack - found
-- Looking for mallctl
-- Looking for mallctl - not found
-- Looking for mallinfo
-- Looking for mallinfo - found
-- Looking for mallinfo2
-- Looking for mallinfo2 - not found
-- Looking for malloc_zone_statistics
-- Looking for malloc_zone_statistics - not found
-- Looking for getrlimit
-- Looking for getrlimit - found
-- Looking for posix_spawn
-- Looking for posix_spawn - found
-- Looking for pread
-- Looking for pread - found
-- Looking for sbrk
-- Looking for sbrk - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for strerror_s
-- Looking for strerror_s - not found
-- Looking for setenv
-- Looking for setenv - found
-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC
-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC - Success
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Looking for pthread_getname_np
-- Looking for pthread_getname_np - found
-- Looking for pthread_setname_np
-- Looking for pthread_setname_np - found
-- Looking for pthread_get_name_np
-- Looking for pthread_get_name_np - not found
-- Looking for pthread_set_name_np
-- Looking for pthread_set_name_np - not found
-- Looking for dlopen
-- Looking for dlopen - found
-- Looking for dladdr
-- Looking for dladdr - found
-- Looking for proc_pid_rusage
-- Looking for proc_pid_rusage - not found
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success
-- Performing Test LLVM_HAS_ATOMICS
-- Performing Test LLVM_HAS_ATOMICS - Success
-- LLVM host triple: powerpc64le-unknown-linux-gnu
-- Native target architecture is PowerPC
-- Threads enabled.
-- Doxygen disabled.
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
-- OCaml bindings disabled.
-- Could NOT find Python module pygments
-- Could NOT find Python module pygments.lexers.c_cpp
-- Found Python module yaml
-- LLVM default target triple: powerpc64le-unknown-linux-gnu
-- Performing Test C_SUPPORTS_FPIC
-- Performing Test C_SUPPORTS_FPIC - Success
-- Performing Test CXX_SUPPORTS_FPIC
-- Performing Test CXX_SUPPORTS_FPIC - Success
-- Building with -fPIC
-- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION
-- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success
-- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION
-- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
-- Performing Test C_SUPPORTS_CXX98_COMPAT_EXTRA_SEMI_FLAG
-- Performing Test C_SUPPORTS_CXX98_COMPAT_EXTRA_SEMI_FLAG - Failed
-- Performing Test CXX_SUPPORTS_CXX98_COMPAT_EXTRA_SEMI_FLAG
-- Performing Test CXX_SUPPORTS_CXX98_COMPAT_EXTRA_SEMI_FLAG - Failed
-- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG
-- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG - Success
-- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL
-- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL - Success
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Failed
-- Performing Test C_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG
-- Performing Test C_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG - Failed
-- Performing Test CXX_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG
-- Performing Test CXX_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG - Failed
-- Looking for os_signpost_interval_begin
-- Looking for os_signpost_interval_begin - not found
-- Linker detection: unknown
-- Performing Test HAS_WERROR_GLOBAL_CTORS
-- Performing Test HAS_WERROR_GLOBAL_CTORS - Failed
-- Looking for __x86_64__
-- Looking for __x86_64__ - not found
-- Found Git: /usr/bin/git (found version "2.25.1")
-- Looking for logf128
-- Looking for logf128 - found
-- Targeting PowerPC
-- Registering ExampleIRTransforms as a pass plugin (static build: OFF)
-- Registering Bye as a pass plugin (static build: OFF)
-- Google Benchmark version: v0.0.0, normalized to 0.0.0
-- Looking for shm_open in rt
-- Looking for shm_open in rt - found
-- Performing Test HAVE_CXX_FLAG_WALL
-- Performing Test HAVE_CXX_FLAG_WALL - Success
-- Performing Test HAVE_CXX_FLAG_WEXTRA
-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success
-- Performing Test HAVE_CXX_FLAG_WSHADOW
-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success
-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL
-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL - Success
-- Performing Test HAVE_CXX_FLAG_WOLD_STYLE_CAST
-- Performing Test HAVE_CXX_FLAG_WOLD_STYLE_CAST - Success
-- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE
-- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE - Success
-- Performing Test HAVE_CXX_FLAG_PEDANTIC
-- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS - Success
-- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS
-- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS - Success
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WD654
-- Performing Test HAVE_CXX_FLAG_WD654 - Failed
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Failed
-- Performing Test HAVE_CXX_FLAG_COVERAGE
-- Performing Test HAVE_CXX_FLAG_COVERAGE - Success
-- Compiling and running to test HAVE_GNU_POSIX_REGEX
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Compiling and running to test HAVE_POSIX_REGEX
-- Performing Test HAVE_POSIX_REGEX -- success
-- Compiling and running to test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Compiling and running to test HAVE_PTHREAD_AFFINITY
-- Performing Test HAVE_PTHREAD_AFFINITY -- failed to compile
-- Configuring done
-- Generating done
-- Build files have been written to: /home/mauryg5/CHROMIUM_DIR/llvm-project/llvm_build
mauryg5@mauriziop9:~/CHROMIUM_DIR/llvm-project/llvm_build$

However I would like to try to give the make -up command for the compilation, but I will do it tomorrow or after tomorrow that it is now late from me and I know it takes a long time to fill in Chromium if it should leave so I wait ... if you think there is some Anomaly, however, from this output let me know and thanks for your help, having reached here already is a great thing for me ...
Title: Re: Chromium for Ubuntu
Post by: atomicdog on November 28, 2024, 04:58:27 pm
The 'not found' stuff is basically optional features for the most part.
Since you're doing a fairly generic build of Clang I don't see anything that would stop it from compiling.
Title: Re: Chromium for Ubuntu
Post by: MauryG5 on November 29, 2024, 12:55:39 am
Perfect then, I see that you are very knowledgeable about Chromium, thanks for the support you were great. I will start the compilation over the weekend as it takes time and we will see how it goes. I will post the result as soon as it is ready!
Title: Re: Chromium for Ubuntu
Post by: MauryG5 on November 30, 2024, 12:29:50 pm
I resumed the job, after the compilation that however it gave me some mistakes like this:
/Home/mautyg5/chromium_dir/llvm-project/llvm/tools/llvm-opt-fuzzer/llvm-opt-cpp: in Function 'Int llvmfuzzerinize (int*, char ***)':
/Home/mautyg5/chromium_dir/llvm-project/llvm/Tools/llvm-opt-opt-fuzzer/llvm-opt-cpp:201:43: Warning: ISO C ++ Forbids Zero-size 'ARM' [-Wpedantic]
201 |Exitonerror Exitonerr (STD :: string (*argv
But in any case he completed the compilation, I tried to continue and after creating the Chromium directory and having entered it, he gave me these errors:
Mauryg5@mauriziop9: ~/chromium_dir $ mkir chromium && cd chromium
Mauryg5@mauriziop9: ~/chromium_dir/chromium $ fetch-no-history --nohooks chromium
Running: Gclient Root
Warning: Your metrics.cfg file was invalid or nonexistent. A New One Will Be Created.
Running: Gclient Confi - -Spec 'Solutions = [
 {
 "name": "src",
 "URL": "https://chromium.googlesource.com/chromium/src.git",
 "Managed": false,
 "Custom_deps": {},
 "Custom_vars": {},
 },
]
'
Errors:
 Failed to Resolve Infra/3pp/Tools/Git/Linux-App64le@Version: 2@2.41.0.chromium.11 (Line 24): No Such Package: Infra/3pp/Tools/Git/Linux-App64le
 Failed to Resolve Infra/3pp/Tools/Cpython3/Linux-App64le@Version: 2@3.11.8.chromium.35 (Line 21): No Such Package: Infra/3pp/Tools/Cpython3/Linux-App64le
/Home/Mauryg5/Depot_Tools/Bootstrap_python3: Riga 32: bootstrap-2@3.11.8.chromium.35_bin/python3/bin/python3: non-existing files or directory
Running: Gclient Sync-Nohooks-No-History
Errors:
 Failed to Resolve Infra/3pp/Tools/Git/Linux-App64le@Version: 2@2.41.0.chromium.11 (Line 24): No Such Package: Infra/3pp/Tools/Git/Linux-App64le
 Failed to Resolve Infra/3pp/Tools/Cpython3/Linux-App64le@Version: 2@3.11.8.chromium.35 (Line 21): No Such Package: Infra/3pp/Tools/Cpython3/Linux-App64le
/Home/Mauryg5/Depot_Tools/Bootstrap_python3: Riga 32: bootstrap-2@3.11.8.chromium.35_bin/python3/bin/python3: non-existing files or directory
He continued his job until he comes in the end by saying this:
Syncing Projects: 100% (210/210), Done.

________ Running 'Cipd Ensure -G -Lavel Error -Root/Home/Mauryg5/Chomium_dir/Chromium -Sensure-file /htmpse1zn3c8.ensure' in '.'
Errors:
 Failed to Resolve gn/gn/linux-app64le@git_revision: 468c6128dbbabe32a29d4753460ef53594406fc (line 5): no such package: gn/gn/linux-app64le
 Failed to Resolve Infra/RBE/Client/Linux-App64le@Re_Client_version: 0.172.0.3cf60ba5-Gomaip (line 8): No Such Package: Infra/RBE/Client/Linux-App64le
 Failed to Resolve Infra/3pp/Tools/Ninja/Linux-App64le@Version: 3@1.12.1.chromium.4 (line 17): No Such Package: Infra/3pp/Tools/Ninja/Linux-App64le
 Failed to Resolve Infra/3pp/Tools/Go/Linux-App64le@Version: 2@1.21.3 (line 20): No Such Package: Infra/3pp/Tools/Go/Linux-App64le
 Failed to Resolve Infra/3pp/Tools/Esbuild/Linux-App64le@Version: 3@0.24.0.chromium.2 (Line 23): No Such Package: Infra/3pp/Tools/Esbuild/Linux-App64le
 Failed to Resolve Infra/3pp/Tools/Ninja/Linux-App64le@Version: 3@1.12.1.chromium.4 (line 35): No Such Package: Infra/3pp/Tools/Ninja/Linux-App64le
 Failed to Resolve Infra/Build/Siso/Linux-App64le@Git_revision: 87D2BE70FA9A85310A729E3B04669324A129FD88 (Line 41): No Such Package: Infra/Build/Siso/Linux-App64le
Error: Command 'Cipd Ensure -G -Lavel Error -Root/Home/Mauryg5/Chromium_dir/Chromium -Sensure-file /tmpse1zn3c8.ensure' Returned Non -Zero Exit Status 1
Errors:
 Failed to Resolve gn/gn/linux-app64le@git_revision: 468c6128dbbabe32a29d4753460ef53594406fc (line 5): no such package: gn/gn/linux-app64le
 Failed to Resolve Infra/RBE/Client/Linux-App64le@Re_Client_version: 0.172.0.3cf60ba5-Gomaip (line 8): No Such Package: Infra/RBE/Client/Linux-App64le
 Failed to Resolve Infra/3pp/Tools/Ninja/Linux-App64le@Version: 3@1.12.1.chromium.4 (line 17): No Such Package: Infra/3pp/Tools/Ninja/Linux-App64le
 Failed to Resolve Infra/3pp/Tools/Go/Linux-App64le@Version: 2@1.21.3 (line 20): No Such Package: Infra/3pp/Tools/Go/Linux-App64le
 Failed to Resolve Infra/3pp/Tools/Esbuild/Linux-App64le@Version: 3@0.24.0.chromium.2 (Line 23): No Such Package: Infra/3pp/Tools/Esbuild/Linux-App64le
 Failed to Resolve Infra/3pp/Tools/Ninja/Linux-App64le@Version: 3@1.12.1.chromium.4 (line 35): No Such Package: Infra/3pp/Tools/Ninja/Linux-App64le
 Failed to Resolve Infra/Build/Siso/Linux-App64le@Git_revision: 87D2BE70FA9A85310A729E3B04669324A129FD88 (Line 41): No Such Package: Infra/Build/Siso/Linux-App64le



Warnings:
git update is recommeneded.
Installed Git Version is 2.25.1;
Depot_tools Recomfonds Version 2.26.0 or Later.
Disable This Warning by Setting the Gclient_suppress_git_version_warning
Environment Variable to 1.
Subprocess Failed With Return Code 1.
Apart from that I understand that the new version of GIT recommends me, but all of these errors, are they only caused by this?
Title: Re: Chromium for Ubuntu
Post by: atomicdog on November 30, 2024, 04:00:30 pm
I know a bit about Clang/LLVM but not an expert on Chromium (never used or compiled it). I just thought I'd go down this rabbit hole with you.

As long as Clang compiles I wouldn't worry about the warnings.

It looks like the errors from the fetch command are from it trying to download ppc64le binaries but there aren't any.
Does the Chromium source code still download even with those errors?
Title: Re: Chromium for Ubuntu
Post by: MauryG5 on November 30, 2024, 04:56:25 pm
What I can tell you that when the 3 commands that go to the sources or, or,
Git Clone https://gn.googlesource.com/gn
Git Clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
And the third you gave me yourself or
 Git Clone https://chromium.googlesource.com/external/github.com/llvm/llvm-project
He works and downloads everything so much and true that I have all the folders I download. Except that I have blocked myself here as I can't go on. However, I wonder how is it possible that there are these packages when Chromium on Linux Power has been present for some time and Raptor himself takes care of the builds and also the procedure for construction? It seems to me an anomalous thing ... you have to understand where the errors are, I follow the step by step guidance but I do not understand why it gives me mistakes and how they can miss packages that should instead be regularly present ...
Title: Re: Chromium for Ubuntu
Post by: atomicdog on November 30, 2024, 06:29:10 pm
If fetch downloads source code into the chromium folder you might be able to ignore those errors.
If the build systems is smart enough it should find those programs like git and gn and ninja that are already on your computer.
Title: Re: Chromium for Ubuntu
Post by: MauryG5 on December 01, 2024, 05:42:41 am
Going back I realized that I probably made a big mistake of interpretation in this part that but now I don't understand.
Raptor tells me that after making the compilation, I have to download the source code of Chromium, to do so, however, I have to make sure that it is depot_tools` both in your path by extracting your Env.sh and then insert the commands:
 $ cd $ chromium_dir
$ mkir chromium && cd chromium
$ fetch--no-history-chromium
The problem is now that I don't understand what it means to tell me to make sure that Depot_tools is in the path by extracting Env.sh
Can you tell me what I should do so to make sure of this?
Title: Re: Chromium for Ubuntu
Post by: atomicdog on December 01, 2024, 01:58:26 pm
Env.sh is a script that adds the Depot_tools directory to the PATH variable so the build system can find the programs in there.

You must have done it correctly since you can run the fetch command without needing to use it's full path.

The instructions in the wiki are a bit old now so maybe somethings changed in how chromium is built.
I've looked at fetch.py --help but don't see any way of telling it not to try and download the helper binary files.
Title: Re: Chromium for Ubuntu
Post by: MauryG5 on December 01, 2024, 04:27:48 pm
Yes, I also think at this point, that the guide is now outdated and you have to update because I am realizing that there are several inconsistencies with what I am doing. But I noticed, however, that the source that Raptor supports for a while now, I saw that his interior are almost all the files that have been created with the work I did from I did from 0. I ask myself then and if yes Did you try to fill in and install those who have already done? The point is, however, that I don't know what procedure it takes, I have not found news to be able to do it, I would like to try at least to see if using those springs already ready, you can also make a chromium for ubuntu at least ... if you You know how to make the compilation of those sources would be a great thing ...