I can't compile gaim-0.75-r5 on my gentoo-1.2 system. It complains about va_copy, which isn't in glibc 2.2 (you need to use G_VA_COPY instead). gaim-0.75-r4 worked fine - it is the gaim-0.76cvs-varargs.diff patch that causes the problem. make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/var/tmp/portage/gaim-0.75-r5/work/gaim-0.75/src/protocols' make[3]: Leaving directory `/var/tmp/portage/gaim-0.75-r5/work/gaim-0.75/src/protocols' make[3]: Entering directory `/var/tmp/portage/gaim-0.75-r5/work/gaim-0.75/src' /bin/sh ../libtool --silent --mode=link gcc -mcpu=i686 -O3 -pipe -Wall -g3 -o gaim -export-dynamic account.o accountopt.o blist.o buddyicon.o connection.o conversation.o core.o debug.o ft.o imgstore.o log.o md5.o notify.o plugin.o pounce.o privacy.o proxy.o prefs.o prpl.o request.o server.o sha.o signals.o status.o stringref.o sound.o sslconn.o util.o value.o xmlnode.o about.o away.o buddy_chat.o dialogs.o dnd-hints.o gaim-disclosure.o gaimrc.o gtkaccount.o gtkcellrendererprogress.o gtkblist.o gtkconn.o gtkconv.o gtkdebug.o gtkft.o gtkimhtml.o gtklog.o gtknotify.o gtkplugin.o gtkprefs.o gtkprivacy.o gtkpounce.o gtkrequest.o gtksound.o gtksourceiter.o gtkutils.o idle.o main.o session.o stock.o themes.o -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -laudio -lXt -L/usr/lib -lao -ldl -L/usr/lib -laudiofile -lm -L/usr/X11R6/lib -lSM -lICE -lX11 -lXext -L/usr/X11R6/lib -lXss -L/usr/X11R6/lib -lSM -lICE -Wl,--export-dynamic -lgtkspell -lenchant -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lstartup-notification-1 -lnsl signals.o(.text+0x638): In function `gaim_signal_emit_vargs': /var/tmp/portage/gaim-0.75-r5/work/gaim-0.75/src/signals.c:446: undefined reference to `va_copy' collect2: ld returned 1 exit status make[3]: *** [gaim] Error 1 make[3]: Leaving directory `/var/tmp/portage/gaim-0.75-r5/work/gaim-0.75/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gaim-0.75-r5/work/gaim-0.75/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gaim-0.75-r5/work/gaim-0.75' make: *** [all] Error 2 !!! ERROR: net-im/gaim-0.75-r5 failed. !!! Function src_compile, Line 66, Exitcode 2 !!! Make failed Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.50_pre16 (default-1.0, gcc-2.95.3, glibc-2.2.5-r9, 2.4.24) ============================================================== === System uname: 2.4.24 i686 Transmeta(tm) Crusoe(tm) Processor TM5800 Gentoo Base System version 1.4.3.12 distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.7.8 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-mcpu=i686 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /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/env.d" CXXFLAGS="-mcpu=i686 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache digest sandbox strict" GENTOO_MIRRORS="http://gentoo.oregonstate.edu 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="X X509 aalib alsa apache2 apm avi berkdb bonobo cdr crypt cups curses dga dvd emacs encode esd ethereal evo fbcon foomaticdb gdbm gif gnome-libs gpm gtk gtk2 gtkhtml guile imap imlib java jpeg lcms ldap libg++ libwww mmx motif mpeg mysql nas ncurses odbc oggvorbis oss pam pcmcia pda pdflib perl pic plotutils png pnp python quicktime readline samba sdl skey slang smooth snmp spell ssl stroke svga tcltk tcpd tetex tiff truetype trusted usb vim-with-x x86 xml xml2 xmms xv zlib"
Any reason you can't upgrade to a 1.4 profile ?
Yes I'm tempted to ask if you can upgrade as well. Do you know if G_VA_COPY is in glibc 2.3.x so that I wouldn't have to do some type of conditional patching after detecting glibc version?
Just an FYI that the va_copy is in gaim CVS so unless they decide to change (and I _seriously_ doubt they'll feel sympathetic) you'll eventually want to upgrade anyway.
I haven't upgraded to 1.4 yet because 1.2 isn't deprecated (AFAIK yet!), and it would take well over a week to recompile everything on my lowly laptop. I intend to run 1.2 until it's completely unsupported and/or I get a new laptop. G_VA_COPY should be defined in glibconfig.h on gentoo 1.4 machines as well - I haven't got one here to look it, but it is on a Redhat 9 box here. Anyway if you want to mark this as DONTFIX, that's fine with me. However you might want to then put gaim-0.75-r4.ebuild back into portage and mask >=gaim-0.75-r5 in /usr/portage/profiles/default-1.0/packages
gaim devs agree and we are changing to use G_VA_COPY. Sorry for the inconvencience. I'm testing now. I'll post back when checked in.
Alright I've checked in the updated patch. Give it 20-30 minutes and rsync then re-emerge gaim-0.75-r5. Make sure that gaim-0.75-r5.ebuild has v 1.4 in the $Header line. confirm back here when you get results and I'll close this out if it's good.
It works fine now. Thanks for all your help! It's nice to know that us gentoo-1.2 old farts are still loved :-)
Thanks for catching this early and I'm sure the gaim developers thank you too.