when trying to update gftpd i get: if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I../../intl -march=athlon64 -O2 -pipe -MT textui.o -MD -MP -MF ".deps/textui.Tpo" \ -c -o textui.o `test -f 'textui.c' || echo './'`textui.c; \ then mv -f ".deps/textui.Tpo" ".deps/textui.Po"; \ else rm -f ".deps/textui.Tpo"; exit 1; \ fi gftp-text.c: In function `gftp_text_ask_question': gftp-text.c:188: warning: assignment makes pointer from integer without a cast x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -o gftp-text gftp-text.o textui.o ../../lib/libgftp.a ../../lib/fsplib/libfsp.a ../uicommon/libgftpui.a -L/usr/lib64 -lglib -lutil -lnsl -lm -lreadline -lncurses -lcrypto -lssl gftp-text.o: In function `gftp_text_ask_question': gftp-text.c:(.text+0x31e): undefined reference to `g_locale_from_utf8' gftp-text.c:(.text+0x54e): undefined reference to `g_locale_from_utf8' collect2: ld returned 1 exit status make[3]: *** [gftp-text] Error 1 make[3]: Leaving directory `/var/tmp/portage/gftp-2.0.18-r2/work/gftp-2.0.18/src/text' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gftp-2.0.18-r2/work/gftp-2.0.18/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gftp-2.0.18-r2/work/gftp-2.0.18' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: emerge -Du gftp OR emerge -Du world Actual Results: I get the errors in 'Details' field. Expected Results: Compile OK. Portage 2.0.53_rc5 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.12-gentoo-r6 x86_64) ================================================================= System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.0_pre9 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.13 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-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LC_ALL="en_US" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X alsa avi bash-completion berkdb bitmap-fonts cdr crypt cups dvd eds emboss encode esd fam foomaticdb fortran gif gpm gstreamer gtk2 imagemagick imlib java jpeg kde libwww lzw lzw-tiff mad mozilla mp3 mpeg ncurses nls ogg opengl pam pdflib perl png python qt quicktime readline sdl slang spell ssl tcpd tiff truetype-fonts type1-fonts usb userlocales vorbis xine xml2 xmms xpm xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
just noting this for anyone that may have time tonight, looks like theres a patch here for this issue: http://archives.seul.org/gftp/users/Mar-2005/msg00018.html
This only applies to gtk1 builds. We had the equivilent patch already, but it was removed when the gtk1 support was removed. There doesn't appear to be any way to explicitly choose gtk2 over gtk1, but it appears to prefer gtk2 to gtk1. Maybe the gtk1 patch should just be put back in?
Same problem here, emerging gftp-2.0.18-r2 fails with the following error message, which to me seems to be essentially the same as with the first poster. I'm on ~x86, so this isn't amd64 specific. gftp-text.c: In function `gftp_text_ask_question': gftp-text.c:188: warning: assignment makes pointer from integer without a cast i686-pc-linux-gnu-gcc -march=pentium3 -O2 -pipe -fomit-frame-pointer -o gftp-text gftp-text.o textui.o ../../lib/libgftp.a ../../lib/fsplib/libfsp.a ../uicommon/libgftpui.a -L/usr/lib -lglib -lutil -lnsl -lm -lreadline -lncurses -lcrypto -lssl gftp-text.o: In function `gftp_text_ask_question': gftp-text.c:(.text+0x343): undefined reference to `g_locale_from_utf8' collect2: ld returned 1 exit status make[3]: *** [gftp-text] Error 1 make[3]: Leaving directory `/var/tmp/portage/gftp-2.0.18-r2/work/gftp-2.0.18/src/text' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gftp-2.0.18-r2/work/gftp-2.0.18/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gftp-2.0.18-r2/work/gftp-2.0.18' make: *** [all] Error 2 emerge --info: Portage 2.0.53_rc6 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 Pentium III (Coppermine) Gentoo Base System version 1.12.0_pre9 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.13 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-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo http://ftp.du.se/pub/os/gentoo ftp://ftp.du.se/pub/os/gentoo http://mirror.gentoo.no/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X acpi alsa arts avi bitmap-fonts cdr crypt cups curl dvd eds emboss encode exif fam flac foomaticdb fortran gdbm gif gimpprint gphoto2 gpm gstreamer gtk2 imagemagick imlib java jpeg kde libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls ogg oggvorbis opengl pam pcmcia pdflib perl png ppds python qt quicktime readline sdl spell sse ssl tcpd tiff truetype truetype-fonts type1-fonts vorbis win32codecs wmf xine xml2 xosd xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
The problem was caused because I had -gtk in my USE flag, now it works OK.
Fixed up the ebuild with -r4 so that you can build with -gtk. Sorry for the long wait.