Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152105 - x11-plugins/gaim-otr-3.0.0-r1 does not compile with gaim-2.0.0_beta4
Summary: x11-plugins/gaim-otr-3.0.0-r1 does not compile with gaim-2.0.0_beta4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-20 06:25 UTC by Matteo 'The Peach' Pescarin
Modified: 2006-10-21 07:23 UTC (History)
1 user (show)

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


Attachments
fixes compile with gaim-2.0.0beta4 (otr-beta4.patch,379 bytes, patch)
2006-10-20 10:47 UTC, Jon Oberheide
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matteo 'The Peach' Pescarin 2006-10-20 06:25:32 UTC
after installing new version of gaim, gaim-otr does not work anymore

if /bin/sh ./libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.    -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gaim   -DUSING_GTK -DGAIM_PLUGINS -DGAIM_OTR_VERSION=\"3.0.0\" -O2 -march=pentium-m -pipe -MT gtk-dialog.lo -MD -MP -MF ".deps/gtk-dialog.Tpo" -c -o gtk-dialog.lo gtk-dialog.c; \
        then mv -f ".deps/gtk-dialog.Tpo" ".deps/gtk-dialog.Plo"; else rm -f ".deps/gtk-dialog.Tpo"; exit 1; fi
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gaim -DUSING_GTK -DGAIM_PLUGINS -DGAIM_OTR_VERSION=\"3.0.0\" -O2 -march=pentium-m -pipe -MT gtk-dialog.lo -MD -MP -MF .deps/gtk-dialog.Tpo -c gtk-dialog.c  -fPIC -DPIC -o .libs/gtk-dialog.o
gtk-dialog.c:33:22: error: gtkstock.h: No such file or directory
gtk-dialog.c: In function 'create_dialog':
gtk-dialog.c:651: error: 'GAIM_STOCK_DIALOG_ERROR' undeclared (first use in this function)
gtk-dialog.c:651: error: (Each undeclared identifier is reported only once
gtk-dialog.c:651: error: for each function it appears in.)
gtk-dialog.c:655: error: 'GAIM_STOCK_DIALOG_WARNING' undeclared (first use in this function)
gtk-dialog.c:659: error: 'GAIM_STOCK_DIALOG_INFO' undeclared (first use in this function)
make[1]: *** [gtk-dialog.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/gaim-otr-3.0.0-r1/work/gaim-otr-3.0.0'
make: *** [all] Error 2

!!! ERROR: x11-plugins/gaim-otr-3.0.0-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  gaim-otr-3.0.0-r1.ebuild, line 30:   Called die


Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.12.5
Last Sync: Fri, 20 Oct 2006 08:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks fixpackages metadata-transfer nostrip sandbox sfperms strict usersandbox"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ ftp://ftp.unina.it/pub/linux/distributions/gentoo  ftp://ftp.rnl.ist.utl.pt/pub/gentoo/ http://gentoo.seren.com/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/ "
LANG="it_IT@euro"
LC_ALL="it_IT@euro"
LDFLAGS="-Wl,-z,now"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d aac acl acpi alsa apache2 asf audacious audiofile bash-completion bitmap-fonts bluetooth bundled-libs bzip2 bzlib cairo calendar cdda cdio cdparanoia cdr chardet cli cracklib crypt cups dbus directfb divx4linux dlloader dri dv dvd dvdr dvdread dynamic effects elibc_glibc emboss encode escreen ethereal exif fam fb fbcon fbsplash ffmpeg firefox flac flash font-server foomaticdb freetype ftp fuse gecko-sdk geoip gif gimp gimpprint gphoto2 gpm graphviz gtk hal icq id3 imagemagick imlib inkjar input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_wacom ipv6 isdnlog jabber java javascript jbig jikes jpeg jpeg2k kernel_linux lame libg++ linguas_it lm_sensors lzw-tiff mad mikmod mjpeg mmx mng motif mozsvg mp3 mpeg mpeg2 mpeg4 mysql mysqli ncurses nls nodrm nptl nptlonly nsplugin nvidia offensive ogg opengl oss pam pcmcia pcre pdf perl php plugin pmu png pnp posix ppds pppd python quicktime radiotap rar readline real reflection reiser4 reiserfs rtc samba sdl session slang sockets spamassassin spell spl sse sse2 ssl stroke svg svga sysfs tcpd threads thumbnail tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales utf8 v4l v4l2 vcd video_cards_fbdev video_cards_nvidia video_cards_v4l video_cards_vesa vorbis wifi win32codecs wma wmf wxgtk1 wxwindows x11vnc xchatdccserver xface xforms xine xinerama xml xmms xorg xosd xscreensaver xv xvid yv12 zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jon Oberheide 2006-10-20 10:22:50 UTC
Looks like it can't find gtkstock.h which is probably due to the reorganization of the Gaim source tree.

Won't have time to look at it until later this evening but I could probably whip up a patch.
Comment 2 Jon Oberheide 2006-10-20 10:47:39 UTC
Created attachment 100096 [details, diff]
fixes compile with gaim-2.0.0beta4

Turns out its just the change of gtkstock.h to gaimstock.h.  Unfortunately gaim.h does not have a GAIM_X_VERSION for the beta revision so detecting whether to apply the patch will probably have to be done in the ebuild as opposed to in the OTR source.
Comment 3 Kathryn Kulick (RETIRED) gentoo-dev 2006-10-21 07:23:34 UTC
Patch applied with -r2 of gaim-otr, thank you very much :)