# emerge -u xfree ... + gcc -o ./libXfont.so.1.4~ -shared -Wl,-soname,libXfont.so.1 bitmap/bdfread.o bitmap/bdfutils.o bitmap/bitmapfunc.o bitmap/bitmap.o bitmap/bitmaputil.o bitmap/bitscale.o bitmap/fontink.o bitmap/pcfread.o bitmap/pcfwrite.o bitmap/snfread.o fontfile/bitsource.o fontfile/bufio.o fontfile/decompress.o fontfile/defaults.o fontfile/dirfile.o fontfile/encparse.o fontfile/ffcheck.o fontfile/fileio.o fontfile/filewr.o fontfile/fontdir.o fontfile/fontencc.o fontfile/fontenc.o fontfile/fontfile.o fontfile/fontscale.o fontfile/gunzip.o fontfile/printerfont.o fontfile/register.o fontfile/renderers.o fc/fsconvert.o fc/fserve.o fc/fsio.o fc/transport.o fontcache/fontcache.o Speedo/bics-unicode.o Speedo/do_char.o Speedo/do_trns.o Speedo/out_bl2d.o Speedo/out_blk.o Speedo/out_scrn.o Speedo/out_util.o Speedo/reset.o Speedo/set_spcs.o Speedo/set_trns.o Speedo/spencode.o Speedo/sperr.o Speedo/spfile.o Speedo/spfont.o Speedo/spfuncs.o Speedo/spglyph.o Speedo/spinfo.o Type1/afm.o Type1/arith.o Type1/cidchar.o Type1/curves.o Type1/fontfcn.o Type1/hints.o Type1/lines.o Type1/objects.o Type1/paths.o Type1/regions.o Type1/scanfont.o Type1/spaces.o Type1/t1funcs.o Type1/t1info.o Type1/t1io.o Type1/t1malloc.o Type1/t1snap.o Type1/t1stub.o Type1/t1unicode.o Type1/token.o Type1/type1.o Type1/util.o FreeType/autohint.o FreeType/cff.o FreeType/ftbase.o FreeType/ftenc.o FreeType/ftfuncs.o FreeType/ftglyph.o FreeType/ftinit.o FreeType/ftsystem.o FreeType/fttools.o FreeType/fttype1.o FreeType/ftxf86.o FreeType/psaux.o FreeType/pshinter.o FreeType/psnames.o FreeType/raster.o FreeType/sfnt.o FreeType/truetype.o FreeType/type1.o util/atom.o util/fontaccel.o util/fontnames.o util/fontutil.o util/fontxlfd.o util/format.o util/miscutil.o util/patcache.o util/private.o util/utilbitmap.o -L../../exports/lib -lm -lz -lfntstubs -lc /usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.2.3/../../../../alpha-unknown-linux-gnu/bin/ld: ../../exports/lib/libz.a(zutil.o): gp-relative relocation against dynamic symbol z_errmsg /usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.2.3/../../../../alpha-unknown-linux-gnu/bin/ld: ../../exports/lib/libz.a(zutil.o): gp-relative relocation against dynamic symbol z_errmsg collect2: ld returned 1 exit status + rm -f libXfont.so.1 + ln -s libXfont.so.1.4 libXfont.so.1 + rm -f ../../exports/lib/libXfont.so.1 + cd ../../exports/lib + ln -s ../../lib/font/libXfont.so.1 . rm -f libXfont.so.1.4 mv -f libXfont.so.1.4~ libXfont.so.1.4 mv: cannot stat `libXfont.so.1.4~': No such file or directory make[3]: *** [libXfont.so.1.4] Error 1 make[3]: Leaving directory `/usr/local/tmp/portage/xfree-4.3.0-r3/work/xc/lib/font' make[2]: *** [install] Error 2 make[2]: Leaving directory `/usr/local/tmp/portage/xfree-4.3.0-r3/work/xc/lib' make[1]: *** [install] Error 2 make[1]: Leaving directory `/usr/local/tmp/portage/xfree-4.3.0-r3/work/xc' make: *** [install] Error 2 !!! ERROR: x11-base/xfree-4.3.0-r3 failed. !!! Function src_install, Line 528, Exitcode 2 !!! (no error message) # emerge info Portage 2.0.48-r1 (default-alpha-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-alpha-r2 alpha EV67 GENTOO_MIRRORS="http://kant.zk3.dec.com/gentoo/mirror 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 /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/" CONFIG_PROTECT_MASK="/etc/cups /etc/init.d /etc/pam.d /etc/postfix/sample /etc/sound /etc/X11/app-defaults /etc/X11/gdm /etc/X11/rstart /etc/X11/serverconfig /etc/X11/Sessions /etc/X11/starthere /etc/X11/sysconfig /etc/X11/xdm /etc/X11/xinit /etc/X11/xkb /etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/usr/local/tmp" PORTDIR_OVERLAY="/usr/local/home/agriffis/proj/portage" USE="alpha crypt cups encode gif jpeg libg++ mikmod ncurses nls oss pdflib png quicktime spell truetype xml2 xmms xv zlib gnome-libs gtkhtml gdbm berkdb readline tetex bonobo tcltk java guile ruby X sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis gnome gtk qt motif opengl mozilla ldap -arts -esd -kde -slang ev6 pic imap socks5" COMPILER="gcc3" CHOST="alpha-unknown-linux-gnu" CFLAGS="-mcpu=ev67 -O2 -pipe -g3" CXXFLAGS="-mcpu=ev67 -O2 -pipe -g3" ACCEPT_KEYWORDS="alpha ~alpha" MAKEOPTS="-j1" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache cvs keepwork"
Maybe useful to know: I fetched the official, stable sources from xfree86.org and build it without any problem. I'm just wondering what other patches are applied to the gentoo version.
The problem seems to be that something built by the new patches in -r3 is using parts of zlib in a shared library, but zlib isn't built with -fPIC. I made a quick patch to build zlib with -fPIC and it now compiles on my machine. We're going to give it a little more testing before releasing the fix but in the meantime, xfree-4.3.0-r2 should still work fine.
Bugfix is in patchball 2.1.4 for xfree-4.3.0-r3. emerge sync and enjoy.