Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 39643

Summary: gaim-encryption 2.21 ebuild fails and weird errors once emerged
Product: Gentoo Linux Reporter: razamatan
Component: New packagesAssignee: Gaim Bugs Crew <gaim-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: http://forums.gentoo.org/viewtopic.php?p=814087#814087
Whiteboard:
Package list:
Runtime testing required: ---

Description razamatan 2004-01-28 01:39:21 UTC
I run mozilla-firebird, have nspr installed, and have my mozilla use flag set.  When I went ahead and tried emerging gaim-encryption-2.21, the installation messed up during the configure stage b/c it relied on pkg-config to get the proper includes and such for the mozilla nspr package...

to fix this problem, i used:

USE="-mozilla" emerge gaim-encryption

and it emerges...

however... when i try to run the plugin, i get this:

Error opening file: No such file or directory
Error opening file: No such file or directory

and then gaim dies gracefully (no debug msgs besides this)...

Reproducible: Always
Steps to Reproduce:
1. just have nspr and mozilla-firebird installed
2. have mozilla use flag set
3. emerge gaim-encryption
4. try running the gaim encryption plugin


Expected Results:  
things should work...
Comment 1 razamatan 2004-01-28 02:03:23 UTC
here's the output when i run gaim w/ debugging turned on....

gaim-encryption: Checking for old prefs file (/home/jyi/.gaim/encrypt.prefs)...
gaim-encryption: plugin_load called
gaim-encryption: Couldn't open file:/home/jyi/.gaim/id
Error opening file: No such file or directory
gaim-encryption: Couldn't open file:/home/jyi/.gaim/id.priv
Error opening file: No such file or directory
gaim-encryption: find key by name: razamatan
gaim-encryption: find key by name: razamatan
gaim-encryption: Could not generate key.  NSS Error: -8128
Comment 2 razamatan 2004-01-28 03:03:06 UTC
i recompiled nss, nspr, and gaim-encryption to no avail...

as a stab in the dark, i looked at gaim itself... it looked like i might have to emerge it /w USE="-mozilla" also, so i went ahead and did it...

lo and behold, i got gaim-encryption working...

so final result:

you need to USE="-mozilla" for gaim AND gaim-encryption when you run a "pure" mozilla-firebird system... sigh...

i'll leave it to you guys to resolve this in the ebuilds....
Comment 3 Don Seiler (RETIRED) gentoo-dev 2004-01-28 05:48:52 UTC
If you have USE="mozilla" then mozilla should be installed as a dependency of gaim.  Are you indicating that this was not done for you?
Comment 4 Don Seiler (RETIRED) gentoo-dev 2004-01-28 18:40:40 UTC
User indicated in forums that he had, in fact, previously injected mozilla into portage, so of course gaim thought it was already installed.

I don't think there is any way I can get around it other than to say if you don't use mozilla, have USE="-mozilla" in your make.conf anyway.