SBo scripts not building on current (read 1st post, pls)
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.
hi sombragris, that is already patched on the unofficial repository for current, I have posted you the link at the patch in the other topic (in case you are not already using this repository): the patch is taken from the clamav development repository as the check they do for zlib in the configure has been corrected there.
Statement: VLC requires ffmpg because it uses its libavcodec (from what I just read elsewhere) but apparently libavcodec is not equal to VLC needs or visa versa.
option: Someone is dropping the ball between the two.
Newer versions of programs sometimes require newer versions of their dependencies. There is nothing new or strange about that. Due to the changes between ffmpeg's ABIs, VLC chose to put limits on what versions it supports rather than do a big cluster of if/then statements
Quote:
Originally Posted by BW-userx
Now someone tells me this, after I have argued many a time over the use of root for the reasons I have argued them, this only being one instance of it. But in this instance being to compile code while being root and I only get feedback from all of the self proclaimed experts is no it is not safe to do. use sudo it is a security rist, blah blah blah is the rest of their justifications for having to use sudo for everything under the sun that is related to linux/GNU.
So here I am being yelled at and told by the self proclaimed powers that be many times before me writing this on how I do not conform to social norms and procedures due to my belief system.
Within my belief system where it once said, it is just fine to use root to compile source code. But they, they being the others that are not me do not believe what I believe so conflict arose and I am tagged the out cast for my beliefs. So I try to circumvent the situation and just play along and fall into the habit of using sudo for everything under the sun even compiling source code because that is what the others said was safer to do and I am welcomed back into the fold for now having changed a few things within my belief system to conform to the others that think they know it all. With glasses of wine and beer and pats on the back to congratulate me for conforming to their ways.
Then you come long and contradict every one of them as I have done so prior to.
conclusion?
A dilemma arises again as a result of it.
[snip]
I can remember way back when Sack was just a baby and I never had these issues. it was root and be happy. even though sudo too was around during that time as well. I never used it, ever, always root. rip sudo out of Slack and be done with it.
thanks for your input.
There is some misunderstandings going on. Root usage in Linux is required. There is always going to be times that you need to run something as root. Compiling software typically isn't one of them (unless the compilation folders are owned by root, which is typically the case when you compile something from SBo). You can compile software as any user. However, depending on the location you install that software to, you will probably need to be root to actually install it.
Now, running certain required things as root is vastly different than running everything as root. Linux guidelines are to follow the principle of least privilege (PLP), meaning that you should only run things as root when it's required. There is almost never a requirement to run a DE/WM as root. Doing so will cause each and every program that the DE/WM starts to run as root. That goes directly against PLP. This opens you up to a large amount of potential issues due to bugs, exploits, etc.
Now, since we've covered that there are times when root is required, you already know there's two programs that can provide that to you: su and sudo. Both essentially provide you the ability to do things as root, but how they do that is a bit different. su is basically just logging into a shell as root. Everything you do in that shell (until you logout or exit) is done as root, so any mistakes in your commands can have drastic effects on your system. sudo works a bit differently. sudo allows the administrator (typically the one who logs in as root) to allow certain unpriviliged users or groups to execute certain commands that are authorized to them (it can also be all commands, but this wasn't the original intention and didn't become popular until the *buntus started doing it). The idea behind sudo is if you, as an administrator, have a user that needs to be able to create a filesystem using mkfs (which needs to be run as root), but they don't need the ability to restart services, install programs, or shutdown the computer, then you can give the user the ability to run just mkfs. Keep in mind, from an adminstrator's position, if you happen to add something that would seem minor, like a text editor (vi(m), emacs, nano, etc), then that user would be able to possibly edit files that could lead to them having full root permissions.
What the *buntus brought with sudo is kinda against the whole reasoning for sudo, which was to provide the administrator the ability to allow some users to run some commands with root privilege without giving that user full access or the root password. There's nothing inherently wrong with providing your user the ability to run all commands with sudo, but many don't like it. I doubt we'll ever see Slackware set up with a user having the ability to run all commands with sudo. It will be something that each "administrator" (you know... you, in this case ) will need to decide for themselves.
If you need to run a GUI program as root, there's kdesu (included with a full stock install) or gksu (included on SBo). This works better than using su or sudo because it will set some of the environment variables properly and can prevent clobbering your home directories' permissions (if you happen to run firefox using su or sudo, it will still use your regular user's firefox profile, and it will change ownership of several key files, which will break firefox when ran as your normal user again).
So, to break things down. Running everything as root is bad from a security standpoint and goes directly against PLP. The goal is to only run things as root when you need to. To do that, you can run su, sudo (if it's set up properly), or kdesu (gksu). Slackware and Linux are all about customization. You should be able to tailor the system to your needs. If that "need" is for you to run everything as root and go against PLP, then that's your choice. But since running everything as root is not recommended by pretty much everyone, you might not see many people willing to help you troubleshoot problems when doing so (just like the caja developers did). Linux will provide you the gun and the bullets. It will warn you to not shoot yourself in the foot and to keep it pointed downrange, but you're certainly still able to shoot yourself in the foot, no matter how many warnings/recommendations are provided
Hi there, I'm transitioning my sbopkg setup from 14.2 to -current (about time, since I run -current).
I have some questions:
1. I know that SBo usually releases a changelog on Saturday each week. When are these changes applied to Ponce's repository? (i.e., how many days later?)
2. After swithching repo branches from 14.2 to current, I have zero updates. How can I convert all my SBo packages to SBo-git in an automatic manner?
Hi there, I'm transitioning my sbopkg setup from 14.2 to -current (about time, since I run -current).
I have some questions:
1. I know that SBo usually releases a changelog on Saturday each week. When are these changes applied to Ponce's repository? (i.e., how many days later?)
usually a few hours later, because of the different timezones: when Willy is merging all the stuff and having breakfast in Indonesia on saturday morning here in Italy we are still around one in the night.
if I'm out for the weekend a few days later
Quote:
2. After swithching repo branches from 14.2 to current, I have zero updates. How can I convert all my SBo packages to SBo-git in an automatic manner?
sorry, I haven't understood these last two things...
are you using some automated tool with the repository? in the first post, for example, there is a link with some hints for using it with sbopkg...
As for #2, I switched repos, from 14.2 to current. That also meant that I switched tags, from SBo to SBo-git. After switching repos and syncing again, and after going to "Updates" in the menu, it just says "no packages found - It appears that you have no SBo-git packages installed.".
I would like to replace all my SBo packages by SBo-git ones.
As for #2, I switched repos, from 14.2 to current. That also meant that I switched tags, from SBo to SBo-git. After switching repos and syncing again, and after going to "Updates" in the menu, it just says "no packages found - It appears that you have no SBo-git packages installed.".
I would like to replace all my SBo packages by SBo-git ones.
you are not telling it, but I suppose you are using sbopkg via the gui, right?
regarding switching repositories sbopkg uses the informations is /etc/sbopkg/repos.d: there the file with the data of the official SBo repository has the tag "_SBo" set for the 14.2 repository
Code:
# Repo Branch Description Tag Tool Link CheckGPG
SBo 14.2 "SBo repository for Slackware 14.2" _SBo rsync slackbuilds.org::slackbuilds/14.2 GPG
while it uses the tag "ponce" for the current branch of SBo-git
Code:
# Repo Branch Description Tag Tool Link CheckGPG
SBo-git current "UNSUPPORTED SBo git repository for -current" ponce git git://github.com/Ponce/slackbuilds.git@current ""
if you substitute in this second file the string "ponce" with "_SBo" like this
Code:
# Repo Branch Description Tag Tool Link CheckGPG
SBo-git current "UNSUPPORTED SBo git repository for -current" _SBo git git://github.com/Ponce/slackbuilds.git@current ""
sbopkg should identify the installed packages as upgradeable with the one of the repository.
note that upgrading your third party packages with whatever has new/different versions if you switch from stable to current usually is not enough: current has different libraries from stable, so if you have built a package on stable and it links to the stable libraries, when you upgrade from stable to current it will link to libraries that won't be on the system anymore and if in the new SBo-git repository the version is the same you won't rebuild it and it won't work.
so, long story short, if you upgrade from stable to current, if you want to be sure that everything will work after the upgrade, rebuild *all* your third party packages using the new repository, not just the changed ones.
P.S. don't forget to delete the repository totally and resync it at every update (more or less once a week), like explained in the link in the first post: the current branch gets rebased so this is the easiest way to sync it correctly.
It just built on both 32 and 64 for me in a VM.
EDIT: The VMs were lacking the latest batch of updates to -current. I don't think those will make a difference, but I'm updating and will do a rebuild to be sure.
Last edited by rworkman; 03-10-2017 at 02:22 PM.
Reason: Behind one update cycle; retesting
@sombragris, I suspect your perl installation is broken. Try removing and/or reinstalling any third party perl modules, make sure to look in /usr/local/ too.
@sombragris, I suspect your perl installation is broken. Try removing and/or reinstalling any third party perl modules, make sure to look in /usr/local/ too.
That was exactly the issue. After recompiling perl-libintl from SBo I was able to build it normally. Thanks orbea!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.