Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15413 - gaim-0.59.8-r1 doen't compile with USE="ssl" or USE="-ssl"
Summary: gaim-0.59.8-r1 doen't compile with USE="ssl" or USE="-ssl"
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-10 00:17 UTC by Matt Taylor
Modified: 2003-02-10 20:41 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 Matt Taylor 2003-02-10 00:17:39 UTC
/bin/sh ../../libtool --silent --mode=compile i686-pc-linux-gnu-gcc
-DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include  -march=i686 -O3 -pipe
-I/usr/local/include -I/opt/include  -I/include -I/usr/include/gnome-1.0
-DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2
-I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gdk-pixbuf-1.0
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include  -Wall -I\../.. -I\../../src -DVERSION=\"0.59.8\"
-DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib/gaim/\" 
-DDATADIR=\"/usr/share\" -c keys.c
In file included from ../../src/gaim.h:30,
                 from encrypt.c:18:
../../src/ui.h:31: applet-widget.h: No such file or directory
In file included from ../../src/gaim.h:30,
                 from keys.c:2:
../../src/ui.h:31: applet-widget.h: No such file or directory
make[3]: *** [keys.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from encrypt.c:19:
../../src/util.c: In function `convert_string':
../../src/util.c:1174: warning: passing arg 2 of `iconv' from incompatible
pointer type
../../src/util.c:1132: warning: unused variable `old_outleft'
../../src/util.c:1132: warning: unused variable `old_inlen'
make[3]: *** [encrypt.lo] Error 1
make[3]: Leaving directory
`/var/tmp/portage/gaim-0.59.8-r1/work/gaim-0.59.8/plugins/encrypt'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gaim-0.59.8-r1/work/gaim-0.59.8/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gaim-0.59.8-r1/work/gaim-0.59.8'
make: *** [all-recursive-am] Error 2

!!! ERROR: net-im/gaim-0.59.8-r1 failed.
!!! Function src_compile, Line -261, Exitcode 2
!!! applet failed to build

# USE="-ssl" emerge gaim
Calculating dependencies ...done!
>>> emerge (1 of 1) net-im/gaim-0.59.8-r1 to /
>>> md5 ;-) gaim-0.59.8.tar.bz2
>>> Unpacking source...
>>> Unpacking gaim-0.59.8.tar.bz2

!!! ERROR: net-im/gaim-0.59.8-r1 failed.
!!! Function src_unpack, Line -14, Exitcode 1
!!! (no error message)

the problem is with USE="-ssl" is with this line:
	use ssl && epatch encrypt/patchfile.0.59.5 || die

removing the "|| die" allows it to build without ssl.
looks like the boolean expresion isnt evaluated the way the author expected.

Reproducible: Always
Steps to Reproduce:
1.emerge gaim

Actual Results:  
doesnt compile in 2 different ways :)

Expected Results:  
compile

# emerge info
Portage 2.0.46-r12 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 AMD Athlon(tm) processor
GENTOO_MIRRORS="http://linux.oit.umass.edu/gentoo/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt cups jpeg libg++ mikmod mmx mpeg ncurses pdflib
qtmt quicktime spell truetype xml2 xmms xv berkdb bonobo cdr directfb esd gdbm
gif gnome gnome-libs gpm gtk gtkhtml guile imlib libwww motif mozilla mysql nls
oggvorbis opengl pam perl png python readline sdl slang snmp ssl svga tcltk tcpd
tiff X -kde -qt -arts -java dvd encode gtk2"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
CXXFLAGS="-march=i686 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 SpanKY gentoo-dev 2003-02-10 00:30:15 UTC
ok, the applet-widget.h has nothing to do with ssl ... 
what if you do `env USE="-gnome" emerge gaim` ... does that work ? 
 
i fixed the USE=-ssl here: 
http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/net-im/gaim/gaim-0.59.8-r1.ebuild.diff?r1=1.2&r2=1.3 
Comment 2 Matt Taylor 2003-02-10 00:40:45 UTC
compiles fine with USE="-gnome"
Comment 3 SpanKY gentoo-dev 2003-02-10 01:30:21 UTC
what does this show: 
`find /usr/include/ -name 'applet-widget.h'` 
Comment 4 Matt Taylor 2003-02-10 02:14:18 UTC
nothing
Comment 5 SpanKY gentoo-dev 2003-02-10 02:55:37 UTC
umm, how about `qpkg -I -v gnome-panel` ?
if you have a 1.4.x version installed, what does `qpkg -I -v -l gnome-panel` show ?
Comment 6 Matt Taylor 2003-02-10 13:58:22 UTC
$ qpkg -I -v gnome-panel
gnome-base/gnome-panel-1.4.2-r1 *
gnome-base/gnome-panel-2.2.0.1 *

$ qpkg -I -v -l gnome-panel
[snip]
/usr/include/applet-widget.h 6dcd7cded33fc4abda073e124539aee4 1037084725
[snip]
Comment 7 SpanKY gentoo-dev 2003-02-10 15:10:14 UTC
so does /usr/include/applet-widget.h exist on your system or not ? 
Comment 8 Matt Taylor 2003-02-10 20:06:35 UTC
nope
Comment 9 SpanKY gentoo-dev 2003-02-10 20:41:08 UTC
welp, unless you can track down what removed that file, for now the fix is to re-emerge 
gnome-base/gnome-panel-1.4.2-r1 ... 
 
`emerge =gnome-base/gnome-panel-1.4.2-r1` 
and then emerge gaim