LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 05-22-2017, 08:15 AM   #31
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 8,878

Rep: Reputation: Disabled

Quote:
Originally Posted by montagdude View Post
FWIW (probably not much) I tried this, but it doesn't work because the SlackBuild scripts chown the build directory as root:root.
fakeroot is your friend.

I always use it, for SBo scripts I set TMP and OUTPUT to $CWD i.e. $(pwd), make sure makepkg is called with its full path, set PKGTYPE to txz.

Then just do "fakeroot sh <package>.SlackBuild" and find all outputs in $(pwd).

Last edited by Didier Spaier; 05-22-2017 at 08:17 AM.
 
1 members found this post helpful.
Old 05-22-2017, 08:25 AM   #32
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 1,505

Rep: Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121
Quote:
Originally Posted by Didier Spaier View Post
fakeroot is your friend.

I always use it, for SBo scripts I set TMP and OUTPUT to $CWD i.e. $(pwd), make sure makepkg is called with its full path, set PKGTYPE to txz.

Then just do "fakeroot sh <package>.SlackBuild" and find all outputs in $(pwd).
Thanks for the info. I'm not really interested in doing it myself, but I just wanted to answer my previous query about whether sbopkg and the like can build packages as a regular user. It sounds like the answer is no.
 
Old 05-22-2017, 09:13 AM   #33
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 890

Rep: Reputation: Disabled
Hi,

slackrepo is able to build as regular user.
Probably there are others that can do that too (sbopkg is not one of them).

All that being said, my preferred setup is to use slackrepo running as root within virtual machine.

--
Best regards,
Andrzej Telszewski
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LibreOffice from source SlackBuild. orbea Slackware 28 09-09-2018 05:35 PM
PaleMoon from source SlackBuild khronosschoty Slackware 41 05-07-2017 06:55 AM
[SOLVED] Where might I find the kernel-source SlackBuild ? kjhambrick Slackware 12 10-19-2016 12:55 PM
For the Krusader fans on slackware64 slackbuild ROXR Slackware 0 07-20-2009 06:03 PM

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

All times are GMT -5. The time now is 12:20 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration