From owner-freebsd-current@FreeBSD.ORG Fri Apr 16 00:22:42 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 327D316A4CE for ; Fri, 16 Apr 2004 00:22:42 -0700 (PDT) Received: from nwkea-mail-2.sun.com (nwkea-mail-2.sun.com [192.18.42.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id E899543D48 for ; Fri, 16 Apr 2004 00:22:41 -0700 (PDT) (envelope-from Peter.Weiss@Sun.com) Received: from sun-gy.germany ([129.157.128.5]) by nwkea-mail-2.sun.com (8.12.10/8.12.9) with ESMTP id i3G7Mbgx020099; Fri, 16 Apr 2004 00:22:38 -0700 (PDT) Received: from Winona.Germany.Sun.COM (winona [129.157.133.118]) i3G7MbBg014676; Fri, 16 Apr 2004 09:22:37 +0200 (MEST) Received: from Winona.Germany.Sun.COM (localhost [IPv6:::1]) i3G7MaCM013876; Fri, 16 Apr 2004 09:22:36 +0200 (MEST) Received: (from pw105345@localhost)i3G7Ma0L013875; Fri, 16 Apr 2004 09:22:36 +0200 (MEST) X-Authentication-Warning: winona.Germany.Sun.COM: pw105345 set sender to Peter.Weiss@Sun.com using -f To: Sascha Holzleiter References: <1082015313.6486.4.camel@area51.cc-web.ma.schlund.de> <20040415095517.GB2874@isis.wad.cz> From: Peter.Weiss@Sun.com (Peter Weiss, Sun Microsystems, Germany) Date: Fri, 16 Apr 2004 09:22:36 +0200 In-Reply-To: <20040415095517.GB2874@isis.wad.cz> (Roman Neuhauser's message of "Thu, 15 Apr 2004 11:55:17 +0200") Message-ID: User-Agent: Gnus/5.090013 (Oort Gnus v0.13) Emacs/21.3 (sparc-sun-solaris2.9) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: "Peter Weiss, Sun Microsystems, Germany" cc: freebsd-current@freebsd.org Subject: Re: portsupgrade and XFree86-4.4.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2004 07:22:42 -0000 >>>>> "Roman" == Roman Neuhauser writes: Roman> # sascha@daemonground.de / 2004-04-15 09:48:33 +0200: >> On Thu, 2004-04-15 at 09:28, Peter Weiss, Sun Microsystems, Germany wrote: >> > relatively new to FreeBSD I'm running a bleeding edge CVS > installation >> with XFree-4.4.0 binaries installed (damn radeon > support is missing in >> version 4.3.0) over the existing 4.3.0. >> >> Just use XFree86-4-Server-snap instead of XFree86-4-Server. My radeon >> works perfectly well with the snap server port. Roman> Alternatively, look for HOLD_PKGS in /usr/local/etc/pkgtools.conf Roman> [...] I think I've solved this: o I deleted all packages depending on X11. o Then a manually compiled XFree-4.4.0 from the sources and installed it. o I faked the installed XFree-4.3.0 ports to be 4.4.0 (replacing strings in /var/db/pkg/XF*/+CONTENTS, plus the one of imake and dri ports). After running pkgdb -uF the package database was in consistent state again (at least I believe... ;-). o Now I'm able to portinstall anything and it's being compiled against the correct libs. Background behind this is: The libc_r/ libthread nightmare. Some libraries (such as /usr/X11R6/lib/libGL.so) used to depend on libc_r in the default XFree-4.4.0 distributed precompiled binaries. After installing some ports binaries were getting linked against libthread.so. If any binary that uses libthread.so also uses e.g. libGL.so it could not be started. After compiling XFree-4.4.0 manually from the sources on FreeBSD-5.2-current this stuff now uses libthread.so (I had to fix a Makefile entry to enforce this). So installing ports now does not complain about any conflicting thread libraries. Peter -- Peter Weiss / Peter.Weiss@germany.sun.com Sun Microsystems GmbH / Sonnenallee 1, D-85551 Kirchheim-Heimstetten (+49 89) 46008 2947 / mobil 0177/ 60 40 121