Summary: | XFree 4.2.0 fails to build for some users (and me). | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mikael Hallendal (hallski) (RETIRED) <hallski> |
Component: | Current packages | Assignee: | Martin Schlemmer (RETIRED) <azarah> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Mikael Hallendal (hallski) (RETIRED)
2002-01-20 09:18:41 UTC
gcc -o XFree86 -mcpu=i686 -march=i686 -O3 -pipe -ansi -L../../exports/lib ../../programs/Xserver/hw/xfree86/common/xf86Init.o ../../programs/Xserver/hw/xfree86/common/xf86IniExt.o ../../programs/Xserver/hw/xfree86/common/libxf86.a ../../programs/Xserver/hw/xfree86/parser/libxf86config.a ../../programs/Xserver/hw/xfree86/os-support/libxf86_os.a ../../programs/Xserver/hw/xfree86/loader/libloader.a ../../programs/Xserver/hw/xfree86/common/libxf86.a miext/shadow/libshadow.a dix/libdix.a os/libos.a ../../exports/lib/libXdmcp.a ../../lib/font/fontbase.o ../../lib/font/libfontbase.a Xext/libexts.a xkb/libxkb.a Xi/libxinput.a lbx/liblbx.a ../../lib/lbxutil/liblbxutil.a ../../programs/Xserver/hw/xfree86/common/libxf86.a Xext/libexts.a xkb/libxkb.a Xi/libxinput.a lbx/liblbx.a ../../lib/lbxutil/liblbxutil.a render/librender.a dix/libxpstubs.a mi/libmi.a Xext/libexts.a xkb/libxkb.a Xi/libxinput.a lbx/liblbx.a ../../lib/lbxutil/liblbxutil.a render/librender.a ../../programs/Xserver/hw/xfree86/os-support/libxf86_os.a ../../programs/Xserver/hw/xfree86/ddc/libddc.a -lz -lm -rdynamic -ldl -Wl,-rpath-link,../../exports/lib os/libos.a(auth.o): In function `LoadAuthorization': adding ../../lib/Xau/libXau.a to the linking solved the problem, why does it build for some and not for others? reassigning to azarah for now. Try adding the following to src_unpack(): cp ${S}/programs/Xserver/os/Imakefile \ ${S}/programs/Xserver/os/Imakefile.orig sed -e \''s:NormalLibraryTarget(os,$(OBJS)):NormalLibraryTarget(os,$(OBJS) \ ../../lib/Xau/libXau.a):\'' ${S}/programs/Xserver/os/Imakefile.orig > \ ${S}/programs/Xserver/os/Imakefile Bad paste, sorry. Use xfree-4.2.0-r1.ebuild rather. 4.2.0-r1 worked fine. that is the solution pasted here, works, the stuff that actually got into -r1 doesn't work. we should either mark bug #259 as a duplicate (based on summary) or close this one out. The first problem below seems to be fixed, but the xmkmf issue in bug #259 needs to be addressed. Sure, but it would not really have been a bug if rsync/cvs havent decided to drop out on us between the broken one and the working one. It is/was fixed in cvs ... dont know what the status is now with the problems at chiba. fixed in -r3 |