Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47304 - gaim-encryption-2.22 cannot find keyhi.h
Summary: gaim-encryption-2.22 cannot find keyhi.h
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:
Blocks:
 
Reported: 2004-04-08 23:15 UTC by Henk de Leeuw
Modified: 2004-04-09 11:09 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henk de Leeuw 2004-04-08 23:15:41 UTC
When trying to emerge gaim-encryption-2.22, the build breaks because keyhi (included from rsa_nss.h) cannot be found. See the emerge output:

configure: creating ./config.status
config.status: creating Makefile
config.status: creating gaim-encryption-config.h
config.status: gaim-encryption-config.h is unchanged
config.status: executing default-1 commands
 * Replacing -Os CFLAG with -O2
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/usr/share/locale\"     -DLIBDIR=\"/usr/lib/gaim/\"             -DDATADIR=\"/usr/share\"                -I.                          -I./src                 -I/usr/lib/mozilla/include/mozilla-1.7b/nss -I/usr/lib/mozilla/include/mozilla-1.7b/nspr   -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/gaim/src/..  -Wall -march=pentium2 -Os -pipe -c 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.                          -I./src                 -I/usr/lib/mozilla/include/mozilla-1.7b/nss -I/usr/lib/mozilla/include/mozilla-1.7b/nspr   -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/gaim/src/..  -Wall -march=pentium2 -Os -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. -I./src -I/usr/lib/mozilla/include/mozilla-1.7b/nss -I/usr/lib/mozilla/include/mozilla-1.7b/nspr -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gaim/src/.. -Wall -march=pentium2 -Os -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. -I./src -I/usr/lib/mozilla/include/mozilla-1.7b/nss -I/usr/lib/mozilla/include/mozilla-1.7b/nspr -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gaim/src/.. -Wall -march=pentium2 -Os -pipe -c blist.c  -fPIC -DPIC -o .libs/blist.o
In file included from cryptproto.h:25,
                 from config_ui.c:35:
rsa_nss.h:29:19: keyhi.h: No such file or directory
In file included from cryptproto.h:25,
                 from config_ui.c:35:
rsa_nss.h:32: error: syntax error before "SECKEYPrivateKey"
rsa_nss.h:32: warning: no semicolon at end of struct or union
rsa_nss.h:33: warning: type defaults to `int' in declaration of `pub'
rsa_nss.h:33: warning: data definition has no type or storage class
rsa_nss.h:35: error: syntax error before '}' token
rsa_nss.h:35: warning: type defaults to `int' in declaration of `RSA_NSS_KEY'
rsa_nss.h:35: warning: data definition has no type or storage class


Reproducible: Always
Steps to Reproduce:
1. emerge gaim-encryption
2. wait until it breaks
3.




"emerge info":

Portage 2.0.50-r3 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.2)
=================================================================
System uname: 2.6.2 i686 Celeron (Mendocino)
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium2 -Os -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /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/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium2 -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.student.utwente.nl/pub/linux/gentoo
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/export/packages"
PORTAGE_TMPDIR="/export/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/export/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi acpi4linux alsa apache2 apm arts avi berkdb cdr cjk crypt cups
curl dga doc dvd dvdr encode esd ethereal foomaticdb gdbm gif gpm gtk gtk2 imap
imlib java jpeg kde libg++ libwww mad maildir memlimit mikmod mmx motif mozilla
mpeg mysql ncurses nls oggvorbis opengl oss pam pda pdflib perl pic plotutils
png python qt quicktime readline samba scanner sdl slang sox spell ssl svga
tcltk tcpd tetex tiff transcode truetype type1 usb vim-with-x wmf x86 xml2 xmms
xv xvid zlib"
Comment 1 Don Seiler (RETIRED) gentoo-dev 2004-04-09 07:01:04 UTC
Would you mind emerging nss standalone and trying again?  It's possible that some of these needed files aren't in mozilla beta releases.  I know we had similar problems with mozilla 1.6b.
Comment 2 Henk de Leeuw 2004-04-09 11:07:37 UTC
That was it. I'm running Mozilla 1.7_beta. I emerged nss, and after that, gaim-encryption emerged correctly. I changed the status to FIXED, is that OK in this case? After all, it is now fixed for me, but others may still encounter the same problem.
Comment 3 Don Seiler (RETIRED) gentoo-dev 2004-04-09 11:09:45 UTC
That's fine.  Since mozilla 1.7 is hard masked in the profile I'm not going to address it further.