LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 06-15-2009, 05:10 AM   #1
rvdboom
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 169

Rep: Reputation: 19
rpm broken in -current and -current64?


Hi!

I use rpm2tgz to transform some rpm packages to tgz format, for instance OpenOffice or the Epson Aculaser C1100 driver (well I'd like to for the later).
Unfortunately, I found that rpm is currently broken in -current and -current64, missing a libnss3 lib, which I found nowhere except in firefox and openoffice.
Does anyone know in what package libnss3 should be found?

Obviously, the rpm-4.4.2.3 package from slack-12.2 didn't have such dependency.

Last edited by rvdboom; 06-15-2009 at 05:14 AM.
 
Old 06-15-2009, 05:38 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,184

Rep: Reputation: Disabled
That lib is part of seamonkey. Try installing that

Eric
 
Old 06-15-2009, 06:28 AM   #3
rvdboom
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 169

Original Poster
Rep: Reputation: 19
Mmm, all right, I do install Firefox (which also has this lib) but indeed I uninstall seamonkey, which I don't use at all, dont understand the point of this stuff anyway.
OK, I'll got ahead and install it. That's really a weird dependency for rpm. I tried to compile the Slackbuild without it but it fails in the configure script and I could not find any flag disabling this requirement.
Thanks for the tip!
 
Old 06-15-2009, 08:23 AM   #4
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,746

Rep: Reputation: 458Reputation: 458Reputation: 458Reputation: 458Reputation: 458
Maybe the Slackware team should consider using rpm-5.1.6 as it seems to not have this dependency. Or maybe simply sticking with the older version as used in Slackware-12.2. Since rpm is not critical for Slackware, either solution might offer the desired functionality. rpm-5 has an extra dependency on beecrypt, but including that would certainly make more sense than having an rpm version that depends on having seamonkey installed. Or maybe libnss shoudl be split out into a separate packages as it used to be (IIRC).
 
Old 06-15-2009, 11:21 AM   #5
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.0
Posts: 3,472

Rep: Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523
Quote:
for instance OpenOffice
Perhaps an easier option is to use the Slackbuild script at slackbuilds.org?

Quote:
That lib is part of seamonkey.
I have noticed for a long time that several things break when Seamonkey is not installed. This is not intuitively obvious to most users. People who use Firefox, Opera, or Konqueror might be inclined to remove or not install that package.

Perhaps the Slackware installation docs, CHANGES_AND_HINTS.TXT, UPGRADE.TXT, whatever, could contain a noticeable CAUTION that removing or not installing that package might break the function of other packages. Perhaps too, list the specific packages that depend upon the Seamonkey package. Just an idea.
 
Old 06-16-2009, 06:06 AM   #6
rvdboom
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 169

Original Poster
Rep: Reputation: 19
Quote:
Perhaps an easier option is to use the Slackbuild script at slackbuilds.org?
Well, honestly, I use Slackbuilds for compiles that last about 20 minutes, but in that case, I find much easier to convert 20 or so rpm to tgz files, which is scriptable and run fine afterwards, than going through a 2-3 hours compile (never tried but heard that it took about that amount of time on a not too old system). :-)
 
Old 06-16-2009, 09:54 AM   #7
ppr:kut
Member
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 353

Rep: Reputation: 89
the slackbuild does exactly that. It does *NOT* build from source, just repackage the binary distribution.
 
Old 06-16-2009, 10:05 AM   #8
rvdboom
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 169

Original Poster
Rep: Reputation: 19
Then I suppose it should fail right now as it probably use rpm too, doesn't it?
Anyway that's a good thing to know, thanks!
 
Old 06-16-2009, 09:59 PM   #9
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,906

Rep: Reputation: Disabled
I think the solution in the latest -current tree should make everyone happy.
 
Old 06-16-2009, 10:05 PM   #10
vinegaroon
Member
 
Registered: Sep 2008
Posts: 99

Rep: Reputation: 21
Quote:
Originally Posted by rworkman View Post
I think the solution in the latest -current tree should make everyone happy.
Ah Very nice.
 
Old 06-16-2009, 10:28 PM   #11
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,906

Rep: Reputation: Disabled
Quote:
Originally Posted by gnashley View Post
Maybe the Slackware team should consider using rpm-5.1.6 as it seems to not have this dependency.
rpm5 isn't the official rpm, and the rpm-based "big distributions" don't use it - they use the stuff from rpm.org.

Quote:
Or maybe simply sticking with the older version as used in Slackware-12.2. Since rpm is not critical for Slackware, either solution might offer the desired functionality.
rpm-4.4.whatever won't build with xz support, and while there are patches from Mandriva and a few others, none of them work without extra hackery. Being able to inspect rpm's created on newer OpenSuSE (which uses lzma to compress them) requires xz support in rpm. [1]

Quote:
maybe libnss shoudl be split out into a separate packages as it used to be (IIRC).
mozilla-nss was shipped in 11.0/patches/ for gaim due to some breakage in seamonkey's nss, but otherwise, it's never been part of Slackware. Either way, you had the right idea :-)

[1] Well, it is *possible* to inspect an lzma-compressed rpm on 12.2 (assuming you have either the old lzma-utils or xz installed):
Code:
# Extract the contents of file.rpm to the current directory
rpm2cpio < file.rpm | lzma -dc | cpio -imdv
 
Old 06-17-2009, 05:05 AM   #12
rvdboom
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 169

Original Poster
Rep: Reputation: 19
Thanks a lot! That's great!
 
  


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
Nvidia Linux-x86_64-185.18.14 driver -current64 manwichmakesameal Slackware 6 06-15-2009 11:39 PM
nfs and portmap of 5/17 broken -current TNWestTex Slackware 1 05-21-2007 05:06 PM
libxslt in -current broken? Slim Backwater Slackware 8 06-23-2006 11:14 PM
slackware current broken? sweetnsourbkr Slackware 8 03-11-2006 06:26 AM
wget broken after new packages in -current sh1ft Slackware 3 12-22-2004 11:50 PM


All times are GMT -5. The time now is 07:44 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration