Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67488 - gaim-encryption fails to compile
Summary: gaim-encryption fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gaim Bugs Crew
URL:
Whiteboard:
Keywords:
Depends on: 67124
Blocks:
  Show dependency tree
 
Reported: 2004-10-13 17:22 UTC by Jory A. Pratt
Modified: 2004-10-20 06:33 UTC (History)
7 users (show)

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


Attachments
emerge =x11-plugins/gaim-encryption-2.31 (emerge_gaim-encryption,24.08 KB, text/plain)
2004-10-13 22:06 UTC, Octavio Ruiz (Ta^3)
Details
gaim-1.0.1.ebuild (gaim-1.0.1.ebuild,3.51 KB, text/plain)
2004-10-17 13:15 UTC, Octavio Ruiz (Ta^3)
Details
gaim-encryption-2.32.ebuild (gaim-encryption-2.32.ebuild,1.53 KB, text/plain)
2004-10-17 13:15 UTC, Octavio Ruiz (Ta^3)
Details
qpkg -nc -v -l nspr (qpkg_l_nspr,9.90 KB, text/plain)
2004-10-17 13:15 UTC, Octavio Ruiz (Ta^3)
Details
qpkg -nc -v -l nss (qpkg_l_nss,99.53 KB, text/plain)
2004-10-17 13:16 UTC, Octavio Ruiz (Ta^3)
Details
config.log from `ebuild /usr/portage/net-im/gaim/gaim-1.0.0.ebuild compile` (config.log,190.79 KB, text/plain)
2004-10-18 20:05 UTC, Scott Reese
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jory A. Pratt 2004-10-13 17:22:07 UTC
when trying to emerge gaim-encryption it fails with dereferencing pointer to incomplete type

Reproducible: Always
Steps to Reproduce:
1.emerge gaim on a clean install
2.
3.

Actual Results:  
 gcc -DHAVE_CONFIG_H -I. -I. -I. -DLOCALEDIR=\"/usr/share/locale\"
-DLIBDIR=\"/usr/lib/gaim/\" -DDATADIR=\"/usr/share\" -I/usr/include/gaim
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DXTHREADS -D_REENTRANT
-DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -Wall -O2 -march=athlon-xp -fomit-frame-pointer
-ftracer -ffast-math -fforce-addr -fprefetch-loop-arrays -falign-functions=64
-momit-leaf-frame-pointer -mmmx -msse -m3dnow -finline-limit=500 -pipe -c
ge_blist.c -o ge_blist.o >/dev/null 2>&1
In file included from cryptproto.h:24,
                 from config_ui.c:31:
rsa_nss.h:33:19: keyhi.h: No such file or directory
In file included from cryptproto.h:24,
                 from config_ui.c:31:
rsa_nss.h:36: error: parse error before "SECKEYPrivateKey"
rsa_nss.h:36: warning: no semicolon at end of struct or union
rsa_nss.h:37: warning: type defaults to `int' in declaration of `pub'
rsa_nss.h:37: warning: data definition has no type or storage class
rsa_nss.h:39: error: parse error before '}' token
rsa_nss.h:39: warning: type defaults to `int' in declaration of `RSA_NSS_KEY'
rsa_nss.h:39: warning: data definition has no type or storage class
In file included from config_ui.c:31:
cryptproto.h:32: error: parse error before "RSA_NSS_KEY"
cryptproto.h:32: warning: no semicolon at end of struct or union
cryptproto.h:33: warning: type defaults to `int' in declaration of
`proto_union'cryptproto.h:33: warning: data definition has no type or storage class
In file included from config_ui.c:32:
keys.h:35: error: parse error before "proto_union"
keys.h:35: warning: no semicolon at end of struct or union
keys.h:43: error: parse error before '}' token
config_ui.c: In function `config_do_regen':
config_ui.c:113: error: dereferencing pointer to incomplete type
config_ui.c: In function `GE_get_config_frame':
config_ui.c:331: error: dereferencing pointer to incomplete type
config_ui.c:337: error: dereferencing pointer to incomplete type
config_ui.c:339: error: dereferencing pointer to incomplete type
config_ui.c:348: error: dereferencing pointer to incomplete type
config_ui.c:354: error: dereferencing pointer to incomplete type
config_ui.c:356: error: dereferencing pointer to incomplete type
make[2]: *** [config_ui.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/portage/gaim-encryption-2.31/work/gaim-encryption-2.31'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gaim-encryption-2.31/work/gaim-encryption-2.31'
make: *** [all-recursive-am] Error 2
make  all-recursive
make[1]: Entering directory
`/var/tmp/portage/gaim-encryption-2.31/work/gaim-encryption-2.31'
Making all in po
make[2]: Entering directory
`/var/tmp/portage/gaim-encryption-2.31/work/gaim-encryption-2.31/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/var/tmp/portage/gaim-encryption-2.31/work/gaim-encryption-2.31/po'
Making all in intl
make[2]: Entering directory
`/var/tmp/portage/gaim-encryption-2.31/work/gaim-encryption-2.31/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/var/tmp/portage/gaim-encryption-2.31/work/gaim-encryption-2.31/intl'
make[2]: Entering directory
`/var/tmp/portage/gaim-encryption-2.31/work/gaim-encryption-2.31'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. 
-DLOCALEDIR=\"/usr/share/locale\"     -DLIBDIR=\"/usr/lib/gaim/\"            
-DDATADIR=\"/usr/share\"                                       
-I/usr/include/gaim -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include        
                 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include    -Wall -O2 -march=athlon-xp -fomit-frame-pointer
-ftracer -ffast-math -fforce-addr -fprefetch-loop-arrays -falign-functions=64
-momit-leaf-frame-pointer -mmmx -msse -m3dnow -finline-limit=500 -pipe -c
config_ui.c
 gcc -DHAVE_CONFIG_H -I. -I. -I. -DLOCALEDIR=\"/usr/share/locale\"
-DLIBDIR=\"/usr/lib/gaim/\" -DDATADIR=\"/usr/share\" -I/usr/include/gaim
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DXTHREADS -D_REENTRANT
-DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -Wall -O2 -march=athlon-xp -fomit-frame-pointer
-ftracer -ffast-math -fforce-addr -fprefetch-loop-arrays -falign-functions=64
-momit-leaf-frame-pointer -mmmx -msse -m3dnow -finline-limit=500 -pipe -c
config_ui.c  -fPIC -DPIC -o .libs/config_ui.o
In file included from cryptproto.h:24,
                 from config_ui.c:31:
rsa_nss.h:33:19: keyhi.h: No such file or directory
In file included from cryptproto.h:24,
                 from config_ui.c:31:
rsa_nss.h:36: error: parse error before "SECKEYPrivateKey"
rsa_nss.h:36: warning: no semicolon at end of struct or union
rsa_nss.h:37: warning: type defaults to `int' in declaration of `pub'
rsa_nss.h:37: warning: data definition has no type or storage class
rsa_nss.h:39: error: parse error before '}' token
rsa_nss.h:39: warning: type defaults to `int' in declaration of `RSA_NSS_KEY'
rsa_nss.h:39: warning: data definition has no type or storage class
In file included from config_ui.c:31:
cryptproto.h:32: error: parse error before "RSA_NSS_KEY"
cryptproto.h:32: warning: no semicolon at end of struct or union
cryptproto.h:33: warning: type defaults to `int' in declaration of
`proto_union'cryptproto.h:33: warning: data definition has no type or storage class
In file included from config_ui.c:32:
keys.h:35: error: parse error before "proto_union"
keys.h:35: warning: no semicolon at end of struct or union
keys.h:43: error: parse error before '}' token
config_ui.c: In function `config_do_regen':
config_ui.c:113: error: dereferencing pointer to incomplete type
config_ui.c: In function `GE_get_config_frame':
config_ui.c:331: error: dereferencing pointer to incomplete type
config_ui.c:337: error: dereferencing pointer to incomplete type
config_ui.c:339: error: dereferencing pointer to incomplete type
config_ui.c:348: error: dereferencing pointer to incomplete type
config_ui.c:354: error: dereferencing pointer to incomplete type
config_ui.c:356: error: dereferencing pointer to incomplete type
make[2]: *** [config_ui.lo] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gaim-encryption-2.31/work/gaim-encryption-2.31'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gaim-encryption-2.31/work/gaim-encryption-2.31'
make: *** [all-recursive-am] Error 2




Portage 2.0.51_rc9 (default-linux/x86/2004.2, gcc-3.4.2,
glibc-2.3.4.20041006-r0, 2.6.8-gentoo-r8 i686)
=================================================================
System uname: 2.6.8-gentoo-r8 i686 AMD Athlon(TM) XP2200+
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -ftracer -ffast-math
-fforce-addr -fprefetch-loop-arrays -falign-functions=64
-momit-leaf-frame-pointer -mmmx -msse -m3dnow -finline-limit=500 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -ftracer -ffast-math
-fforce-addr -fprefetch-loop-arrays -falign-functions=64
-momit-leaf-frame-pointer -mmmx -msse -m3dnow -finline-limit=500 -pipe
-fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo
http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm avi berkdb bitmap-fonts crypt cups encode esd f77 fam
foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imlib jpeg ldap libg++ libwww
mad mikmod motif mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png
python quicktime readline sdl slang spell ssl svga tcpd tiff truetype x86 xml2
xmms xprint xv zlib"
Comment 1 Octavio Ruiz (Ta^3) 2004-10-13 22:06:58 UTC
Created attachment 41782 [details]
emerge =x11-plugins/gaim-encryption-2.31

Same problem here, another arch with same problems.. also I tried with 
CFLAGS="-g -pipe", i have all the headers installed (nss.h, et all).

The important part -IMHO- is in the gcc line.. where is the  -I/usr/include/nss
??

Portage 2.0.51_rc9 (default-linux/amd64/2004.3, gcc-3.4.2,
glibc-2.3.4.20040808-r1, 2.6.8-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.8-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.5.3
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon64 -fstack-protector -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -fstack-protector -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs candy ccache distlocks sandbox sfperms strict userpriv
usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/breakmygentoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 3dnowex X Xaw3d acpi acpi4linux aim alsa apache2 berkdb bitmap-fonts
cdparanoia crypt dga dillo directfb divx4linux dvd dvdr dvdread emacs esd
ethereal f77 fam fbcon gdbm gif gimpprint gpm gtk gtk2 icq imagemagick imap
imlib ipv6 jabber java javascript jp2 jpeg justify leim lzw lzw-tiff maildir
mng mozdevelop moznoirc moznomail mozsvg mpeg msn multilib ncurses net network
nls noreiserfs nptl nvidia offensive oggvorbis opengl oss pam pcmcia pcre perl
pg-intdatetime pg-vacuumdelay png pnp python readline rtc samba sld ssl svg
tcpd tiff truetype trusted unicode usagi usb wmf wsconvert xml2 xmms xpm xprint
xrandr xv xvid yahoo zlib video_cards_nvidia"
Comment 2 Michel van Kessel 2004-10-15 06:07:12 UTC
Same error overhere!

here is my emerge --info output

Portage 2.0.51_rc9 (default-linux/amd64/2004.3, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.8-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.8-gentoo-r9 x86_64 Mobile AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer -frename-registers"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer -frename-registers"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acl acpi alsa amd64 apache2 apm arts avi berkdb bitmap-fonts cdr cdrw crypt divx4linux doc dvd dvdr encode esd ethereal exif f77 fam flac foomaticdb ftp gd gdbm gif gnutls gphoto2 gpm gtk gtk2 hal icq imagemagick imlib ipv6 java joystick jp2 jpeg kde libg++ libwww lzw lzw-tiff maildir mailwrapper mbox mikmod mime motif mozilla mpeg msn multilib mysql mysqli ncurses nls nogcj nptl odbc oggvorbis opengl oss pam pdflib perl php png python qt quicktime readline samba sdl slang sockets spell spl ssl tcltk tcpd tiff truetype usb userlocales vhosts xine xlmrpc xml xml2 xmms xpm xprint xrandr xsl xv xvid zlib"
Comment 3 Greg 2004-10-15 06:13:42 UTC
Same problem here. Maybe this is related to bug #67490 that reports gaim's failure to find the ssl libraries?
Comment 4 uriahheep 2004-10-15 06:53:23 UTC
indeed... happens for me too :-S and it has to be a change in the structure of one of gaim-encryption's dependencies imo since this ebuild hasn't been touched since july or august :)

you see, what happens is that it can't find the Mozilla NSS Libraries, which are indeed installed... and then it complains about not being able to find /usr/include/nss/keyhi.h, which exists... heh it even says:

"--with-nss-includes=/usr/include/nss --with-nspr-libs=/usr/lib --with-nss-libs=/usr/lib"

...so it knows where the libraries are.... something weird's up...

may i add that this bug is equally visible in gaim-encryption-cvs, so it's probably not a problem with gaim-encryption, especially since friends of mine have successfully compiled it, but more a problem with where files are placed in our systems... perhaps a symlink or something of the sort might be required, but it may be a bit bigger.... i'll keep looking into it!

--uriah
Comment 5 uriahheep 2004-10-15 07:53:01 UTC
Greg is right, this bug is indeed related to bug 67490, which seems to have a semi-remedy ;)

i recommend that you don't crack your head open over this gaim-encryption problem if you don't know exactly what gaim-encryption does or if you know that you don't need it :P

anyway, if you're having problems logging onto msn with gaim, please see bug 67490.

have a good day :)
uriahheep
Comment 6 Don Seiler (RETIRED) gentoo-dev 2004-10-16 16:09:32 UTC
I just compiled gaim-encryption-2.32 just fine.  I'm not on gcc-3.4 though.  Are you all using gcc-3.4?  I'd like to find a common thread amongst you.
Comment 7 Jory A. Pratt 2004-10-16 19:22:23 UTC
Rizzo this isnt a gcc issue it is a cascading profile issue from what I have seen I have a system running normal 2004.2 profile and everything compiles fine it has something to do with the way cascading profile sets up things.
Comment 8 William Segura 2004-10-16 22:10:20 UTC
I found a quick and dirty way to fix this. It's not pretty but seems to do the trick.

It seems something is up with the way configure is being initiated in the ebuild. I let the ebuild set everything up and then stopped the process. I then ran a regular configure with no params. The make completed with no problems. I then looked at the ebuild to see what configure params might be causing a problem. The ones I saw looked innocuous enough. I commented them out anyway and re-ran the ebuild. It worked. The configure script with no params was able to find the right paths to the include files. It's possible that additions in the ebuild are not needed anymore.


Code:

# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gaim-encryption/gaim-encryption-2.31.ebuild,v 1.7 2004/10/05 11:30:03 gmsoft Exp $

inherit flag-o-matic eutils debug

DESCRIPTION="GAIM Encryption PlugIn"
HOMEPAGE="http://gaim-encryption.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc sparc ~mips alpha hppa amd64 ~ia64"
IUSE=""

DEPEND=">=net-im/gaim-1.0.0
        dev-libs/nss"

src_compile() {
    local myconf

#   NSS_LIB=/usr/lib
#   NSS_INC=/usr/include
#   myconf="${myconf} --with-nspr-includes=${NSS_INC}/nspr"
#   myconf="${myconf} --with-nss-includes=${NSS_INC}/nss"
#   myconf="${myconf} --with-nspr-libs=${NSS_LIB}"
#   myconf="${myconf} --with-nss-libs=${NSS_LIB}"

    econf ${myconf} || die "Configuration failed"
    einfo "Replacing -Os CFLAG with -O2"
    replace-flags -Os -O2

    emake || emake -j1 || die "Make failed"
}

src_install() {
    einstall || die "Install failed"
    dodoc CHANGELOG INSTALL NOTES README TODO VERSION WISHLIST
} 
Comment 9 Sean Kennedy 2004-10-17 03:48:51 UTC
I'm using GCC 3.4.2 and having these problems.
Comment 10 Jory A. Pratt 2004-10-17 06:17:29 UTC
William this doesnt fix the problem, the problem lies in gaim failing to compile against the ssl libs until that is solved gaim encryption will fail.
Comment 11 Don Seiler (RETIRED) gentoo-dev 2004-10-17 08:24:11 UTC
Do you not have /usr/include/nspr and /usr/include/nss directories?
Comment 12 William Segura 2004-10-17 10:21:10 UTC
gaim-encryption is obviously compiled against the SSL libs if I can now connect to MSN and I wasn't able to before. My MSN account would not bring up an error in gaim saying that it needed SSL to connect. The configure script in the gaim-encryption tarball seems to find the nss/nspr stuff just fine without the addition of the stuff from the ebuild.
Comment 13 William Segura 2004-10-17 10:47:10 UTC
here is the output from ldd when I run it against the gaim-encryption library:

queeg gaim-encryption # ldd /usr/lib/gaim/encrypt.so
        linux-gate.so.1 =>  (0xffffe000)
        libnss3.so => /usr/lib/MozillaFirefox/libnss3.so (0x4003a000)
        libsmime3.so => /usr/lib/MozillaFirefox/libsmime3.so (0x4009c000)
        libssl3.so => /usr/lib/MozillaFirefox/libssl3.so (0x400bd000)
        libsoftokn3.so => /usr/lib/MozillaFirefox/libsoftokn3.so (0x400dc000)
        libplds4.so => /usr/lib/MozillaFirefox/libplds4.so (0x40142000)
        libplc4.so => /usr/lib/MozillaFirefox/libplc4.so (0x40145000)
        libnspr4.so => /usr/lib/MozillaFirefox/libnspr4.so (0x4014a000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x4017d000)
        libdl.so.2 => /lib/libdl.so.2 (0x401d1000)
        libc.so.6 => /lib/libc.so.6 (0x401d5000)
        /lib/ld-linux.so.2 (0x80000000)
Comment 14 Octavio Ruiz (Ta^3) 2004-10-17 13:14:30 UTC
> "The configure script in the gaim-encryption tarball seems to find
> the nss/nspr stuff just fine without the addition of the stuff from
> the ebuild."

For you works. But this is the particular problem for us in this bug (and in bug #67490), the configure scripts are failing to find nss/nspr anywhere.

Now, you are linking with /usr/lib/MozillaFirefox/ so if you make that modifications to the ebuild you must add to de RDEPEND the net-www/mozilla-firefox package, and we dont want to have a broswer dependency in a plugin! This is why dev-libs/nss and dev-libs/nspr exists for. Anyway thanks you I got an idea...

I will atach an ebuild that I made for testing, yes i CAN get gaim-encryption installed in two ways (see commented lines in the ebuild): 1) linking with mozilla-firefox nss/nspr 2) linking with dev-libs/{nss,nspr} but in both i have the same result.. an useless instalation:

# ldd /usr/lib/gaim/encrypt.so
        libc.so.6 => /lib/tls/libc.so.6 (0x0000002a95689000)
        /lib64/ld-linux-x86-64.so.2 (0x000000552aaaa000)
#

Its the same compiled against that linked against? IMHO its a linker problem.. (?)

But why? I dont think that the cascading profiles/gcc are a problem... My laptop
[Portage 2.0.51_rc9 (default-linux/x86/2004.3, gcc-3.4.2,
glibc-2.3.4.20041006-r0, 2.4.27-gentoo-r1 i686)] have gaim/gaim-encryption installed (without gnutls) and everything is working.

Rizzo, also I will attach an qpkg -l {nss,nspr} I think everything is in their place.. but just for confirm.

Comment 15 Octavio Ruiz (Ta^3) 2004-10-17 13:15:00 UTC
Created attachment 42048 [details]
gaim-1.0.1.ebuild
Comment 16 Octavio Ruiz (Ta^3) 2004-10-17 13:15:14 UTC
Created attachment 42049 [details]
gaim-encryption-2.32.ebuild
Comment 17 Octavio Ruiz (Ta^3) 2004-10-17 13:15:39 UTC
Created attachment 42050 [details]
qpkg -nc -v -l nspr
Comment 18 Octavio Ruiz (Ta^3) 2004-10-17 13:16:00 UTC
Created attachment 42051 [details]
qpkg -nc -v -l nss
Comment 19 Michel van Kessel 2004-10-17 14:57:47 UTC
I used the 2 ebuilds, and gaim and gaim-encryption got compiled :-) Thanks!!

Comment 20 Don Seiler (RETIRED) gentoo-dev 2004-10-17 16:39:25 UTC
If you are linking against the MozillaFirefox libraries, then that is NOT good.  There is a reason that gaim and gaim-encryption depend on the standalone libraries.

I'm going to test it on my end without the config changes but there is a reason those are there in the first place.  NSS/NSPR standalone don't provide pkg-config files and so gaim/gaim-encryption wouldn't find them.
Comment 21 Don Seiler (RETIRED) gentoo-dev 2004-10-17 16:55:36 UTC
Without those config lines it links against mozilla libs.  That isn't right and I'll need to hash out exactly what is happening.

And my question about your nss libs wasn't answered.  Do you have nss and nspr in /usr/lib and /usr/includes?  And what versions of dev-libs/nss and dev-libs/nspr do you have installed?
Comment 22 Sven Wegener gentoo-dev 2004-10-17 17:18:52 UTC
I guess this is an amd64 issue as on amd64 the libs get installed in /usr/lib64
but the ebuild passes /usr/lib to configure. The configure script finds the headers
but not the libs and then removes the -I arguments from CFLAGS and fails compiling
afterwards. Could someone on amd64 please change /usr/lib to /usr/lib64 in the
gaim-encryption ebuild and verify this?
Comment 23 Scott Reese 2004-10-17 20:35:17 UTC
No, it's not AMD64 specific.  I'm seeing this exact behavior on a completely generic i686 system using GCC 3.3.4
Comment 24 Jory A. Pratt 2004-10-17 20:41:41 UTC
Rizzo I do have both installed "dev-libs/nss-3.9.2, dev-libs/nspr-4.4.1" I have gcc 3.4.2 on another machine that uses the 2004.2 profile wich is fine this is first time I have seen this error and all of us seem to be running the cascading profiles!!!
Comment 25 Octavio Ruiz (Ta^3) 2004-10-18 01:02:26 UTC
Don Seiler (Rizzo):

> If you are linking against the MozillaFirefox libraries
> then that is NOT good.

The ebuilds submited do not links against Firefox libs, it just force to use it hardcoding the location in the Makefile (it's just a test.. is not working for me doing that)

> And my question about your nss libs wasn't answered.
> Do you have nss and nspr in /usr/lib and /usr/includes?
> And what versions of dev-libs/nss and dev-libs/nspr do 
> you have installed?

I think the output of `qpkg -nc -v -l` answer that question or you are talking with Jory A. Pratt :-D 

Sven Wegener:
> Could someone on amd64 please change /usr/lib to /usr/lib64 in the
> gaim-encryption ebuild and verify this?

Verified, not working.. seems to be not arch specific.
/usr/lib64 its a symlink to /usr/lib.

Scott Reese:
You are using a cascading profile? Can you paste here the output of an emerge info ?
Comment 26 Scott Reese 2004-10-18 07:40:41 UTC
Happy to:

Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.8-gentoo-r10)
=================================================================
System uname: 2.6.8-gentoo-r10 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -frename-registers -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -frename-registers -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://gentoo.ccccom.com ftp://mirrors.tds.net/gentoo http://gentoo.netnitco.net"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa apache2 arts avi berkdb bitmap-fonts bonobo cdr crypt cups db2 divx4linux doc dvd dvdr encode esd etherealf77 flac flash flatfile foomaticdb gd gdbm gif gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile icq imagemagick imap imlib inifile iodbc jabber java jpeg junit kde kerberos krb4 ldap libg++ libwww mad maildir mcall memlimit mikmod mime mmap mmx motif mozilla mpeg msn ncurses nls odbc offensive oggvorbis openal opengl oss pam pcmcia pda pdflib perl php plotutils png postgres python qt quicktime readline recode ruby samba sasl scanner sdl slang slp snmp soap spell sse ssl svga tcltk tcpd tetex theora tidy tiff truetype usb vhosts wmf wxwindows x86 xine xml xml2 xmlrpc xmms xprint xv xvid zeo zlib"
Comment 27 Sven Wegener gentoo-dev 2004-10-18 09:23:43 UTC
I'm able to merge gaim-encryption using a cascaded profile without a problem.

ortage 2.0.51_rc9 (default-linux/x86/2004.2/gcc34/2.6, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.7-H-R7 i686)
=================================================================
System uname: 2.6.7-H-R7 i686
Gentoo Base System version 1.5.3
distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache cvs digest distcc distlocks sandbox sfperms sign"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo.mirror.at.stealer.net/gentoo-portage"
USE="3dnow X acl acpi alsa avi berkdb bitmap-fonts cdr crypt cups dba dnsdb dvdr encode esd exiscan exiscan-acl extensions f77 fam flac foomaticdb gd gd-external gdbm gif gnome gnutls gpm gtk gtk2 gtkhtml imagemagick imlib java jpeg junit libg++ libwww lmtp mad mbox mikmod mmx mng motif mpeg mysql ncurses nls nntp nptl offensive oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl silc slang spell sqlite sse ssl svg svga tcltk tcpd tiff truetype wildlsearch wmf x86 xml xml2 xmms xprint xv zlib"
Comment 28 Jory A. Pratt 2004-10-18 15:39:01 UTC
sven are you using a clean install or did you resymlink your /etc/make.profile
if you relinked of course you wont see this problem but you should have known that already!!!
Comment 29 Jory A. Pratt 2004-10-18 15:40:20 UTC
Rizzo on a side not gaim encryption will not compile until gaim itself supports ssl which it does, but it isnt being used during the install for some odd reason
Comment 30 Scott Reese 2004-10-18 17:09:50 UTC
On the off chance that this is helpful (I appologize for the length):

The box that I'm working on has been reinstalled from the 2004.2 stage1 tarball twice in the last 10 days.  The first was on Oct. 8.  After that, gaim-encryption built without issue.  I broke the system on Oct. 15 with some creative library stupidity, resulting in another rebuild from the 2004.2 stage1 tarball.  I'll try to answer the variety of questions that I've seen in this topic.

I'm haven't changed anything about my profile since the build.  I'm using the default profile on an i686 machine.  I haven't done much of anything except install applications.  It's a Dell Latitude D800.  I have a handful of packages set to ~x86 in /etc/portage/package.mask - for hardware (nvidia & ipw2100) issues.

emerge --info:
ihp3244 root # emerge --info
Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.8-gentoo-r10)
=================================================================
System uname: 2.6.8-gentoo-r10 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -frename-registers -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -frename-registers -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://gentoo.ccccom.com ftp://mirrors.tds.net/gentoo http://gentoo.netnitco.net"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa apache2 arts avi berkdb bitmap-fonts bonobo cdr crypt cups db2 divx4linux doc dvd dvdr encode esd ethereal f77 flac flash flatfile foomaticdb gd gdbm gif gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile icq imagemagick imap imlib inifile iodbc jabber java jpeg junit kde kerberos krb4 ldap libg++ libwww mad maildir mcall memlimit mikmod mime mmap mmx motif mozilla mpeg msn ncurses nls odbc offensive oggvorbis openal opengl oss pam pcmcia pda pdflib perl php plotutils png postgres python qt quicktime readline recode ruby samba sasl scanner sdl slang slp snmp soap spell sse ssl svga tcltk tcpd tetex theora tidy tiff truetype usb vhosts wmf wxwindows x86 xine xml xml2 xmlrpc xmms xprint xv xvid zeo zlib"

Information about /usr/include/nss:
ihp3244 root # ll /usr/include/nss
total 1864
-rw-r--r--  1 root root  2955 Oct 17 22:06 alghmac.h
-rw-r--r--  1 root root 22815 Oct 17 22:06 asn1.h
-rw-r--r--  1 root root  2172 Oct 17 22:06 asn1m.h
-rw-r--r--  1 root root  6465 Oct 17 22:06 asn1t.h
-rw-r--r--  1 root root 32083 Oct 17 22:06 base.h
-rw-r--r--  1 root root  2450 Oct 17 22:06 base64.h
-rw-r--r--  1 root root  5290 Oct 17 22:06 baset.h
-rw-r--r--  1 root root 35682 Oct 17 22:06 blapi.h
-rw-r--r--  1 root root  9624 Oct 17 22:06 blapit.h
-rw-r--r--  1 root root 47389 Oct 17 22:06 cert.h
-rw-r--r--  1 root root  4993 Oct 17 22:06 certdb.h
-rw-r--r--  1 root root  7377 Oct 17 22:06 certi.h
-rw-r--r--  1 root root 25943 Oct 17 22:06 certt.h
-rw-r--r--  1 root root  2515 Oct 17 22:06 certxutl.h
-rw-r--r--  1 root root  3505 Oct 17 22:06 ciferfam.h
-rw-r--r--  1 root root  2952 Oct 17 22:06 ck.h
-rw-r--r--  1 root root 28700 Oct 17 22:06 ckfw.h
-rw-r--r--  1 root root  3200 Oct 17 22:06 ckfwm.h
-rw-r--r--  1 root root  2013 Oct 17 22:06 ckfwtm.h
-rw-r--r--  1 root root  5991 Oct 17 22:06 ckhelper.h
-rw-r--r--  1 root root  2029 Oct 17 22:06 ckmd.h
-rw-r--r--  1 root root  1657 Oct 17 22:06 ckt.h
-rw-r--r--  1 root root 44272 Oct 17 22:06 cmmf.h
-rw-r--r--  1 root root  4363 Oct 17 22:06 cmmfi.h
-rw-r--r--  1 root root  4685 Oct 17 22:06 cmmfit.h
-rw-r--r--  1 root root  3645 Oct 17 22:06 cmmft.h
-rw-r--r--  1 root root 37906 Oct 17 22:06 cms.h
-rw-r--r--  1 root root  2210 Oct 17 22:06 cmsreclist.h
-rw-r--r--  1 root root 18695 Oct 17 22:06 cmst.h
-rw-r--r--  1 root root 65226 Oct 17 22:06 crmf.h
-rw-r--r--  1 root root  6673 Oct 17 22:06 crmfi.h
-rw-r--r--  1 root root  6665 Oct 17 22:06 crmfit.h
-rw-r--r--  1 root root  6854 Oct 17 22:06 crmft.h
-rw-r--r--  1 root root 20829 Oct 17 22:06 cryptint.h
-rw-r--r--  1 root root  8539 Oct 17 22:06 cryptohi.h
-rw-r--r--  1 root root  1751 Oct 17 22:06 cryptoht.h
-rw-r--r--  1 root root 17233 Oct 17 22:06 dev.h
-rw-r--r--  1 root root  2136 Oct 17 22:06 dev3hack.h
-rw-r--r--  1 root root  4686 Oct 17 22:06 devm.h
-rw-r--r--  1 root root  4963 Oct 17 22:06 devt.h
-rw-r--r--  1 root root  1916 Oct 17 22:06 devtm.h
-rw-r--r--  1 root root  2123 Oct 17 22:06 ec.h
-rw-r--r--  1 root root  3856 Oct 17 22:06 genname.h
-rw-r--r--  1 root root  3221 Oct 17 22:06 hasht.h
-rw-r--r--  1 root root  2984 Oct 17 22:06 jar-ds.h
-rw-r--r--  1 root root 12132 Oct 17 22:06 jar.h
-rw-r--r--  1 root root  2836 Oct 17 22:06 jarfile.h
-rw-r--r--  1 root root  1682 Oct 17 22:06 key.h
-rw-r--r--  1 root root  8997 Oct 17 22:06 keyhi.h
-rw-r--r--  1 root root  1673 Oct 17 22:06 keyt.h
-rw-r--r--  1 root root  6818 Oct 17 22:06 keythi.h
-rw-r--r--  1 root root 23016 Oct 17 22:06 maci.h
-rw-r--r--  1 root root  5579 Oct 17 22:06 nss.h
-rw-r--r--  1 root root  2296 Oct 17 22:06 nssasn1t.h
-rw-r--r--  1 root root  4412 Oct 17 22:06 nssb64.h
-rw-r--r--  1 root root  1768 Oct 17 22:06 nssb64t.h
-rw-r--r--  1 root root  4473 Oct 17 22:06 nssbase.h
-rw-r--r--  1 root root  4229 Oct 17 22:06 nssbaset.h
-rw-r--r--  1 root root  2552 Oct 17 22:06 nssckbi.h
-rw-r--r--  1 root root  1574 Oct 17 22:06 nssckepv.h
-rw-r--r--  1 root root  1581 Oct 17 22:06 nssckft.h
-rw-r--r--  1 root root  7633 Oct 17 22:06 nssckfw.h
-rw-r--r--  1 root root 18074 Oct 17 22:06 nssckfwc.h
-rw-r--r--  1 root root  2630 Oct 17 22:06 nssckfwt.h
-rw-r--r--  1 root root  1568 Oct 17 22:06 nssckg.h
-rw-r--r--  1 root root 62027 Oct 17 22:06 nssckmdt.h
-rw-r--r--  1 root root  1621 Oct 17 22:06 nssckt.h
-rw-r--r--  1 root root  2207 Oct 17 22:06 nssdev.h
-rw-r--r--  1 root root  2133 Oct 17 22:06 nssdevt.h
-rw-r--r--  1 root root  7277 Oct 17 22:06 nssilckt.h
-rw-r--r--  1 root root  9509 Oct 17 22:06 nssilock.h
-rw-r--r--  1 root root  2307 Oct 17 22:06 nsslocks.h
-rw-r--r--  1 root root 58284 Oct 17 22:06 nsspki.h
-rw-r--r--  1 root root 81871 Oct 17 22:06 nsspki1.h
-rw-r--r--  1 root root  5630 Oct 17 22:06 nsspki1t.h
-rw-r--r--  1 root root  8602 Oct 17 22:06 nsspkit.h
-rw-r--r--  1 root root  2133 Oct 17 22:06 nssrenam.h
-rw-r--r--  1 root root  6213 Oct 17 22:06 nssrwlk.h
-rw-r--r--  1 root root  1762 Oct 17 22:06 nssrwlkt.h
-rw-r--r--  1 root root 21235 Oct 17 22:06 ocsp.h
-rw-r--r--  1 root root  2243 Oct 17 22:06 ocspt.h
-rw-r--r--  1 root root 15775 Oct 17 22:06 ocspti.h
-rw-r--r--  1 root root 10520 Oct 17 22:06 oiddata.h
-rw-r--r--  1 root root  6995 Oct 17 22:06 p12.h
-rw-r--r--  1 root root  2251 Oct 17 22:06 p12plcy.h
-rw-r--r--  1 root root  5736 Oct 17 22:06 p12t.h
-rw-r--r--  1 root root 31195 Oct 17 22:06 pk11func.h
-rw-r--r--  1 root root  2261 Oct 17 22:06 pk11init.h
-rw-r--r--  1 root root 21535 Oct 17 22:06 pk11pars.h
-rw-r--r--  1 root root  6804 Oct 17 22:06 pk11pqg.h
-rw-r--r--  1 root root  1998 Oct 17 22:06 pk11sdr.h
-rw-r--r--  1 root root  9644 Oct 17 22:06 pkcs11.h
-rw-r--r--  1 root root 29270 Oct 17 22:06 pkcs11f.h
-rw-r--r--  1 root root 23492 Oct 17 22:06 pkcs11i.h
-rw-r--r--  1 root root  8399 Oct 17 22:06 pkcs11n.h
-rw-r--r--  1 root root  2004 Oct 17 22:06 pkcs11p.h
-rw-r--r--  1 root root 52302 Oct 17 22:06 pkcs11t.h
-rw-r--r--  1 root root  1845 Oct 17 22:06 pkcs11u.h
-rw-r--r--  1 root root  2595 Oct 17 22:06 pkcs12.h
-rw-r--r--  1 root root 12489 Oct 17 22:06 pkcs12t.h
-rw-r--r--  1 root root 11196 Oct 17 22:06 pkcs7t.h
-rw-r--r--  1 root root  4569 Oct 17 22:06 pki.h
-rw-r--r--  1 root root 86805 Oct 17 22:06 pki1.h
-rw-r--r--  1 root root  3173 Oct 17 22:06 pki1t.h
-rw-r--r--  1 root root  4743 Oct 17 22:06 pki3hack.h
-rw-r--r--  1 root root 15205 Oct 17 22:06 pkim.h
-rw-r--r--  1 root root  4524 Oct 17 22:06 pkistore.h
-rw-r--r--  1 root root  5584 Oct 17 22:06 pkit.h
-rw-r--r--  1 root root  4285 Oct 17 22:06 pkitm.h
-rw-r--r--  1 root root  3184 Oct 17 22:06 portreg.h
-rw-r--r--  1 root root  6267 Oct 17 22:06 pqgutil.h
-rw-r--r--  1 root root  6338 Oct 17 22:06 preenc.h
-rw-r--r--  1 root root 11342 Oct 17 22:06 secasn1.h
-rw-r--r--  1 root root 11499 Oct 17 22:06 secasn1t.h
-rw-r--r--  1 root root  3230 Oct 17 22:06 seccomon.h
-rw-r--r--  1 root root  6970 Oct 17 22:06 secder.h
-rw-r--r--  1 root root  5722 Oct 17 22:06 secdert.h
-rw-r--r--  1 root root  4559 Oct 17 22:06 secdig.h
-rw-r--r--  1 root root  1943 Oct 17 22:06 secdigt.h
-rw-r--r--  1 root root 10474 Oct 17 22:06 secerr.h
-rw-r--r--  1 root root  2815 Oct 17 22:06 sechash.h
-rw-r--r--  1 root root  3854 Oct 17 22:06 secitem.h
-rw-r--r--  1 root root  8071 Oct 17 22:06 secmime.h
-rw-r--r--  1 root root  6147 Oct 17 22:06 secmod.h
-rw-r--r--  1 root root  4562 Oct 17 22:06 secmodi.h
-rw-r--r--  1 root root  9471 Oct 17 22:06 secmodt.h
-rw-r--r--  1 root root  7925 Oct 17 22:06 secmodti.h
-rw-r--r--  1 root root  2506 Oct 17 22:06 secmpi.h
-rw-r--r--  1 root root  3905 Oct 17 22:06 secoid.h
-rw-r--r--  1 root root 14944 Oct 17 22:06 secoidt.h
-rw-r--r--  1 root root  3127 Oct 17 22:06 secpkcs5.h
-rw-r--r--  1 root root 23147 Oct 17 22:06 secpkcs7.h
-rw-r--r--  1 root root  8070 Oct 17 22:06 secport.h
-rw-r--r--  1 root root  2730 Oct 17 22:06 secrng.h
-rw-r--r--  1 root root  1825 Oct 17 22:06 shsign.h
-rw-r--r--  1 root root  6296 Oct 17 22:06 smime.h
-rw-r--r--  1 root root 18518 Oct 17 22:06 ssl.h
-rw-r--r--  1 root root  8336 Oct 17 22:06 ssl3prot.h
-rw-r--r--  1 root root  8665 Oct 17 22:06 sslerr.h
-rw-r--r--  1 root root 47634 Oct 17 22:06 sslimpl.h
-rw-r--r--  1 root root  7895 Oct 17 22:06 sslproto.h
-rw-r--r--  1 root root  5495 Oct 17 22:06 sslt.h
-rw-r--r--  1 root root  2127 Oct 17 22:06 swfort.h
-rw-r--r--  1 root root  5005 Oct 17 22:06 swforti.h
-rw-r--r--  1 root root  2185 Oct 17 22:06 swfortt.h
-rw-r--r--  1 root root  5320 Oct 17 22:06 swfortti.h
-rw-r--r--  1 root root  2352 Oct 17 22:06 watcomfx.h
-rw-r--r--  1 root root  2796 Oct 17 22:06 xconst.h
ihp3244 root # qpkg -f /usr/include/nss/keyhi.h
dev-libs/nss *
                                
Info about /usr/include/nspr:
ihp3244 root # ll /usr/include/nspr/
total 514
drwxr-xr-x  2 root root  2168 Oct 17 22:03 md
-rw-r--r--  1 root root  2276 Oct 17 22:03 nspr.h
drwxr-xr-x  2 root root   168 Oct 17 22:03 obsolete
-rw-r--r--  1 root root  7651 Oct 17 22:03 plarena.h
-rw-r--r--  1 root root  3683 Oct 17 22:03 plarenas.h
-rw-r--r--  1 root root  3750 Oct 17 22:03 plbase64.h
-rw-r--r--  1 root root  2140 Oct 17 22:03 plerror.h
-rw-r--r--  1 root root  2510 Oct 17 22:03 plgetopt.h
-rw-r--r--  1 root root  6331 Oct 17 22:03 plhash.h
-rw-r--r--  1 root root  3517 Oct 17 22:03 plresolv.h
-rw-r--r--  1 root root 14766 Oct 17 22:03 plstr.h
-rw-r--r--  1 root root  4429 Oct 17 22:03 pratom.h
-rw-r--r--  1 root root  3825 Oct 17 22:03 prbit.h
-rw-r--r--  1 root root  3654 Oct 17 22:03 prclist.h
-rw-r--r--  1 root root  3404 Oct 17 22:03 prcmon.h
-rw-r--r--  1 root root 16465 Oct 17 22:03 prcountr.h
-rw-r--r--  1 root root 15588 Oct 17 22:03 prcpucfg.h
-rw-r--r--  1 root root  4853 Oct 17 22:03 prcvar.h
-rw-r--r--  1 root root  3046 Oct 17 22:03 prdtoa.h
-rw-r--r--  1 root root  5851 Oct 17 22:03 prenv.h
-rw-r--r--  1 root root  9408 Oct 17 22:03 prerr.h
-rw-r--r--  1 root root 12552 Oct 17 22:03 prerror.h
-rw-r--r--  1 root root  3904 Oct 17 22:03 prinet.h
-rw-r--r--  1 root root  7735 Oct 17 22:03 prinit.h
-rw-r--r--  1 root root  6484 Oct 17 22:03 prinrval.h
-rw-r--r--  1 root root 77442 Oct 17 22:03 prio.h
-rw-r--r--  1 root root  3899 Oct 17 22:03 pripcsem.h
drwxr-xr-x  2 root root   128 Oct 17 22:03 private
-rw-r--r--  1 root root  8997 Oct 17 22:03 prlink.h
-rw-r--r--  1 root root  4273 Oct 17 22:03 prlock.h
-rw-r--r--  1 root root  8351 Oct 17 22:03 prlog.h
-rw-r--r--  1 root root 13774 Oct 17 22:03 prlong.h
-rw-r--r--  1 root root  6010 Oct 17 22:03 prmem.h
-rw-r--r--  1 root root  3974 Oct 17 22:03 prmon.h
-rw-r--r--  1 root root 17527 Oct 17 22:03 prmwait.h
-rw-r--r--  1 root root 16694 Oct 17 22:03 prnetdb.h
-rw-r--r--  1 root root  5981 Oct 17 22:03 prolock.h
-rw-r--r--  1 root root  3707 Oct 17 22:03 prpdce.h
-rw-r--r--  1 root root  5748 Oct 17 22:03 prprf.h
-rw-r--r--  1 root root  3566 Oct 17 22:03 prproces.h
-rw-r--r--  1 root root  3720 Oct 17 22:03 prrng.h
-rw-r--r--  1 root root  4097 Oct 17 22:03 prrwlock.h
-rw-r--r--  1 root root  9828 Oct 17 22:03 prshm.h
-rw-r--r--  1 root root  8425 Oct 17 22:03 prshma.h
-rw-r--r--  1 root root  3377 Oct 17 22:03 prsystem.h
-rw-r--r--  1 root root 10549 Oct 17 22:03 prthread.h
-rw-r--r--  1 root root 11437 Oct 17 22:03 prtime.h
-rw-r--r--  1 root root  3576 Oct 17 22:03 prtpool.h
-rw-r--r--  1 root root 23692 Oct 17 22:03 prtrace.h
-rw-r--r--  1 root root 18611 Oct 17 22:03 prtypes.h
-rwxr-xr-x  1 root root  4818 Oct 17 22:03 prvrsion.h
-rw-r--r--  1 root root  7268 Oct 17 22:03 prwin16.h
ihp3244 root # qpkg -f /usr/include/nspr/nspr.h
dev-libs/nspr *


The emerge:
ihp3244 root # emerge -uDv world
Calculating world dependencies ...done!
>>> emerge (1 of 1) x11-plugins/gaim-encryption-2.31 to /
>>> md5 src_uri ;-) gaim-encryption-2.31.tar.gz
>>> Unpacking source...
>>> Unpacking gaim-encryption-2.31.tar.gz to /var/tmp/portage/gaim-encryption-2.31/work
>>> Source unpacked.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for strerror in -lcposix... no
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for signed... yes
checking for inline... inline
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for off_t... yes
checking for size_t... yes
checking for long long... yes
checking for long double... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking whether printf() supports POSIX/XSI format strings... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for stdint.h... (cached) yes
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for ptrdiff_t... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for asprintf... yes
checking for fwprintf... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for snprintf... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for wcslen... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for __fsetlocking... yes
checking whether _snprintf is declared... no
checking whether _snwprintf is declared... no
checking whether feof_unlocked is declared... yes
checking whether fgets_unlocked is declared... no
checking whether getc_unlocked is declared... yes
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 1.875, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for i686-pc-linux-gnu-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for pkg-config... /usr/bin/pkg-config
checking for gaim... yes
checking GAIM_CFLAGS... -I/usr/include/gaim -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking GAIM_LIBS... -lglib-2.0
checking for Mozilla nspr4 includes in /usr/include/nspr...
checking nspr.h usability... yes
checking nspr.h presence... yes
checking for nspr.h... yes
checking prio.h usability... yes
checking prio.h presence... yes
checking for prio.h... yes
checking again for Mozilla nspr4 includes in /usr/include/nspr... yes
checking for Mozilla nspr libraries... yes
checking for Mozilla nss3 includes in /usr/include/nss...
checking nss.h usability... yes
checking nss.h presence... yes
checking for nss.h... yes
checking ssl.h usability... yes
checking ssl.h presence... yes
checking for ssl.h... yes
checking smime.h usability... yes
checking smime.h presence... yes
checking for smime.h... yes
checking again for Mozilla nss3 includes in /usr/include/nss... yes
checking for Mozilla nss libraries... no
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... yes (version 2.4.9)
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i686-pc-linux-gnu-g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for i686-pc-linux-gnu-g77... i686-pc-linux-gnu-g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether i686-pc-linux-gnu-g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse nm output from gcc object... ok
checking for objdir... .libs
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-ranlib... ranlib
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for i686-pc-linux-gnu-g77 option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-g77 PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-g77 supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-g77 linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating pre-config.h
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing default-2 commands
 * Replacing -Os CFLAG with -O2
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/gaim-encryption-2.31/work/gaim-encryption-2.31'
Making all in po
make[2]: Entering directory `/var/tmp/portage/gaim-encryption-2.31/work/gaim-encryption-2.31/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/gaim-encryption-2.31/work/gaim-encryption-2.31/po'
Making all in intl
make[2]: Entering directory `/var/tmp/portage/gaim-encryption-2.31/work/gaim-encryption-2.31/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/gaim-encryption-2.31/work/gaim-encryption-2.31/intl'
make[2]: Entering directory `/var/tmp/portage/gaim-encryption-2.31/work/gaim-encryption-2.31'
sed 's/#define PACKAGE/#define GE_PACKAGE/g' pre-config.h > gaim-encryption-config.h
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/usr/share/locale\"      -DLIBDIR=\"/usr/lib/gaim/\"             -DDATADIR=\"/usr/share\"                -I/usr/include/gaim -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include                 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -Wall -march=pentium4 -O2 -fomit-frame-pointer -frename-registers -pipe -c ge_blist.c
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/usr/share/locale\"      -DLIBDIR=\"/usr/lib/gaim/\"             -DDATADIR=\"/usr/share\"                -I/usr/include/gaim -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include                 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -Wall -march=pentium4 -O2 -fomit-frame-pointer -frename-registers -pipe -c config_ui.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I. -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib/gaim/\" -DDATADIR=\"/usr/share\" -I/usr/include/gaim -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -march=pentium4 -O2 -fomit-frame-pointer -frename-registers -pipe -c ge_blist.c  -fPIC -DPIC -o .libs/ge_blist.o
 gcc -DHAVE_CONFIG_H -I. -I. -I. -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib/gaim/\" -DDATADIR=\"/usr/share\" -I/usr/include/gaim -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -march=pentium4 -O2 -fomit-frame-pointer -frename-registers -pipe -c config_ui.c  -fPIC -DPIC -o .libs/config_ui.o
 gcc -DHAVE_CONFIG_H -I. -I. -I. -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib/gaim/\" -DDATADIR=\"/usr/share\" -I/usr/include/gaim -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -march=pentium4 -O2 -fomit-frame-pointer -frename-registers -pipe -c ge_blist.c -o ge_blist.o >/dev/null 2>&1
In file included from cryptproto.h:24,
                 from config_ui.c:31:
rsa_nss.h:33:19: keyhi.h: No such file or directory
In file included from cryptproto.h:24,
                 from config_ui.c:31:
rsa_nss.h:36: error: syntax error before "SECKEYPrivateKey"
rsa_nss.h:36: warning: no semicolon at end of struct or union
rsa_nss.h:37: warning: type defaults to `int' in declaration of `pub'
rsa_nss.h:37: warning: data definition has no type or storage class
rsa_nss.h:39: error: syntax error before '}' token
rsa_nss.h:39: warning: type defaults to `int' in declaration of `RSA_NSS_KEY'
rsa_nss.h:39: warning: data definition has no type or storage class
In file included from config_ui.c:31:
cryptproto.h:32: error: syntax error before "RSA_NSS_KEY"
cryptproto.h:32: warning: no semicolon at end of struct or union
cryptproto.h:33: warning: type defaults to `int' in declaration of `proto_union'
cryptproto.h:33: warning: data definition has no type or storage class
In file included from config_ui.c:32:
keys.h:35: error: syntax error before "proto_union"
keys.h:35: warning: no semicolon at end of struct or union
keys.h:43: error: syntax error before '}' token
config_ui.c: In function `config_do_regen':
config_ui.c:113: error: dereferencing pointer to incomplete type
config_ui.c: In function `GE_get_config_frame':
config_ui.c:331: error: dereferencing pointer to incomplete type
config_ui.c:337: error: dereferencing pointer to incomplete type
config_ui.c:339: error: dereferencing pointer to incomplete type
config_ui.c:348: error: dereferencing pointer to incomplete type
config_ui.c:354: error: dereferencing pointer to incomplete type
config_ui.c:356: error: dereferencing pointer to incomplete type
make[2]: *** [config_ui.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/gaim-encryption-2.31/work/gaim-encryption-2.31'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gaim-encryption-2.31/work/gaim-encryption-2.31'
make: *** [all-recursive-am] Error 2
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/gaim-encryption-2.31/work/gaim-encryption-2.31'
Making all in po
make[2]: Entering directory `/var/tmp/portage/gaim-encryption-2.31/work/gaim-encryption-2.31/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/gaim-encryption-2.31/work/gaim-encryption-2.31/po'
Making all in intl
make[2]: Entering directory `/var/tmp/portage/gaim-encryption-2.31/work/gaim-encryption-2.31/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/gaim-encryption-2.31/work/gaim-encryption-2.31/intl'
make[2]: Entering directory `/var/tmp/portage/gaim-encryption-2.31/work/gaim-encryption-2.31'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/usr/share/locale\"      -DLIBDIR=\"/usr/lib/gaim/\"             -DDATADIR=\"/usr/share\"                -I/usr/include/gaim -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include                 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -Wall -march=pentium4 -O2 -fomit-frame-pointer -frename-registers -pipe -c config_ui.c
 gcc -DHAVE_CONFIG_H -I. -I. -I. -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib/gaim/\" -DDATADIR=\"/usr/share\" -I/usr/include/gaim -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -march=pentium4 -O2 -fomit-frame-pointer -frename-registers -pipe -c config_ui.c  -fPIC -DPIC -o .libs/config_ui.o
In file included from cryptproto.h:24,
                 from config_ui.c:31:
rsa_nss.h:33:19: keyhi.h: No such file or directory
In file included from cryptproto.h:24,
                 from config_ui.c:31:
rsa_nss.h:36: error: syntax error before "SECKEYPrivateKey"
rsa_nss.h:36: warning: no semicolon at end of struct or union
rsa_nss.h:37: warning: type defaults to `int' in declaration of `pub'
rsa_nss.h:37: warning: data definition has no type or storage class
rsa_nss.h:39: error: syntax error before '}' token
rsa_nss.h:39: warning: type defaults to `int' in declaration of `RSA_NSS_KEY'
rsa_nss.h:39: warning: data definition has no type or storage class
In file included from config_ui.c:31:
cryptproto.h:32: error: syntax error before "RSA_NSS_KEY"
cryptproto.h:32: warning: no semicolon at end of struct or union
cryptproto.h:33: warning: type defaults to `int' in declaration of `proto_union'
cryptproto.h:33: warning: data definition has no type or storage class
In file included from config_ui.c:32:
keys.h:35: error: syntax error before "proto_union"
keys.h:35: warning: no semicolon at end of struct or union
keys.h:43: error: syntax error before '}' token
config_ui.c: In function `config_do_regen':
config_ui.c:113: error: dereferencing pointer to incomplete type
config_ui.c: In function `GE_get_config_frame':
config_ui.c:331: error: dereferencing pointer to incomplete type
config_ui.c:337: error: dereferencing pointer to incomplete type
config_ui.c:339: error: dereferencing pointer to incomplete type
config_ui.c:348: error: dereferencing pointer to incomplete type
config_ui.c:354: error: dereferencing pointer to incomplete type
config_ui.c:356: error: dereferencing pointer to incomplete type
make[2]: *** [config_ui.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/gaim-encryption-2.31/work/gaim-encryption-2.31'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gaim-encryption-2.31/work/gaim-encryption-2.31'
make: *** [all-recursive-am] Error 2

!!! ERROR: x11-plugins/gaim-encryption-2.31 failed.
!!! Function src_compile, Line 33, Exitcode 2
!!! Make failed

ihp3244 root #                          
Comment 31 Jory A. Pratt 2004-10-18 18:09:28 UTC
Scott do me a favor and recompile gaim itself see if it enables ssl support I am gonna go out on the line and say no everyone on this thread that has issues with gaim encryption has no ssl support in gaim itself hense the problem with gaim encryption .... If I am wrong show me the configure output but I doubt I am wrong...
Comment 32 Scott Reese 2004-10-18 20:05:32 UTC
Created attachment 42137 [details]
config.log from `ebuild /usr/portage/net-im/gaim/gaim-1.0.0.ebuild compile`

config info requested by Jory Pratt
Comment 33 Scott Reese 2004-10-18 20:16:37 UTC
Greetings Jory:

I have an internal jabber server that we run at work.  I'll connect to it in the morning and see if the SSL is working or not.
Comment 34 Jory A. Pratt 2004-10-19 07:36:53 UTC
Steve actually want to see this info right here 
UI Library.................... : GTK 2.x
SSL Library/Libraries......... : None

Build with Plugin support..... : yes
Build with Perl support....... : yes
Build with Tcl support........ : yes
Build with Tk support......... : yes
Build with Audio support...... : yes
Build with NAS support........ : no
Build with GtkSpell support... : yes

Use kerberos 4 with zephyr.... : no
Use external libzephyr........ : no

Use XScreenSaver Extension.... : yes
Use X Session Management...... : yes
Use startup notification.......: yes

Print debugging messages...... : no

this is provided just after configure finished running before make ever begins.
Comment 35 Barry Grussling 2004-10-19 15:51:11 UTC
I am having this problem on a fresh 2004.2 install on my laptop.  Very irritating.

emerge info:
--------------
Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.8.1)
=================================================================
System uname: 2.6.8.1 i686 Celeron (Coppermine)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.wwc.edu/pub/mirrors/ftp.gentoo.org"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://ftp.wwc.edu/gentoo-portage"
USE="X alsa apm arts avi berkdb bitmap-fonts crypt cups encode esd f77 foomaticdb gdbm gif gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xprint xv zlib"
---------

Formatted system, installed xorg, installed sawfish and kde, failed on gaim-encryption with keyhi.h error :-(

Gaim reports None for ssl libraries.
Comment 36 Don Seiler (RETIRED) gentoo-dev 2004-10-19 18:02:22 UTC
So emerging gaim installs dev-libs/nss but then doesn't see them?  To just indulge me, remove dev-libs/nss and re-emerge gaim.

Are the rest of you with problems also doing new installs or is this a problem upgrading?
Comment 37 Jory A. Pratt 2004-10-19 18:10:31 UTC
Don I have just removed nss and working on reinstall of gaim I should know something within the next 15 mins.
Comment 38 Scott Reese 2004-10-19 18:16:34 UTC
On Oct. 16 there were some modifications to fix a bug in dev-libs/nss according to the changelog.  The changelog isn't very helpful about what they changed (only installing the shared libs), but the bug that it references (67124) has to do with a similar SSL problem in evolution.  Perhaps their changes broke some other things?

I unmerged dev-libs/nss, re-emerged it, and had the same troubles building gaim-encryption.  However, during the configure, where previously it had said:

SSL Library/Libraries: None

it now says:

SSL Library/Libraries: GNUTLS
Comment 39 Jory A. Pratt 2004-10-19 18:20:34 UTC
Don gaim still fails to find the nss libs which I do believe hold the ssl info for gaim is this correct? NSS is reinstalled with gaim but still has same effect as far as gaim-encryption is concerned.
Comment 40 Jory A. Pratt 2004-10-19 18:22:06 UTC
Scott I have tested other versions of nss and nspr and still have same results I am sure it has something to do with glibc now that I look at when glibc was added to portage ....
Comment 41 Don Seiler (RETIRED) gentoo-dev 2004-10-19 21:40:04 UTC
After re-installing the same version of dev-libs/nss I can now reproduce this, even with the nss config lines commented out.
Comment 42 Don Seiler (RETIRED) gentoo-dev 2004-10-19 21:48:14 UTC
Yeah I'm dumb.  nss changed their lib install from /usr/lib/ to /usr/lib/nss/.  I'm going to change the gaim-encryption-2.32 and gaim-1.0.2 ebuilds since they will be stabilized shortly for security reasons.
Comment 43 Don Seiler (RETIRED) gentoo-dev 2004-10-19 22:10:25 UTC
The gaim bug is not a dependency.  They are both independently screwed by the NSS change.  I'll put the change in gaim-1.0.2 which should be stabilized in a day or two.
Comment 44 Don Seiler (RETIRED) gentoo-dev 2004-10-19 22:37:09 UTC
Finally committed.
Comment 45 Octavio Ruiz (Ta^3) 2004-10-20 06:33:25 UTC
Fixed, but its linking against /usr/lib/MozillaFirefox/ and not with /usr/lib/nss/ :-S

ldd /usr/lib/gaim/encrypt.so
        libdl.so.2 => /lib/libdl.so.2 (0x0000002a95689000)
        libplc4.so => /usr/lib/MozillaFirefox/libplc4.so (0x0000002a9578c000)
        libplds4.so => /usr/lib/MozillaFirefox/libplds4.so (0x0000002a95892000)
        libnspr4.so => /usr/lib/MozillaFirefox/libnspr4.so (0x0000002a95995000)
        libssl3.so => /usr/lib/MozillaFirefox/libssl3.so (0x0000002a95ad0000)
        libsmime3.so => /usr/lib/MozillaFirefox/libsmime3.so (0x0000002a95bf6000)
        libnss3.so => /usr/lib/MozillaFirefox/libnss3.so (0x0000002a95d20000)
        libsoftokn3.so => /usr/lib/MozillaFirefox/libsoftokn3.so (0x0000002a95ea1000)
        libc.so.6 => /lib/tls/libc.so.6 (0x0000002a96025000)
        /lib64/ld-linux-x86-64.so.2 (0x000000552aaaa000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x0000002a9624b000)