Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70801 - gaim-encryption fails to compile
Summary: gaim-encryption fails to compile
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gaim Bugs Crew
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-11 08:03 UTC by Sam Quigley
Modified: 2004-11-12 07:50 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 Sam Quigley 2004-11-11 08:03:54 UTC
The problem mentioned at http://forums.gentoo.org/viewtopic.php?t=237680&highlight=gaimencryption still happens with 2.32 -- I get the same error output as, for instance http://forums.gentoo.org/viewtopic.php?p=1686336#1686336

The fix mentioned at http://forums.gentoo.org/viewtopic.php?p=1702328#1702328 works -- ie, modifying the .ebuild file to make NSS_LIB point to /usr/lib/mozilla works; the .ebuild file should probably be updated.

This bug prevents gaim from doing anything useful, so it's sorta important...

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

Actual Results:  
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.32/work/gaim-encryption-2.32'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gaim-encryption-2.32/work/gaim-encryption-2.32'
make: *** [all-recursive-am] Error 2

!!! ERROR: x11-plugins/gaim-encryption-2.32 failed.
!!! Function src_compile, Line 33, Exitcode 2
!!! Make failed
!!! If you need support, post the topmost build error, NOT this status message. 

Expected Results:  
>>> x11-plugins/gaim-encryption-2.32 merged.
>>> Recording x11-plugins/gaim-encryption in "world" favorites file...



grue sq # emerge info
Portage 2.0.51-r3 (default-amd64-2004.2, gcc-3.3.4, glibc-2.3.4.20041102-r0,
2.6.9-gentoo-r3sq2 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r3sq2 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.6
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.6-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=k8 -pipe -fomit-frame-pointer"
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/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="-O3 -march=k8 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://ftp.linux.ee/pub/gentoo/distfiles/
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://ftp.heanet.ie/pub/gentoo/ http://gentoo.inode.at/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib acpi acpi4linux aim alsa amd64 apm arts avi berkdb bonobo bootspla
bzlib calendar cdparanoia cdr cdrom codecs crypt curl dga dillo directfb
divx4linux dvd dvdr dvdread edl emacs encode esd esx exif f77 faac faad fam
fbcon fbdev fla flac foomaticdb fortran fs ftp gdbm ggi gif gnome gphoto2 gpm
gtk gtk2 gtkhtml guile icq idea imagemagick imap imlib jabber java jikes jpeg
kde lcms libdsk libg++ libwww live lzo matroska mbox mcal md5sum mikmod mime
ming mng monkey motif mozilla moznocompose moznoirc moznomail mozsvg mozxmlterm
mpeg mplayer msn multilib mysql ncurses nethack network nls nogcj nvidia
oggvorbis opengl oss pam pdflib perl php png python qt quicktime readline real
samba sdl slang spell ssl svg tcpd tetex tidy tiff transcode truetype type1 usb
xine xinerama xml xml2 xmlrpc xmms xosd xpm xsl xv xvid xvmc yahoo zlib"
Comment 1 Don Seiler (RETIRED) gentoo-dev 2004-11-11 12:28:39 UTC
Please re-emerge dev-lib/nss and then try to emerge gaim-encryption.  Do not modify the ebuilds.
Comment 2 Sam Quigley 2004-11-12 07:45:10 UTC
that worked.  thanks!
-sq
Comment 3 Don Seiler (RETIRED) gentoo-dev 2004-11-12 07:50:17 UTC
Yeah that is the fault of our dev-libs/nss maintainer.  Perhaps I'll throw a note in the gaim install message.