-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
www-client/ungoogled-chromium-133.0.6943.53_p1: Build failing #407
Comments
Have you considered filing the issue there? |
I have not got a lot of response from them on it, been left on my own to fix it mostly. The issue left with the ebuild is one last sandbox violation that needs solved with dracut. https://gitlab.com/liguros/bugs/-/issues/339 I need EFI stub for the embeaded bootloader of my new board, but dracut requires systemd for that. So I will be working on getting this mkinitramfs to work instead of dracut. I am running a backup of gentoo to build liguros in a chroot, what I got so far works enough to get a matching 64bit kernel to use on both. https://github.com/1mouse3/liguros-xxx/blob/main/sys-kernel/mkinitramfs/mkinitramfs-0.5.ebuild Mkinitramfs was wanting a compact libc, so was also going to bring this gentoo ebuild back from dead since there was a update with source. Getting this working was the need for the 64bit only kernel. https://github.com/1mouse3/liguros-xxx/blob/main/sys-libs/uclibc-ng/uclibc-ng-1.0.51.ebuild I only brough the kernel up, so that you know what broke chromium. My only question to you is over this protozero_plugin of chromium, and why it wants lld/gold over bfd that is give as option? Because Im trying to reinstall it to see if that will get it to work with "kernel.unprivileged_userns_clone=0" and not have to disable the sandbox for chromium. |
It should, especially that you enable |
Thanks, that leads me somewhere and dose get it a 1/3 the way through the build. This is a log of that run with "-nvidia" flag. Thing of note I see is this...
Vs this from the run with the "nvidia" flag. Here its trying to use lld and without that flag its false, but both are trying to force me to use gold.
Next thing I saw in that log of the last run of the build, is that it was tripping over C++ calls and seeming to want C instead. It was warnings early in the build but it became a failer for building the ffmpeg part. I have gcc built with C++ and object C++ support, is this a issue for chromium? It wont let me build it without multilib for some reason on the the gentoo backup, Im not messing with stuff in chroot right now.
This is in the portage make.conf of the gentoo backup.
I did make a bunch of changes to gentoo past the state of this backup, and copyed the /etc tree from that to the liguros chroot. So took a look to see what changes I had made and saw this addition, it did not make a difference putting it in the make.conf.
Looked into that and found this... https://forums.gentoo.org/viewtopic-t-1074724-start-0.html It gave a different place to stick it.
So I did this, it did not like the merge_limit variable.
It did not change this for with the "nvidia" flag...
But it did force change those variables that chromium was trying to set, and got rid of this. So the issue with protozero_plugin is solved I think, since now build to the ffmpeg failer with the "nvidia" flag.
|
Sorry, but I mentioned in issue template that I only open GitHub attachments
Oh wait, I just noticed you're building with gcc. In this case it is not a surprise that it uses bfd and not lld.
It is a very old information, Google dropped |
Ok, I was just going to rebuild the dependencys for these flags...
But it gave issues over a old install of qt6 and kde6, so went down this rabbit hole to get it all sorted and updated.
Then asked portage if it was happy with what I have installed.
So that put me in a state where can have another shot at these.
ICU is part the boost stack, so that all got reinstalled again.
Nodejs wanted to throw a fit and not reinstall, found this flag being on by default thats a security risk and calls in llvm.
But in the end found it missing tracing arays, that the mpi and numpy flags of boost give. So rebuilt this stack once again
So asked portage if it was happy yet again, and this time nodejs built without issue.
So at this point my gentoo backup is updated, working and built to C/C++ standarded. So had another shot at chromium and is still failing over ffmpeg.
Sorry missed that and here is that log as a github attachment.
This is the first I heard that gentoo is clang only, when there is enough documentation to get it to work with gcc. That explains why I have been fighting with this ebuild at every update and not others. A year ago when I switched to gentoo, I fought with gibberish errrors for a month trying to get clang to work and just wiped the drive in the end. I spent a decade with slackware and another with arch, and my dad had red hat on a IBM 486 so C/C++ is what I know. I made the switch when building cyanogenmod for zte phones I had then, and perfer sony phones since dont have to do that to get a clean install. Android at that time was C/C++ and have not built any the newer branches from scratch, so did not see any reason that google would be clang only as well. https://github.com/1mouse3/android_kernel_zte_nex |
I already told you I won't be able to help you with gcc. Try building with clang.
Gentoo is fine. Chromium and derevatives do not support gcc. |
I mosly got this ebuild fixed that I pulled from the liguros repo, it still has one issue that keeps it from finishing over something with dracut. It dose compleat enough that I get a working kernel in gentoo, and is build using the GrapheneOS source updated by anthrax.
https://github.com/1mouse3/liguros-xxx/blob/main/sys-kernel/debian-sources/debian-sources-6.1.124_p1-r1.ebuild
This broke the current install of chromium over this being set to 0 by default and have to run this as "--no-sandbox".
Trying to reinstall this, I get this error that Im coming up short on the cause.
This comes up early in the build and is not respecting my build flag of "-fuse-ld=bfd", and is trying to use gold and lld that is not installed. I have reinstalled binutils, gcc, glibc, python, nodejs and ninja along with adding systemtap flag to gcc and glibc. I do not know where it is getting this info from but is not in my /etc tree.
I am building chromium with this flag stack.
The text was updated successfully, but these errors were encountered: