Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72531 - NSPR lib change breaks gaim (MSN) and gaim-encryption
Summary: NSPR lib change breaks gaim (MSN) and gaim-encryption
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gaim Bugs Crew
URL:
Whiteboard:
Keywords:
: 72602 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-26 01:50 UTC by sauvage
Modified: 2004-12-02 05:35 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
After emerging old gaim 1.0.2 with old encryption 2.32 (bug_gaim.txt,229 bytes, text/plain)
2004-11-29 08:16 UTC, sauvage
Details
fully working ebuild for nspr 4.4.1-r2 and nss support (gaim-encryption-2.32-r1.ebuild,1.05 KB, text/plain)
2004-11-29 17:53 UTC, Jory A. Pratt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sauvage 2004-11-26 01:50:24 UTC
--with-nspr-libs should point to correct nspr lib directory.

update gaim-encryption-2.32.ebuild line 26:
- myconf="${myconf} --with-nspr-libs=${NSS_LIB}"
+ myconf="${myconf} --with-nspr-libs=${NSS_LIB}/nspr"

Reproducible: Always
Steps to Reproduce:
1.emerge gaim
2.emerge gaim-encryption
3.

Actual Results:  
checking again for Mozilla nspr4 includes in /usr/include/nspr... yes
checking for Mozilla nspr libraries... no
checking for Mozilla nspr4 libraries... no
configure: error: Error trying to link against the NSPR libraries.
                Make sure to specify --with-nspr-libs="dir"
                where "dir" is the location of the NSPR library file,
                probably libnspr4.so or libnspr4.a

!!! ERROR: x11-plugins/gaim-encryption-2.32 failed.
!!! Function econf, Line 449, Exitcode 1
!!! econf failed



After emerged gaim-1.0.3-r1 it is necessary to rebuild plugins as
gaim-encryption but last one build is corrupted.
Comment 1 Christoph Safferling 2004-11-26 05:36:48 UTC
I second this, same thing on amd64. Changing the ebuild in the above mentioned way resolved my problem as well. 
Comment 2 Joe McCann (RETIRED) gentoo-dev 2004-11-26 11:42:45 UTC
please don't assign bugs, let bug wranglers do it.
Comment 3 Don Seiler (RETIRED) gentoo-dev 2004-11-26 17:59:52 UTC
Yeah looks like dev-libs/nspr-4.4.1-r2 changed the install location for nspr.  Making a new revision for gaim and gaim-encryption to address this.
Comment 4 Don Seiler (RETIRED) gentoo-dev 2004-11-26 20:18:05 UTC
CC'ing the main culprits.

liquidx I'm really going to need nss-3.9.2-r2 (and therefore nspr-4.4.1-r2) stabilized across the board ASAP, or you could define nss-3.9.2 to depend on nspr < 4.4.1-r2 or whatever is stable and works so my stable packages work once again.

I'm getting breakage reports across the board.  Nevertheless I want to take gaim-1.0.3-r1 stable and would need your packages to come along.

Comment 5 Don Seiler (RETIRED) gentoo-dev 2004-11-27 10:37:26 UTC
*** Bug 72602 has been marked as a duplicate of this bug. ***
Comment 6 Peter `MathFox' Roozemaal 2004-11-27 13:24:45 UTC
Now my emerge --updates are flip-flopping between nspr-4.4.1 and nspr-4.4.1-r2
I wonder why the upgrade is taken...
Comment 7 Cletus Lichte 2004-11-29 07:28:56 UTC
Now I can't log into nessus.  I'm getting an ssl error.  Is this an nspr error, or do I need to file a new bug report?
Comment 8 Don Seiler (RETIRED) gentoo-dev 2004-11-29 07:40:03 UTC
I have no idea what 'nessus' is.
Comment 9 sauvage 2004-11-29 08:16:18 UTC
Created attachment 44930 [details]
After emerging old gaim 1.0.2 with old encryption 2.32
Comment 10 Don Seiler (RETIRED) gentoo-dev 2004-11-29 11:31:23 UTC
If you want to use gaim-1.0.2 (I recommend 1.0.3-r2), you will need to downgrade your NSPR and NSS libs.  I'm going to look into which are the right version to downgrade to and add that as DEPEND in 1.0.2-r1.
Comment 11 Don Seiler (RETIRED) gentoo-dev 2004-11-29 12:08:04 UTC
I was going to push to stabilize 1.0.3-r2 but gaim-1.1.0 will be released at the end of this week and I'll hold off for that.  I still need NSPR and NSS to go stable though.
Comment 12 Jory A. Pratt 2004-11-29 17:53:10 UTC
Created attachment 44967 [details]
fully working ebuild for nspr 4.4.1-r2 and nss support

I have tested this and works perfectly once again so no need to downgrade your
nspr and nss!!!
Comment 13 Rainer Koschnick 2004-11-29 19:21:11 UTC
The fixed ebuild doesn't have SSL support as it seems, getting an error message that MSN needs SSL support :/
Comment 14 Jory A. Pratt 2004-11-30 14:12:22 UTC
that is only the gaim encryption ebuild I will post the new gaim ebuild in just a bit sorry forgot to post it sooner.
Comment 15 Don Seiler (RETIRED) gentoo-dev 2004-11-30 14:21:42 UTC
People.  Working builds are already in ~x86.

Your gaim-encryption ebuild does not specify dependencies, and with the new NSS/NSPR you don't need to specify the paths to the libs/includes.
Comment 16 sauvage 2004-12-01 01:49:09 UTC
Yes it works, my gaimp is repaired !
Comment 17 Rainer Koschnick 2004-12-02 05:35:47 UTC
I don't know, but somehow... I didn't get any updated ebuild files.  The ones from 29th of Nov give me this:

checking for mozilla-nss... Package mozilla-nss was not found in the pkg-config search path.
Perhaps you should add the directory containing `mozilla-nss.pc'
to the PKG_CONFIG_PATH environment variable
No package 'mozilla-nss' found
checking for Mozilla nspr4 includes... no
configure: error: You need to specify --with-nspr-includes="dir"
                     (where "dir" is the location of the NSPR headers like prio.h)

I do have firefox installed.