[SOLVED] is there any way to get a slackbuild to pick up where it was stopped
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.
is there any way to get a slackbuild to pick up where it was stopped
after running a build of chrome for 24 hours I had to stop the slackbuild
this computer is pretty much useless during a build (run level 1 )
so is there a way to save that 24hours of work the computer did ?
if this helps it was still compiling
can't get it down loaded on my wifi connection
just about any web site having to do with wifi,networking and most of github is blocked even mozilla's web site is blocked it's gotten worse lately so it looks like I'm going have to move the computer some place else and run it on an inverter to download it
can't get it down loaded on my wifi connection
just about any web site having to do with wifi,networking and most of github is blocked even mozilla's web site is blocked it's gotten worse lately so it looks like I'm going have to move the computer some place else and run it on an inverter to download it
You can't download from slackware.com ??? Why, are you in prison or what? Or using someone else's Internet connection?
I echo the other members' suggestion of using Alien's package, however, to answer your original question...
By default, no, there is no way to resume a package. However, it can be done with some tweaking of the SlackBuild. The first big one is removing (or commenting out) the rm command that would remove the source directory. In fact, you'd probably want to comment/remove extracting the tarball as well. In most SlackBuilds on SBo, the corresponding lines would look something like:
Code:
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
Many times this is enough to continue the build from where it left off, but that could also depend on the build system. I noticed the build system for chromium on SBo uses ninja, and unfortunately, I'm not familiar enough with that one to know how it does on resuming compiles that have been halted.
I noticed the build system for chromium on SBo uses ninja, and unfortunately, I'm not familiar enough with that one to know how it does on resuming compiles that have been halted.
Normally running make in the build directory will resume the compilation (only compile not yet compiled targets)
In case of SlackBuild, look into the script where the build directory is and do script steps by hand to create the package
Or copy SlackBuild relevant steps and variables to create the package into a new script and execute it
after running a build of chrome for 24 hours I had to stop the slackbuild
this computer is pretty much useless during a build (run level 1 )
so is there a way to save that 24hours of work the computer did ?
if this helps it was still compiling
You could set up ccache, it will speed up additional builds of any programs you have already compiled. However I suspect it will require a very large ccache with chrome...
Anyway, Eric's builds have been invaluable to me on a low-powered machine. Specifically Libreoffice, qt5 and openjdk. I installed Eric's binary for Chromium but tend to use Qupzilla instead.
Well maybe you should stop wearing such sexy shoes!
....
.....
.......
My apology for this feeble attempt at humor about the common male misconception that women who are raped 'were asking for it". I couldn't tell for certain that OP was kidding or not and took the risk that in either case a lil' levity might be welcome. I mean i could've said "Just tell them you've been abducted dozens of times by some really filthy aliens and "probed" endlessly so unless they fancy a serious interstellar STD, they need to bugger off!
OT to this thread it is my regarded opinion that even if you can find a way to skip repeating preliminary steps you really shouldn't. Given that the build stopped short because of an error it's safe to assume you made changes. The build should then be against those changes or risk failure yet again. Thorough is good. Slow is smooth. Smooth is fast.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.