LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   rpm broken in -current and -current64? (http://www.linuxquestions.org/questions/slackware-14/rpm-broken-in-current-and-current64-733000/)

rvdboom 06-15-2009 06:10 AM

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.

Alien Bob 06-15-2009 06:38 AM

That lib is part of seamonkey. Try installing that

Eric

rvdboom 06-15-2009 07:28 AM

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!

gnashley 06-15-2009 09:23 AM

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).

Woodsman 06-15-2009 12:21 PM

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.

rvdboom 06-16-2009 07:06 AM

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). :-)

ppr:kut 06-16-2009 10:54 AM

the slackbuild does exactly that. It does *NOT* build from source, just repackage the binary distribution.

rvdboom 06-16-2009 11:05 AM

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!

rworkman 06-16-2009 10:59 PM

I think the solution in the latest -current tree should make everyone happy. :)

vinegaroon 06-16-2009 11:05 PM

Quote:

Originally Posted by rworkman (Post 3576564)
I think the solution in the latest -current tree should make everyone happy. :)

Ah :) Very nice.

rworkman 06-16-2009 11:28 PM

Quote:

Originally Posted by gnashley (Post 3574408)
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


rvdboom 06-17-2009 06:05 AM

Thanks a lot! That's great!


All times are GMT -5. The time now is 08:38 PM.