[SOLVED] ./chromium.SlackBuild FAILED at line 1676 building ungoogled-chromium-122.0.6261.57-1
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
./chromium.SlackBuild FAILED at line 1676 building ungoogled-chromium-122.0.6261.57-1
Well, I had a big old post about this, but this damn site said could not post due to a missing security token, so I lost an hour's worth of composition.
Basically what the subject said. I never tried this before. Got it from alienbob's build directory. I tried to build as root because the normal user gave errors related to chmod.
Here is where the process stopped
Code:
ninja: Entering directory `out/Release'
ninja: error: '../../third_party/node/linux/node-linux-x64/bin/node', needed by 'gen/ui/webui/resources/tsc/cr_elements/cr_tab_box/cr_tab_box.js', missing and no known rule to make it
-- Manually installing everything.
install: cannot stat 'out/Release/chrome': No such file or directory
./chromium.SlackBuild FAILED at line 1676
Lines 1662 - 1667
Code:
if [ $USE_UNGOOGLED -eq 0 ] && [ ! -f out/Release/chrome_crashpad_handler ]
then
# ungoogled-chromium has crash-reporting disabled:
LDFLAGS="$LDFLAGS" \
LC_ALL=C \
ninja -C out/Release \
chrome_crashpad_handler \
2>&1 | tee -a $OUTPUT/ninja-${PRGNAM}.log
fi
# Manually install everything:
echo "-- Manually installing everything."
# The main binary:
install -D out/Release/chrome $PKG/usr/lib${LIBDIRSUFFIX}/${PRGNAM}/${PRGNAM}
I changed this to a 1
Code:
# Build an ungoogled chromium package (default no):
USE_UNGOOGLED=${USE_UNGOOGLED:-1}
You seem to be running Slackware 15.0. Look at the error you post - it says something about 'node' missing.
Slackware 15.0 does not contain nodejs but if you read the script header at https://slackware.uk/people/alien/sl...ium.SlackBuild you see that:
Ah ha! I did not realize that. I will install nodejs and try again. Thanks!
As far as my first attempt, is it usual for a slackbuild to need root access, or sudo? My normal user account is not in the sudoers group. I did not look into why chmod was being called and failed exactly and I just did su to get it going.
Ah ha! I did not realize that. I will install nodejs and try again. Thanks!
As far as my first attempt, is it usual for a slackbuild to need root access, or sudo? My normal user account is not in the sudoers group. I did not look into why chmod was being called and failed exactly and I just did su to get it going.
I guess you are not a regular Slackware user? All Slackware build scripts expect that you run them as the root user. No 'sudo'.
ouch! I've been using it every day for a couple of years, but did not build many slackbuilds. It has been a while, the last was a Canon printer driver. I don't use any other OS too much, except at work and a little Rasberry Pi OS, butI don't like Debian.
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,070
Rep:
Quote:
Originally Posted by breaker
...but did not build many slackbuilds.
Always a good idea to check for dependencies. They're listed at slackbuilds.org (also in the .info files). AlienBob often (but not always) provides a slack-required file in the buildscript directory listing dependencies.
README files (the name says it all) often give important information on compiling.
A bit curious, though - why compile chromium-ungoogled when AlienBob offers a ready-made package?
@kgha
Thanks for the tips. Also I saw I need to run su with the -l option.
Yes, now I realize I could have just downloaded the ungoogled Slackpackage. I got to the regular alienbob Chromium package by doing a web search. Previously, I was unaware these existed. I did not explore his directory of packages before I set off to build the ungoogled using his Chromium/build files. So it was mostly a mistake. However, I decided to do it anyway so I could add my Google API keys. I'm unsure if I care about having them or not, however.
I added and updated the dependencies, except llvm, which I forgot to do. Hopefully it builds now.
I noticed there is a higher version of llvm in the Slackware extras. Do I removepkg the old, grab the one from extras, and installpkg?
Also, since cmake was updated from an alienbob package, I should blacklist cmake. Would I do cmake or cmake* for that?
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,070
Rep:
Just grab the llvm-17 package from /extra and upgrade with upgradepkg. Should you for some reason need to compile something against the older llvm, grab the llvm13-compat package from /extra and install alongside the new version.
Cool, yeah I did that today for alien, but I was not sure if the update went off of the Slackware list, or off the list of what you have installed. In other words, If I have 1alien cmake but I grab the list with update, will it want to grab the old cmake again?
I'm currently building the ungoogled - for the last 10 hours! This is an old PC from 2011, but I'm curious how it will go now.
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,070
Rep:
Quote:
Originally Posted by breaker
In other words, If I have 1alien cmake but I grab the list with update, will it want to grab the old cmake again?
I'm not familiar with slackpkg, having used slapt-get and its frontend gslapt for upgrading for decades. But as I understand the information at https://docs.slackware.com/slackware:slackpkg , adding [0-9]+alien to the blacklist means that packages with the _alien tag will never be replaced with packages from the official repo.
I'm currently building the ungoogled - for the last 10 hours! This is an old PC from 2011, but I'm curious how it will go now.
Wow. Hopefully it's successfully completed by now. That's why I refrain from compiling some stuff (chromium, qt5/qt6, and others), not having the latest and greatest hardware, grateful that ready-made packages are available.
Yes, I do want to check out the slackpkg+, thanks.
Well, it is still building after 24 hours. I started it before work yesterday, and it was still going when I left for work today. I suspect it could be done by the time I get home.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.