LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-18-2018, 02:32 AM   #1
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Rep: Reputation: 205Reputation: 205Reputation: 205
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
 
Old 02-18-2018, 02:37 AM   #2
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
I suggest using Alien Bob's Chromium package: https://alien.slackbook.org/blog/chr...nd-32bit-pain/

It works great.
 
Old 02-18-2018, 03:56 AM   #3
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Original Poster
Rep: Reputation: 205Reputation: 205Reputation: 205
Quote:
Originally Posted by RadicalDreamer View Post
I suggest using Alien Bob's Chromium package: https://alien.slackbook.org/blog/chr...nd-32bit-pain/

It works great.
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
 
Old 02-18-2018, 04:39 AM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by rob.rice View Post
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?
 
2 members found this post helpful.
Old 02-18-2018, 05:48 AM   #5
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
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.
 
2 members found this post helpful.
Old 02-18-2018, 07:54 AM   #6
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,377

Rep: Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757
Quote:
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.
This seems relevant. https://ninja-build.org/manual.html
 
1 members found this post helpful.
Old 02-18-2018, 09:11 AM   #7
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
Two more choices: use a VM that you can pause and resume, or maybe try this: https://criu.org/Main_Page
 
1 members found this post helpful.
Old 02-18-2018, 09:53 AM   #8
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
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

[edit]
Ninja? oh well... forget this post then

Last edited by keefaz; 02-18-2018 at 09:55 AM.
 
Old 02-18-2018, 09:59 AM   #9
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Quote:
Originally Posted by rob.rice View Post
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...

https://docs.slackware.com/studiowar...=ccache#ccache
 
Old 02-18-2018, 10:00 AM   #10
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,826

Rep: Reputation: 1499Reputation: 1499Reputation: 1499Reputation: 1499Reputation: 1499Reputation: 1499Reputation: 1499Reputation: 1499Reputation: 1499Reputation: 1499
Code:
killall -STOP gcc
killall -CONT gcc
 
Old 02-18-2018, 02:58 PM   #11
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Original Poster
Rep: Reputation: 205Reputation: 205Reputation: 205
Quote:
Originally Posted by Alien Bob View Post
You can't download from slackware.com ??? Why, are you in prison or what? Or using someone else's Internet connection?
"are you in prison "
not far from it I'm being gang stalked by the white slave trade
including an on going attempted homosexual rape

"using someone else's Internet connection?" YES public wifi


got it thanks Alien Bob
 
1 members found this post helpful.
Old 02-18-2018, 03:20 PM   #12
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
.....

Last edited by BW-userx; 02-18-2018 at 04:38 PM.
 
Old 02-20-2018, 04:00 AM   #13
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
This topic took an unexpected turn...

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.
 
Old 02-20-2018, 12:08 PM   #14
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,788

Rep: Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435
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.

Last edited by enorbet; 02-20-2018 at 12:29 PM.
 
Old 02-20-2018, 12:20 PM   #15
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
I hope that was a strange attempt at humor, but I think this is a time where those kids on the internet would post this picture:

http://i0.kym-cdn.com/photos/images/...53/279/e31.jpg
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] sbopkg installs "original" SlackBuild to /usr/doc/<pkg>/ instead of "local" SlackBuild drumz Slackware 29 01-20-2018 12:12 AM
[Patch and SlackBuild] Grub-2.02~beta2 SlackBuild and Patch. ReaperX7 Slackware 3 01-28-2015 09:30 AM
how do you pick the OS Mr-Imacdaddy Linux - Newbie 6 06-12-2008 10:32 PM
Why/How did you pick the nickname you did? Gill Bates General 121 12-30-2005 11:41 PM
I Need a Pick-Me-Up Slack_Master General 8 02-14-2003 12:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration