LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-29-2014, 11:12 PM   #1
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 501

Rep: Reputation: 45
rebuilding a failed portion of a SlackBuilds build, instead of rebuilding everything


So, I used sbopkg to build SAGE with its SlackBuild. It took about 3 hours to compile, using >5 GB of temp space, but then just one particular of it failed. How do I fix that particular package so I don't have to rebuild everything again?

thanks
 
Old 07-29-2014, 11:45 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
An accurate answer would need that you show the error messages but generally speaking that's not possible, unless what failed was the compilation of a dependency in case you used a queue file.

In the latter case, just re-do the build using the "-k" option of sbopkg (using its command line interface).
 
1 members found this post helpful.
Old 07-30-2014, 01:18 AM   #3
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 501

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by Didier Spaier View Post
An accurate answer would need that you show the error messages but generally speaking that's not possible, unless what failed was the compilation of a dependency in case you used a queue file.

In the latter case, just re-do the build using the "-k" option of sbopkg (using its command line interface).
Yes, it was a dependency that it built.

When I run "sbopkg -k", nothing happens; sbopkg doesn't load… (Maybe this is because my /tmp/ folder was recently cleared out, and sbopkg had to create a new one…)

Last edited by Geremia; 07-30-2014 at 01:25 AM.
 
Old 07-30-2014, 02:02 AM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
sbopkg still needs to know what to operate on. Try:
Code:
sbopkg -k -b sage
Or f you want sbopkg to install the packages as they are built:
Code:
sbopkg -k -i sage
Even better, first build the queue file with sqg then use it:
Code:
sqg -p sage
sbopkg -k -i sage
To know more, see 'man sbopkg"

Last edited by Didier Spaier; 07-30-2014 at 02:05 AM.
 
Old 07-30-2014, 09:46 AM   #5
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
May i know which version you tried to build?
If it's 6.2 then you have the same build failure i had and that's the reason why i don't update it yet
 
Old 07-30-2014, 09:33 PM   #6
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 501

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by willysr View Post
May i know which version you tried to build?
If it's 6.2 then you have the same build failure i had and that's the reason why i don't update it yet
Yes, I'm trying 6.2. It fails on the pynac package.
 
Old 07-30-2014, 09:35 PM   #7
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 501

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by Didier Spaier View Post
Or f you want sbopkg to install the packages as they are built:
Code:
sbopkg -k -i sage
Thanks
I tried that, but it's not exactly what I'm looking for. I want to install what has already been built (unless "sbopkg -k -i sage" deleted everything and started over again?)
 
Old 07-30-2014, 11:10 PM   #8
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
Yes, i'm stumbled on pynac as well
 
Old 07-31-2014, 10:46 AM   #9
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 501

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by willysr View Post
Yes, i'm stumbled on pynac as well
Have you tried building it separately? Here's its website. It seems like the most important component of SAGE.
 
Old 07-31-2014, 10:59 AM   #10
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
No, all deps of sage are supposed to be build during compile time
 
Old 08-09-2014, 09:12 AM   #11
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
@Geremia: You can try to build sage 6.2 using non-root account. I tried this in the past and it worked, but i didn't submit it to SBo.
Make sure you remove /tmp/SBo directory first or use another directory, such as /tmp/SBo2
 
Old 08-10-2014, 08:04 PM   #12
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 501

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by willysr View Post
@Geremia: You can try to build sage 6.2 using non-root account. I tried this in the past and it worked, but i didn't submit it to SBo.
Make sure you remove /tmp/SBo directory first or use another directory, such as /tmp/SBo2
I'll try that.

What about using the root account makes the build fail?

thanks
 
Old 08-10-2014, 10:41 PM   #13
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
I don't know but most people in the sage list said it's not working using root user
I tried to build 6.3 now using normal user and see if i can make exception for this package
 
Old 08-11-2014, 12:50 PM   #14
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
OK, finally i'm able to build sage using root account and it will be part of next public update in SBo
you can check my changes here: http://slackbuilds.org/cgit/slackbui...illysr/updates
 
3 members found this post helpful.
Old 08-14-2014, 11:09 PM   #15
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 501

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by willysr View Post
OK, finally i'm able to build sage using root account and it will be part of next public update in SBo
you can check my changes here: http://slackbuilds.org/cgit/slackbui...illysr/updates
nice
thanks
 
  


Reply

Tags
sbopkg, slackbuild, slackbuilds



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
Rebuilding gnuradio on f 17 fabe856 Linux - Software 3 12-26-2012 12:41 AM
mdadm RAID1 failed and not rebuilding indienick Linux - Hardware 7 01-20-2009 10:45 AM
Need help rebuilding libstdc++ kirkpuppy Linux - General 2 08-14-2008 12:45 PM
How to build kernel RPM without rebuilding the whole thing every time JoeyAdams Fedora 2 06-22-2008 08:15 PM
patching and rebuilding skroll81 Debian 1 05-16-2004 09:35 AM

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

All times are GMT -5. The time now is 10:45 AM.

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