Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63111 - Licq-1.3.0_pre5 doesn't compile gpgme
Summary: Licq-1.3.0_pre5 doesn't compile gpgme
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Konstantin Arkhipov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-07 04:18 UTC by Aaron Peterson
Modified: 2004-09-28 10:46 UTC (History)
1 user (show)

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


Attachments
licq-1.3.0_pre-r6.ebuild (licq-1.3.0_pre-r6.ebuild,4.76 KB, text/plain)
2004-09-15 05:00 UTC, Daniel Black (RETIRED)
Details
licq-1.3.0_pre-r6-gpgme3_hack.patch (licq-1.3.0_pre-r6-gpgme3_hack.patch,3.85 KB, patch)
2004-09-15 05:01 UTC, Daniel Black (RETIRED)
Details | Diff
1.3.0-flaghacker.patch (1.3.0-flaghacker.patch,750 bytes, patch)
2004-09-15 05:05 UTC, Daniel Black (RETIRED)
Details | Diff
1.3.0-makefile-locale.patch (1.3.0-makefile-locale.patch,587 bytes, patch)
2004-09-15 05:07 UTC, Daniel Black (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Peterson 2004-09-07 04:18:41 UTC
I don't use this program, and am at a loss as to why it is on my system.. so I am going to be removing it shortly 

licq-1.3.0-PRE.tar.bz2

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Expected Results:  
well.. I'm sort of expecting things not to compile these days.. here is my 
complete list of things that don't compile: 
[ebuild     U ] net-im/licq-1.3.0_pre-r5 [1.2.7] 
[ebuild     U ] dev-util/desktop-file-utils-0.7 [0.5] 
[ebuild     U ] media-video/transcode-0.6.12-r1 [0.6.11] 
[ebuild     U ] media-video/cinelerra-1.2.1 [1.2.0] 
[ebuild  N    ] media-libs/openexr-1.0.7 
[ebuild     U ] media-video/cinepaint-0.18.3 [0.18] 
 

aaron@escargot ~/public_html $ emerge --info 
 
*** You are not in the portage group. You may experience cache problems 
*** due to permissions preventing the creation of the on-disk cache. 
*** Please add this user to the portage group if you wish to use portage. 
 
Portage 2.0.50-r10 (gcc34-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 
2.6.8-gentoo-r3) 
================================================================= 
System uname: 2.6.8-gentoo-r3 i686 AMD Athlon(tm) XP 1700+ 
Gentoo Base System version 1.5.3 
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r4 
Automake: sys-devel/automake-1.8.5-r1 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall" 
CHOST="i686-pc-linux-gnu" 
COMPILER="" 
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.3/share/config:/usr/kde/3.3/env:/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=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
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" 
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" 
USE="3dnow 3dnowex X aac aalib accessibility acl acpi acpi4linux alsa amd 
apache2 apm arts artswrappersuid audiofile avi berkdb bidi bonobo canna cap 
caps cdr cjk cjkcrypt codecs crypt cscope cups dba dga directfb divx4linux 
djbfft doc dtsdv dvb dvd dvdr dvdread edl encode esd evms2 faac faad fam fbcon 
ffmpeg flac flash flatfile fmod foomaticdb freetype freewnn fs gd gdbm ggi gif 
gimp gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml guile hardenedphp icq 
ieee1394 imagemagick imap imlib intl jabber jack java javascript jbig jce 
joystick jp2 jpeg kde kerberos krb4 ldap libcaca libcss libdvdread libg++ 
libwww linguas_en_US linguas_es linguas_ru linguas_zh_CN linguas_zh_TW live 
ltsp lzo lzw lzw-tiff m17n-lib mad maildir md5sum mdb mikmod ming mmx mng mono 
motif mozdomi mozilla mozplaintext mozsvg mozxmlterm mp3 mpeg mpeg4 mpi 
mplayer msn msql mssql mule music mysql mysqlinas ncurses net network nls nptl 
ntlm nvidia offensive oggvorbis ooo-kde opengloss pam pdflib perl pic png 
posix postgres python qt quicktime readline rtc samba sasl scanner sdl slang 
smime spell sse ssl svg svga tcltk tcpd tetex tga theora threads tiff timidity 
transcode truetype type1 uim unicode usb v4l v4l2 vhosts vim-with-x virus-scan 
vnc wifi wmf x86 xine xinerama xml2 xmms xpm xprint xv xvid xvmc yahoo zeo 
zlib"
Comment 1 Aaron Peterson 2004-09-07 04:21:35 UTC
shoot, I was going to give the error message... here it is:

Making all in src
make[2]: Entering directory `/var/tmp/portage/licq-1.3.0_pre-r5/work/licq-1.3.0-PRE/src'
if g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I..  -Wall -I../include -DINSTALL_PREFIX=\"/usr\"  -fPIC -DPIC -D_REENTRANT  -march=athlon-xp-O2 -pipe -fomit-frame-pointer -Wall -fno-exceptions -fno-check-new -MT licq.o -MD -MP -MF ".deps/licq.Tpo" \
  -c -o licq.o `test -f 'licq.cpp' || echo './'`licq.cpp; \
then mv -f ".deps/licq.Tpo" ".deps/licq.Po"; \
else rm -f ".deps/licq.Tpo"; exit 1; \
fi
if g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I..  -Wall -I../include -DINSTALL_PREFIX=\"/usr\"  -fPIC -DPIC -D_REENTRANT  -march=athlon-xp-O2 -pipe -fomit-frame-pointer -Wall -fno-exceptions -fno-check-new -MT main.o -MD -MP -MF ".deps/main.Tpo" \
  -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
else rm -f ".deps/main.Tpo"; exit 1; \
fi
if g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I..  -Wall -I../include -DINSTALL_PREFIX=\"/usr\"  -fPIC -DPIC -D_REENTRANT  -march=athlon-xp-O2 -pipe -fomit-frame-pointer -Wall -fno-exceptions -fno-check-new -MT icqpacket.o -MD -MP -MF ".deps/icqpacket.Tpo" \
  -c -o icqpacket.o `test -f 'icqpacket.cpp' || echo './'`icqpacket.cpp; \
then mv -f ".deps/icqpacket.Tpo" ".deps/icqpacket.Po"; \
else rm -f ".deps/icqpacket.Tpo"; exit 1; \
fi
if g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I..  -Wall -I../include -DINSTALL_PREFIX=\"/usr\"  -fPIC -DPIC -D_REENTRANT  -march=athlon-xp-O2 -pipe -fomit-frame-pointer -Wall -fno-exceptions -fno-check-new -MT proxy.o-MD -MP -MF ".deps/proxy.Tpo" \
  -c -o proxy.o `test -f 'proxy.cpp' || echo './'`proxy.cpp; \
then mv -f ".deps/proxy.Tpo" ".deps/proxy.Po"; \
else rm -f ".deps/proxy.Tpo"; exit 1; \
fi
if g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I..  -Wall -I../include -DINSTALL_PREFIX=\"/usr\"  -fPIC -DPIC -D_REENTRANT  -march=athlon-xp-O2 -pipe -fomit-frame-pointer -Wall -fno-exceptions -fno-check-new -MT socket.o -MD -MP -MF ".deps/socket.Tpo" \
  -c -o socket.o `test -f 'socket.cpp' || echo './'`socket.cpp; \
then mv -f ".deps/socket.Tpo" ".deps/socket.Po"; \
else rm -f ".deps/socket.Tpo"; exit 1; \
fi
if g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I..  -Wall -I../include -DINSTALL_PREFIX=\"/usr\"  -fPIC -DPIC -D_REENTRANT  -march=athlon-xp-O2 -pipe -fomit-frame-pointer -Wall -fno-exceptions -fno-check-new -MT icqd.o -MD -MP -MF ".deps/icqd.Tpo" \
  -c -o icqd.o `test -f 'icqd.cpp' || echo './'`icqd.cpp; \
then mv -f ".deps/icqd.Tpo" ".deps/icqd.Po"; \
else rm -f ".deps/icqd.Tpo"; exit 1; \
fi
In file included from icqd.cpp:41:
../include/licq_gpg.h:6:26: gpgme3/gpgme.h: No such file or directory
In file included from icqd.cpp:41:
../include/licq_gpg.h:23: error: `GpgmeCtx' does not name a type
make[2]: *** [icqd.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/licq-1.3.0_pre-r5/work/licq-1.3.0-PRE/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/licq-1.3.0_pre-r5/work/licq-1.3.0-PRE'
make: *** [all] Error 2

!!! ERROR: net-im/licq-1.3.0_pre-r5 failed.
!!! Function src_compile, Line 77, Exitcode 2
!!! (no error message)

escargot env.d #   
Comment 2 Daniel Black (RETIRED) gentoo-dev 2004-09-14 03:31:23 UTC
this isn't a gcc problem as far as I can tell.

It needs a:
env GPGME_CONFIG=${ROOT}usr/bin/gpgme3-config

line before econf.
and not files/1.3.0-gpgme3_hack.patch

just double checking now before I commit it.
Comment 3 Daniel Black (RETIRED) gentoo-dev 2004-09-14 04:16:59 UTC
If it have a propper configure script grumple grumple.


Look at mail-client/sylpheed-0.9.12-r4.ebuild configure.in for an autoconf utilising of gpg3-config.


Comment 4 Daniel Black (RETIRED) gentoo-dev 2004-09-15 05:00:30 UTC
Created attachment 39634 [details]
licq-1.3.0_pre-r6.ebuild

fixes a few things in the previous release. Not totally debugged but even when
I got the compiled version it just ran in a race condition.
Comment 5 Daniel Black (RETIRED) gentoo-dev 2004-09-15 05:01:44 UTC
Created attachment 39635 [details, diff]
licq-1.3.0_pre-r6-gpgme3_hack.patch

Fixed the automake stuff - I submitted this one upstream
Comment 6 Daniel Black (RETIRED) gentoo-dev 2004-09-15 05:05:14 UTC
Created attachment 39636 [details, diff]
1.3.0-flaghacker.patch

stop stripping the debug flag out of  CFLAGS.

Work todo - still uses CXXFLAGS/CPPFLAGS or something. Check its using
CXXFLAGS.

This still add a -f<> flag that I haven't got rid of totally yet.
Comment 7 Daniel Black (RETIRED) gentoo-dev 2004-09-15 05:07:46 UTC
Created attachment 39637 [details, diff]
1.3.0-makefile-locale.patch

This may break stuff so I'm no sure. Got errors
http://sourceforge.net/tracker/index.php?func=detail&aid=1028468&group_id=254&atid=100254
 and was trying to fix them.
Comment 8 Daniel Black (RETIRED) gentoo-dev 2004-09-15 05:11:55 UTC
Sorry Konstantin passing this back to you cause it was giving me too much grief.
Comment 9 Konstantin Arkhipov (RETIRED) gentoo-dev 2004-09-28 10:46:43 UTC
_pre2 committed
i hope, everything is ok in it, but, please, test it.