LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-22-2020, 12:28 PM   #1
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 900

Rep: Reputation: 153Reputation: 153
How to know when to rebuild own packages


Last week Pat updated glibmm.

Whilst rebuilding Inkscape, because of the recent upgrade to python3, I discovered that inkscape is dependent on glibmm. If the rebuild hadn't failed I would have never have known.

How do people, who build from SlackBuilds, know that they should rebuild certain packages when Pat upgrades a package in current/stable. I don't think any slackbuilds from SBO include in their requirements the packages that Pat supports.

Slackbuilds inkscape.info file has no mention of glibmm in it's requirements

Quote:
PRGNAM="inkscape"
VERSION="20191115_a4ee55b"
HOMEPAGE="http://www.inkscape.org/"
DOWNLOAD="http://ponce.cc/slackware/sources/repo/inkscape-20191115_a4ee55b.tar.xz"
MD5SUM="0421027cbfdd89497b38ba1ce87a01b9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="GraphicsMagick gdl double-conversion lxml numpy potrace"
MAINTAINER="Fernando Lopez Jr."
EMAIL="fernando.lopezjr@gmail.com"
 
Old 03-22-2020, 01:07 PM   #2
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
SBo doesn't list packages that are already included in Slackware, and one more note, it's designed to be tested against -stable release, which is 14.2 at this moment.
 
Old 03-22-2020, 01:14 PM   #3
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 765

Rep: Reputation: 864Reputation: 864Reputation: 864Reputation: 864Reputation: 864Reputation: 864Reputation: 864
In general its less of an issue when running the stable version, and more common when running current, which is why running current is "at your own risk".

I try to use minimal third party packages on my slackware-current systems for this reason, and usually I find that somethings broken when I try to run it after updating and my terminal spews errors about missing libraries. You can also look at the changelog for version bumps to major shared libraries before updating to get an idea of what could break.

If you want to be a little more pro-active you could use a script to check for missing libraries. I had one bookmarked that one of the forum members here shared (hope you don't mine me linking this Orbea): https://notabug.org/orbea/SlackBuild...ipts/brokenpkg
 
1 members found this post helpful.
Old 03-22-2020, 01:14 PM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
This can give a clue:
Code:
#!/bin/sh
# Save me as deps_not_found.sh and run me as root
# This does only a very basic scanning. Caveats:
# 1. this finds only the missing binary files, not the missing python
#    perl, etc. scripts
# 2. There is not guarantee that for instance a header file includes the
#    needed definitions.
for i in $(find /usr/lib{,64} -name "*.so" -type f -executable) \
$(find /bin /usr/bin /sbin/ /usr/sbin -type f -executable); do
    if [ ! "$(ldd $i|grep found)" = "" ]; then
        echo $i
        ldd $i|grep found
    fi
done
 
1 members found this post helpful.
Old 03-22-2020, 02:35 PM   #5
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
Quote:
SBo doesn't list packages that are already included in Slackware, and one more note, it's designed to be tested against -stable release, which is 14.2 at this moment.
While the long running argument for third party packages is a presumption of a full stock installation, listing those presumptive dependencies would be helpful. Informative and educational too.
 
Old 03-22-2020, 07:20 PM   #6
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
That's a good educational way of asking people to do full installation on Slackware
 
Old 03-22-2020, 08:19 PM   #7
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
slackyd -d

https://slackbuilds.org/repository/1...search=slackyd
 
2 members found this post helpful.
Old 03-23-2020, 03:14 AM   #8
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 900

Original Poster
Rep: Reputation: 153Reputation: 153
Thanks for all the replies. All useful information.

For all my day to day work I use 14.2.

I do some testing on current, mainly to see if LibreOffice, mariadb and gnucash still work. There are always regressions that creep in - that's life. I'd rather find these regressions now. Anything else I find - like inkscape or like kde plasma a week or so a go is a bonus. I'm not finding any problems with Pat's or AlienBob's integration.

Testing is good. Hopefully, it will put me in a good place for the next release of Slackware.

How I mitigate on Current is that every so often I completely rebuild all the packages I've installed from Slackbuilds.org and a few others as well. This is not so much an issue on 14.2 as the churn rate is not very high and there are not many packages that depend on Thunderbird or Firefox!

I shall give the scripts a few trial runs, I expect I shall adapt them to my specific needs.

Thanks
Alex
 
Old 03-23-2020, 07:33 AM   #9
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Personally, I just wait until something breaks.
 
Old 03-23-2020, 11:12 AM   #10
bormant
Member
 
Registered: Jan 2008
Posts: 426

Rep: Reputation: 240Reputation: 240Reputation: 240
Another script:
chk3ppdeps
 
  


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
What I know, looking for what I don't know I don't know Dontpanic Linux - Newbie 18 07-23-2019 07:37 PM
LXer: Another root hole in OS X. We know it, you know it, the bad people know it, and no patch exis LXer Syndicated Linux News 0 08-18-2015 08:42 PM
LXer: Another root hole in OS X. We know it, you know it, the bad people know it – and no patch ex LXer Syndicated Linux News 0 08-18-2015 08:12 PM
[SOLVED] How to rebuild the corrupted rebuild RPM database pantdk Linux - Server 3 02-19-2015 01:01 AM
The more I know the less I know I know sjb LinuxQuestions.org Member Intro 1 02-11-2008 12:50 PM

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

All times are GMT -5. The time now is 03:04 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