From owner-freebsd-x11@FreeBSD.ORG Sun Apr 15 01:20:41 2007 Return-Path: X-Original-To: x11@FreeBSD.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 62A1D16A400; Sun, 15 Apr 2007 01:20:41 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8A413C457; Sun, 15 Apr 2007 01:20:41 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id DC8711A3C1C; Sat, 14 Apr 2007 18:20:51 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 6354953BBD; Sat, 14 Apr 2007 21:20:35 -0400 (EDT) Date: Sat, 14 Apr 2007 21:20:35 -0400 From: Kris Kennaway To: Kris Kennaway Message-ID: <20070415012035.GA32022@xor.obsecurity.org> References: <20070414194028.GB2313@xor.obsecurity.org> <20070414195441.GA17321@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline In-Reply-To: <20070414195441.GA17321@xor.obsecurity.org> User-Agent: Mutt/1.4.2.2i Cc: lesi@FreeBSD.org, x11@FreeBSD.org Subject: Re: Upgrade script X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2007 01:20:41 -0000 --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Actually this script is not doing enough: the problem is that even after all the portrevisions will be bumped, a portupgrade -a will not install most of the new xorg packages, and the user will be left with a non-working hybrid (I guess no-one actually tested the upgrade part yet :-). i.e. when xorg-libraries is upgraded from 6.9 to 7.2, most of the dependency checks for things that now live in sub-packages will pass (since they look for files also installed by xorg 6.9), so most of the new ports won't be installed. I confirmed this on an attempted upgrade of an xorg 6.9 machine. What was necessary was the following: # Make sure all dependencies are in consistent state pkgdb -FL=09 # This is over-complete, i.e. it removes some things it doesn't have # to. Should be replaced by pkg_delete -f. pkg_deinstall -Rf xorg imake libGLU nvidia-driver # Install new xorg from scratch. Could be replaced by pkg_add -r xorg # once packages are available. portinstall -N xorg # Patch up dependencies, i.e. register new dependencies on all the new # sub-ports of the packages we didn't upgrade yet pkgdb -FL=09 Then portupgrade -a, which was probably not strictly necessary. Kris P.S. Dunno about non-portupgrade users, they may be SOL. --vtzGhvizbBRQ85DL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD4DBQFGIX3iWry0BWjoQKURAiyaAKC0BN/7MgUkOYAoq/CbTQtx0ENE9QCUCD2c x44I7HxufFkH6N8bwm1qLA== =AVtH -----END PGP SIGNATURE----- --vtzGhvizbBRQ85DL-- From owner-freebsd-x11@FreeBSD.ORG Sun Apr 15 01:39:32 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 46ED916A401 for ; Sun, 15 Apr 2007 01:39:32 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 32E2413C45E for ; Sun, 15 Apr 2007 01:39:32 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 39EE41A3C1C; Sat, 14 Apr 2007 18:39:43 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 0C5FE51406; Sat, 14 Apr 2007 21:39:29 -0400 (EDT) Date: Sat, 14 Apr 2007 21:39:22 -0400 From: Kris Kennaway To: Dejan Lesjak Message-ID: <20070415013921.GA68262@xor.obsecurity.org> References: <20070414194028.GB2313@xor.obsecurity.org> <20070414195441.GA17321@xor.obsecurity.org> <200704142311.47387.dejan.lesjak@ijs.si> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Q68bSM7Ycu6FN28Q" Content-Disposition: inline In-Reply-To: <200704142311.47387.dejan.lesjak@ijs.si> User-Agent: Mutt/1.4.2.2i Cc: x11@freebsd.org, Kris Kennaway Subject: Re: Upgrade script X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2007 01:39:32 -0000 --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 14, 2007 at 11:11:47PM +0200, Dejan Lesjak wrote: > On Saturday 14 April 2007 21:54:41 Kris Kennaway wrote: > > On Sat, Apr 14, 2007 at 03:40:28PM -0400, Kris Kennaway wrote: > > > * Before spamming /usr/local there needs to be a check that no files > > > will be skipped (since you are using tar -k to avoid overwriting > > > existing files). Probably something using find -type f -o -type l and > > > then comm(1) would be appropriate; the user should be warned about > > > these conflicts and either bail out until they resolve them, or just > > > proceed and let them deal with them by hand from the backup tarball. >=20 > I've updated the script with this and some other stuff, it's on the same= =20 > place. Thanks. One more thing I spotted is that it doesn't handle non-default X11BASE or LOCALBASE. Probably the way to do this is to use PORTSDIR?=3D/usr/ports X11BASE=3D`make -f ${PORTSDIR}/Mk/bsd.port.mk -V X11BASE` or similar. Using bsd.port.mk is so it picks up the default value, and includes /etc/make.conf to check for override. It also DTRT if X11BASE is set in the environment. Kris --Q68bSM7Ycu6FN28Q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGIYJIWry0BWjoQKURAvCRAJ9VX5RXL0tJDrnIWJFdYWevpngxaACg+9P8 N7ylV35LTde8xzhn139O3T4= =RhQW -----END PGP SIGNATURE----- --Q68bSM7Ycu6FN28Q-- From owner-freebsd-x11@FreeBSD.ORG Sun Apr 15 02:01:00 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2137516A403; Sun, 15 Apr 2007 02:01:00 +0000 (UTC) (envelope-from dejan.lesjak@ijs.si) Received: from mail.ijs.si (mail.ijs.si [193.2.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id B52F913C465; Sun, 15 Apr 2007 02:00:59 +0000 (UTC) (envelope-from dejan.lesjak@ijs.si) Received: from localhost (mailman.ijs.si [193.2.4.66]) by mail.ijs.si (Postfix) with ESMTP id 90B26192DBD; Sun, 15 Apr 2007 04:00:58 +0200 (CEST) DKIM-Signature: v=0.5; a=rsa-sha1; c=relaxed/simple; d=ijs.si; s=ja-200610; t=1176602458; bh=ACfWzd5rfSXmOfrQPacaynNh4tY=; h=DomainKey-Signature: X-Virus-Scanned:Received:Received:Received:Received:From: Organization:To:Subject:Date:User-Agent:Cc:References:In-Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding: Content-Disposition:Message-Id; b=T2Dz1E97BnJXGRMWF2xTtvBl76k4QuQl +adsdNZLO6kKyHrX/Jsocobtmje7lnP+YwxE/jvr9+PvfEEPGib2SfM5g1CfL/bRAZV M3xvty3NubKXUMcktuSTN6HgiBqRe DomainKey-Signature: a=rsa-sha1; s=ja-200610; d=ijs.si; c=nofws; q=dns; h=x-virus-scanned:received:from:organization:to:subject:date: user-agent:cc:references:in-reply-to:mime-version:content-type: content-transfer-encoding:content-disposition:message-id; b=eGbYnDay1T8Kh7wZGvoCVuBxLZ0HE++UjrrVCMLk5WlLb8Ho8HSQIIsvGNnLsAEp7 qnl6jtOTFEYVKN2CkDSVMqLLBf73Ojcx3wstREUKINzZNY+QGSxkyA6ICwt2F7Q X-Virus-Scanned: amavisd-new at ijs.si Received: from mail.ijs.si ([193.2.4.66]) by localhost (mail.ijs.si [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id b9kofI4VnCBD; Sun, 15 Apr 2007 04:00:56 +0200 (CEST) Received: from edina.ijs.si (edina.ijs.si [193.2.4.3]) by mail.ijs.si (Postfix) with ESMTP id 726F4192DAB; Sun, 15 Apr 2007 04:00:56 +0200 (CEST) Received: from radagast.ijs.si (radagast.ijs.si [193.2.4.168]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by edina.ijs.si (Postfix) with ESMTP id D40A4510BD; Sun, 15 Apr 2007 04:00:55 +0200 (CEST) Received: from localhost.ijs.si (localhost.ijs.si [127.0.0.1]) by radagast.ijs.si (8.13.8/8.13.8) with ESMTP id l3F20s0u071896; Sun, 15 Apr 2007 04:00:55 +0200 (CEST) (envelope-from dejan.lesjak@ijs.si) From: Dejan Lesjak Organization: IJS To: Kris Kennaway Date: Sun, 15 Apr 2007 04:00:53 +0200 User-Agent: KMail/1.9.6 References: <20070414194028.GB2313@xor.obsecurity.org> <20070414195441.GA17321@xor.obsecurity.org> <20070415012035.GA32022@xor.obsecurity.org> In-Reply-To: <20070415012035.GA32022@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704150400.54127.dejan.lesjak@ijs.si> Cc: lesi@freebsd.org, x11@freebsd.org Subject: Re: Upgrade script X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2007 02:01:00 -0000 On Sunday 15 April 2007 03:20:35 Kris Kennaway wrote: > Actually this script is not doing enough: the problem is that even > after all the portrevisions will be bumped, a portupgrade -a will not > install most of the new xorg packages, and the user will be left with > a non-working hybrid (I guess no-one actually tested the upgrade part > yet :-). Erm, yes it was, a couple of times in vmware - fresh install of xorg, windowmaker, xine (as they both go in X11BASE). All the xorg 7.2 libs ports were installed. > i.e. when xorg-libraries is upgraded from 6.9 to 7.2, most of the > dependency checks for things that now live in sub-packages will pass > (since they look for files also installed by xorg 6.9), so most of the > new ports won't be installed. They shouldn't just pass. xorg-libraries meta-port is looking for .pc files for dependencies, not libraries, for exactly this purpose. Also the dependecies are under RUN_DEPENDS so portupgrade installs them after removing old version of xorg-libraries (ie it does equivalent of (cd portdir && make build && make deinstall && make install)), at least it did so the last time I upgraded. > I confirmed this on an attempted > upgrade of an xorg 6.9 machine. What was missing from 7.2? > What was necessary was the following: > > # Make sure all dependencies are in consistent state > pkgdb -FL > > # This is over-complete, i.e. it removes some things it doesn't have > # to. Should be replaced by pkg_delete -f. > pkg_deinstall -Rf xorg imake libGLU nvidia-driver > > # Install new xorg from scratch. Could be replaced by pkg_add -r xorg > # once packages are available. > portinstall -N xorg > > # Patch up dependencies, i.e. register new dependencies on all the new > # sub-ports of the packages we didn't upgrade yet > pkgdb -FL > > Then portupgrade -a, which was probably not strictly necessary. > > Kris > > P.S. Dunno about non-portupgrade users, they may be SOL. Hand upgrade of eg xorg-libraries should work with (make build && make deinstall && make install). So if portupgrade alternatives work that way as well they should do the right thing. I'll do more tests but of course wiping out ports, installing old xorg and upgrading to new takes a bit of time... Dejan From owner-freebsd-x11@FreeBSD.ORG Sun Apr 15 02:10:51 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 132F316A400 for ; Sun, 15 Apr 2007 02:10:51 +0000 (UTC) (envelope-from dejan.lesjak@ijs.si) Received: from mail.ijs.si (mail4.ijs.si [193.2.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id B629F13C459 for ; Sun, 15 Apr 2007 02:10:50 +0000 (UTC) (envelope-from dejan.lesjak@ijs.si) Received: from localhost (mail4.ijs.si [193.2.4.66]) by mail.ijs.si (Postfix) with ESMTP id A732C192DC0; Sun, 15 Apr 2007 04:10:49 +0200 (CEST) DKIM-Signature: v=0.5; a=rsa-sha1; c=relaxed/simple; d=ijs.si; s=ja-200610; t=1176603049; bh=TzXQTONwrPqgV2nYTDpvgDi4RT4=; h=DomainKey-Signature: X-Virus-Scanned:Received:Received:Received:Received:From: Organization:To:Subject:Date:User-Agent:Cc:References:In-Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding: Content-Disposition:Message-Id; b=KctKqj/Z+EhYANGZlSOln95Rf0/agvef Fyg7Va8xCS6KRg1arjjKVtBkNXW3S3TQeSSmetPuzc0/lSxTSDGva2VpNqQhQfX3WwW pAbop53kEEFqusdN8eF2DZGwpid13 DomainKey-Signature: a=rsa-sha1; s=ja-200610; d=ijs.si; c=nofws; q=dns; h=x-virus-scanned:received:from:organization:to:subject:date: user-agent:cc:references:in-reply-to:mime-version:content-type: content-transfer-encoding:content-disposition:message-id; b=j9PfDi7iKc7Tgske19XryV3ldctbwq3+qX1K71TeOLZV4Jqhc4gQZCgxe2m0PdnXH j7sskJ1seONYg7N3XNVOJCbv4kC1JwlkyGgR/6kz47cXwLmjY2agLJdc88iV/DC X-Virus-Scanned: amavisd-new at ijs.si Received: from mail.ijs.si ([193.2.4.66]) by localhost (mail.ijs.si [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 3+xeZitZSQgz; Sun, 15 Apr 2007 04:10:48 +0200 (CEST) Received: from edina.ijs.si (edina.ijs.si [193.2.4.3]) by mail.ijs.si (Postfix) with ESMTP id 1A361192DA6; Sun, 15 Apr 2007 04:10:48 +0200 (CEST) Received: from radagast.ijs.si (radagast.ijs.si [193.2.4.168]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by edina.ijs.si (Postfix) with ESMTP id 0E4A5510B6; Sun, 15 Apr 2007 04:10:48 +0200 (CEST) Received: from localhost.ijs.si (localhost.ijs.si [127.0.0.1]) by radagast.ijs.si (8.13.8/8.13.8) with ESMTP id l3F2AlQQ071957; Sun, 15 Apr 2007 04:10:47 +0200 (CEST) (envelope-from dejan.lesjak@ijs.si) From: Dejan Lesjak Organization: IJS To: Kris Kennaway Date: Sun, 15 Apr 2007 04:10:46 +0200 User-Agent: KMail/1.9.6 References: <20070414194028.GB2313@xor.obsecurity.org> <200704142311.47387.dejan.lesjak@ijs.si> <20070415013921.GA68262@xor.obsecurity.org> In-Reply-To: <20070415013921.GA68262@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704150410.46839.dejan.lesjak@ijs.si> Cc: x11@freebsd.org Subject: Re: Upgrade script X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2007 02:10:51 -0000 On Sunday 15 April 2007 03:39:22 Kris Kennaway wrote: > One more thing I spotted is that it doesn't handle > non-default X11BASE or LOCALBASE. Probably the way to do this is to > use > > PORTSDIR?=/usr/ports > X11BASE=`make -f ${PORTSDIR}/Mk/bsd.port.mk -V X11BASE` > > or similar. Using bsd.port.mk is so it picks up the default value, > and includes /etc/make.conf to check for override. It also DTRT if > X11BASE is set in the environment. Hmm. I wouldn't use too much automagic in that case. I'm not sure it's good to assume that if someone has changed the defaults that this script will do the right thing for them regardless if it properly detects changed X11BASE/LOCALBASE. I'd rather say they can change variables at beginning of the script. Perhaps printing the message saying that this should be changed if using non-default (and also to change BACKUPDIR) and then ask for confirmation to continue? Dejan From owner-freebsd-x11@FreeBSD.ORG Sun Apr 15 02:13:01 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7859A16A402; Sun, 15 Apr 2007 02:13:01 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 62AFB13C483; Sun, 15 Apr 2007 02:13:01 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 62B831A3C1C; Sat, 14 Apr 2007 19:13:12 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 5F297515D3; Sat, 14 Apr 2007 22:13:00 -0400 (EDT) Date: Sat, 14 Apr 2007 22:13:00 -0400 From: Kris Kennaway To: Dejan Lesjak Message-ID: <20070415021300.GA77534@xor.obsecurity.org> References: <20070414194028.GB2313@xor.obsecurity.org> <20070414195441.GA17321@xor.obsecurity.org> <20070415012035.GA32022@xor.obsecurity.org> <200704150400.54127.dejan.lesjak@ijs.si> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline In-Reply-To: <200704150400.54127.dejan.lesjak@ijs.si> User-Agent: Mutt/1.4.2.2i Cc: lesi@freebsd.org, x11@freebsd.org, Kris Kennaway Subject: Re: Upgrade script X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2007 02:13:01 -0000 --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 15, 2007 at 04:00:53AM +0200, Dejan Lesjak wrote: > On Sunday 15 April 2007 03:20:35 Kris Kennaway wrote: > > Actually this script is not doing enough: the problem is that even > > after all the portrevisions will be bumped, a portupgrade -a will not > > install most of the new xorg packages, and the user will be left with > > a non-working hybrid (I guess no-one actually tested the upgrade part > > yet :-). >=20 > Erm, yes it was, a couple of times in vmware - fresh install of xorg,=20 > windowmaker, xine (as they both go in X11BASE). All the xorg 7.2 libs por= ts=20 > were installed. >=20 > > i.e. when xorg-libraries is upgraded from 6.9 to 7.2, most of the > > dependency checks for things that now live in sub-packages will pass > > (since they look for files also installed by xorg 6.9), so most of the > > new ports won't be installed. >=20 > They shouldn't just pass. xorg-libraries meta-port is looking for .pc fil= es=20 > for dependencies, not libraries, for exactly this purpose. Also the=20 > dependecies are under RUN_DEPENDS so portupgrade installs them after remo= ving=20 > old version of xorg-libraries (ie it does equivalent of (cd portdir && ma= ke=20 > build && make deinstall && make install)), at least it did so the last ti= me I=20 > upgraded. OK, it looks like you are right - sorry for implying you hadnt tested it. However:: > > I confirmed this on an attempted=20 > > upgrade of an xorg 6.9 machine. >=20 > What was missing from 7.2? libXau failed, followed by: ** Listing the failed packages (*:skipped / !:failed) ! x11/xorg-libraries (xorg-libraries-6.9.0_1) (Failed to rewrite = /var/db/pkg/xorg-libraries-6.9.0_1/+CONTENTS: No such file or directory - /= var/db/ pkg/xorg-libraries-6.9.0_1/+CONTENTS) ! x11-servers/xorg-server (xorg-server-6.9.0_6) (X libraries missin= g) ! x11-toolkits/open-motif (open-motif-2.2.3_2) (X libraries missin= g) ! graphics/libglut (libglut-6.4.2) (X libraries missing) ! x11-toolkits/qt33 (qt-copy-3.3.8) (X libraries missing) ! x11-servers/xorg-printserver (xorg-printserver-6.9.0_2) (X = libraries missing) ! print/ghostscript-afpl (ghostscript-afpl-8.54_2,1) (checksum m= ismatch) ! x11-servers/xorg-nestserver (xorg-nestserver-6.9.0_1) (X librarie= s missing) ! graphics/dri (dri-6.4.1,2) (X libraries missing) ! misc/gnome-mime-data (gnome-mime-data-2.4.3) (uninstall error) ! x11-fonts/xfs (xorg-fontserver-6.9.0_1) (X libraries missin= g) ! x11-servers/xorg-vfbserver (xorg-vfbserver-6.9.0_2) (X librarie= s missing) ! x11/xorg-apps (xorg-clients-6.9.0_3) (uninstall error) ! x11-toolkits/pango (pango-1.16.1) (X libraries missing) ! multimedia/gstreamer80 (gstreamer80-0.8.12_2) (X libraries missin= g) ! x11-toolkits/tk84 (tk-8.4.14_4,2) (X libraries missing) ! sysutils/hal (hal-0.5.8.20070324) (uninstall error) =3D=3D=3D> libXft-2.1.12 depends on executable in : fc-cache - found =3D=3D=3D> libXft-2.1.12 depends on file: /usr/local/libdata/pkgconfig/xp= roto.pc - found =3D=3D=3D> libXft-2.1.12 depends on file: /usr/local/libdata/pkgconfig/xr= ender.pc - found =3D=3D=3D> libXft-2.1.12 depends on executable in : pkg-config - found =3D=3D=3D> libXft-2.1.12 depends on shared library: freetype.9 - found =3D=3D=3D> Building for libXau-1.0.3_2 rm -f XauFileName.3 XauReadAuth.3 XauLockAuth.3 XauUnlockAuth.3 XauWriteAut= h.3 XauDisposeAuth.3 XauGetAuthByAddr.3 XauGetBestAuthByAddr.3 (for i in XauFileName.3 XauReadAuth.3 XauLockAuth.3 XauUnlockAuth.3 XauWrit= eAuth.3 XauDisposeAuth.3 XauGetAuthByAddr.3 XauGetBestAuthByAddr.3 ; do ec= ho .so man3/Xau.3 > $i; done) touch shadows.DONE make all-am if /bin/sh ./libtool --tag=3DCC --mode=3Dcompile cc -DHAVE_CONFIG_H -I. -= I. -I. -I./include -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-= prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -I/usr/loc= al/include -O2 -fno-strict-aliasing -pipe -MT AuDispose.lo -MD -MP -MF ".de= ps/AuDi spose.Tpo" -c -o AuDispose.lo AuDispose.c; then mv -f ".deps/AuDispose.Tpo= " ".deps/AuDispose.Plo"; else rm -f ".deps/AuDispose.Tpo"; exit 1; fi mkdir .libs cc -DHAVE_CONFIG_H -I. -I. -I. -I./include -Wall -Wpointer-arith -Wstrict-= prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fn= o-stric t-aliasing -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT AuDispos= e.lo -MD -MP -MF .deps/AuDispose.Tpo -c AuDispose.c -fPIC -DPIC -o .libs/A= uDispos e.o In file included from AuDispose.c:33: =2E/include/X11/Xauth.h:48:31: X11/Xfuncproto.h: No such file or directory =2E/include/X11/Xauth.h:49:27: X11/Xfuncs.h: No such file or directory I will retry; this system had previously run xorg 7.2 before I dropped it back to 6.9 today, so there is some nonzero chance that it had some leftover files. > > P.S. Dunno about non-portupgrade users, they may be SOL. >=20 > Hand upgrade of eg xorg-libraries should work with (make build && make=20 > deinstall && make install). So if portupgrade alternatives work that way = as=20 > well they should do the right thing. I'll do more tests but of course wip= ing=20 > out ports, installing old xorg and upgrading to new takes a bit of time... I am not really interested in supporting non-portupgrade utilities. None of them seem to be sufficiently complete, e.g. portmaster doesn't preserve old libraries leading to enormous trouble when shared libraries are bumped (hi, gettext!), etc. Kris --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGIYorWry0BWjoQKURAtblAKDB59WSn/Iyy/zB4MfWACqJOvk91gCghnZF KAfm20QQmtYsjhXf+hsoH0c= =M/L0 -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/-- From owner-freebsd-x11@FreeBSD.ORG Sun Apr 15 02:13:23 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AC35F16A400 for ; Sun, 15 Apr 2007 02:13:23 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 97CEC13C469 for ; Sun, 15 Apr 2007 02:13:23 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id BDBC11A3C1C; Sat, 14 Apr 2007 19:13:34 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id A2B0251396; Sat, 14 Apr 2007 22:13:22 -0400 (EDT) Date: Sat, 14 Apr 2007 22:13:22 -0400 From: Kris Kennaway To: Dejan Lesjak Message-ID: <20070415021322.GB77534@xor.obsecurity.org> References: <20070414194028.GB2313@xor.obsecurity.org> <200704142311.47387.dejan.lesjak@ijs.si> <20070415013921.GA68262@xor.obsecurity.org> <200704150410.46839.dejan.lesjak@ijs.si> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="f2QGlHpHGjS2mn6Y" Content-Disposition: inline In-Reply-To: <200704150410.46839.dejan.lesjak@ijs.si> User-Agent: Mutt/1.4.2.2i Cc: x11@freebsd.org, Kris Kennaway Subject: Re: Upgrade script X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2007 02:13:23 -0000 --f2QGlHpHGjS2mn6Y Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 15, 2007 at 04:10:46AM +0200, Dejan Lesjak wrote: > On Sunday 15 April 2007 03:39:22 Kris Kennaway wrote: > > One more thing I spotted is that it doesn't handle > > non-default X11BASE or LOCALBASE. Probably the way to do this is to > > use > > > > PORTSDIR?=3D/usr/ports > > X11BASE=3D`make -f ${PORTSDIR}/Mk/bsd.port.mk -V X11BASE` > > > > or similar. Using bsd.port.mk is so it picks up the default value, > > and includes /etc/make.conf to check for override. It also DTRT if > > X11BASE is set in the environment. >=20 > Hmm. I wouldn't use too much automagic in that case. I'm not sure it's go= od to=20 > assume that if someone has changed the defaults that this script will do = the=20 > right thing for them regardless if it properly detects changed=20 > X11BASE/LOCALBASE. I'd rather say they can change variables at beginning = of=20 > the script. Perhaps printing the message saying that this should be chang= ed=20 > if using non-default (and also to change BACKUPDIR) and then ask for=20 > confirmation to continue? Yes, that is probably best. Kris --f2QGlHpHGjS2mn6Y Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGIYpCWry0BWjoQKURAlTBAJ0YcyLj2jKfDPNEaKDVDedj90QWKwCcCU+V UjSTRitK3JrTetgFlGlJyx8= =1kw+ -----END PGP SIGNATURE----- --f2QGlHpHGjS2mn6Y-- From owner-freebsd-x11@FreeBSD.ORG Sun Apr 15 04:55:52 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0486616A400 for ; Sun, 15 Apr 2007 04:55:52 +0000 (UTC) (envelope-from indigo23@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id BBBBB13C46C for ; Sun, 15 Apr 2007 04:55:51 +0000 (UTC) (envelope-from indigo23@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1380856ana for ; Sat, 14 Apr 2007 21:55:51 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=DO99SUFcmZM6B2tEjxoP2dlOcvNwxFOI+l6o6k33tQrZJY/cj70rNx8azd9siK5w7qW/9Resk3TYcF1euubeT/J0yddqgz3TvyG6RXEdKqu+02u5yc/ob2eYFFVrtn7DSO0xNqpecveU6gX6DY2ASphdvk69C4tPxQBHTzpO1HE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=QnZVXoFclaONSk+yfQEGJlMiLWLUjvLu8yXuxRAh686wxzTFNQeaNk0I+kVL18lie0vg/35eLB1SmZMnQjVgn0pQdHo9cNz11TWaeWo7keR9AfAtIANWlmUyR2iOdG1IxtnvYYxEBFl5FSv+FfIs2IDjWjVh8qaS62lIjHyFxoo= Received: by 10.114.113.1 with SMTP id l1mr1589310wac.1176612950433; Sat, 14 Apr 2007 21:55:50 -0700 (PDT) Received: by 10.115.88.20 with HTTP; Sat, 14 Apr 2007 21:55:50 -0700 (PDT) Message-ID: <6f50eac40704142155u2ac4c149tc3e3c6d83ac2e1d4@mail.gmail.com> Date: Sun, 15 Apr 2007 00:55:50 -0400 From: "Indigo 23" To: freebsd-x11@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Reinstalling Xorg 7.2 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2007 04:55:52 -0000 I recently removed Xorg 7.2 since I needed to do a fresh install of it because some things got messed up, after removing it and its relevant packages, I cannot reinstall it. If I go to /usr/ports/x11/xorg and then do make all install clean, it just registers the package for xorg-7.2, even though all of its components and such are removed. Is there any way to force reinstallation (i.e. recompilation) of xorg-7.2 and all its dependencies? Thanks. From owner-freebsd-x11@FreeBSD.ORG Sun Apr 15 04:58:03 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D286616A400 for ; Sun, 15 Apr 2007 04:58:03 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id BF4A413C458 for ; Sun, 15 Apr 2007 04:58:03 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 0F2BB1A3C1C; Sat, 14 Apr 2007 21:58:15 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id B4D6F53017; Sun, 15 Apr 2007 00:58:02 -0400 (EDT) Date: Sun, 15 Apr 2007 00:58:02 -0400 From: Kris Kennaway To: Indigo 23 Message-ID: <20070415045802.GA84774@xor.obsecurity.org> References: <6f50eac40704142155u2ac4c149tc3e3c6d83ac2e1d4@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="82I3+IH0IqGh5yIs" Content-Disposition: inline In-Reply-To: <6f50eac40704142155u2ac4c149tc3e3c6d83ac2e1d4@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-x11@freebsd.org Subject: Re: Reinstalling Xorg 7.2 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2007 04:58:03 -0000 --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Apr 15, 2007 at 12:55:50AM -0400, Indigo 23 wrote: > I recently removed Xorg 7.2 since I needed to do a fresh install of it > because some things got messed up, after removing it and its relevant > packages, I cannot reinstall it. If I go to /usr/ports/x11/xorg and > then do make all install clean, it just registers the package for > xorg-7.2, even though all of its components and such are removed. Is > there any way to force reinstallation (i.e. recompilation) of xorg-7.2 > and all its dependencies? Sounds like you needed to 'make clean' first. Kris --82I3+IH0IqGh5yIs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGIbDaWry0BWjoQKURAk0gAKChgIJV+UIIKfo+WRNYSEE0Va/f2gCfZdkY hzzuvna27OJxRYC9DPLhwrA= =CS+X -----END PGP SIGNATURE----- --82I3+IH0IqGh5yIs-- From owner-freebsd-x11@FreeBSD.ORG Sun Apr 15 05:12:28 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C722A16A402 for ; Sun, 15 Apr 2007 05:12:28 +0000 (UTC) (envelope-from indigo23@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.238]) by mx1.freebsd.org (Postfix) with ESMTP id 72EEF13C455 for ; Sun, 15 Apr 2007 05:12:28 +0000 (UTC) (envelope-from indigo23@gmail.com) Received: by nz-out-0506.google.com with SMTP id r28so1057857nza for ; Sat, 14 Apr 2007 22:12:27 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Hjdt4pp5kVmer8J0wrW8Dvz9RC9pwiBeEch4aU3+fOGRVVr/lKEK+5DllnhqqFnT4pgKpks/e4VWh24S1WCx194B7mFG1Xf/WEZKW8lWiAzmVSHtXVsrVi5oTEu6SN/3NMjqjWE2SDkoCorCUSpALP9ZySVt1s9ZYb1jWSkcIXo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OCIB/WP/u9/WQoIEhHt6Ra041mD2fHjXulD3XEIsc2OJ+Gme8DRCcUlSVqNT0pIZYeiBMKq5ipPlYLaBoVKDijorKAsvmG4o6qYoZIObED7Skc/XaTOwIJm2tC6I+TM6vqWZjvgSK12KN3EeKyXRQicdSBVnIMvQdCAgIjMSeNs= Received: by 10.115.93.16 with SMTP id v16mr1596821wal.1176613947536; Sat, 14 Apr 2007 22:12:27 -0700 (PDT) Received: by 10.115.88.20 with HTTP; Sat, 14 Apr 2007 22:12:27 -0700 (PDT) Message-ID: <6f50eac40704142212w62465552of926f0cbdcc8567e@mail.gmail.com> Date: Sun, 15 Apr 2007 01:12:27 -0400 From: "Indigo 23" To: "Kris Kennaway" In-Reply-To: <20070415045802.GA84774@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6f50eac40704142155u2ac4c149tc3e3c6d83ac2e1d4@mail.gmail.com> <20070415045802.GA84774@xor.obsecurity.org> Cc: freebsd-x11@freebsd.org Subject: Re: Reinstalling Xorg 7.2 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2007 05:12:28 -0000 On 4/15/07, Kris Kennaway wrote: > On Sun, Apr 15, 2007 at 12:55:50AM -0400, Indigo 23 wrote: > > I recently removed Xorg 7.2 since I needed to do a fresh install of it > > because some things got messed up, after removing it and its relevant > > packages, I cannot reinstall it. If I go to /usr/ports/x11/xorg and > > then do make all install clean, it just registers the package for > > xorg-7.2, even though all of its components and such are removed. Is > > there any way to force reinstallation (i.e. recompilation) of xorg-7.2 > > and all its dependencies? > > Sounds like you needed to 'make clean' first. > > Kris > I did make clean first and tried several things. The strange thing is that I think that it didn't remove cleanly for some reason (I used pkg_deinstall -fP). Is there a way to force a rebuild/reinstall of all of xorg-7.2 using the meta-port (i.e. /usr/ports/x11/xorg) ? Because if I try that now, it just does this: # make all install clean This is a meta-port, meaning that it just depends on its subparts of the port. It won't build and install all the parts until you have typed make install This port does not ensure things are upgraded; use portupgrade if you want to upgrade X.Org. If you simply type 'make install' it may use over 2GB to build all of the subports. You can install the ports singly if you are low on space. ===> Extracting for xorg-7.2 ===> Patching for xorg-7.2 ===> Configuring for xorg-7.2 ===> Installing for xorg-7.2 ===> xorg-7.2 depends on file: /usr/local/lib/dri/r128_dri.so - found ===> xorg-7.2 depends on file: /usr/local/libdata/pkgconfig/xbitmaps.pc - found ===> xorg-7.2 depends on file: /usr/local/lib/X11/icons/handhelds/cursors/X_cursor - found ===> xorg-7.2 depends on file: /usr/local/share/X11/doc/hardcopy/BDF/bdf.PS.gz - found ===> xorg-7.2 depends on file: /usr/local/libdata/xorg/apps - found ===> xorg-7.2 depends on file: /usr/local/libdata/xorg/libraries - found ===> xorg-7.2 depends on file: /usr/local/libdata/xorg/fonts - found ===> xorg-7.2 depends on file: /usr/local/libdata/xorg/drivers - found ===> xorg-7.2 depends on file: /usr/local/libdata/xorg/protos - found ===> xorg-7.2 depends on file: /usr/local/bin/Xorg - found ===> Generating temporary packing list ===> Registering installation for xorg-7.2 So basically I just wind up with xorg-7.2 in the pkgdb, but the rest of the ports like xorg-apps, xf86-driver-*, etc. are all missing since they have been removed. Any ideas? Thanks. From owner-freebsd-x11@FreeBSD.ORG Sun Apr 15 05:18:42 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6C94E16A402 for ; Sun, 15 Apr 2007 05:18:42 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 4F0F513C459 for ; Sun, 15 Apr 2007 05:18:42 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 662421A3C1C; Sat, 14 Apr 2007 22:18:53 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id E9EF753443; Sun, 15 Apr 2007 01:18:40 -0400 (EDT) Date: Sun, 15 Apr 2007 01:18:40 -0400 From: Kris Kennaway To: Indigo 23 Message-ID: <20070415051839.GA36699@xor.obsecurity.org> References: <6f50eac40704142155u2ac4c149tc3e3c6d83ac2e1d4@mail.gmail.com> <20070415045802.GA84774@xor.obsecurity.org> <6f50eac40704142212w62465552of926f0cbdcc8567e@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WIyZ46R2i8wDzkSu" Content-Disposition: inline In-Reply-To: <6f50eac40704142212w62465552of926f0cbdcc8567e@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-x11@freebsd.org, Kris Kennaway Subject: Re: Reinstalling Xorg 7.2 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2007 05:18:42 -0000 --WIyZ46R2i8wDzkSu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 15, 2007 at 01:12:27AM -0400, Indigo 23 wrote: > On 4/15/07, Kris Kennaway wrote: > >On Sun, Apr 15, 2007 at 12:55:50AM -0400, Indigo 23 wrote: > >> I recently removed Xorg 7.2 since I needed to do a fresh install of it > >> because some things got messed up, after removing it and its relevant > >> packages, I cannot reinstall it. If I go to /usr/ports/x11/xorg and > >> then do make all install clean, it just registers the package for > >> xorg-7.2, even though all of its components and such are removed. Is > >> there any way to force reinstallation (i.e. recompilation) of xorg-7.2 > >> and all its dependencies? > > > >Sounds like you needed to 'make clean' first. > > > >Kris > > > I did make clean first and tried several things. The strange thing is > that I think that it didn't remove cleanly for some reason (I used > pkg_deinstall -fP). Is there a way to force a rebuild/reinstall of > all of xorg-7.2 using the meta-port (i.e. /usr/ports/x11/xorg) ? > Because if I try that now, it just does this: > # make all install clean > This is a meta-port, meaning that it just depends on its subparts of the= =20 > port. > It won't build and install all the parts until you have typed make install > This port does not ensure things are upgraded; use portupgrade if you wan= t=20 > to > upgrade X.Org. If you simply type 'make install' it may use over 2GB to= =20 > build > all of the subports. You can install the ports singly if you are low on= =20 > space. > =3D=3D=3D> Extracting for xorg-7.2 > =3D=3D=3D> Patching for xorg-7.2 > =3D=3D=3D> Configuring for xorg-7.2 > =3D=3D=3D> Installing for xorg-7.2 > =3D=3D=3D> xorg-7.2 depends on file: /usr/local/lib/dri/r128_dri.so - f= ound > =3D=3D=3D> xorg-7.2 depends on file: > /usr/local/libdata/pkgconfig/xbitmaps.pc - found > =3D=3D=3D> xorg-7.2 depends on file: > /usr/local/lib/X11/icons/handhelds/cursors/X_cursor - found > =3D=3D=3D> xorg-7.2 depends on file: > /usr/local/share/X11/doc/hardcopy/BDF/bdf.PS.gz - found > =3D=3D=3D> xorg-7.2 depends on file: /usr/local/libdata/xorg/apps - fou= nd > =3D=3D=3D> xorg-7.2 depends on file: /usr/local/libdata/xorg/libraries = - found > =3D=3D=3D> xorg-7.2 depends on file: /usr/local/libdata/xorg/fonts - fo= und > =3D=3D=3D> xorg-7.2 depends on file: /usr/local/libdata/xorg/drivers - = found > =3D=3D=3D> xorg-7.2 depends on file: /usr/local/libdata/xorg/protos - f= ound > =3D=3D=3D> xorg-7.2 depends on file: /usr/local/bin/Xorg - found > =3D=3D=3D> Generating temporary packing list > =3D=3D=3D> Registering installation for xorg-7.2 >=20 > So basically I just wind up with xorg-7.2 in the pkgdb, but the rest > of the ports like xorg-apps, xf86-driver-*, etc. are all missing since > they have been removed. Any ideas? Yeah, looks like they weren't actually removed. If you say the package entries are gone then you've corrupted the package database and may have to rebuild everything with ALWAYS_BUILD_DEPENDS and FORCE_PKG_REGISTER set. Kris --WIyZ46R2i8wDzkSu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGIbWvWry0BWjoQKURAiAkAJ9Ia496Qc9jOchcmWbmfCQILGuKCwCgwKex iIakKCWlAbVFM43RPCblaQ0= =dVSF -----END PGP SIGNATURE----- --WIyZ46R2i8wDzkSu-- From owner-freebsd-x11@FreeBSD.ORG Sun Apr 15 05:21:32 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2963816A403 for ; Sun, 15 Apr 2007 05:21:32 +0000 (UTC) (envelope-from indigo23@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.235]) by mx1.freebsd.org (Postfix) with ESMTP id DAE5A13C45E for ; Sun, 15 Apr 2007 05:21:31 +0000 (UTC) (envelope-from indigo23@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so1194389wra for ; Sat, 14 Apr 2007 22:21:31 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Uf6cjagMtKp0Izk9weVNtdy+S/cF8vZwiHzBByArQ51/KUFXpJpjlq8TgbsLbdAhWh0oVGjQ8aN6NsXnNzoOEU/0ObVJXEXp4d9B0xbkhaqlZ6ELl90Tj01BIFuVfnhhDjLZwMMDUsEM9UAdbr7NbxjnQUlex1B5qASZ3H7NGCA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SRV1yek/Z+g0CvFoIIVtP94+5/VS6RZiNfkHf1ReT0rw9T1pD28bYNfj+jRYpMNWXSN9fBiqlQPbI1sdQB6D2Y4yzek2XXn1W9SN7J61YBEF2qBF2BTm3WeLYT5DKvWuecAQ871YbtkW2C3LR9+96NfMLQ293u6F2yHUc35d+BY= Received: by 10.114.182.1 with SMTP id e1mr1591891waf.1176614490530; Sat, 14 Apr 2007 22:21:30 -0700 (PDT) Received: by 10.115.88.20 with HTTP; Sat, 14 Apr 2007 22:21:30 -0700 (PDT) Message-ID: <6f50eac40704142221s1d62b475vb2aa9aaaede3e421@mail.gmail.com> Date: Sun, 15 Apr 2007 01:21:30 -0400 From: "Indigo 23" To: "Kris Kennaway" In-Reply-To: <20070415051839.GA36699@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6f50eac40704142155u2ac4c149tc3e3c6d83ac2e1d4@mail.gmail.com> <20070415045802.GA84774@xor.obsecurity.org> <6f50eac40704142212w62465552of926f0cbdcc8567e@mail.gmail.com> <20070415051839.GA36699@xor.obsecurity.org> Cc: freebsd-x11@freebsd.org Subject: Re: Reinstalling Xorg 7.2 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2007 05:21:32 -0000 On 4/15/07, Kris Kennaway wrote: > On Sun, Apr 15, 2007 at 01:12:27AM -0400, Indigo 23 wrote: > > On 4/15/07, Kris Kennaway wrote: > > >On Sun, Apr 15, 2007 at 12:55:50AM -0400, Indigo 23 wrote: > > >> I recently removed Xorg 7.2 since I needed to do a fresh install of it > > >> because some things got messed up, after removing it and its relevant > > >> packages, I cannot reinstall it. If I go to /usr/ports/x11/xorg and > > >> then do make all install clean, it just registers the package for > > >> xorg-7.2, even though all of its components and such are removed. Is > > >> there any way to force reinstallation (i.e. recompilation) of xorg-7.2 > > >> and all its dependencies? > > > > > >Sounds like you needed to 'make clean' first. > > > > > >Kris > > > > > I did make clean first and tried several things. The strange thing is > > that I think that it didn't remove cleanly for some reason (I used > > pkg_deinstall -fP). Is there a way to force a rebuild/reinstall of > > all of xorg-7.2 using the meta-port (i.e. /usr/ports/x11/xorg) ? > > Because if I try that now, it just does this: > > # make all install clean > > This is a meta-port, meaning that it just depends on its subparts of the > > port. > > It won't build and install all the parts until you have typed make install > > This port does not ensure things are upgraded; use portupgrade if you want > > to > > upgrade X.Org. If you simply type 'make install' it may use over 2GB to > > build > > all of the subports. You can install the ports singly if you are low on > > space. > > ===> Extracting for xorg-7.2 > > ===> Patching for xorg-7.2 > > ===> Configuring for xorg-7.2 > > ===> Installing for xorg-7.2 > > ===> xorg-7.2 depends on file: /usr/local/lib/dri/r128_dri.so - found > > ===> xorg-7.2 depends on file: > > /usr/local/libdata/pkgconfig/xbitmaps.pc - found > > ===> xorg-7.2 depends on file: > > /usr/local/lib/X11/icons/handhelds/cursors/X_cursor - found > > ===> xorg-7.2 depends on file: > > /usr/local/share/X11/doc/hardcopy/BDF/bdf.PS.gz - found > > ===> xorg-7.2 depends on file: /usr/local/libdata/xorg/apps - found > > ===> xorg-7.2 depends on file: /usr/local/libdata/xorg/libraries - found > > ===> xorg-7.2 depends on file: /usr/local/libdata/xorg/fonts - found > > ===> xorg-7.2 depends on file: /usr/local/libdata/xorg/drivers - found > > ===> xorg-7.2 depends on file: /usr/local/libdata/xorg/protos - found > > ===> xorg-7.2 depends on file: /usr/local/bin/Xorg - found > > ===> Generating temporary packing list > > ===> Registering installation for xorg-7.2 > > > > So basically I just wind up with xorg-7.2 in the pkgdb, but the rest > > of the ports like xorg-apps, xf86-driver-*, etc. are all missing since > > they have been removed. Any ideas? > > Yeah, looks like they weren't actually removed. If you say the > package entries are gone then you've corrupted the package database > and may have to rebuild everything with ALWAYS_BUILD_DEPENDS and > FORCE_PKG_REGISTER set. > > Kris > Alright, I guess I'll try with those two set. Thanks for the prompt replies. From owner-freebsd-x11@FreeBSD.ORG Sun Apr 15 05:31:18 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 98B6716A407 for ; Sun, 15 Apr 2007 05:31:18 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 82ABC13C46C for ; Sun, 15 Apr 2007 05:31:18 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id D2D581A3C1C; Sat, 14 Apr 2007 22:31:29 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 72F425186D; Sun, 15 Apr 2007 01:31:17 -0400 (EDT) Date: Sun, 15 Apr 2007 01:31:17 -0400 From: Kris Kennaway To: Indigo 23 Message-ID: <20070415053117.GA49224@xor.obsecurity.org> References: <6f50eac40704142155u2ac4c149tc3e3c6d83ac2e1d4@mail.gmail.com> <20070415045802.GA84774@xor.obsecurity.org> <6f50eac40704142212w62465552of926f0cbdcc8567e@mail.gmail.com> <20070415051839.GA36699@xor.obsecurity.org> <6f50eac40704142221s1d62b475vb2aa9aaaede3e421@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline In-Reply-To: <6f50eac40704142221s1d62b475vb2aa9aaaede3e421@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-x11@freebsd.org, Kris Kennaway Subject: Re: Reinstalling Xorg 7.2 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2007 05:31:18 -0000 --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 15, 2007 at 01:21:30AM -0400, Indigo 23 wrote: > >> So basically I just wind up with xorg-7.2 in the pkgdb, but the rest > >> of the ports like xorg-apps, xf86-driver-*, etc. are all missing since > >> they have been removed. Any ideas? > > > >Yeah, looks like they weren't actually removed. If you say the > >package entries are gone then you've corrupted the package database > >and may have to rebuild everything with ALWAYS_BUILD_DEPENDS and > >FORCE_PKG_REGISTER set. > > > >Kris > > > Alright, I guess I'll try with those two set. Thanks for the prompt=20 > replies. You may want to just wait a while for the xorg commit, it looks like it will be happening some time this week. Kris --UlVJffcvxoiEqYs2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGIbikWry0BWjoQKURAsDCAJ952wDdfFiltw/6jEVsxFLjeAJwnQCfXbb2 aONcGA0Z3a6xgkMlr0leM0U= =cDGR -----END PGP SIGNATURE----- --UlVJffcvxoiEqYs2-- From owner-freebsd-x11@FreeBSD.ORG Sun Apr 15 06:02:41 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E338216A401 for ; Sun, 15 Apr 2007 06:02:41 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id 89AC113C458 for ; Sun, 15 Apr 2007 06:02:41 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1388566ana for ; Sat, 14 Apr 2007 23:02:40 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EpqmbtnQSpljaZ4l60EXoTPzuHG3uE+pGtkXt2S2H5g9NEeqLydRpz76eMKWsiQDqylotxFTzF6+JZqCAoHJQQec3/Ubtx1+k7Sbz4jxAEw+t6AeUL/eLyZaADPmCxE0nLCs8Q++Z/SQG39OVoprEEyZSb8Ry2CFAcTp8nWmyqs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=t9Pcu2qOpQL6cgbu98egPmFWN3u8lULmHgdL192bSfUiC36Mv61NpkQAYL2DPrAgpc8XIE6RUbaAMfK7ix31dz4ispQezkPNJ6aeaCzP/8nG48k8l4qUXHSN9qH2Eq6XllSsDGguTGntrsloepUmzZAA/ZynzNn/sy0xfMZIj88= Received: by 10.100.119.14 with SMTP id r14mr783153anc.1176615450566; Sat, 14 Apr 2007 22:37:30 -0700 (PDT) Received: by 10.100.14.13 with HTTP; Sat, 14 Apr 2007 22:37:25 -0700 (PDT) Message-ID: <499c70c0704142237h7c758fcbj1bf45b422ab4d54d@mail.gmail.com> Date: Sun, 15 Apr 2007 08:37:25 +0300 From: "Abdullah Ibn Hamad Al-Marri" To: "Kris Kennaway" In-Reply-To: <20070415053117.GA49224@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6f50eac40704142155u2ac4c149tc3e3c6d83ac2e1d4@mail.gmail.com> <20070415045802.GA84774@xor.obsecurity.org> <6f50eac40704142212w62465552of926f0cbdcc8567e@mail.gmail.com> <20070415051839.GA36699@xor.obsecurity.org> <6f50eac40704142221s1d62b475vb2aa9aaaede3e421@mail.gmail.com> <20070415053117.GA49224@xor.obsecurity.org> Cc: freebsd-x11@freebsd.org Subject: Re: Reinstalling Xorg 7.2 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2007 06:02:42 -0000 On 4/15/07, Kris Kennaway wrote: > On Sun, Apr 15, 2007 at 01:21:30AM -0400, Indigo 23 wrote: > You may want to just wait a while for the xorg commit, it looks like > it will be happening some time this week. > > Kris Did they fix ATI 1100 IGP issue yet? -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ From owner-freebsd-x11@FreeBSD.ORG Sun Apr 15 06:08:11 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6B86A16A400 for ; Sun, 15 Apr 2007 06:08:11 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 5788613C43E for ; Sun, 15 Apr 2007 06:08:11 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id AC2FC1A3C1C; Sat, 14 Apr 2007 23:08:22 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 2F4BF5152B; Sun, 15 Apr 2007 02:08:10 -0400 (EDT) Date: Sun, 15 Apr 2007 02:08:10 -0400 From: Kris Kennaway To: Abdullah Ibn Hamad Al-Marri Message-ID: <20070415060809.GA1345@xor.obsecurity.org> References: <6f50eac40704142155u2ac4c149tc3e3c6d83ac2e1d4@mail.gmail.com> <20070415045802.GA84774@xor.obsecurity.org> <6f50eac40704142212w62465552of926f0cbdcc8567e@mail.gmail.com> <20070415051839.GA36699@xor.obsecurity.org> <6f50eac40704142221s1d62b475vb2aa9aaaede3e421@mail.gmail.com> <20070415053117.GA49224@xor.obsecurity.org> <499c70c0704142237h7c758fcbj1bf45b422ab4d54d@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <499c70c0704142237h7c758fcbj1bf45b422ab4d54d@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-x11@freebsd.org, Kris Kennaway Subject: Re: Reinstalling Xorg 7.2 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2007 06:08:11 -0000 On Sun, Apr 15, 2007 at 08:37:25AM +0300, Abdullah Ibn Hamad Al-Marri wrote: > On 4/15/07, Kris Kennaway wrote: > >On Sun, Apr 15, 2007 at 01:21:30AM -0400, Indigo 23 wrote: > >You may want to just wait a while for the xorg commit, it looks like > >it will be happening some time this week. > > > >Kris > > Did they fix ATI 1100 IGP issue yet? No idea. Kris From owner-freebsd-x11@FreeBSD.ORG Mon Apr 16 00:53:33 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3458016A401; Mon, 16 Apr 2007 00:53:33 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 1EF1E13C448; Mon, 16 Apr 2007 00:53:33 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 72AA41A3C1C; Sun, 15 Apr 2007 17:53:45 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 524A751450; Sun, 15 Apr 2007 20:53:32 -0400 (EDT) Date: Sun, 15 Apr 2007 20:53:32 -0400 From: Kris Kennaway To: Kris Kennaway Message-ID: <20070416005331.GA33243@xor.obsecurity.org> References: <20070414194028.GB2313@xor.obsecurity.org> <20070414195441.GA17321@xor.obsecurity.org> <20070415012035.GA32022@xor.obsecurity.org> <200704150400.54127.dejan.lesjak@ijs.si> <20070415021300.GA77534@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WIyZ46R2i8wDzkSu" Content-Disposition: inline In-Reply-To: <20070415021300.GA77534@xor.obsecurity.org> User-Agent: Mutt/1.4.2.2i Cc: lesi@freebsd.org, x11@freebsd.org Subject: Re: Upgrade script X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 00:53:33 -0000 --WIyZ46R2i8wDzkSu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 14, 2007 at 10:13:00PM -0400, Kris Kennaway wrote: > > > I confirmed this on an attempted=20 > > > upgrade of an xorg 6.9 machine. > >=20 > > What was missing from 7.2? >=20 > libXau failed, followed by: OK, this is repeatable. What is happening is that when I kick off portupgrade -a, xproto builds early and updates some headers (spamming over the top of xorg 6.9 files), then some time later xorg-libraries builds, and when it deinstalls the old 6.9 port it deletes the headers installed by xproto. Then things like libXau fail to build. It still looks to me like removing all of the old xorg ports first is the only way to avoid this kind of problem; this problem is general and will probably affect other of the xorg-foo metaports too (i.e. the files they used to own have also migrated into subports, so the same thing will happen: the subports are installed first and spam some of the xorg 6.9 files that are still present, then the metaport builds, deinstalls the old 6.9 version, and deletes those files leaving nothing behind) Kris --WIyZ46R2i8wDzkSu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGIskLWry0BWjoQKURAo07AKCWZFsoScTFPzWuQcnc0hxWvijllgCg+dnC f8KReAvvOMz5UL2rJkhnLgA= =zjAG -----END PGP SIGNATURE----- --WIyZ46R2i8wDzkSu-- From owner-freebsd-x11@FreeBSD.ORG Mon Apr 16 01:17:14 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 41BF216A400 for ; Mon, 16 Apr 2007 01:17:14 +0000 (UTC) (envelope-from amactaggart@hkis.edu.hk) Received: from mail2.hkis.edu.hk (mail2.hkis.edu.hk [202.40.134.122]) by mx1.freebsd.org (Postfix) with ESMTP id D5C1613C4C3 for ; Mon, 16 Apr 2007 01:17:13 +0000 (UTC) (envelope-from amactaggart@hkis.edu.hk) Received: from localhost ([127.0.0.1]) by mail2.hkis.edu.hk for x11@freebsd.org; Mon, 16 Apr 2007 09:06:25 +0800 Received: from RBSMTPD1-MTA by rbsmtp1.hkis.edu.hk with Novell_GroupWise; Mon, 16 Apr 2007 09:06:25 +0800 Message-Id: <46233C86020000A900012452@rbsmtp1.hkis.edu.hk> X-Mailer: Novell GroupWise Internet Agent 7.0.1 Date: Mon, 16 Apr 2007 09:06:13 +0800 From: "Andrew MacTaggart" To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: trying to build X-server X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 01:17:14 -0000 Freebsd ver 6 fails at ===> Building for xorg-printserver-6.9.0_2 making all in lib/font/bitmap... making all in lib/font/fontfile... making all in lib/font/fc... making all in lib/font/Type1... making all in lib/font/FreeType... making all in lib/font/util... making all in lib/font/include... making all in programs/Xserver/include... making all in programs/Xserver/dix... making all in programs/Xserver/os... making all in programs/Xserver/mi... making all in programs/Xserver/Xprint... rm -f Quarks.o cc -c -O2 -fno-strict-aliasing -pipe -ansi -pedantic -Wno-system-headers -Dasm=__asm -Wall -Wpointer-arith -Wundef -I/usr/ports/x11-servers/xorg-printserver/work/xc/exports/include/X11 -I. -I../mfb -I../mi -I../cfb -I../include -I/usr/ports/x11-servers/xorg-printserver/work/xc/include -I/usr/ports/x11-servers/xorg-printserver/work/xc/lib -I/usr/ports/x11-servers/xorg-printserver/work/xc/include/extensions -I/usr/ports/x11-servers/xorg-printserver/work/xc/include/fonts -I/usr/ports/x11-servers/xorg-printserver/work/xc/lib/X11 -I/usr/ports/x11-servers/xorg-printserver/work/xc -I/usr/ports/x11-servers/xorg-printserver/work/xc/exports/include -I/usr/X11R6/include -I/usr/X11R6/include -DCSRG_BASED -DSHAPE -DXINPUT -DXKB -DXAPPGROUP -DXCSECURITY -DTOGCUP -DXF86BIGFONT -DDPMSExtension -DXPRINT -DPIXPRIV -DPANORAMIX -DRENDER -DRANDR -DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86Server -DXF86VIDMODE -DXvMCExtension -DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DXORG_VERSION_CURRENT="(((6) * 10000000) + ((9) * 100000) + ((0) * 1000) + 0)" -DNDEBUG -DFUNCPROTO=15 -DNARROWPROTO -DXPRINTDIR=\"/usr/X11R6/lib/X11/xserver\" -DXPRASTERDDX -DXPPCLDDX -DXPMONOPCLDDX -DXPPSDDX -DHAS_MKSTEMP -UXFree86LOADER -D_XP_PRINT_SERVER_ Quarks.c In file included from Quarks.c:57: /usr/ports/x11-servers/xorg-printserver/work/xc/lib/X11/Xlibint.h:45:69: X11/XlibConf.h: No such file or directory *** Error code 1 Stop in /usr/ports/x11-servers/xorg-printserver/work/xc/programs/Xserver/Xprint. *** Error code 1 Stop in /usr/ports/x11-servers/xorg-printserver/work/xc/programs/Xserver. *** Error code 1 Stop in /usr/ports/x11-servers/xorg-printserver. Any ideas? A From owner-freebsd-x11@FreeBSD.ORG Mon Apr 16 02:13:36 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9428916A402 for ; Mon, 16 Apr 2007 02:13:36 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.190]) by mx1.freebsd.org (Postfix) with ESMTP id 1432813C46C for ; Mon, 16 Apr 2007 02:13:35 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: by mu-out-0910.google.com with SMTP id g7so1629017muf for ; Sun, 15 Apr 2007 19:13:35 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:x-authentication-warning:date:from:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=glBultAcbmSZbAlb7VOPCUlGeGJ71c3mIHAJvPilJ1okpujBgWBodAt4LpwXRrJ7qAJlYNTGzmz7RcUVWckFjCLjfCDss6cndNh8AWM0xcpNwN2WjJdru3wG5ZVnl/83OJydwkpx3qmcGea9uQC9uIXTZMlB40lMhxRm00mlycY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:x-authentication-warning:date:from:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=B/NwWh5fxfRqCEVpMNkWljl0pI7vN+g6Ym+TGiPds+M9SZ5Uoe4I5yUyBZe9EO3K3e35qc75iHn7QzHgaspdzlMl/Wd3pqItBTt+E0cZRYn4gusrlhZoOEnkBEabnRLidvo4ohpOHQfY+pCNR0Z7n41bwNG0e2mOWayOZ6fM/ME= Received: by 10.82.167.5 with SMTP id p5mr2694072bue.1176688003727; Sun, 15 Apr 2007 18:46:43 -0700 (PDT) Received: from darklight.local ( [83.239.5.254]) by mx.google.com with ESMTP id e8sm1781267muf.2007.04.15.18.46.41; Sun, 15 Apr 2007 18:46:43 -0700 (PDT) Received: from darklight.local (localhost [127.0.0.1]) by darklight.local (8.14.1/8.14.1) with ESMTP id l3G1kLWi048164; Mon, 16 Apr 2007 05:46:21 +0400 (MSD) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by darklight.local (8.14.1/8.14.1/Submit) id l3G1kBF5048161; Mon, 16 Apr 2007 05:46:11 +0400 (MSD) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: darklight.local: yuri set sender to yuri.pankov@gmail.com using -f Date: Mon, 16 Apr 2007 05:46:11 +0400 From: Yuri Pankov To: Andrew MacTaggart Message-ID: <20070416014611.GA18133@darklight.local> References: <46233C86020000A900012452@rbsmtp1.hkis.edu.hk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46233C86020000A900012452@rbsmtp1.hkis.edu.hk> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: freebsd-x11@freebsd.org Subject: Re: trying to build X-server X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 02:13:36 -0000 On Mon, Apr 16, 2007 at 09:06:13AM +0800, Andrew MacTaggart wrote: > Freebsd ver 6 > > fails at > > ===> Building for xorg-printserver-6.9.0_2 > making all in lib/font/bitmap... > making all in lib/font/fontfile... > making all in lib/font/fc... > making all in lib/font/Type1... > making all in lib/font/FreeType... > making all in lib/font/util... > making all in lib/font/include... > making all in programs/Xserver/include... > making all in programs/Xserver/dix... > making all in programs/Xserver/os... > making all in programs/Xserver/mi... > making all in programs/Xserver/Xprint... > rm -f Quarks.o > cc -c -O2 -fno-strict-aliasing -pipe -ansi -pedantic -Wno-system-headers > -Dasm=__asm -Wall -Wpointer-arith -Wundef > -I/usr/ports/x11-servers/xorg-printserver/work/xc/exports/include/X11 > -I. -I../mfb -I../mi -I../cfb -I../include > -I/usr/ports/x11-servers/xorg-printserver/work/xc/include > -I/usr/ports/x11-servers/xorg-printserver/work/xc/lib > -I/usr/ports/x11-servers/xorg-printserver/work/xc/include/extensions > -I/usr/ports/x11-servers/xorg-printserver/work/xc/include/fonts > -I/usr/ports/x11-servers/xorg-printserver/work/xc/lib/X11 > -I/usr/ports/x11-servers/xorg-printserver/work/xc > -I/usr/ports/x11-servers/xorg-printserver/work/xc/exports/include > -I/usr/X11R6/include -I/usr/X11R6/include -DCSRG_BASED -DSHAPE -DXINPUT > -DXKB -DXAPPGROUP -DXCSECURITY -DTOGCUP -DXF86BIGFONT > -DDPMSExtension -DXPRINT -DPIXPRIV -DPANORAMIX -DRENDER -DRANDR > -DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE -DGCCUSESGAS -DAVOID_GLYPHBLT > -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA > -DXvExtension -DXFree86Server > -DXF86VIDMODE -DXvMCExtension > -DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension > -DX_BYTE_ORDER=X_LITTLE_ENDIAN > -DXORG_VERSION_CURRENT="(((6) * 10000000) + ((9) * 100000) + ((0) > * 1000) + 0)" -DNDEBUG -DFUNCPROTO=15 -DNARROWPROTO > -DXPRINTDIR=\"/usr/X11R6/lib/X11/xserver\" -DXPRASTERDDX -DXPPCLDDX > -DXPMONOPCLDDX -DXPPSDDX -DHAS_MKSTEMP -UXFree86LOADER > -D_XP_PRINT_SERVER_ Quarks.c > In file included from Quarks.c:57: > /usr/ports/x11-servers/xorg-printserver/work/xc/lib/X11/Xlibint.h:45:69: > X11/XlibConf.h: No such file or directory > *** Error code 1 > > Stop in > /usr/ports/x11-servers/xorg-printserver/work/xc/programs/Xserver/Xprint. > *** Error code 1 > > Stop in > /usr/ports/x11-servers/xorg-printserver/work/xc/programs/Xserver. > *** Error code 1 > > Stop in /usr/ports/x11-servers/xorg-printserver. > > > Any ideas? > > A > > _______________________________________________ > freebsd-x11@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" % pkg_info -W /usr/X11R6/include/X11/XlibConf.h /usr/X11R6/include/X11/XlibConf.h was installed by package xorg-libraries-6.9.0_1 Check that you have x11/xorg-libraries installed correctly. Forced reinstall (portupgrade -f x11/xorg-libraries, for example) should help. -- Yuri From owner-freebsd-x11@FreeBSD.ORG Mon Apr 16 09:26:32 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BC3E016A400; Mon, 16 Apr 2007 09:26:32 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 9F59F13C459; Mon, 16 Apr 2007 09:26:32 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 2CBB71A3C1C; Mon, 16 Apr 2007 02:26:45 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id D08DA513AE; Mon, 16 Apr 2007 05:26:29 -0400 (EDT) Date: Mon, 16 Apr 2007 05:26:29 -0400 From: Kris Kennaway To: Kris Kennaway Message-ID: <20070416092629.GA36962@xor.obsecurity.org> References: <20070414194028.GB2313@xor.obsecurity.org> <20070414195441.GA17321@xor.obsecurity.org> <20070415012035.GA32022@xor.obsecurity.org> <200704150400.54127.dejan.lesjak@ijs.si> <20070415021300.GA77534@xor.obsecurity.org> <20070416005331.GA33243@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="azLHFNyN32YCQGCU" Content-Disposition: inline In-Reply-To: <20070416005331.GA33243@xor.obsecurity.org> User-Agent: Mutt/1.4.2.2i Cc: lesi@freebsd.org, x11@freebsd.org Subject: Re: Upgrade script X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 09:26:32 -0000 --azLHFNyN32YCQGCU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 15, 2007 at 08:53:31PM -0400, Kris Kennaway wrote: > On Sat, Apr 14, 2007 at 10:13:00PM -0400, Kris Kennaway wrote: >=20 > > > > I confirmed this on an attempted=20 > > > > upgrade of an xorg 6.9 machine. > > >=20 > > > What was missing from 7.2? > >=20 > > libXau failed, followed by: >=20 > OK, this is repeatable. What is happening is that when I kick off > portupgrade -a, xproto builds early and updates some headers (spamming > over the top of xorg 6.9 files), then some time later xorg-libraries > builds, and when it deinstalls the old 6.9 port it deletes the headers > installed by xproto. Then things like libXau fail to build. >=20 > It still looks to me like removing all of the old xorg ports first is > the only way to avoid this kind of problem; this problem is general > and will probably affect other of the xorg-foo metaports too (i.e. the > files they used to own have also migrated into subports, so the same > thing will happen: the subports are installed first and spam some of > the xorg 6.9 files that are still present, then the metaport builds, > deinstalls the old 6.9 version, and deletes those files leaving > nothing behind) OK, after several sleepless hours worrying about how much the xorg upgrade is going to suck for our users, I think I might have thought of a better way. Instead of running the mergebase.sh script before the xorg upgrade, run it after the upgrade. This will avoid the above problem of files moving against the natural order of the dependency tree, because the xorg 6.9 files are all in /usr/X11R6, and the new ones are installed into /usr/local so nothing is being overwritten. Apart from the xorg-manpages special casing in mergebase.sh, this should even allow portupgrade -a to work correctly. I am not sure why xorg-manpages needs to be special-cased; it looks like the manpages are migrating into xorg-docs, so can't we use a MOVED entry to do that? Running mergebase as a post-install script also has the advantage that if someone forgets, it may not be a fatal problem: most ports are X11BASE-clean, so if /usr/X11R6 hangs around on their system they may not even notice. Another possible issue with the upgrade is that if we only bump portrevision on ports that used to live in X11BASE, and not the LOCALBASE ports that also depend on X (KDE, GNOME, etc), the latter will not get a full set of updated dependencies (i.e. they will only be recorded as depending on xorg-libraries-7.2, when they should also be depending on all of the new xorg sub-ports too, e.g. libXfoo, lameproto, etc). pkgdb -L will fix this for portupgrade users, but not for others. However, it might actually not be an issue, since there is still an implied linkage via xorg-libraries (and similarly for the other metaports). i.e. when someone does a portupgrade -R kde or similar, it will recurse to xorg-libraries and then to all the xorg subports and upgrade any that are out of date, even if there is no direct dependency on the subports recorded. Kris --azLHFNyN32YCQGCU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGI0FFWry0BWjoQKURAn68AJ4pHyVB9G+vvLdFkM/vg0bklcPxLQCgzwoq aX8suY9uAeFGKN83XhYEUkk= =Y4BE -----END PGP SIGNATURE----- --azLHFNyN32YCQGCU-- From owner-freebsd-x11@FreeBSD.ORG Mon Apr 16 11:08:57 2007 Return-Path: X-Original-To: freebsd-x11@FreeBSD.org Delivered-To: freebsd-x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D78DC16A528 for ; Mon, 16 Apr 2007 11:08:57 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 8431E13C4C5 for ; Mon, 16 Apr 2007 11:08:57 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l3GB8vmE043059 for ; Mon, 16 Apr 2007 11:08:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l3GB8urf043055 for freebsd-x11@FreeBSD.org; Mon, 16 Apr 2007 11:08:56 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 16 Apr 2007 11:08:56 GMT Message-Id: <200704161108.l3GB8urf043055@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-x11@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 11:08:57 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/92071 x11 Problem with Xorg and SIS630/730 integrated video card f ports/92672 x11 X.org 6.9.0 brak down sync mga_hal dirver on G550'sDVI o ports/93071 x11 x11-servers/xorg-server: Resume fails on system with X f ports/93777 x11 Starting xorg-server requires reloading sound module o ports/97084 x11 Xorg 6.9.0 Locks Up Keyboard and Mouse o ports/97367 x11 vlc and gmplayer crash with X error o ports/104885 x11 Hangs when logging out of X11 terminals o ports/106370 x11 Screen corruption when using Direct Rendering on a PCI o ports/110721 x11 system hang at start of dual head xorg configuration o ports/111292 x11 [patch] xorg-libraries-6.9.0_1: Incorrect MESA/GL poin 10 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- s ports/73743 x11 XOrg/XFree xauth add/startx problem s ports/85132 x11 XOrg 6.8.2 won't start on Toshiba Satellite 1800-554 e s ports/87528 x11 Missing koi8-r encoding for xorg-fonts-encodings port o ports/93667 x11 x11/xorg-libraries: undefined symbol in libOSMesa.* is o ports/94167 x11 [patch] x11/xorg-clients: install xdm/Xstartup and /Xr o ports/94331 x11 x11/xorg: advocating for DRI support for Radeons o ports/96436 x11 [patch] x11/xorg-clients: logging on xdm with pam_krb o i386/99645 x11 Xorg savage driver causes display to hang at unload o ports/109497 x11 x11-servers/xorg-fontserver rc.d/xfs.sh script missing o ports/110881 x11 Xorg doesn't start o ports/111429 x11 [PATCH] upgrade graphics/libdrm to 2.3.0 11 problems total. From owner-freebsd-x11@FreeBSD.ORG Mon Apr 16 11:35:13 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 81F4E16A403; Mon, 16 Apr 2007 11:35:13 +0000 (UTC) (envelope-from dejan.lesjak@ijs.si) Received: from mail.ijs.si (mail.ijs.si [193.2.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id CDC7113C45E; Mon, 16 Apr 2007 11:35:12 +0000 (UTC) (envelope-from dejan.lesjak@ijs.si) Received: from localhost (mail.ijs.si [193.2.4.66]) by mail.ijs.si (Postfix) with ESMTP id 8FF79192B9E; Mon, 16 Apr 2007 13:35:11 +0200 (CEST) DKIM-Signature: v=0.5; a=rsa-sha1; c=relaxed/simple; d=ijs.si; s=ja-200610; t=1176723311; bh=EDBMCpMcY/FxSu8FY+6AWxph5tU=; h=DomainKey-Signature: X-Virus-Scanned:Received:Received:Received:From:To:Subject:Date: User-Agent:Cc:References:In-Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-Disposition:Message-Id; b=vMcUrp oTLqxlX165K80Ih9r9Ymbk5NSGa6H1NBTvPtt4+RIapYfBTSnMoCwXjOpylsFcKPPdK nWPTEqjgpV/DTCj77itb1dk1147MCup3c9ohQgm2wWUAfhgsVjJTVqo DomainKey-Signature: a=rsa-sha1; s=ja-200610; d=ijs.si; c=nofws; q=dns; h=x-virus-scanned:received:from:to:subject:date:user-agent:cc: references:in-reply-to:mime-version:content-type: content-transfer-encoding:content-disposition:message-id; b=ALn0mzrVrFOfdI8//gX5LGKCeEMyUzDRLOICyc6pIYlvWdO1rN3tk0w5+C+NGCqZW YU2+tjnXQE0BCH6+t4bzn43eEi2qyxDOV2YnZ0yNcHJILQ25oUcvuVGfzdahP4g X-Virus-Scanned: amavisd-new at ijs.si Received: from mail.ijs.si ([193.2.4.66]) by localhost (mail.ijs.si [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 6gLTyd5GhEMP; Mon, 16 Apr 2007 13:35:09 +0200 (CEST) Received: from edina.ijs.si (edina.ijs.si [193.2.4.3]) by mail.ijs.si (Postfix) with ESMTP id 78413192B8A; Mon, 16 Apr 2007 13:35:09 +0200 (CEST) Received: from f9pc04.ijs.si (f9pc04.ijs.si [194.249.156.4]) by edina.ijs.si (Postfix) with ESMTP id 6CFB0510BA; Mon, 16 Apr 2007 13:35:09 +0200 (CEST) From: Dejan Lesjak To: Kris Kennaway Date: Mon, 16 Apr 2007 13:35:08 +0200 User-Agent: KMail/1.9.6 References: <20070414194028.GB2313@xor.obsecurity.org> <20070416005331.GA33243@xor.obsecurity.org> <20070416092629.GA36962@xor.obsecurity.org> In-Reply-To: <20070416092629.GA36962@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704161335.09045.dejan.lesjak@ijs.si> Cc: lesi@freebsd.org, x11@freebsd.org Subject: Re: Upgrade script X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 11:35:13 -0000 On Monday 16 of April 2007, Kris Kennaway wrote: > On Sun, Apr 15, 2007 at 08:53:31PM -0400, Kris Kennaway wrote: > > On Sat, Apr 14, 2007 at 10:13:00PM -0400, Kris Kennaway wrote: > > > > > I confirmed this on an attempted > > > > > upgrade of an xorg 6.9 machine. > > > > > > > > What was missing from 7.2? > > > > > > libXau failed, followed by: > > > > OK, this is repeatable. What is happening is that when I kick off > > portupgrade -a, xproto builds early and updates some headers (spamming > > over the top of xorg 6.9 files), then some time later xorg-libraries > > builds, and when it deinstalls the old 6.9 port it deletes the headers > > installed by xproto. Then things like libXau fail to build. > > > > It still looks to me like removing all of the old xorg ports first is > > the only way to avoid this kind of problem; this problem is general > > and will probably affect other of the xorg-foo metaports too (i.e. the > > files they used to own have also migrated into subports, so the same > > thing will happen: the subports are installed first and spam some of > > the xorg 6.9 files that are still present, then the metaport builds, > > deinstalls the old 6.9 version, and deletes those files leaving > > nothing behind) Hmm. It should help in this case if xorg-libraries are upgraded first, then xorg-clients/xorg-apps and only then the rest. Do you happen to remember why xproto got built before xorg-libraries? > OK, after several sleepless hours worrying about how much the xorg > upgrade is going to suck for our users, I think I might have thought > of a better way. > > Instead of running the mergebase.sh script before the xorg upgrade, > run it after the upgrade. This will avoid the above problem of files > moving against the natural order of the dependency tree, because the > xorg 6.9 files are all in /usr/X11R6, and the new ones are installed > into /usr/local so nothing is being overwritten. This will probably do better, yes. The instruction to first run script and then upgrade was pretty much arbitrary; I didn't see much difference in order but now it does seem that it would be better to run it after. > Apart from the xorg-manpages special casing in mergebase.sh, this > should even allow portupgrade -a to work correctly. I am not sure why > xorg-manpages needs to be special-cased; it looks like the manpages > are migrating into xorg-docs, so can't we use a MOVED entry to do that? Some of them are migrating to separate lib* ports. > Running mergebase as a post-install script also has the advantage that > if someone forgets, it may not be a fatal problem: most ports are > X11BASE-clean, so if /usr/X11R6 hangs around on their system they may > not even notice. It might cause problems in users configurations and probably some ports that expect things in /usr/X11R6 that will now be in /usr/local, but one can always "fix" this by making symlink at such time, so it shouldn't really be a problem. > Another possible issue with the upgrade is that if we only bump > portrevision on ports that used to live in X11BASE, and not the > LOCALBASE ports that also depend on X (KDE, GNOME, etc), the latter > will not get a full set of updated dependencies (i.e. they will only > be recorded as depending on xorg-libraries-7.2, when they should also > be depending on all of the new xorg sub-ports too, e.g. libXfoo, > lameproto, etc). pkgdb -L will fix this for portupgrade users, but > not for others. xorg-libraries is just the metaport by which they should depend on all these new sub-ports. In time the ports that depend on xorg-libraries can convert this dependency to specify exactly which of these modular packages they actually depend upon. > However, it might actually not be an issue, since there is still an > implied linkage via xorg-libraries (and similarly for the other > metaports). i.e. when someone does a portupgrade -R kde or similar, > it will recurse to xorg-libraries and then to all the xorg subports > and upgrade any that are out of date, even if there is no direct > dependency on the subports recorded. Exactly. From owner-freebsd-x11@FreeBSD.ORG Mon Apr 16 11:41:53 2007 Return-Path: X-Original-To: freebsd-x11@hub.freebsd.org Delivered-To: freebsd-x11@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9BEF316A401; Mon, 16 Apr 2007 11:41:53 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 7436C13C455; Mon, 16 Apr 2007 11:41:53 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from freefall.freebsd.org (flz@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l3GBfrTc049529; Mon, 16 Apr 2007 11:41:53 GMT (envelope-from flz@freefall.freebsd.org) Received: (from flz@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l3GBfrcY049525; Mon, 16 Apr 2007 11:41:53 GMT (envelope-from flz) Date: Mon, 16 Apr 2007 11:41:53 GMT From: Florent Thoumie Message-Id: <200704161141.l3GBfrcY049525@freefall.freebsd.org> To: sec@42.org, flz@FreeBSD.org, freebsd-x11@FreeBSD.org Cc: Subject: Re: ports/109497: x11-servers/xorg-fontserver rc.d/xfs.sh script missing "-user" X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 11:41:53 -0000 Synopsis: x11-servers/xorg-fontserver rc.d/xfs.sh script missing "-user" State-Changed-From-To: open->closed State-Changed-By: flz State-Changed-When: Mon Apr 16 11:40:38 UTC 2007 State-Changed-Why: I just checked and other OS'es seem to run it as root as well. If this is a real concern to you, just set xfs_flags="-user nobody" in /etc/rc.conf. I think this is what you're looking for. http://www.freebsd.org/cgi/query-pr.cgi?pr=109497 From owner-freebsd-x11@FreeBSD.ORG Mon Apr 16 11:54:16 2007 Return-Path: X-Original-To: freebsd-x11@hub.freebsd.org Delivered-To: freebsd-x11@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1896D16A404; Mon, 16 Apr 2007 11:54:16 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id E4DC313C469; Mon, 16 Apr 2007 11:54:15 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from freefall.freebsd.org (flz@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l3GBsFkx050246; Mon, 16 Apr 2007 11:54:15 GMT (envelope-from flz@freefall.freebsd.org) Received: (from flz@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l3GBsFEP050242; Mon, 16 Apr 2007 11:54:15 GMT (envelope-from flz) Date: Mon, 16 Apr 2007 11:54:15 GMT From: Florent Thoumie Message-Id: <200704161154.l3GBsFEP050242@freefall.freebsd.org> To: bf2006a@yahoo.com, flz@FreeBSD.org, freebsd-x11@FreeBSD.org Cc: Subject: Re: ports/111429: [PATCH] upgrade graphics/libdrm to 2.3.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 11:54:16 -0000 Synopsis: [PATCH] upgrade graphics/libdrm to 2.3.0 State-Changed-From-To: open->closed State-Changed-By: flz State-Changed-When: Mon Apr 16 11:54:15 UTC 2007 State-Changed-Why: Upgrade will be committed as part of the X.org 7.2 merge in a few days. http://www.freebsd.org/cgi/query-pr.cgi?pr=111429 From owner-freebsd-x11@FreeBSD.ORG Mon Apr 16 11:56:47 2007 Return-Path: X-Original-To: freebsd-x11@hub.freebsd.org Delivered-To: freebsd-x11@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C619716A407; Mon, 16 Apr 2007 11:56:47 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 9F6DA13C44B; Mon, 16 Apr 2007 11:56:47 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from freefall.freebsd.org (flz@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l3GBulTi050319; Mon, 16 Apr 2007 11:56:47 GMT (envelope-from flz@freefall.freebsd.org) Received: (from flz@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l3GBulsx050315; Mon, 16 Apr 2007 11:56:47 GMT (envelope-from flz) Date: Mon, 16 Apr 2007 11:56:47 GMT From: Florent Thoumie Message-Id: <200704161156.l3GBulsx050315@freefall.freebsd.org> To: pterodactyle@mail.ru, flz@FreeBSD.org, freebsd-x11@FreeBSD.org Cc: Subject: Re: ports/110881: Xorg doesn't start X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 11:56:47 -0000 Synopsis: Xorg doesn't start State-Changed-From-To: open->feedback State-Changed-By: flz State-Changed-When: Mon Apr 16 11:54:24 UTC 2007 State-Changed-Why: Run Xorg -configure, this should create a xorg.conf.new file in /root. Move this file to /etc/X11/xorg.conf and run Xorg. If this doesn't work, please attach full output and /var/log/Xorg.0.log. http://www.freebsd.org/cgi/query-pr.cgi?pr=110881 From owner-freebsd-x11@FreeBSD.ORG Mon Apr 16 12:56:21 2007 Return-Path: X-Original-To: freebsd-x11@hub.freebsd.org Delivered-To: freebsd-x11@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4BA8916A406; Mon, 16 Apr 2007 12:56:21 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 230F813C43E; Mon, 16 Apr 2007 12:56:21 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from freefall.freebsd.org (flz@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l3GCuLNZ056302; Mon, 16 Apr 2007 12:56:21 GMT (envelope-from flz@freefall.freebsd.org) Received: (from flz@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l3GCuKHb056298; Mon, 16 Apr 2007 12:56:20 GMT (envelope-from flz) Date: Mon, 16 Apr 2007 12:56:20 GMT From: Florent Thoumie Message-Id: <200704161256.l3GCuKHb056298@freefall.freebsd.org> To: peterjeremy@optushome.com.au, flz@FreeBSD.org, freebsd-x11@FreeBSD.org Cc: Subject: Re: ports/111292: [patch] xorg-libraries-6.9.0_1: Incorrect MESA/GL pointer type corrupts stack frame X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 12:56:21 -0000 Synopsis: [patch] xorg-libraries-6.9.0_1: Incorrect MESA/GL pointer type corrupts stack frame State-Changed-From-To: open->analyzed State-Changed-By: flz State-Changed-When: Mon Apr 16 12:54:58 UTC 2007 State-Changed-Why: I'm marking it as analyzed which really means "to be closed after xorg 7.2 merge". http://www.freebsd.org/cgi/query-pr.cgi?pr=111292 From owner-freebsd-x11@FreeBSD.ORG Mon Apr 16 12:57:19 2007 Return-Path: X-Original-To: freebsd-x11@hub.freebsd.org Delivered-To: freebsd-x11@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6A09216A401; Mon, 16 Apr 2007 12:57:19 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 4169713C455; Mon, 16 Apr 2007 12:57:19 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from freefall.freebsd.org (flz@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l3GCvJNC056381; Mon, 16 Apr 2007 12:57:19 GMT (envelope-from flz@freefall.freebsd.org) Received: (from flz@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l3GCvI0T056377; Mon, 16 Apr 2007 12:57:18 GMT (envelope-from flz) Date: Mon, 16 Apr 2007 12:57:18 GMT From: Florent Thoumie Message-Id: <200704161257.l3GCvI0T056377@freefall.freebsd.org> To: bsam@ipt.ru, flz@FreeBSD.org, freebsd-x11@FreeBSD.org Cc: Subject: Re: ports/94167: [patch] x11/xorg-clients: install xdm/Xstartup and /Xreset X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 12:57:19 -0000 Synopsis: [patch] x11/xorg-clients: install xdm/Xstartup and /Xreset State-Changed-From-To: open->analyzed State-Changed-By: flz State-Changed-When: Mon Apr 16 12:56:57 UTC 2007 State-Changed-Why: I'm marking it as analyzed which really means "to be closed after xorg 7.2 merge". http://www.freebsd.org/cgi/query-pr.cgi?pr=94167 From owner-freebsd-x11@FreeBSD.ORG Mon Apr 16 12:59:31 2007 Return-Path: X-Original-To: freebsd-x11@hub.freebsd.org Delivered-To: freebsd-x11@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 90B1C16A402; Mon, 16 Apr 2007 12:59:31 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 692EE13C469; Mon, 16 Apr 2007 12:59:31 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from freefall.freebsd.org (flz@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l3GCxVid056507; Mon, 16 Apr 2007 12:59:31 GMT (envelope-from flz@freefall.freebsd.org) Received: (from flz@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l3GCxVEo056503; Mon, 16 Apr 2007 12:59:31 GMT (envelope-from flz) Date: Mon, 16 Apr 2007 12:59:31 GMT From: Florent Thoumie Message-Id: <200704161259.l3GCxVEo056503@freefall.freebsd.org> To: adamk@voicenet.com, flz@FreeBSD.org, freebsd-x11@FreeBSD.org Cc: Subject: Re: ports/106370: Screen corruption when using Direct Rendering on a PCIe x800 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 12:59:31 -0000 Synopsis: Screen corruption when using Direct Rendering on a PCIe x800 State-Changed-From-To: open->suspended State-Changed-By: flz State-Changed-When: Mon Apr 16 12:58:18 UTC 2007 State-Changed-Why: Waiting for a PCI GART fix. http://www.freebsd.org/cgi/query-pr.cgi?pr=106370 From owner-freebsd-x11@FreeBSD.ORG Mon Apr 16 15:36:11 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4408B16A407; Mon, 16 Apr 2007 15:36:11 +0000 (UTC) (envelope-from lofi@freebsd.org) Received: from mail-in-01.arcor-online.net (mail-in-01.arcor-online.net [151.189.21.41]) by mx1.freebsd.org (Postfix) with ESMTP id A8D4713C46E; Mon, 16 Apr 2007 15:36:10 +0000 (UTC) (envelope-from lofi@freebsd.org) Received: from mail-in-01-z2.arcor-online.net (mail-in-11-z2.arcor-online.net [151.189.8.28]) by mail-in-01.arcor-online.net (Postfix) with ESMTP id 5BCF71743EA; Mon, 16 Apr 2007 17:36:08 +0200 (CEST) Received: from mail-in-06.arcor-online.net (mail-in-06.arcor-online.net [151.189.21.46]) by mail-in-01-z2.arcor-online.net (Postfix) with ESMTP id 4FBDC346AC8; Mon, 16 Apr 2007 17:36:08 +0200 (CEST) Received: from lofi.dyndns.org (dslb-084-061-137-215.pools.arcor-ip.net [84.61.137.215]) by mail-in-06.arcor-online.net (Postfix) with ESMTP id D1E892CA7C5; Mon, 16 Apr 2007 17:36:07 +0200 (CEST) Received: from kiste.my.domain (root@kiste.my.domain [192.168.8.2]) by lofi.dyndns.org (8.13.8/8.13.3) with ESMTP id l3GFZvO9008288 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 16 Apr 2007 17:35:57 +0200 (CEST) (envelope-from lofi@freebsd.org) Received: from kiste.my.domain (lofi@localhost [127.0.0.1]) by kiste.my.domain (8.13.6/8.13.4) with ESMTP id l3GFZvCL013677; Mon, 16 Apr 2007 17:35:57 +0200 (CEST) (envelope-from lofi@freebsd.org) Received: from localhost (localhost [[UNIX: localhost]]) by kiste.my.domain (8.13.6/8.13.4/Submit) id l3GFZuA7013676; Mon, 16 Apr 2007 17:35:56 +0200 (CEST) (envelope-from lofi@freebsd.org) X-Authentication-Warning: kiste.my.domain: lofi set sender to lofi@freebsd.org using -f From: Michael Nottebrock To: Dejan Lesjak Date: Mon, 16 Apr 2007 17:35:53 +0200 User-Agent: KMail/1.9.6 References: <200704142316.29396.dejan.lesjak@ijs.si> <200704151435.26177.lofi@freebsd.org> <200704161306.46713.dejan.lesjak@ijs.si> In-Reply-To: <200704161306.46713.dejan.lesjak@ijs.si> X-Face: g:jG2\O{-yqD1x?DG2lU1)(v%xffR"p8Nz(w/*)YEUO\Hn%mGi&-!+rq$&r64,=?utf-8?q?fuP=7E=3Bbw=5C=0A=09=5EQdX?=@v~HEAi?NaE8SU]}.oeYSjN84Fe{M(ahZ.(i+lxyP; pr)2[%mGbkY'RmM>=?utf-8?q?+mg3Y=24ip=0A=091?=@Z>[EUaE7tjJ=1DRs~:!uSd""d~:/Er3rpQA%ze|bp>S MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart11426642.7HND8Mp4uI"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200704161735.56856.lofi@freebsd.org> X-Virus-Scanned: by amavisd-new Cc: x11@freebsd.org, kde@freebsd.org Subject: Re: [kde-freebsd] Conflicting file in x11-toolkits/qt33 and devel/qt4-designer X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 15:36:11 -0000 --nextPart11426642.7HND8Mp4uI Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday, 16. April 2007, Dejan Lesjak wrote: > On Sunday 15 of April 2007, Michael Nottebrock wrote: > > On Saturday, 14. April 2007, Dejan Lesjak wrote: > > > Hello, > > > > > > As part of merging X11BASE to LOCALBASE a conflict has been found > > > between x11-toolkits/qt33 and devel/qt4-designer: > > > > > > # pkg_which /usr/local/bin/designer > > > qt4-designer-4.2.3 > > > # pkg_which /usr/X11R6/bin/designer > > > qt-3.3.8_1 > > > > Somehow I managed to miss the memo that X11BASE is going to abandoned > > altogether. :/ > > This doesn't make much difference for this, I know, but It's not complete= ly > abandoned, it's just that it will default to $LOCALBASE. Users can still > define X11BASE different than localbase though. > The problem is that without doing this we couldn't have made compatibility > symlink /usr/X11R6 -> /usr/local (or rather tell people to do so) which > makes things easier in transition. > > > Will look into it. > > Thanks! This might take a few days to sort out however, please hold off the big upd= ate=20 until then if at all possible. Cheers, =2D-=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --nextPart11426642.7HND8Mp4uI Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGI5fZXhc68WspdLARAlzAAJ9H/HktDUSjrTh0LWbznjJtUX2nCACfVWle TbW8cSWbSdkUQo5ho98jADg= =amB6 -----END PGP SIGNATURE----- --nextPart11426642.7HND8Mp4uI-- From owner-freebsd-x11@FreeBSD.ORG Mon Apr 16 15:44:14 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BE3E016A406; Mon, 16 Apr 2007 15:44:14 +0000 (UTC) (envelope-from dejan.lesjak@ijs.si) Received: from mail.ijs.si (mail4.ijs.si [193.2.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 6D5A213C4B7; Mon, 16 Apr 2007 15:44:14 +0000 (UTC) (envelope-from dejan.lesjak@ijs.si) Received: from localhost (mailman.ijs.si [193.2.4.66]) by mail.ijs.si (Postfix) with ESMTP id 5107A192C88; Mon, 16 Apr 2007 17:44:13 +0200 (CEST) DKIM-Signature: v=0.5; a=rsa-sha1; c=relaxed/simple; d=ijs.si; s=ja-200610; t=241372776; bh=IlHvVjZ6OaXOQ032K/g8b2fhiCs=; h=DomainKey-Signature: X-Virus-Scanned:Received:Received:Received:From:To:Subject:Date: User-Agent:Cc:References:In-Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-Disposition:Message-Id; b=giujlP 1smAmiwtZP72G62970VYCbJxVkbWgx3koZtfutLlmAPJ8By+W4ZWtFokWf/6gXQZlWf jfhjzEsq6jtloa0kyy0BPdWAdfD0TKmY64C7Esej3/AHqweyrUbhzBl DomainKey-Signature: a=rsa-sha1; s=ja-200610; d=ijs.si; c=nofws; q=dns; h=x-virus-scanned:received:received:received:from:to:subject:date: user-agent:cc:references:in-reply-to:mime-version:content-type: content-transfer-encoding:content-disposition:message-id; b=J9tcpKrc6sZmEznY8iUmfYexRRjuvjBCqWjxSYnGTH6+i4wKLO8rjsaVjH8efNjt9 08HGzoK2PELezzLbe9Ywzcff7uR9/8JjFS3cA9q9Eh5inT9yVYJ55DJr2+/bvx/ X-Virus-Scanned: amavisd-new at ijs.si Received: from mail.ijs.si ([193.2.4.66]) by localhost (mail.ijs.si [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id DQRKZ0y-68BF; Mon, 16 Apr 2007 17:44:10 +0200 (CEST) Received: from edina.ijs.si (edina.ijs.si [193.2.4.3]) by mail.ijs.si (Postfix) with ESMTP id 06A0D1929E8; Mon, 16 Apr 2007 17:44:10 +0200 (CEST) Received: from f9pc04.ijs.si (f9pc04.ijs.si [194.249.156.4]) by edina.ijs.si (Postfix) with ESMTP id E7BC3510BA; Mon, 16 Apr 2007 17:44:09 +0200 (CEST) From: Dejan Lesjak To: Michael Nottebrock Date: Mon, 16 Apr 2007 17:44:08 +0200 User-Agent: KMail/1.9.6 References: <200704142316.29396.dejan.lesjak@ijs.si> <200704161306.46713.dejan.lesjak@ijs.si> <200704161735.56856.lofi@freebsd.org> In-Reply-To: <200704161735.56856.lofi@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704161744.09021.dejan.lesjak@ijs.si> Cc: x11@freebsd.org, kde@freebsd.org Subject: Re: [kde-freebsd] Conflicting file in x11-toolkits/qt33 and devel/qt4-designer X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 15:44:14 -0000 On Monday 16 of April 2007, Michael Nottebrock wrote: > On Monday, 16. April 2007, Dejan Lesjak wrote: > > On Sunday 15 of April 2007, Michael Nottebrock wrote: > > > On Saturday, 14. April 2007, Dejan Lesjak wrote: > > > > Hello, > > > > > > > > As part of merging X11BASE to LOCALBASE a conflict has been found > > > > between x11-toolkits/qt33 and devel/qt4-designer: > > > > > > > > # pkg_which /usr/local/bin/designer > > > > qt4-designer-4.2.3 > > > > # pkg_which /usr/X11R6/bin/designer > > > > qt-3.3.8_1 > > > > > > Somehow I managed to miss the memo that X11BASE is going to abandoned > > > altogether. :/ > > > > This doesn't make much difference for this, I know, but It's not > > completely abandoned, it's just that it will default to $LOCALBASE. Users > > can still define X11BASE different than localbase though. > > The problem is that without doing this we couldn't have made > > compatibility symlink /usr/X11R6 -> /usr/local (or rather tell people to > > do so) which makes things easier in transition. > > > > > Will look into it. > > > > Thanks! > > This might take a few days to sort out however, please hold off the big > update until then if at all possible. That's fine by me. Dejan From owner-freebsd-x11@FreeBSD.ORG Mon Apr 16 18:11:14 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CACCA16A401; Mon, 16 Apr 2007 18:11:14 +0000 (UTC) (envelope-from andy@athame.co.uk) Received: from hex.athame.co.uk (salama58.adsl.netsonic.fi [81.17.207.58]) by mx1.freebsd.org (Postfix) with ESMTP id 81D5013C45B; Mon, 16 Apr 2007 18:11:14 +0000 (UTC) (envelope-from andy@athame.co.uk) Received: from [192.168.10.13] (helo=dorfl) by hex.athame.co.uk with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HdVfS-000CdB-SK; Mon, 16 Apr 2007 21:11:11 +0300 From: "Andy Fawcett" To: "'John Nielsen'" , References: <200704051229.27994.lists@jnielsen.net> <200704051231.45103.lists@jnielsen.net> Date: Mon, 16 Apr 2007 21:09:47 +0300 Message-ID: <00d201c78052$6b2af740$0d0aa8c0@dorfl> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <200704051231.45103.lists@jnielsen.net> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Thread-Index: Acd3ot9pApBExfxUTuKyfZnk9P7btgIrZj3w Cc: x11@freebsd.org Subject: RE: [kde-freebsd] qt upgrade strangeness X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 18:11:14 -0000 Hi, > -----Original Message----- > From: John Nielsen [mailto:lists@jnielsen.net] > Sent: Thursday, April 05, 2007 19:32 > To: kde@freebsd.org > Cc: x11@freebsd.org > Subject: Re: [kde-freebsd] qt upgrade strangeness > > On Thursday 05 April 2007 12:29:27 pm John Nielsen wrote: > > I've had some trouble upgrading qt on two different machines now. I'm > using > > the experimental Xorg git ports tree on both and I'm not sure if that's > a > > factor, which is why I'm CC-ing x11@. > > > > In short, qt will install happily the first time but not the second. It > > looks to my untrained eye like building [an upgraded] qt when qt is > already > > installed somehow taints the build. The build will complete > successfully, > > but it will fail during the install step whether or not the old qt was > > uninstalled between the make and install steps--I tried an install > without > > uninstalling the old one using FORCE_PKG_REGISTER and it failed > > differently, but it still failed. However, if qt and qmake are removed > > completely before starting the [new] build for qt, it will install just > > fine. > > > > I'd like to determine if 1) this is a known problem and 2) this is > specific > > to the Xorg ports tree so I know whether or not to send in a PR. > > I forgot to mention this was during an attempt to update qt from qt-copy- > 3.3.8 > to qt-copy-3.3.8_1 on a 7-CURRENT (as of several days ago) box. I also saw > the problem on a previous qt upgrade on a machine running 6-STABLE several > weeks ago. Originally I reported that I wasn't seeing this. Now, I've just updated to the very latest git X11 ports, with X11BASE migrated to LOCALBASE, and get this problem. cd src/moc && make cd src/moc && make install cp -f "../../bin/moc" "/usr/local/bin/moc" cd src && make make: don't know how to make /usr/local/include/qconfig.h. Stop *** Error code 2 Quite weird, I've never seen this before. Andy From owner-freebsd-x11@FreeBSD.ORG Mon Apr 16 19:04:07 2007 Return-Path: X-Original-To: freebsd-x11@hub.freebsd.org Delivered-To: freebsd-x11@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A2E7A16A402; Mon, 16 Apr 2007 19:04:07 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 79D3913C455; Mon, 16 Apr 2007 19:04:07 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l3GJ479W082206; Mon, 16 Apr 2007 19:04:07 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l3GJ44Tl082202; Mon, 16 Apr 2007 19:04:04 GMT (envelope-from linimon) Date: Mon, 16 Apr 2007 19:04:04 GMT From: Mark Linimon Message-Id: <200704161904.l3GJ44Tl082202@freefall.freebsd.org> To: pterodactyle@mail.ru, linimon@FreeBSD.org, freebsd-x11@FreeBSD.org Cc: Subject: Re: ports/110881: Xorg doesn't start X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 19:04:07 -0000 Synopsis: Xorg doesn't start State-Changed-From-To: feedback->closed State-Changed-By: linimon State-Changed-When: Mon Apr 16 19:03:26 UTC 2007 State-Changed-Why: >From mail caught in spamtrap: From: Artem Meshbeyn Date: Mon, 16 Apr 2007 19:02:52 +0400 sorry for haven't reported that problem solved, everything works fine for weeks now with the vesa driver. the nvidia vga driver just doesn't want to work, but i don't care now ;) http://www.freebsd.org/cgi/query-pr.cgi?pr=110881 From owner-freebsd-x11@FreeBSD.ORG Mon Apr 16 19:08:14 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8EF6016A400; Mon, 16 Apr 2007 19:08:14 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 7829213C45B; Mon, 16 Apr 2007 19:08:14 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 8CEA91A4D82; Mon, 16 Apr 2007 12:08:27 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 8CD67513AD; Mon, 16 Apr 2007 15:08:13 -0400 (EDT) Date: Mon, 16 Apr 2007 15:08:13 -0400 From: Kris Kennaway To: Dejan Lesjak Message-ID: <20070416190813.GA65729@xor.obsecurity.org> References: <20070414194028.GB2313@xor.obsecurity.org> <20070416005331.GA33243@xor.obsecurity.org> <20070416092629.GA36962@xor.obsecurity.org> <200704161335.09045.dejan.lesjak@ijs.si> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0F1p//8PRICkK4MW" Content-Disposition: inline In-Reply-To: <200704161335.09045.dejan.lesjak@ijs.si> User-Agent: Mutt/1.4.2.2i Cc: lesi@freebsd.org, x11@freebsd.org, Kris Kennaway Subject: Re: Upgrade script X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 19:08:14 -0000 --0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 16, 2007 at 01:35:08PM +0200, Dejan Lesjak wrote: > On Monday 16 of April 2007, Kris Kennaway wrote: > > On Sun, Apr 15, 2007 at 08:53:31PM -0400, Kris Kennaway wrote: > > > On Sat, Apr 14, 2007 at 10:13:00PM -0400, Kris Kennaway wrote: > > > > > > I confirmed this on an attempted > > > > > > upgrade of an xorg 6.9 machine. > > > > > > > > > > What was missing from 7.2? > > > > > > > > libXau failed, followed by: > > > > > > OK, this is repeatable. What is happening is that when I kick off > > > portupgrade -a, xproto builds early and updates some headers (spamming > > > over the top of xorg 6.9 files), then some time later xorg-libraries > > > builds, and when it deinstalls the old 6.9 port it deletes the headers > > > installed by xproto. Then things like libXau fail to build. > > > > > > It still looks to me like removing all of the old xorg ports first is > > > the only way to avoid this kind of problem; this problem is general > > > and will probably affect other of the xorg-foo metaports too (i.e. the > > > files they used to own have also migrated into subports, so the same > > > thing will happen: the subports are installed first and spam some of > > > the xorg 6.9 files that are still present, then the metaport builds, > > > deinstalls the old 6.9 version, and deletes those files leaving > > > nothing behind) >=20 > Hmm. It should help in this case if xorg-libraries are upgraded first, th= en=20 > xorg-clients/xorg-apps and only then the rest. Do you happen to remember = why=20 > xproto got built before xorg-libraries? It is allowed, because xproto does not depend on anything. xorg-libraries depends on the new ports, so according to the usual rules xorg-libraries *must* be built after those ports have been built. It is a big violation of the "natural order of things" for files to migrate from living in one port to living in a dependency of that port (for this reason), and we don't have a way to deal with this apart from the "delete everything first, then patch it back up" radical surgery approach I was previously afraid we'd have to resort to. > > OK, after several sleepless hours worrying about how much the xorg > > upgrade is going to suck for our users, I think I might have thought > > of a better way. > > > > Instead of running the mergebase.sh script before the xorg upgrade, > > run it after the upgrade. This will avoid the above problem of files > > moving against the natural order of the dependency tree, because the > > xorg 6.9 files are all in /usr/X11R6, and the new ones are installed > > into /usr/local so nothing is being overwritten. >=20 > This will probably do better, yes. The instruction to first run script an= d=20 > then upgrade was pretty much arbitrary; I didn't see much difference in o= rder=20 > but now it does seem that it would be better to run it after. OK, cool. I will try the upgrade again with the below modification when I have the chance. > > Apart from the xorg-manpages special casing in mergebase.sh, this > > should even allow portupgrade -a to work correctly. I am not sure why > > xorg-manpages needs to be special-cased; it looks like the manpages > > are migrating into xorg-docs, so can't we use a MOVED entry to do that? >=20 > Some of them are migrating to separate lib* ports. OK, but to a first approximation we can use xorg-docs? > > Running mergebase as a post-install script also has the advantage that > > if someone forgets, it may not be a fatal problem: most ports are > > X11BASE-clean, so if /usr/X11R6 hangs around on their system they may > > not even notice. >=20 > It might cause problems in users configurations and probably some ports t= hat=20 > expect things in /usr/X11R6 that will now be in /usr/local, but one can= =20 > always "fix" this by making symlink at such time, so it shouldn't really = be a=20 > problem. Yes. The real fix is for such a person to run the mergebase script anyway, but it shouldn't leave them with a completely nonfunctioning system if they forget at first. Kris --0F1p//8PRICkK4MW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGI8mdWry0BWjoQKURAtHGAKCV7uKggRurchKkzdf73DEHtklYdQCZAbRd hJhIlsTQddx3jl2WRMBXESA= =Kjcj -----END PGP SIGNATURE----- --0F1p//8PRICkK4MW-- From owner-freebsd-x11@FreeBSD.ORG Mon Apr 16 19:13:00 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B28D216A402; Mon, 16 Apr 2007 19:12:59 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from smtp6-g19.free.fr (smtp6-g19.free.fr [212.27.42.36]) by mx1.freebsd.org (Postfix) with ESMTP id 4261D13C44B; Mon, 16 Apr 2007 19:12:59 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from smtp.xbsd.org (xbsd.org [82.233.2.192]) by smtp6-g19.free.fr (Postfix) with ESMTP id 6DE706D802; Mon, 16 Apr 2007 21:12:58 +0200 (CEST) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id 1497411C70; Mon, 16 Apr 2007 21:12:58 +0200 (CEST) X-Virus-Scanned: amavisd-new at xbsd.org Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OTVkvOM907C0; Mon, 16 Apr 2007 21:12:52 +0200 (CEST) Received: from [193.120.13.130] (cream.xbsd.org [193.120.13.130]) by smtp.xbsd.org (Postfix) with ESMTP id 1DCDA11705; Mon, 16 Apr 2007 21:12:51 +0200 (CEST) Message-ID: <4623CA92.3020907@FreeBSD.org> Date: Mon, 16 Apr 2007 20:12:18 +0100 From: Florent Thoumie User-Agent: Thunderbird 1.5.0.9 (X11/20070122) MIME-Version: 1.0 To: Kris Kennaway References: <20070414194028.GB2313@xor.obsecurity.org> <20070416005331.GA33243@xor.obsecurity.org> <20070416092629.GA36962@xor.obsecurity.org> <200704161335.09045.dejan.lesjak@ijs.si> <20070416190813.GA65729@xor.obsecurity.org> In-Reply-To: <20070416190813.GA65729@xor.obsecurity.org> X-Enigmail-Version: 0.94.1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig62690A731DA9252BB5B710E9" Cc: lesi@freebsd.org, x11@freebsd.org Subject: Re: Upgrade script X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 19:13:01 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig62690A731DA9252BB5B710E9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Kris Kennaway wrote: > On Mon, Apr 16, 2007 at 01:35:08PM +0200, Dejan Lesjak wrote: >> On Monday 16 of April 2007, Kris Kennaway wrote: >>> >>> Apart from the xorg-manpages special casing in mergebase.sh, this >>> should even allow portupgrade -a to work correctly. I am not sure wh= y >>> xorg-manpages needs to be special-cased; it looks like the manpages >>> are migrating into xorg-docs, so can't we use a MOVED entry to do tha= t? >> Some of them are migrating to separate lib* ports. >=20 > OK, but to a first approximation we can use xorg-docs? Nope, xorg-docs is teh new xorg-documents, with papers and stuff, but almost no manpages. Manual pages are installed per-port. --=20 Florent Thoumie flz@FreeBSD.org FreeBSD Committer --------------enig62690A731DA9252BB5B710E9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGI8qXMxEkbVFH3PQRCos5AJ9Qz6zHy7PRWNwisRYSktje/hdmHgCePw5l XlldM3DCpNRev9DSPs1RSU0= =d7Nb -----END PGP SIGNATURE----- --------------enig62690A731DA9252BB5B710E9-- From owner-freebsd-x11@FreeBSD.ORG Mon Apr 16 19:35:43 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 632A216A400; Mon, 16 Apr 2007 19:35:43 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 4B94413C45B; Mon, 16 Apr 2007 19:35:43 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 9D8A01A4D91; Mon, 16 Apr 2007 12:35:56 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id A9516513AE; Mon, 16 Apr 2007 15:35:42 -0400 (EDT) Date: Mon, 16 Apr 2007 15:35:42 -0400 From: Kris Kennaway To: Florent Thoumie Message-ID: <20070416193542.GA66481@xor.obsecurity.org> References: <20070414194028.GB2313@xor.obsecurity.org> <20070416005331.GA33243@xor.obsecurity.org> <20070416092629.GA36962@xor.obsecurity.org> <200704161335.09045.dejan.lesjak@ijs.si> <20070416190813.GA65729@xor.obsecurity.org> <4623CA92.3020907@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xHFwDpU9dbj6ez1V" Content-Disposition: inline In-Reply-To: <4623CA92.3020907@FreeBSD.org> User-Agent: Mutt/1.4.2.2i Cc: lesi@freebsd.org, x11@freebsd.org, Kris Kennaway Subject: Re: Upgrade script X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 19:35:43 -0000 --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 16, 2007 at 08:12:18PM +0100, Florent Thoumie wrote: > Kris Kennaway wrote: > > On Mon, Apr 16, 2007 at 01:35:08PM +0200, Dejan Lesjak wrote: > >> On Monday 16 of April 2007, Kris Kennaway wrote: > >>> > >>> Apart from the xorg-manpages special casing in mergebase.sh, this > >>> should even allow portupgrade -a to work correctly. I am not sure why > >>> xorg-manpages needs to be special-cased; it looks like the manpages > >>> are migrating into xorg-docs, so can't we use a MOVED entry to do tha= t? > >> Some of them are migrating to separate lib* ports. > >=20 > > OK, but to a first approximation we can use xorg-docs? >=20 > Nope, xorg-docs is teh new xorg-documents, with papers and stuff, but > almost no manpages. Manual pages are installed per-port. OK. We'll need to check how portupgrade handles it with a "deleted" entry in MOVED. I think it will prompt to delete it, but worst case is it just gets left behind in /usr/X11R6 and should not interfere with the upgrade anyway. Kris --xHFwDpU9dbj6ez1V Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGI9AOWry0BWjoQKURAowyAKDbfUITRA7OCwEUCKI+6/io2+cI5ACgivzC BnD2um62pCX0aOQiGIjtn54= =fQGx -----END PGP SIGNATURE----- --xHFwDpU9dbj6ez1V-- From owner-freebsd-x11@FreeBSD.ORG Mon Apr 16 19:59:08 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AD87B16A406; Mon, 16 Apr 2007 19:59:08 +0000 (UTC) (envelope-from dejan.lesjak@ijs.si) Received: from mail.ijs.si (mailman.ijs.si [193.2.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 5DBBC13C458; Mon, 16 Apr 2007 19:59:08 +0000 (UTC) (envelope-from dejan.lesjak@ijs.si) Received: from localhost (mail4.ijs.si [193.2.4.66]) by mail.ijs.si (Postfix) with ESMTP id 2A39A192E9A; Mon, 16 Apr 2007 21:59:07 +0200 (CEST) DKIM-Signature: v=0.5; a=rsa-sha1; c=relaxed/simple; d=ijs.si; s=ja-200610; t=241372776; bh=mk7u9A/hB8ma8VN5a8CwppZJ89A=; h=X-Virus-Scanned: Received:Received:Received:Received:From:Organization:To:Subject: Date:User-Agent:Cc:References:In-Reply-To:MIME-Version: Content-Type:Content-Transfer-Encoding:Content-Disposition: Message-Id; b=nE3coTFBB1xWu6qauQja6Oe8YRxpgpyZFWe53jfCqlCvqG8JSnsb wavObf2HOrlUcUzMnRIvkAR1sNn9dCXTtuOM05279GDCe+Y9bl963MldOCAw6USHgJS F5B7ppscY X-Virus-Scanned: amavisd-new at ijs.si Received: from mail.ijs.si ([193.2.4.66]) by localhost (mail.ijs.si [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ZOvQPjEvsBUP; Mon, 16 Apr 2007 21:59:05 +0200 (CEST) Received: from edina.ijs.si (edina.ijs.si [193.2.4.3]) by mail.ijs.si (Postfix) with ESMTP id 43904192BF4; Mon, 16 Apr 2007 21:59:04 +0200 (CEST) Received: from radagast.ijs.si (radagast.ijs.si [193.2.4.168]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by edina.ijs.si (Postfix) with ESMTP id AAD51510B6; Mon, 16 Apr 2007 21:59:04 +0200 (CEST) Received: from localhost.ijs.si (localhost.ijs.si [127.0.0.1]) by radagast.ijs.si (8.13.8/8.13.8) with ESMTP id l3GJx3rS082772; Mon, 16 Apr 2007 21:59:03 +0200 (CEST) (envelope-from dejan.lesjak@ijs.si) From: Dejan Lesjak Organization: IJS To: Kris Kennaway Date: Mon, 16 Apr 2007 21:59:02 +0200 User-Agent: KMail/1.9.6 References: <20070414194028.GB2313@xor.obsecurity.org> <4623CA92.3020907@FreeBSD.org> <20070416193542.GA66481@xor.obsecurity.org> In-Reply-To: <20070416193542.GA66481@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704162159.02888.dejan.lesjak@ijs.si> Cc: x11@freebsd.org, Florent Thoumie Subject: Re: Upgrade script X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 19:59:08 -0000 On Monday 16 April 2007 21:35:42 Kris Kennaway wrote: > On Mon, Apr 16, 2007 at 08:12:18PM +0100, Florent Thoumie wrote: > > Kris Kennaway wrote: > > > On Mon, Apr 16, 2007 at 01:35:08PM +0200, Dejan Lesjak wrote: > > >> On Monday 16 of April 2007, Kris Kennaway wrote: > > >>> Apart from the xorg-manpages special casing in mergebase.sh, this > > >>> should even allow portupgrade -a to work correctly. I am not sure > > >>> why xorg-manpages needs to be special-cased; it looks like the > > >>> manpages are migrating into xorg-docs, so can't we use a MOVED entry > > >>> to do that? > > >> > > >> Some of them are migrating to separate lib* ports. > > > > > > OK, but to a first approximation we can use xorg-docs? > > > > Nope, xorg-docs is teh new xorg-documents, with papers and stuff, but > > almost no manpages. Manual pages are installed per-port. > > OK. We'll need to check how portupgrade handles it with a "deleted" > entry in MOVED. I think it will prompt to delete it, but worst case > is it just gets left behind in /usr/X11R6 and should not interfere > with the upgrade anyway. Except that if it is left behind it will remove files belonging to other ports upon removal. Still, these are just manpages so nothing would stop working and when someone notices they are gone they can reinstall new port to which the missing manpages belong to get them back. Dejan From owner-freebsd-x11@FreeBSD.ORG Mon Apr 16 20:02:16 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0802916A482; Mon, 16 Apr 2007 20:02:16 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id E404113C45E; Mon, 16 Apr 2007 20:02:15 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 4AF0E1A4D82; Mon, 16 Apr 2007 13:02:29 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 5F88051441; Mon, 16 Apr 2007 16:02:15 -0400 (EDT) Date: Mon, 16 Apr 2007 16:02:15 -0400 From: Kris Kennaway To: Dejan Lesjak Message-ID: <20070416200215.GA67152@xor.obsecurity.org> References: <20070414194028.GB2313@xor.obsecurity.org> <4623CA92.3020907@FreeBSD.org> <20070416193542.GA66481@xor.obsecurity.org> <200704162159.02888.dejan.lesjak@ijs.si> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sm4nu43k4a2Rpi4c" Content-Disposition: inline In-Reply-To: <200704162159.02888.dejan.lesjak@ijs.si> User-Agent: Mutt/1.4.2.2i Cc: x11@freebsd.org, Florent Thoumie , Kris Kennaway Subject: Re: Upgrade script X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 20:02:16 -0000 --sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 16, 2007 at 09:59:02PM +0200, Dejan Lesjak wrote: > On Monday 16 April 2007 21:35:42 Kris Kennaway wrote: > > On Mon, Apr 16, 2007 at 08:12:18PM +0100, Florent Thoumie wrote: > > > Kris Kennaway wrote: > > > > On Mon, Apr 16, 2007 at 01:35:08PM +0200, Dejan Lesjak wrote: > > > >> On Monday 16 of April 2007, Kris Kennaway wrote: > > > >>> Apart from the xorg-manpages special casing in mergebase.sh, this > > > >>> should even allow portupgrade -a to work correctly. I am not sure > > > >>> why xorg-manpages needs to be special-cased; it looks like the > > > >>> manpages are migrating into xorg-docs, so can't we use a MOVED en= try > > > >>> to do that? > > > >> > > > >> Some of them are migrating to separate lib* ports. > > > > > > > > OK, but to a first approximation we can use xorg-docs? > > > > > > Nope, xorg-docs is teh new xorg-documents, with papers and stuff, but > > > almost no manpages. Manual pages are installed per-port. > > > > OK. We'll need to check how portupgrade handles it with a "deleted" > > entry in MOVED. I think it will prompt to delete it, but worst case > > is it just gets left behind in /usr/X11R6 and should not interfere > > with the upgrade anyway. >=20 > Except that if it is left behind it will remove files belonging to other = ports=20 > upon removal. No, they'll also be in /usr/X11R6 and unused by anything else (unless you have incorrectly done the merge into /usr/local before removing it). Kris --sm4nu43k4a2Rpi4c Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGI9ZGWry0BWjoQKURAnt3AKCW8m3/CCYEVAXYm0+vr2m7mfVr9wCfexnu 1Vqoezh2iDG0IGzZU0WdjiE= =uWhR -----END PGP SIGNATURE----- --sm4nu43k4a2Rpi4c-- From owner-freebsd-x11@FreeBSD.ORG Tue Apr 17 11:17:19 2007 Return-Path: X-Original-To: x11@FreeBSD.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3D26916A402 for ; Tue, 17 Apr 2007 11:17:19 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (www.unsane.co.uk [85.233.185.162]) by mx1.freebsd.org (Postfix) with ESMTP id B604613C455 for ; Tue, 17 Apr 2007 11:17:18 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from [192.168.10.217] (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id l3HBGmiL026053 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 17 Apr 2007 12:16:49 +0100 (BST) (envelope-from jhary@unsane.co.uk) Message-ID: <4624ACBC.7040108@unsane.co.uk> Date: Tue, 17 Apr 2007 12:17:16 +0100 From: Vince User-Agent: Thunderbird 1.5.0.10 (X11/20070327) MIME-Version: 1.0 To: x11@FreeBSD.org X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: conflicting files for pending X11BASE move X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2007 11:17:19 -0000 Hi, It looks like graphics/sdl_ttf installs /usr/local/bin/showfont which will conflict with x11-fonts/showfont (currently installs /usr/X11R6/bin/showfont) which is needed for xorg7.2/modular X. Any suggestions or should I be emailing the port maintainer? Its the only conflict the mergebase.sh script picked up in my installed packages. regards, Vince From owner-freebsd-x11@FreeBSD.ORG Tue Apr 17 11:38:30 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3D3C416A400 for ; Tue, 17 Apr 2007 11:38:30 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id C80CA13C4AE for ; Tue, 17 Apr 2007 11:38:28 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so123121ugh for ; Tue, 17 Apr 2007 04:38:28 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jFZT6SbecG7KLk12Jr+kWGBbobdy8Zyvql0E8G9Mr0dRrXIpPa72x6/2MbsB5vvV8NtFvJFihTbHYM+PqcUZjoaq9sGLJa3gHn3h5XkWbipoh7EBKVEbhA0BU1Y97OdeyREitkHWYFL7qYDpslG1jZk+tFJvp8soqsCXSTsR7TI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KvL/Vvc+PLgWZo9HbIWBitU8xpUnDgS97FGHgZmpX4nQrmW1SrnI0o5QiCOxsMD439SF5o12v8WbbRpqqyhmRWPfLVflrwauIKFxxFqwkgdLWRy150WUCYzzMe/kXgIeSFtw4YAW3N1lXY7be74oaNAJsdiK4j7/DvFQ0P6SZHs= Received: by 10.82.116.15 with SMTP id o15mr10225782buc.1176809907797; Tue, 17 Apr 2007 04:38:27 -0700 (PDT) Received: by 10.82.134.18 with HTTP; Tue, 17 Apr 2007 04:38:27 -0700 (PDT) Message-ID: Date: Tue, 17 Apr 2007 13:38:27 +0200 From: "Rene Ladan" To: Vince In-Reply-To: <4624ACBC.7040108@unsane.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4624ACBC.7040108@unsane.co.uk> Cc: x11@freebsd.org Subject: Re: conflicting files for pending X11BASE move X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2007 11:38:30 -0000 2007/4/17, Vince : > Hi, > It looks like graphics/sdl_ttf installs /usr/local/bin/showfont which > will conflict with x11-fonts/showfont (currently installs > /usr/X11R6/bin/showfont) which is needed for xorg7.2/modular X. Any > suggestions or should I be emailing the port maintainer? You could ask the maintainer of graphics/sdl_ttf to rename /usr/local/bin/showfont to e.g. /usr/local/bin/sdl-showfont . I guess this is easier than renaming /usr/X11R6/bin/showfont since SDL is a smaller port than X.org Regards, Rene -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001 From owner-freebsd-x11@FreeBSD.ORG Tue Apr 17 14:02:04 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 90B7916A400; Tue, 17 Apr 2007 14:02:04 +0000 (UTC) (envelope-from lofi@freebsd.org) Received: from mail-in-01.arcor-online.net (mail-in-01.arcor-online.net [151.189.21.41]) by mx1.freebsd.org (Postfix) with ESMTP id F131F13C44B; Tue, 17 Apr 2007 14:02:03 +0000 (UTC) (envelope-from lofi@freebsd.org) Received: from mail-in-01-z2.arcor-online.net (mail-in-11-z2.arcor-online.net [151.189.8.28]) by mail-in-01.arcor-online.net (Postfix) with ESMTP id 4C71A1D3328; Tue, 17 Apr 2007 16:02:02 +0200 (CEST) Received: from mail-in-02.arcor-online.net (mail-in-02.arcor-online.net [151.189.21.42]) by mail-in-01-z2.arcor-online.net (Postfix) with ESMTP id 3360234834C; Tue, 17 Apr 2007 16:02:02 +0200 (CEST) Received: from lofi.dyndns.org (dslb-084-061-184-171.pools.arcor-ip.net [84.61.184.171]) by mail-in-02.arcor-online.net (Postfix) with ESMTP id E675A36E86E; Tue, 17 Apr 2007 16:02:01 +0200 (CEST) Received: from kiste.my.domain (root@kiste.my.domain [192.168.8.2]) by lofi.dyndns.org (8.13.8/8.13.3) with ESMTP id l3HE1v1S027512 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 17 Apr 2007 16:01:58 +0200 (CEST) (envelope-from lofi@freebsd.org) Received: from kiste.my.domain (lofi@localhost [127.0.0.1]) by kiste.my.domain (8.13.6/8.13.4) with ESMTP id l3HE1vii004284; Tue, 17 Apr 2007 16:01:57 +0200 (CEST) (envelope-from lofi@freebsd.org) Received: from localhost (localhost [[UNIX: localhost]]) by kiste.my.domain (8.13.6/8.13.4/Submit) id l3HE1vFt004283; Tue, 17 Apr 2007 16:01:57 +0200 (CEST) (envelope-from lofi@freebsd.org) X-Authentication-Warning: kiste.my.domain: lofi set sender to lofi@freebsd.org using -f From: Michael Nottebrock To: kde@freebsd.org Date: Tue, 17 Apr 2007 16:01:56 +0200 User-Agent: KMail/1.9.6 References: <200704051229.27994.lists@jnielsen.net> <200704051231.45103.lists@jnielsen.net> <00d201c78052$6b2af740$0d0aa8c0@dorfl> In-Reply-To: <00d201c78052$6b2af740$0d0aa8c0@dorfl> X-Face: g:jG2\O{-yqD1x?DG2lU1)(v%xffR"p8Nz(w/*)YEUO\Hn%mGi&-!+rq$&r64,=?utf-8?q?fuP=7E=3Bbw=5C=0A=09=5EQdX?=@v~HEAi?NaE8SU]}.oeYSjN84Fe{M(ahZ.(i+lxyP; pr)2[%mGbkY'RmM>=?utf-8?q?+mg3Y=24ip=0A=091?=@Z>[EUaE7tjJ=1DRs~:!uSd""d~:/Er3rpQA%ze|bp>S MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1606975.Uvhk5I4vCb"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200704171601.57014.lofi@freebsd.org> X-Virus-Scanned: by amavisd-new Cc: x11@freebsd.org, Andy Fawcett Subject: Re: [kde-freebsd] qt upgrade strangeness X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2007 14:02:04 -0000 --nextPart1606975.Uvhk5I4vCb Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday, 16. April 2007, Andy Fawcett wrote: > Hi, > > > -----Original Message----- > > From: John Nielsen [mailto:lists@jnielsen.net] > > Sent: Thursday, April 05, 2007 19:32 > > To: kde@freebsd.org > > Cc: x11@freebsd.org > > Subject: Re: [kde-freebsd] qt upgrade strangeness > > > > On Thursday 05 April 2007 12:29:27 pm John Nielsen wrote: > > > I've had some trouble upgrading qt on two different machines now. I'm > > > > using > > > > > the experimental Xorg git ports tree on both and I'm not sure if that= 's > > > > a > > > > > factor, which is why I'm CC-ing x11@. > > > > > > In short, qt will install happily the first time but not the second. = It > > > looks to my untrained eye like building [an upgraded] qt when qt is > > > > already > > > > > installed somehow taints the build. The build will complete > > > > successfully, > > > > > but it will fail during the install step whether or not the old qt was > > > uninstalled between the make and install steps--I tried an install > > > > without > > > > > uninstalling the old one using FORCE_PKG_REGISTER and it failed > > > differently, but it still failed. However, if qt and qmake are removed > > > completely before starting the [new] build for qt, it will install ju= st > > > fine. > > > > > > I'd like to determine if 1) this is a known problem and 2) this is > > > > specific > > > > > to the Xorg ports tree so I know whether or not to send in a PR. > > > > I forgot to mention this was during an attempt to update qt from qt-cop= y- > > 3.3.8 > > to qt-copy-3.3.8_1 on a 7-CURRENT (as of several days ago) box. I also > > saw the problem on a previous qt upgrade on a machine running 6-STABLE > > several weeks ago. > > Originally I reported that I wasn't seeing this. > > Now, I've just updated to the very latest git X11 ports, with X11BASE > migrated to LOCALBASE, and get this problem. > > cd src/moc && make > cd src/moc && make install > cp -f "../../bin/moc" "/usr/local/bin/moc" > cd src && make > make: don't know how to make /usr/local/include/qconfig.h. Stop > *** Error code 2 > > > Quite weird, I've never seen this before. I dimly remember seeing that before - I don't think Qt/qmake can actually=20 handle a PREFIX-move cleanly and once the prefix has changed, it has to be= =20 deinstalled *before* rebuilding it, or else this will happen. =2D-=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --nextPart1606975.Uvhk5I4vCb Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGJNNUXhc68WspdLARAoSnAKCqGiLtbE7Dygl0JvaGLYkbSkKz3wCfdcTB U4BFOujtrrBZlbL7nKels+0= =BeUX -----END PGP SIGNATURE----- --nextPart1606975.Uvhk5I4vCb-- From owner-freebsd-x11@FreeBSD.ORG Tue Apr 17 14:34:11 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E51C216A404; Tue, 17 Apr 2007 14:34:10 +0000 (UTC) (envelope-from lofi@freebsd.org) Received: from mail-in-13.arcor-online.net (mail-in-13.arcor-online.net [151.189.21.53]) by mx1.freebsd.org (Postfix) with ESMTP id 50B5C13C468; Tue, 17 Apr 2007 14:34:10 +0000 (UTC) (envelope-from lofi@freebsd.org) Received: from mail-in-14-z2.arcor-online.net (mail-in-14-z2.arcor-online.net [151.189.8.31]) by mail-in-13.arcor-online.net (Postfix) with ESMTP id 5CD251FD0E6; Tue, 17 Apr 2007 16:34:04 +0200 (CEST) Received: from mail-in-06.arcor-online.net (mail-in-06.arcor-online.net [151.189.21.46]) by mail-in-14-z2.arcor-online.net (Postfix) with ESMTP id 402B1100D6; Tue, 17 Apr 2007 16:34:04 +0200 (CEST) Received: from lofi.dyndns.org (dslb-084-061-184-171.pools.arcor-ip.net [84.61.184.171]) by mail-in-06.arcor-online.net (Postfix) with ESMTP id 8CE4F35E5B0; Tue, 17 Apr 2007 16:34:03 +0200 (CEST) Received: from kiste.my.domain (root@kiste.my.domain [192.168.8.2]) by lofi.dyndns.org (8.13.8/8.13.3) with ESMTP id l3HEXxtS027799 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 17 Apr 2007 16:33:59 +0200 (CEST) (envelope-from lofi@freebsd.org) Received: from kiste.my.domain (lofi@localhost [127.0.0.1]) by kiste.my.domain (8.13.6/8.13.4) with ESMTP id l3HEXxfT020512; Tue, 17 Apr 2007 16:33:59 +0200 (CEST) (envelope-from lofi@freebsd.org) Received: from localhost (localhost [[UNIX: localhost]]) by kiste.my.domain (8.13.6/8.13.4/Submit) id l3HEXx7J020511; Tue, 17 Apr 2007 16:33:59 +0200 (CEST) (envelope-from lofi@freebsd.org) X-Authentication-Warning: kiste.my.domain: lofi set sender to lofi@freebsd.org using -f From: Michael Nottebrock To: kde@freebsd.org Date: Tue, 17 Apr 2007 16:33:55 +0200 User-Agent: KMail/1.9.6 References: <200704051229.27994.lists@jnielsen.net> <00d201c78052$6b2af740$0d0aa8c0@dorfl> <200704171601.57014.lofi@freebsd.org> In-Reply-To: <200704171601.57014.lofi@freebsd.org> X-Face: g:jG2\O{-yqD1x?DG2lU1)(v%xffR"p8Nz(w/*)YEUO\Hn%mGi&-!+rq$&r64,=?utf-8?q?fuP=7E=3Bbw=5C=0A=09=5EQdX?=@v~HEAi?NaE8SU]}.oeYSjN84Fe{M(ahZ.(i+lxyP; pr)2[%mGbkY'RmM>=?utf-8?q?+mg3Y=24ip=0A=091?=@Z>[EUaE7tjJ=1DRs~:!uSd""d~:/Er3rpQA%ze|bp>S MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4118437.p4W9eRLVPn"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200704171633.59007.lofi@freebsd.org> X-Virus-Scanned: by amavisd-new Cc: Andy Fawcett , x11@freebsd.org Subject: Re: [kde-freebsd] qt upgrade strangeness X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2007 14:34:11 -0000 --nextPart4118437.p4W9eRLVPn Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday, 17. April 2007, Michael Nottebrock wrote: > On Monday, 16. April 2007, Andy Fawcett wrote: > > Hi, > > > > > -----Original Message----- > > > From: John Nielsen [mailto:lists@jnielsen.net] > > > Sent: Thursday, April 05, 2007 19:32 > > > To: kde@freebsd.org > > > Cc: x11@freebsd.org > > > Subject: Re: [kde-freebsd] qt upgrade strangeness > > > > > > On Thursday 05 April 2007 12:29:27 pm John Nielsen wrote: > > > > I've had some trouble upgrading qt on two different machines now. I= 'm > > > > > > using > > > > > > > the experimental Xorg git ports tree on both and I'm not sure if > > > > that's > > > > > > a > > > > > > > factor, which is why I'm CC-ing x11@. > > > > > > > > In short, qt will install happily the first time but not the second. > > > > It looks to my untrained eye like building [an upgraded] qt when qt > > > > is > > > > > > already > > > > > > > installed somehow taints the build. The build will complete > > > > > > successfully, > > > > > > > but it will fail during the install step whether or not the old qt > > > > was uninstalled between the make and install steps--I tried an > > > > install > > > > > > without > > > > > > > uninstalling the old one using FORCE_PKG_REGISTER and it failed > > > > differently, but it still failed. However, if qt and qmake are > > > > removed completely before starting the [new] build for qt, it will > > > > install just fine. > > > > > > > > I'd like to determine if 1) this is a known problem and 2) this is > > > > > > specific > > > > > > > to the Xorg ports tree so I know whether or not to send in a PR. > > > > > > I forgot to mention this was during an attempt to update qt from > > > qt-copy- 3.3.8 > > > to qt-copy-3.3.8_1 on a 7-CURRENT (as of several days ago) box. I also > > > saw the problem on a previous qt upgrade on a machine running 6-STABLE > > > several weeks ago. > > > > Originally I reported that I wasn't seeing this. > > > > Now, I've just updated to the very latest git X11 ports, with X11BASE > > migrated to LOCALBASE, and get this problem. > > > > cd src/moc && make > > cd src/moc && make install > > cp -f "../../bin/moc" "/usr/local/bin/moc" > > cd src && make > > make: don't know how to make /usr/local/include/qconfig.h. Stop > > *** Error code 2 > > > > > > Quite weird, I've never seen this before. > > I dimly remember seeing that before - I don't think Qt/qmake can actually > handle a PREFIX-move cleanly and once the prefix has changed, it has to be > deinstalled *before* rebuilding it, or else this will happen. Since I understand there will be an update script for the upcoming X.org=20 upheaval, this issue would be a prime candidate for handling it in such a=20 script. flz, lesi, what do you think? =2D-=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --nextPart4118437.p4W9eRLVPn Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGJNrTXhc68WspdLARAmHLAJ9WRG2EOLC6Trqss4e7jOVGhGl5SwCdH8/R rAJf2aqrrHarWSO6sYBl70o= =iJbv -----END PGP SIGNATURE----- --nextPart4118437.p4W9eRLVPn-- From owner-freebsd-x11@FreeBSD.ORG Tue Apr 17 14:38:46 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9AA3716A403; Tue, 17 Apr 2007 14:38:46 +0000 (UTC) (envelope-from dejan.lesjak@ijs.si) Received: from mail.ijs.si (mail.ijs.si [193.2.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 1D9B213C459; Tue, 17 Apr 2007 14:38:46 +0000 (UTC) (envelope-from dejan.lesjak@ijs.si) Received: from localhost (mail.ijs.si [193.2.4.66]) by mail.ijs.si (Postfix) with ESMTP id D7DFC192BFF; Tue, 17 Apr 2007 16:38:44 +0200 (CEST) DKIM-Signature: v=0.5; a=rsa-sha1; c=relaxed/simple; d=ijs.si; s=ja-200610; t=241372776; bh=aU7tGgXsuxXP2/LI02hjYvMlOSc=; h=DomainKey-Signature: X-Virus-Scanned:Received:Received:Received:From:To:Subject:Date: User-Agent:Cc:References:In-Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-Disposition:Message-Id; b=qP4GD7 g6mtfNdozMxqhqR8bpALB4UtFhmuOD+gdjbRZrc/EMVaFHsfpv3VB7a0RQI1SwtdkCD wjAsE4bkUsYlRXVxLfxvwmxoM3a6PdBJXEW+kUHYpqFQ53RZkRN0rfe DomainKey-Signature: a=rsa-sha1; s=ja-200610; d=ijs.si; c=nofws; q=dns; h=x-virus-scanned:received:from:to:subject:date:user-agent:cc: references:in-reply-to:mime-version:content-type: content-transfer-encoding:content-disposition:message-id; b=eYfWfpPLu9PQ+vi1PhI9q/3EcooBhaxmgooWwmNpyHL+1OGsLGvjgBoYrqyKeOC4/ T1zqnUIHLMA/OaQI1RQtXl94K6+YOyvUaPg0oiKKS8ebTdElIyjjy+3ky4tDm/L X-Virus-Scanned: amavisd-new at ijs.si Received: from mail.ijs.si ([193.2.4.66]) by localhost (mail.ijs.si [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 5fi+fzuchRzZ; Tue, 17 Apr 2007 16:38:41 +0200 (CEST) Received: from edina.ijs.si (edina.ijs.si [193.2.4.3]) by mail.ijs.si (Postfix) with ESMTP id 5E746192B9F; Tue, 17 Apr 2007 16:38:41 +0200 (CEST) Received: from f9pc04.ijs.si (f9pc04.ijs.si [194.249.156.4]) by edina.ijs.si (Postfix) with ESMTP id 061D4510DB; Tue, 17 Apr 2007 16:38:41 +0200 (CEST) From: Dejan Lesjak To: freebsd-x11@freebsd.org Date: Tue, 17 Apr 2007 16:38:38 +0200 User-Agent: KMail/1.9.6 References: <200704051229.27994.lists@jnielsen.net> <200704171601.57014.lofi@freebsd.org> <200704171633.59007.lofi@freebsd.org> In-Reply-To: <200704171633.59007.lofi@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704171638.39985.dejan.lesjak@ijs.si> Cc: x11@freebsd.org, Andy Fawcett , kde@freebsd.org, Michael Nottebrock Subject: Re: [kde-freebsd] qt upgrade strangeness X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2007 14:38:46 -0000 On Tuesday 17 of April 2007, Michael Nottebrock wrote: > On Tuesday, 17. April 2007, Michael Nottebrock wrote: > > On Monday, 16. April 2007, Andy Fawcett wrote: > > > Hi, > > > > > > > -----Original Message----- > > > > From: John Nielsen [mailto:lists@jnielsen.net] > > > > Sent: Thursday, April 05, 2007 19:32 > > > > To: kde@freebsd.org > > > > Cc: x11@freebsd.org > > > > Subject: Re: [kde-freebsd] qt upgrade strangeness > > > > > > > > On Thursday 05 April 2007 12:29:27 pm John Nielsen wrote: > > > > > I've had some trouble upgrading qt on two different machines now. > > > > > I'm > > > > > > > > using > > > > > > > > > the experimental Xorg git ports tree on both and I'm not sure if > > > > > that's > > > > > > > > a > > > > > > > > > factor, which is why I'm CC-ing x11@. > > > > > > > > > > In short, qt will install happily the first time but not the > > > > > second. It looks to my untrained eye like building [an upgraded] qt > > > > > when qt is > > > > > > > > already > > > > > > > > > installed somehow taints the build. The build will complete > > > > > > > > successfully, > > > > > > > > > but it will fail during the install step whether or not the old qt > > > > > was uninstalled between the make and install steps--I tried an > > > > > install > > > > > > > > without > > > > > > > > > uninstalling the old one using FORCE_PKG_REGISTER and it failed > > > > > differently, but it still failed. However, if qt and qmake are > > > > > removed completely before starting the [new] build for qt, it will > > > > > install just fine. > > > > > > > > > > I'd like to determine if 1) this is a known problem and 2) this is > > > > > > > > specific > > > > > > > > > to the Xorg ports tree so I know whether or not to send in a PR. > > > > > > > > I forgot to mention this was during an attempt to update qt from > > > > qt-copy- 3.3.8 > > > > to qt-copy-3.3.8_1 on a 7-CURRENT (as of several days ago) box. I > > > > also saw the problem on a previous qt upgrade on a machine running > > > > 6-STABLE several weeks ago. > > > > > > Originally I reported that I wasn't seeing this. > > > > > > Now, I've just updated to the very latest git X11 ports, with X11BASE > > > migrated to LOCALBASE, and get this problem. > > > > > > cd src/moc && make > > > cd src/moc && make install > > > cp -f "../../bin/moc" "/usr/local/bin/moc" > > > cd src && make > > > make: don't know how to make /usr/local/include/qconfig.h. Stop > > > *** Error code 2 > > > > > > > > > Quite weird, I've never seen this before. > > > > I dimly remember seeing that before - I don't think Qt/qmake can actually > > handle a PREFIX-move cleanly and once the prefix has changed, it has to > > be deinstalled *before* rebuilding it, or else this will happen. > > Since I understand there will be an update script for the upcoming X.org > upheaval, this issue would be a prime candidate for handling it in such a > script. flz, lesi, what do you think? Would bumping revision of qmake and qt be enough or were you thinking of something more aggressive? Dejan From owner-freebsd-x11@FreeBSD.ORG Tue Apr 17 14:38:46 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9AA3716A403; Tue, 17 Apr 2007 14:38:46 +0000 (UTC) (envelope-from dejan.lesjak@ijs.si) Received: from mail.ijs.si (mail.ijs.si [193.2.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 1D9B213C459; Tue, 17 Apr 2007 14:38:46 +0000 (UTC) (envelope-from dejan.lesjak@ijs.si) Received: from localhost (mail.ijs.si [193.2.4.66]) by mail.ijs.si (Postfix) with ESMTP id D7DFC192BFF; Tue, 17 Apr 2007 16:38:44 +0200 (CEST) DKIM-Signature: v=0.5; a=rsa-sha1; c=relaxed/simple; d=ijs.si; s=ja-200610; t=241372776; bh=aU7tGgXsuxXP2/LI02hjYvMlOSc=; h=DomainKey-Signature: X-Virus-Scanned:Received:Received:Received:From:To:Subject:Date: User-Agent:Cc:References:In-Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-Disposition:Message-Id; b=qP4GD7 g6mtfNdozMxqhqR8bpALB4UtFhmuOD+gdjbRZrc/EMVaFHsfpv3VB7a0RQI1SwtdkCD wjAsE4bkUsYlRXVxLfxvwmxoM3a6PdBJXEW+kUHYpqFQ53RZkRN0rfe DomainKey-Signature: a=rsa-sha1; s=ja-200610; d=ijs.si; c=nofws; q=dns; h=x-virus-scanned:received:from:to:subject:date:user-agent:cc: references:in-reply-to:mime-version:content-type: content-transfer-encoding:content-disposition:message-id; b=eYfWfpPLu9PQ+vi1PhI9q/3EcooBhaxmgooWwmNpyHL+1OGsLGvjgBoYrqyKeOC4/ T1zqnUIHLMA/OaQI1RQtXl94K6+YOyvUaPg0oiKKS8ebTdElIyjjy+3ky4tDm/L X-Virus-Scanned: amavisd-new at ijs.si Received: from mail.ijs.si ([193.2.4.66]) by localhost (mail.ijs.si [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 5fi+fzuchRzZ; Tue, 17 Apr 2007 16:38:41 +0200 (CEST) Received: from edina.ijs.si (edina.ijs.si [193.2.4.3]) by mail.ijs.si (Postfix) with ESMTP id 5E746192B9F; Tue, 17 Apr 2007 16:38:41 +0200 (CEST) Received: from f9pc04.ijs.si (f9pc04.ijs.si [194.249.156.4]) by edina.ijs.si (Postfix) with ESMTP id 061D4510DB; Tue, 17 Apr 2007 16:38:41 +0200 (CEST) From: Dejan Lesjak To: freebsd-x11@freebsd.org Date: Tue, 17 Apr 2007 16:38:38 +0200 User-Agent: KMail/1.9.6 References: <200704051229.27994.lists@jnielsen.net> <200704171601.57014.lofi@freebsd.org> <200704171633.59007.lofi@freebsd.org> In-Reply-To: <200704171633.59007.lofi@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704171638.39985.dejan.lesjak@ijs.si> Cc: x11@freebsd.org, Andy Fawcett , kde@freebsd.org, Michael Nottebrock Subject: Re: [kde-freebsd] qt upgrade strangeness X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2007 14:38:46 -0000 On Tuesday 17 of April 2007, Michael Nottebrock wrote: > On Tuesday, 17. April 2007, Michael Nottebrock wrote: > > On Monday, 16. April 2007, Andy Fawcett wrote: > > > Hi, > > > > > > > -----Original Message----- > > > > From: John Nielsen [mailto:lists@jnielsen.net] > > > > Sent: Thursday, April 05, 2007 19:32 > > > > To: kde@freebsd.org > > > > Cc: x11@freebsd.org > > > > Subject: Re: [kde-freebsd] qt upgrade strangeness > > > > > > > > On Thursday 05 April 2007 12:29:27 pm John Nielsen wrote: > > > > > I've had some trouble upgrading qt on two different machines now. > > > > > I'm > > > > > > > > using > > > > > > > > > the experimental Xorg git ports tree on both and I'm not sure if > > > > > that's > > > > > > > > a > > > > > > > > > factor, which is why I'm CC-ing x11@. > > > > > > > > > > In short, qt will install happily the first time but not the > > > > > second. It looks to my untrained eye like building [an upgraded] qt > > > > > when qt is > > > > > > > > already > > > > > > > > > installed somehow taints the build. The build will complete > > > > > > > > successfully, > > > > > > > > > but it will fail during the install step whether or not the old qt > > > > > was uninstalled between the make and install steps--I tried an > > > > > install > > > > > > > > without > > > > > > > > > uninstalling the old one using FORCE_PKG_REGISTER and it failed > > > > > differently, but it still failed. However, if qt and qmake are > > > > > removed completely before starting the [new] build for qt, it will > > > > > install just fine. > > > > > > > > > > I'd like to determine if 1) this is a known problem and 2) this is > > > > > > > > specific > > > > > > > > > to the Xorg ports tree so I know whether or not to send in a PR. > > > > > > > > I forgot to mention this was during an attempt to update qt from > > > > qt-copy- 3.3.8 > > > > to qt-copy-3.3.8_1 on a 7-CURRENT (as of several days ago) box. I > > > > also saw the problem on a previous qt upgrade on a machine running > > > > 6-STABLE several weeks ago. > > > > > > Originally I reported that I wasn't seeing this. > > > > > > Now, I've just updated to the very latest git X11 ports, with X11BASE > > > migrated to LOCALBASE, and get this problem. > > > > > > cd src/moc && make > > > cd src/moc && make install > > > cp -f "../../bin/moc" "/usr/local/bin/moc" > > > cd src && make > > > make: don't know how to make /usr/local/include/qconfig.h. Stop > > > *** Error code 2 > > > > > > > > > Quite weird, I've never seen this before. > > > > I dimly remember seeing that before - I don't think Qt/qmake can actually > > handle a PREFIX-move cleanly and once the prefix has changed, it has to > > be deinstalled *before* rebuilding it, or else this will happen. > > Since I understand there will be an update script for the upcoming X.org > upheaval, this issue would be a prime candidate for handling it in such a > script. flz, lesi, what do you think? Would bumping revision of qmake and qt be enough or were you thinking of something more aggressive? Dejan From owner-freebsd-x11@FreeBSD.ORG Tue Apr 17 15:12:48 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E842616A401; Tue, 17 Apr 2007 15:12:48 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id D3B2713C45D; Tue, 17 Apr 2007 15:12:48 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id CB87E1A4D98; Tue, 17 Apr 2007 08:13:02 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id A27ED51406; Tue, 17 Apr 2007 11:12:45 -0400 (EDT) Date: Tue, 17 Apr 2007 11:12:45 -0400 From: Kris Kennaway To: Michael Nottebrock Message-ID: <20070417151245.GC1004@xor.obsecurity.org> References: <200704051229.27994.lists@jnielsen.net> <00d201c78052$6b2af740$0d0aa8c0@dorfl> <200704171601.57014.lofi@freebsd.org> <200704171633.59007.lofi@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LwW0XdcUbUexiWVK" Content-Disposition: inline In-Reply-To: <200704171633.59007.lofi@freebsd.org> User-Agent: Mutt/1.4.2.2i Cc: x11@freebsd.org, Andy Fawcett , kde@freebsd.org Subject: Re: [kde-freebsd] qt upgrade strangeness X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2007 15:12:49 -0000 --LwW0XdcUbUexiWVK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 17, 2007 at 04:33:55PM +0200, Michael Nottebrock wrote: > > I dimly remember seeing that before - I don't think Qt/qmake can actual= ly > > handle a PREFIX-move cleanly and once the prefix has changed, it has to= be > > deinstalled *before* rebuilding it, or else this will happen. >=20 > Since I understand there will be an update script for the upcoming X.org= =20 > upheaval, this issue would be a prime candidate for handling it in such a= =20 > script. flz, lesi, what do you think? So far this is the only port that is claimed to require special treatment, the upgrade script isn't doing major surgery on other ports. I'd like to find a workaround that doesn't require it. It would be great if you could get involved in testing the upgrade yourself, we really need people like yourself to help test this kind of corner case. Kris --LwW0XdcUbUexiWVK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGJOPtWry0BWjoQKURAr6eAKCPeDbcbT3w6hIUSYvhtyP1dHoKEACg9Luk iyVHvSorIs2Z5nw8tqsCrMI= =9qSb -----END PGP SIGNATURE----- --LwW0XdcUbUexiWVK-- From owner-freebsd-x11@FreeBSD.ORG Tue Apr 17 15:57:49 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E0A1F16A402; Tue, 17 Apr 2007 15:57:49 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.freebsd.org (Postfix) with ESMTP id AA7ED13C44C; Tue, 17 Apr 2007 15:57:49 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from localhost (jn@ns1 [69.55.238.237]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id l3HFvkfW065005; Tue, 17 Apr 2007 11:57:46 -0400 (EDT) (envelope-from lists@jnielsen.net) From: John Nielsen To: Michael Nottebrock Date: Tue, 17 Apr 2007 11:56:26 -0400 User-Agent: KMail/1.9.6 References: <200704051229.27994.lists@jnielsen.net> <00d201c78052$6b2af740$0d0aa8c0@dorfl> <200704171601.57014.lofi@freebsd.org> In-Reply-To: <200704171601.57014.lofi@freebsd.org> X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*.<=?utf-8?q?of=5F4NrS=0A=09P*M/9CpxDo!D6?=)IY1w<9B1jB; tBQf[RU-R<,I)e"$q7N7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704171156.26647.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Cc: x11@freebsd.org, Andy Fawcett , kde@freebsd.org Subject: Re: [kde-freebsd] qt upgrade strangeness X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2007 15:57:50 -0000 On Tuesday 17 April 2007 10:01:56 am Michael Nottebrock wrote: > On Monday, 16. April 2007, Andy Fawcett wrote: > > Hi, > > > > > -----Original Message----- > > > From: John Nielsen [mailto:lists@jnielsen.net] > > > Sent: Thursday, April 05, 2007 19:32 > > > To: kde@freebsd.org > > > Cc: x11@freebsd.org > > > Subject: Re: [kde-freebsd] qt upgrade strangeness > > > > > > On Thursday 05 April 2007 12:29:27 pm John Nielsen wrote: > > > > I've had some trouble upgrading qt on two different machines now. I'm > > > > > > using > > > > > > > the experimental Xorg git ports tree on both and I'm not sure if > > > > that's > > > > > > a > > > > > > > factor, which is why I'm CC-ing x11@. > > > > > > > > In short, qt will install happily the first time but not the second. > > > > It looks to my untrained eye like building [an upgraded] qt when qt > > > > is > > > > > > already > > > > > > > installed somehow taints the build. The build will complete > > > > > > successfully, > > > > > > > but it will fail during the install step whether or not the old qt > > > > was uninstalled between the make and install steps--I tried an > > > > install > > > > > > without > > > > > > > uninstalling the old one using FORCE_PKG_REGISTER and it failed > > > > differently, but it still failed. However, if qt and qmake are > > > > removed completely before starting the [new] build for qt, it will > > > > install just fine. > > > > > > > > I'd like to determine if 1) this is a known problem and 2) this is > > > > > > specific > > > > > > > to the Xorg ports tree so I know whether or not to send in a PR. > > > > > > I forgot to mention this was during an attempt to update qt from > > > qt-copy- 3.3.8 > > > to qt-copy-3.3.8_1 on a 7-CURRENT (as of several days ago) box. I also > > > saw the problem on a previous qt upgrade on a machine running 6-STABLE > > > several weeks ago. > > > > Originally I reported that I wasn't seeing this. > > > > Now, I've just updated to the very latest git X11 ports, with X11BASE > > migrated to LOCALBASE, and get this problem. > > > > cd src/moc && make > > cd src/moc && make install > > cp -f "../../bin/moc" "/usr/local/bin/moc" > > cd src && make > > make: don't know how to make /usr/local/include/qconfig.h. Stop > > *** Error code 2 > > > > > > Quite weird, I've never seen this before. > > I dimly remember seeing that before - I don't think Qt/qmake can actually > handle a PREFIX-move cleanly and once the prefix has changed, it has to be > deinstalled *before* rebuilding it, or else this will happen. Just to clarify, I'm seeing the brokenness on machines where I deinstalled ALL ports, changed X11BASE in /etc/make.conf, and reinstalled using ONLY the git ports tree. The first installation of qt is fine. Attempting to upgrade ONLY qt with no PREFIX changes and no other major upgrades still fails. Bumping portrevision on qmake and/or qt won't help; in fact it's the last couple bumps (including one for qt I saw yesterday) that have preceeded the failed upgrade attempts. It may well be that something in qt is not X11BASE-clean, but blaming the breakage on a major upgrade or system layout change will not result in a useful fix being created. A failed qt upgrade fails partway through the "make install" target, so the port is no longer registered but some files from the new version are on the system. My workaround is to reinstall from the backup package created by portupgrade, manually force-uninstall qt and qmake (to get ride of the partial installation), remove any existing work directories and then do a "make install" for x11/qt33. It works fine at that point. JN From owner-freebsd-x11@FreeBSD.ORG Tue Apr 17 19:05:56 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EA1F316A400; Tue, 17 Apr 2007 19:05:55 +0000 (UTC) (envelope-from lofi@freebsd.org) Received: from mail-in-13.arcor-online.net (mail-in-13.arcor-online.net [151.189.21.53]) by mx1.freebsd.org (Postfix) with ESMTP id 58DBC13C458; Tue, 17 Apr 2007 19:05:55 +0000 (UTC) (envelope-from lofi@freebsd.org) Received: from mail-in-03-z2.arcor-online.net (mail-in-03-z2.arcor-online.net [151.189.8.15]) by mail-in-13.arcor-online.net (Postfix) with ESMTP id E8EA325D2F1; Tue, 17 Apr 2007 21:05:53 +0200 (CEST) Received: from mail-in-07.arcor-online.net (mail-in-07.arcor-online.net [151.189.21.47]) by mail-in-03-z2.arcor-online.net (Postfix) with ESMTP id C8DD52D3993; Tue, 17 Apr 2007 21:05:53 +0200 (CEST) Received: from lofi.dyndns.org (dslb-084-061-184-171.pools.arcor-ip.net [84.61.184.171]) by mail-in-07.arcor-online.net (Postfix) with ESMTP id 8A1912C29E9; Tue, 17 Apr 2007 21:05:53 +0200 (CEST) Received: from kiste.my.domain (root@kiste.my.domain [192.168.8.2]) by lofi.dyndns.org (8.13.8/8.13.3) with ESMTP id l3HJ5nNZ033172 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 17 Apr 2007 21:05:49 +0200 (CEST) (envelope-from lofi@freebsd.org) Received: from kiste.my.domain (lofi@localhost [127.0.0.1]) by kiste.my.domain (8.13.6/8.13.4) with ESMTP id l3HJ5nxX059442; Tue, 17 Apr 2007 21:05:49 +0200 (CEST) (envelope-from lofi@freebsd.org) Received: from localhost (localhost [[UNIX: localhost]]) by kiste.my.domain (8.13.6/8.13.4/Submit) id l3HJ5miD059441; Tue, 17 Apr 2007 21:05:48 +0200 (CEST) (envelope-from lofi@freebsd.org) X-Authentication-Warning: kiste.my.domain: lofi set sender to lofi@freebsd.org using -f From: Michael Nottebrock To: kde@freebsd.org Date: Tue, 17 Apr 2007 21:05:47 +0200 User-Agent: KMail/1.9.6 References: <200704051229.27994.lists@jnielsen.net> <200704171601.57014.lofi@freebsd.org> <200704171156.26647.lists@jnielsen.net> In-Reply-To: <200704171156.26647.lists@jnielsen.net> X-Face: g:jG2\O{-yqD1x?DG2lU1)(v%xffR"p8Nz(w/*)YEUO\Hn%mGi&-!+rq$&r64,=?utf-8?q?fuP=7E=3Bbw=5C=0A=09=5EQdX?=@v~HEAi?NaE8SU]}.oeYSjN84Fe{M(ahZ.(i+lxyP; pr)2[%mGbkY'RmM>=?utf-8?q?+mg3Y=24ip=0A=091?=@Z>[EUaE7tjJ=1DRs~:!uSd""d~:/Er3rpQA%ze|bp>S MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart17618277.J7QKI2brrG"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200704172105.48637.lofi@freebsd.org> X-Virus-Scanned: by amavisd-new Cc: x11@freebsd.org Subject: Re: [kde-freebsd] qt upgrade strangeness X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2007 19:05:56 -0000 --nextPart17618277.J7QKI2brrG Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday, 17. April 2007, John Nielsen wrote: > On Tuesday 17 April 2007 10:01:56 am Michael Nottebrock wrote: > > On Monday, 16. April 2007, Andy Fawcett wrote: > > > Hi, > > > > > > > -----Original Message----- > > > > From: John Nielsen [mailto:lists@jnielsen.net] > > > > Sent: Thursday, April 05, 2007 19:32 > > > > To: kde@freebsd.org > > > > Cc: x11@freebsd.org > > > > Subject: Re: [kde-freebsd] qt upgrade strangeness > > > > > > > > On Thursday 05 April 2007 12:29:27 pm John Nielsen wrote: > > > > > I've had some trouble upgrading qt on two different machines now. > > > > > I'm > > > > > > > > using > > > > > > > > > the experimental Xorg git ports tree on both and I'm not sure if > > > > > that's > > > > > > > > a > > > > > > > > > factor, which is why I'm CC-ing x11@. > > > > > > > > > > In short, qt will install happily the first time but not the > > > > > second. It looks to my untrained eye like building [an upgraded] = qt > > > > > when qt is > > > > > > > > already > > > > > > > > > installed somehow taints the build. The build will complete > > > > > > > > successfully, > > > > > > > > > but it will fail during the install step whether or not the old qt > > > > > was uninstalled between the make and install steps--I tried an > > > > > install > > > > > > > > without > > > > > > > > > uninstalling the old one using FORCE_PKG_REGISTER and it failed > > > > > differently, but it still failed. However, if qt and qmake are > > > > > removed completely before starting the [new] build for qt, it will > > > > > install just fine. > > > > > > > > > > I'd like to determine if 1) this is a known problem and 2) this is > > > > > > > > specific > > > > > > > > > to the Xorg ports tree so I know whether or not to send in a PR. > > > > > > > > I forgot to mention this was during an attempt to update qt from > > > > qt-copy- 3.3.8 > > > > to qt-copy-3.3.8_1 on a 7-CURRENT (as of several days ago) box. I > > > > also saw the problem on a previous qt upgrade on a machine running > > > > 6-STABLE several weeks ago. > > > > > > Originally I reported that I wasn't seeing this. > > > > > > Now, I've just updated to the very latest git X11 ports, with X11BASE > > > migrated to LOCALBASE, and get this problem. > > > > > > cd src/moc && make > > > cd src/moc && make install > > > cp -f "../../bin/moc" "/usr/local/bin/moc" > > > cd src && make > > > make: don't know how to make /usr/local/include/qconfig.h. Stop > > > *** Error code 2 > > > > > > > > > Quite weird, I've never seen this before. > > > > I dimly remember seeing that before - I don't think Qt/qmake can actual= ly > > handle a PREFIX-move cleanly and once the prefix has changed, it has to > > be deinstalled *before* rebuilding it, or else this will happen. > > Just to clarify, I'm seeing the brokenness on machines where I deinstalled > ALL ports, changed X11BASE in /etc/make.conf, and reinstalled using ONLY > the git ports tree. The first installation of qt is fine. Attempting to > upgrade ONLY qt with no PREFIX changes and no other major upgrades still > fails. So what you're saying is, basically, *re*installing qt33 is broken when=20 X11BASE is set to something !=3D /usr/X11R6 ? =2D-=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --nextPart17618277.J7QKI2brrG Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGJRqMXhc68WspdLARAi8UAJ9XMGl38vt9u1+KZeHLyH+JZn6jRwCfT3Jf 1FUlQqJMf5SfS/HKULv3XWw= =WLvm -----END PGP SIGNATURE----- --nextPart17618277.J7QKI2brrG-- From owner-freebsd-x11@FreeBSD.ORG Tue Apr 17 19:11:24 2007 Return-Path: X-Original-To: x11@FreeBSD.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2149F16A400; Tue, 17 Apr 2007 19:11:24 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 02FA913C458; Tue, 17 Apr 2007 19:11:24 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id DF71D1A4D82; Tue, 17 Apr 2007 12:11:37 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 1FE4F51441; Tue, 17 Apr 2007 15:11:20 -0400 (EDT) Date: Tue, 17 Apr 2007 15:11:19 -0400 From: Kris Kennaway To: Kris Kennaway Message-ID: <20070417191119.GA4997@xor.obsecurity.org> References: <1176818768.68849.25.camel@pav.hide.vol.cz> <20070417161400.GD1678@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EVF5PPMfhYS0aIcm" Content-Disposition: inline In-Reply-To: <20070417161400.GD1678@xor.obsecurity.org> User-Agent: Mutt/1.4.2.2i Cc: sem@FreeBSD.org, Pav Lucistnik , x11@FreeBSD.org, portmgr@FreeBSD.org Subject: Re: xorg testdrive results X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2007 19:11:24 -0000 --EVF5PPMfhYS0aIcm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 17, 2007 at 12:14:01PM -0400, Kris Kennaway wrote: > On Tue, Apr 17, 2007 at 04:06:08PM +0200, Pav Lucistnik wrote: > > Portupgrade finished with these failures: > >=20 > > libXft failed to portupgrade, because other version of libXft was > > already installed. Then it went all south. > >=20 > > So I ended up with a correct, new version of libXft-2.1.12 installed as > > dependency of xorg-libraries, and very confused portupgrade. > >=20 > > =3D=3D=3D> Registering installation for libxkbui-1.0.2 > > =3D=3D=3D> Returning to build of xorg-libraries-7.2 > > =3D=3D=3D> xorg-libraries-7.2 depends on file: /usr/local/libdata/pkg= config/xft.pc - not found > > =3D=3D=3D> Verifying reinstall for /usr/local/libdata/pkgconfig/xft.= pc in /usr/ports/x11-fonts/libXft > >=20 > > This went on before portupgrade decided to do a proper libXft upgrade. > >=20 > > Full typescript at http://people.freebsd.org/~pav/try1-typescript.gz > >=20 > > I'll start a new portupgrade -a now. It should just go on, as libXft is > > fit and well now. >=20 > It looks like it was upgraded correctly, but the problem was here: >=20 > ! x11-fonts/libXft (libXft-2.1.7_1) (Failed to rewrite /var/d= b/pkg/l > ibXft-2.1.7_1/+CONTENTS: No such file or directory - /var/db/pkg/libXft-2= .1.7_1/ > +CONTENTS) >=20 > OK, this seems to be because it upgraded twice. After the correct, > first upgrade above, it later tried again: >=20 > ---> Upgrading 'libXft-2.1.7_1' to 'libXft-2.1.12' (x11-fonts/libXft) >=20 > The problem appears to be that portupgrade isn't recognizing that > libXft should be upgraded before xorg-libraries. Instead it is being > treated as a new installation, which leaves two versions installed > (2.1.7_1 and 2.1.12), which is why it later tries to upgrade a second > time. >=20 > I wonder if a pkgdb -L before the upgrade will fix it. OK, as I mentioned in my previous message it didn't help because it would have needed a massive interactive pkgdb -F session to complete (not really acceptable). I think the behaviour of portupgrade described above is incorrect. There are two possible ways to look at it being wrong: * The xorg 7.2 ports have sprouted a whole bunch of new dependencies (e.g. xorg-libraries now depends on libXft). However for some reason existing ports like libXft are not being upgraded prior to the ports that now depend on them. Note that the INDEX correctly records these dependencies, so perhaps portupgrade is not checking for changes to the dependency lists in the INDEX at runtime, but instead assuming that the old dependencies recorded in the installed package are still correct. * When xorg-libraries builds, it notices that libXft needs to be reinstalled (since it moved from /usr/X11R6 to /usr/local). It (actually bsd.port.mk) goes and installs libXft which completes successfully, but portupgrade doesn't remove libXft from the list of ports remaining to be upgraded (probably because it didn't notice that bsd.port.mk installed a duplicate version of the port on its own initiative), so later on it tries again to upgrade from "libXft-2.1.7_1" to "libXft-2.1.12", even though it already did this (in fact both versions are installed, the old in /usr/X11R6 and the new in /usr/local). I think this is actually a consequence of the first bug (libXft should have been upgraded before xorg-libraries was, so it should not have reached the "libXft ... - not found" in the first place. Sem, can you please take a look at the above analysis and the typescript of the failed upgrade here: http://people.freebsd.org/~pav/try1-typescript.gz and try to find a solution? Unfortunately it looks as if the xorg upgrade is going to block on this issue, so we need to find a solution ASAP. Kris --EVF5PPMfhYS0aIcm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGJRvXWry0BWjoQKURAtLxAKDoeP5BSrn8vvpJwVEnIUZilKAHhgCfcX3r 4+nD7LpY3PQRUMcYcQKLPD0= =Cc+2 -----END PGP SIGNATURE----- --EVF5PPMfhYS0aIcm-- From owner-freebsd-x11@FreeBSD.ORG Tue Apr 17 19:23:06 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0C8F516A407; Tue, 17 Apr 2007 19:23:06 +0000 (UTC) (envelope-from dejan.lesjak@ijs.si) Received: from mail.ijs.si (mail4.ijs.si [193.2.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 71A8A13C4C1; Tue, 17 Apr 2007 19:23:05 +0000 (UTC) (envelope-from dejan.lesjak@ijs.si) Received: from localhost (mail.ijs.si [193.2.4.66]) by mail.ijs.si (Postfix) with ESMTP id 4EB2B192D9B; Tue, 17 Apr 2007 21:23:04 +0200 (CEST) DKIM-Signature: v=0.5; a=rsa-sha1; c=relaxed/simple; d=ijs.si; s=ja-200610; t=241372776; bh=lUktEi7sm49xDephBQT5e0M6rWQ=; h=DomainKey-Signature: X-Virus-Scanned:Received:Received:Received:Received:From: Organization:To:Subject:Date:User-Agent:Cc:References:In-Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding: Content-Disposition:Message-Id; b=mLVZaAI4nEhy9YbW7X4ctBYkZRPzeg3Z BET/T8q33L2Uck2BGDVZqZlpsiuAyTpknSxuOGMLObnDmuHU5Iad+QZ7iz4gpoIepPQ Xbg8iZito+GXlrLJQ2FLDeU0kA3Wp DomainKey-Signature: a=rsa-sha1; s=ja-200610; d=ijs.si; c=nofws; q=dns; h=x-virus-scanned:received:from:organization:to:subject:date: user-agent:cc:references:in-reply-to:mime-version:content-type: content-transfer-encoding:content-disposition:message-id; b=vH7+EckuJAnvAFLPA1QALDnKXbQzVV7nTJNoHlES00+2q9dD/v/W6hiOtzZI5DhIQ 9fU5PQVr83W161AIoh+VkWAoMYTkcm+4kifNnixt4UuKsEeFa2I/YucvBsPzLYK X-Virus-Scanned: amavisd-new at ijs.si Received: from mail.ijs.si ([193.2.4.66]) by localhost (mail.ijs.si [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id BQTjngquqcGE; Tue, 17 Apr 2007 21:23:02 +0200 (CEST) Received: from edina.ijs.si (edina.ijs.si [193.2.4.3]) by mail.ijs.si (Postfix) with ESMTP id C3245192D40; Tue, 17 Apr 2007 21:23:01 +0200 (CEST) Received: from radagast.ijs.si (radagast.ijs.si [193.2.4.168]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by edina.ijs.si (Postfix) with ESMTP id 52BC8510DB; Tue, 17 Apr 2007 21:23:01 +0200 (CEST) Received: from localhost.ijs.si (localhost.ijs.si [127.0.0.1]) by radagast.ijs.si (8.13.8/8.13.8) with ESMTP id l3HJN0fX089392; Tue, 17 Apr 2007 21:23:00 +0200 (CEST) (envelope-from dejan.lesjak@ijs.si) From: Dejan Lesjak Organization: IJS To: Michael Nottebrock Date: Tue, 17 Apr 2007 21:22:58 +0200 User-Agent: KMail/1.9.6 References: <200704051229.27994.lists@jnielsen.net> <200704171638.39985.dejan.lesjak@ijs.si> <200704172058.53674.lofi@freebsd.org> In-Reply-To: <200704172058.53674.lofi@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704172122.59466.dejan.lesjak@ijs.si> Cc: freebsd-x11@freebsd.org, Andy Fawcett , kde@freebsd.org Subject: Re: [kde-freebsd] qt upgrade strangeness X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2007 19:23:06 -0000 On Tuesday 17 April 2007 20:58:42 Michael Nottebrock wrote: > On Tuesday, 17. April 2007, Dejan Lesjak wrote: > > On Tuesday 17 of April 2007, Michael Nottebrock wrote: > > > On Tuesday, 17. April 2007, Michael Nottebrock wrote: > > > > On Monday, 16. April 2007, Andy Fawcett wrote: > > > > > Hi, > > > > > > > > > > > -----Original Message----- > > > > > > From: John Nielsen [mailto:lists@jnielsen.net] > > > > > > Sent: Thursday, April 05, 2007 19:32 > > > > > > To: kde@freebsd.org > > > > > > Cc: x11@freebsd.org > > > > > > Subject: Re: [kde-freebsd] qt upgrade strangeness > > > > > > > > > > > > On Thursday 05 April 2007 12:29:27 pm John Nielsen wrote: > > > > > > > I've had some trouble upgrading qt on two different machines > > > > > > > now. I'm > > > > > > > > > > > > using > > > > > > > > > > > > > the experimental Xorg git ports tree on both and I'm not sure > > > > > > > if that's > > > > > > > > > > > > a > > > > > > > > > > > > > factor, which is why I'm CC-ing x11@. > > > > > > > > > > > > > > In short, qt will install happily the first time but not the > > > > > > > second. It looks to my untrained eye like building [an > > > > > > > upgraded] qt when qt is > > > > > > > > > > > > already > > > > > > > > > > > > > installed somehow taints the build. The build will complete > > > > > > > > > > > > successfully, > > > > > > > > > > > > > but it will fail during the install step whether or not the old > > > > > > > qt was uninstalled between the make and install steps--I tried > > > > > > > an install > > > > > > > > > > > > without > > > > > > > > > > > > > uninstalling the old one using FORCE_PKG_REGISTER and it failed > > > > > > > differently, but it still failed. However, if qt and qmake are > > > > > > > removed completely before starting the [new] build for qt, it > > > > > > > will install just fine. > > > > > > > > > > > > > > I'd like to determine if 1) this is a known problem and 2) this > > > > > > > is > > > > > > > > > > > > specific > > > > > > > > > > > > > to the Xorg ports tree so I know whether or not to send in a > > > > > > > PR. > > > > > > > > > > > > I forgot to mention this was during an attempt to update qt from > > > > > > qt-copy- 3.3.8 > > > > > > to qt-copy-3.3.8_1 on a 7-CURRENT (as of several days ago) box. I > > > > > > also saw the problem on a previous qt upgrade on a machine > > > > > > running 6-STABLE several weeks ago. > > > > > > > > > > Originally I reported that I wasn't seeing this. > > > > > > > > > > Now, I've just updated to the very latest git X11 ports, with > > > > > X11BASE migrated to LOCALBASE, and get this problem. > > > > > > > > > > cd src/moc && make > > > > > cd src/moc && make install > > > > > cp -f "../../bin/moc" "/usr/local/bin/moc" > > > > > cd src && make > > > > > make: don't know how to make /usr/local/include/qconfig.h. Stop > > > > > *** Error code 2 > > > > > > > > > > > > > > > Quite weird, I've never seen this before. > > > > > > > > I dimly remember seeing that before - I don't think Qt/qmake can > > > > actually handle a PREFIX-move cleanly and once the prefix has > > > > changed, it has to be deinstalled *before* rebuilding it, or else > > > > this will happen. > > > > > > Since I understand there will be an update script for the upcoming > > > X.org upheaval, this issue would be a prime candidate for handling it > > > in such a script. flz, lesi, what do you think? > > > > Would bumping revision of qmake and qt be enough or were you thinking of > > something more aggressive? > > No - I'm guessing the problem is that qmake generates wrong dependencies in > Makefiles when it configures Qt with a prefix that is different from the > one of a previously installed Qt, with the dependencies being generated on > files in the destination install prefix instead of the workdir. The most > obvious workaround: Deinstall (as in make deinstall) qt33, then (and only > then) rebuild and reinstall qt33 with the new PREFIX set. An update script > could take care of this rather easily as part of a post-update cleanup > routine. > > I can also try to reproduce this and, if I succeed, try to come up with > some post-configure in-place Makefile editing, if my guess turns out to be > correct, but I am still busy with changing a number of qt4 ports to avoid > conflicting with qt33 after the X11BASE-move and flz@ already told me would > very much like to remain on schedule and do the merge on the upcoming > monday - I'm simply not sure I will be able to address this problem in > time. Errrrm... does this failure happen with /usr/X11R6 -> /usr/local symlink in place or without it? Dejan From owner-freebsd-x11@FreeBSD.ORG Tue Apr 17 19:26:09 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0C2CF16A40A; Tue, 17 Apr 2007 19:26:09 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id E921B13C44C; Tue, 17 Apr 2007 19:26:08 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 22CB11A4D86; Tue, 17 Apr 2007 12:26:22 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id CC1C85132C; Tue, 17 Apr 2007 15:26:04 -0400 (EDT) Date: Tue, 17 Apr 2007 15:26:04 -0400 From: Kris Kennaway To: Dejan Lesjak Message-ID: <20070417192604.GA5448@xor.obsecurity.org> References: <200704051229.27994.lists@jnielsen.net> <200704171638.39985.dejan.lesjak@ijs.si> <200704172058.53674.lofi@freebsd.org> <200704172122.59466.dejan.lesjak@ijs.si> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200704172122.59466.dejan.lesjak@ijs.si> User-Agent: Mutt/1.4.2.2i Cc: freebsd-x11@freebsd.org, Andy Fawcett , kde@freebsd.org, Michael Nottebrock Subject: Re: [kde-freebsd] qt upgrade strangeness X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2007 19:26:09 -0000 On Tue, Apr 17, 2007 at 09:22:58PM +0200, Dejan Lesjak wrote: > On Tuesday 17 April 2007 20:58:42 Michael Nottebrock wrote: > > On Tuesday, 17. April 2007, Dejan Lesjak wrote: > > > On Tuesday 17 of April 2007, Michael Nottebrock wrote: > > > > On Tuesday, 17. April 2007, Michael Nottebrock wrote: > > > > > On Monday, 16. April 2007, Andy Fawcett wrote: > > > > > > Hi, > > > > > > > > > > > > > -----Original Message----- > > > > > > > From: John Nielsen [mailto:lists@jnielsen.net] > > > > > > > Sent: Thursday, April 05, 2007 19:32 > > > > > > > To: kde@freebsd.org > > > > > > > Cc: x11@freebsd.org > > > > > > > Subject: Re: [kde-freebsd] qt upgrade strangeness > > > > > > > > > > > > > > On Thursday 05 April 2007 12:29:27 pm John Nielsen wrote: > > > > > > > > I've had some trouble upgrading qt on two different machines > > > > > > > > now. I'm > > > > > > > > > > > > > > using > > > > > > > > > > > > > > > the experimental Xorg git ports tree on both and I'm not sure > > > > > > > > if that's > > > > > > > > > > > > > > a > > > > > > > > > > > > > > > factor, which is why I'm CC-ing x11@. > > > > > > > > > > > > > > > > In short, qt will install happily the first time but not the > > > > > > > > second. It looks to my untrained eye like building [an > > > > > > > > upgraded] qt when qt is > > > > > > > > > > > > > > already > > > > > > > > > > > > > > > installed somehow taints the build. The build will complete > > > > > > > > > > > > > > successfully, > > > > > > > > > > > > > > > but it will fail during the install step whether or not the old > > > > > > > > qt was uninstalled between the make and install steps--I tried > > > > > > > > an install > > > > > > > > > > > > > > without > > > > > > > > > > > > > > > uninstalling the old one using FORCE_PKG_REGISTER and it failed > > > > > > > > differently, but it still failed. However, if qt and qmake are > > > > > > > > removed completely before starting the [new] build for qt, it > > > > > > > > will install just fine. > > > > > > > > > > > > > > > > I'd like to determine if 1) this is a known problem and 2) this > > > > > > > > is > > > > > > > > > > > > > > specific > > > > > > > > > > > > > > > to the Xorg ports tree so I know whether or not to send in a > > > > > > > > PR. > > > > > > > > > > > > > > I forgot to mention this was during an attempt to update qt from > > > > > > > qt-copy- 3.3.8 > > > > > > > to qt-copy-3.3.8_1 on a 7-CURRENT (as of several days ago) box. I > > > > > > > also saw the problem on a previous qt upgrade on a machine > > > > > > > running 6-STABLE several weeks ago. > > > > > > > > > > > > Originally I reported that I wasn't seeing this. > > > > > > > > > > > > Now, I've just updated to the very latest git X11 ports, with > > > > > > X11BASE migrated to LOCALBASE, and get this problem. > > > > > > > > > > > > cd src/moc && make > > > > > > cd src/moc && make install > > > > > > cp -f "../../bin/moc" "/usr/local/bin/moc" > > > > > > cd src && make > > > > > > make: don't know how to make /usr/local/include/qconfig.h. Stop > > > > > > *** Error code 2 > > > > > > > > > > > > > > > > > > Quite weird, I've never seen this before. > > > > > > > > > > I dimly remember seeing that before - I don't think Qt/qmake can > > > > > actually handle a PREFIX-move cleanly and once the prefix has > > > > > changed, it has to be deinstalled *before* rebuilding it, or else > > > > > this will happen. > > > > > > > > Since I understand there will be an update script for the upcoming > > > > X.org upheaval, this issue would be a prime candidate for handling it > > > > in such a script. flz, lesi, what do you think? > > > > > > Would bumping revision of qmake and qt be enough or were you thinking of > > > something more aggressive? > > > > No - I'm guessing the problem is that qmake generates wrong dependencies in > > Makefiles when it configures Qt with a prefix that is different from the > > one of a previously installed Qt, with the dependencies being generated on > > files in the destination install prefix instead of the workdir. The most > > obvious workaround: Deinstall (as in make deinstall) qt33, then (and only > > then) rebuild and reinstall qt33 with the new PREFIX set. An update script > > could take care of this rather easily as part of a post-update cleanup > > routine. > > > > I can also try to reproduce this and, if I succeed, try to come up with > > some post-configure in-place Makefile editing, if my guess turns out to be > > correct, but I am still busy with changing a number of qt4 ports to avoid > > conflicting with qt33 after the X11BASE-move and flz@ already told me would > > very much like to remain on schedule and do the merge on the upcoming > > monday - I'm simply not sure I will be able to address this problem in > > time. > > Errrrm... does this failure happen with /usr/X11R6 -> /usr/local symlink in > place or without it? Without, presumably - that symlink can only be added after the upgrade, once everything has been rebuilt, so it won't help with failures trying to perform that rebuild. Kris From owner-freebsd-x11@FreeBSD.ORG Tue Apr 17 20:35:29 2007 Return-Path: X-Original-To: freebsd-x11@FreeBSD.org Delivered-To: freebsd-x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D7D9616A401; Tue, 17 Apr 2007 20:35:29 +0000 (UTC) (envelope-from sec@42.org) Received: from ice.42.org (ice.42.org [194.77.85.2]) by mx1.freebsd.org (Postfix) with ESMTP id 7698A13C44C; Tue, 17 Apr 2007 20:35:29 +0000 (UTC) (envelope-from sec@42.org) Received: by ice.42.org (Postfix, from userid 1000) id CFDD9C462; Tue, 17 Apr 2007 22:15:48 +0200 (CEST) Date: Tue, 17 Apr 2007 22:15:48 +0200 From: Stefan `Sec` Zehl To: Florent Thoumie Message-ID: <20070417201548.GB44061@ice.42.org> X-Current-Backlog: 2864 messages References: <200704161141.l3GBfrcY049525@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200704161141.l3GBfrcY049525@freefall.freebsd.org> User-Agent: Mutt/1.4.2.2i I-love-doing-this: really X-Modeline: vim:set ts=8 sw=4 smarttab tw=72 si noic notitle: Accept-Languages: de, en X-URL: http://sec.42.org/ Cc: freebsd-x11@FreeBSD.org Subject: Re: ports/109497: x11-servers/xorg-fontserver rc.d/xfs.sh script missing "-user" X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2007 20:35:29 -0000 Hi, On Mon, Apr 16, 2007 at 11:41 +0000, Florent Thoumie wrote: > Synopsis: x11-servers/xorg-fontserver rc.d/xfs.sh script missing "-user" > > State-Changed-From-To: open->closed > State-Changed-By: flz > State-Changed-When: Mon Apr 16 11:40:38 UTC 2007 > State-Changed-Why: > I just checked and other OS'es seem to run it as root as well. > > If this is a real concern to you, just set xfs_flags="-user nobody" in > /etc/rc.conf. I think this is what you're looking for. Please note that if you set "xfs_user=" to something, the default rc.subr will already try to do something with it, and (silently) fail to start xfs at all. I do think fixing this would be more user friendly -- besides, its only a two-line patch anyway, and it doesn't even change the default of running as root. But if think it's important to refuse this change, I can certainly live without that patch. CU, Sec -- One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C Programs. From owner-freebsd-x11@FreeBSD.ORG Tue Apr 17 21:33:29 2007 Return-Path: X-Original-To: freebsd-x11@FreeBSD.org Delivered-To: freebsd-x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BA3AB16A400 for ; Tue, 17 Apr 2007 21:33:29 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from smtp6-g19.free.fr (smtp6-g19.free.fr [212.27.42.36]) by mx1.freebsd.org (Postfix) with ESMTP id 5452F13C45A for ; Tue, 17 Apr 2007 21:33:29 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from smtp.xbsd.org (unknown [82.233.2.192]) by smtp6-g19.free.fr (Postfix) with ESMTP id 58EA66D47B; Tue, 17 Apr 2007 23:33:28 +0200 (CEST) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id 0564711C85; Tue, 17 Apr 2007 23:33:27 +0200 (CEST) X-Virus-Scanned: amavisd-new at xbsd.org Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0kSBl-bvYz-s; Tue, 17 Apr 2007 23:33:20 +0200 (CEST) Received: from [193.120.13.130] (cream.xbsd.org [193.120.13.130]) by smtp.xbsd.org (Postfix) with ESMTP id EC08F11C83; Tue, 17 Apr 2007 23:33:19 +0200 (CEST) Message-ID: <46253C95.3030808@FreeBSD.org> Date: Tue, 17 Apr 2007 22:31:01 +0100 From: Florent Thoumie User-Agent: Thunderbird 1.5.0.9 (X11/20070122) MIME-Version: 1.0 To: Stefan `Sec` Zehl References: <200704161141.l3GBfrcY049525@freefall.freebsd.org> <20070417201548.GB44061@ice.42.org> In-Reply-To: <20070417201548.GB44061@ice.42.org> X-Enigmail-Version: 0.94.1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigB3DD81EFB2DFC5EBE7B42700" Cc: freebsd-x11@FreeBSD.org Subject: Re: ports/109497: x11-servers/xorg-fontserver rc.d/xfs.sh script missing "-user" X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2007 21:33:29 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB3DD81EFB2DFC5EBE7B42700 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Stefan `Sec` Zehl wrote: > Hi, >=20 > On Mon, Apr 16, 2007 at 11:41 +0000, Florent Thoumie wrote: >> Synopsis: x11-servers/xorg-fontserver rc.d/xfs.sh script missing "-use= r" >> >> State-Changed-From-To: open->closed >> State-Changed-By: flz >> State-Changed-When: Mon Apr 16 11:40:38 UTC 2007 >> State-Changed-Why:=20 >> I just checked and other OS'es seem to run it as root as well. >> >> If this is a real concern to you, just set xfs_flags=3D"-user nobody" = in >> /etc/rc.conf. I think this is what you're looking for. >=20 > Please note that if you set "xfs_user=3D" to something, the default > rc.subr will already try to do something with it, and (silently) fail t= o > start xfs at all. I do think fixing this would be more user friendly --= > besides, its only a two-line patch anyway, and it doesn't even change > the default of running as root. >=20 > But if think it's important to refuse this change, I can certainly live= > without that patch. This is not what I said, please re-read my message. --=20 Florent Thoumie flz@FreeBSD.org FreeBSD Committer --------------enigB3DD81EFB2DFC5EBE7B42700 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGJTyaMxEkbVFH3PQRCtfVAJkBj88yO341RuKCaM6+UGrOKaYyngCeIe9l WZPE7hPXrnEloCrIONfko3w= =VLyb -----END PGP SIGNATURE----- --------------enigB3DD81EFB2DFC5EBE7B42700-- From owner-freebsd-x11@FreeBSD.ORG Tue Apr 17 22:00:47 2007 Return-Path: X-Original-To: freebsd-x11@FreeBSD.org Delivered-To: freebsd-x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D144616A403; Tue, 17 Apr 2007 22:00:47 +0000 (UTC) (envelope-from sec@42.org) Received: from ice.42.org (ice.42.org [194.77.85.2]) by mx1.freebsd.org (Postfix) with ESMTP id 671F113C4AD; Tue, 17 Apr 2007 22:00:47 +0000 (UTC) (envelope-from sec@42.org) Received: by ice.42.org (Postfix, from userid 1000) id 8782AC462; Wed, 18 Apr 2007 00:00:46 +0200 (CEST) Date: Wed, 18 Apr 2007 00:00:46 +0200 From: Stefan `Sec` Zehl To: Florent Thoumie Message-ID: <20070417220046.GC44061@ice.42.org> X-Current-Backlog: 2864 messages References: <200704161141.l3GBfrcY049525@freefall.freebsd.org> <20070417201548.GB44061@ice.42.org> <46253C95.3030808@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46253C95.3030808@FreeBSD.org> User-Agent: Mutt/1.4.2.2i I-love-doing-this: really X-Modeline: vim:set ts=8 sw=4 smarttab tw=72 si noic notitle: Accept-Languages: de, en X-URL: http://sec.42.org/ Cc: freebsd-x11@FreeBSD.org Subject: Re: ports/109497: x11-servers/xorg-fontserver rc.d/xfs.sh script missing "-user" X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2007 22:00:47 -0000 On Tue, Apr 17, 2007 at 22:31 +0100, Florent Thoumie wrote: > Stefan `Sec` Zehl wrote: > > Hi, > > > > On Mon, Apr 16, 2007 at 11:41 +0000, Florent Thoumie wrote: > >> Synopsis: x11-servers/xorg-fontserver rc.d/xfs.sh script missing "-user" > >> > >> State-Changed-From-To: open->closed > >> State-Changed-By: flz > >> State-Changed-When: Mon Apr 16 11:40:38 UTC 2007 > >> State-Changed-Why: > >> I just checked and other OS'es seem to run it as root as well. > >> > >> If this is a real concern to you, just set xfs_flags="-user nobody" in > >> /etc/rc.conf. I think this is what you're looking for. > > > > Please note that if you set "xfs_user=" to something, the default > > rc.subr will already try to do something with it, and (silently) fail to > > start xfs at all. I do think fixing this would be more user friendly -- > > besides, its only a two-line patch anyway, and it doesn't even change > > the default of running as root. > > > > But if think it's important to refuse this change, I can certainly live > > without that patch. > > This is not what I said, please re-read my message. Ok. I did. As far as I can tell, your message had two points. 1: Others run it as root. 2: I can run it as non-root if I want to by using xfs_flags=... If that isn't what you said, please rephrase, as I must have misunderstood you. Please be patient, as english is not my native language. Therefore let me also rephrase my last answer. First regarding your two points: re 1: - I'm not asking to change the default. So what other OSs run it as is not relevant. re 2: - If you still want to reject the patch I sent, I can live with it as users searching for it will hopefully find the workaround documented in this PR. My additional points I was trying to make: - If someone currently sets "xfs_user=" in rc.conf, this makes xfs fail silently. I think it would be great if it instead would just work. - It is only two lines, so no bloat, and it won't hurt anyone. Hope that clears it up, Sec -- I know I've got it great, really, good job, good friends, loving family, total freedom, and long bubblebaths. what else could there be? From owner-freebsd-x11@FreeBSD.ORG Tue Apr 17 23:41:12 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0748916A407 for ; Tue, 17 Apr 2007 23:41:12 +0000 (UTC) (envelope-from lofi@freebsd.org) Received: from mail-in-07.arcor-online.net (mail-in-07.arcor-online.net [151.189.21.47]) by mx1.freebsd.org (Postfix) with ESMTP id 79D0D13C4B0 for ; Tue, 17 Apr 2007 23:41:11 +0000 (UTC) (envelope-from lofi@freebsd.org) Received: from mail-in-01-z2.arcor-online.net (mail-in-01-z2.arcor-online.net [151.189.8.13]) by mail-in-07.arcor-online.net (Postfix) with ESMTP id 66985252D9D; Tue, 17 Apr 2007 20:59:05 +0200 (CEST) Received: from mail-in-05.arcor-online.net (mail-in-05.arcor-online.net [151.189.21.45]) by mail-in-01-z2.arcor-online.net (Postfix) with ESMTP id A372512DD71; Tue, 17 Apr 2007 20:59:04 +0200 (CEST) Received: from lofi.dyndns.org (dslb-084-061-184-171.pools.arcor-ip.net [84.61.184.171]) by mail-in-05.arcor-online.net (Postfix) with ESMTP id 9BD6223B0D6; Tue, 17 Apr 2007 20:59:03 +0200 (CEST) Received: from kiste.my.domain (root@kiste.my.domain [192.168.8.2]) by lofi.dyndns.org (8.13.8/8.13.3) with ESMTP id l3HIwuv8032952 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 17 Apr 2007 20:58:56 +0200 (CEST) (envelope-from lofi@freebsd.org) Received: from kiste.my.domain (lofi@localhost [127.0.0.1]) by kiste.my.domain (8.13.6/8.13.4) with ESMTP id l3HIwuWV055438; Tue, 17 Apr 2007 20:58:56 +0200 (CEST) (envelope-from lofi@freebsd.org) Received: from localhost (localhost [[UNIX: localhost]]) by kiste.my.domain (8.13.6/8.13.4/Submit) id l3HIwstQ055421; Tue, 17 Apr 2007 20:58:54 +0200 (CEST) (envelope-from lofi@freebsd.org) X-Authentication-Warning: kiste.my.domain: lofi set sender to lofi@freebsd.org using -f From: Michael Nottebrock To: Dejan Lesjak Date: Tue, 17 Apr 2007 20:58:42 +0200 User-Agent: KMail/1.9.6 References: <200704051229.27994.lists@jnielsen.net> <200704171633.59007.lofi@freebsd.org> <200704171638.39985.dejan.lesjak@ijs.si> In-Reply-To: <200704171638.39985.dejan.lesjak@ijs.si> X-Face: g:jG2\O{-yqD1x?DG2lU1)(v%xffR"p8Nz(w/*)YEUO\Hn%mGi&-!+rq$&r64,=?utf-8?q?fuP=7E=3Bbw=5C=0A=09=5EQdX?=@v~HEAi?NaE8SU]}.oeYSjN84Fe{M(ahZ.(i+lxyP; pr)2[%mGbkY'RmM>=?utf-8?q?+mg3Y=24ip=0A=091?=@Z>[EUaE7tjJ=1DRs~:!uSd""d~:/Er3rpQA%ze|bp>S MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart51220347.OT21hAQaud"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200704172058.53674.lofi@freebsd.org> X-Virus-Scanned: by amavisd-new Cc: freebsd-x11@freebsd.org, Andy Fawcett , kde@freebsd.org Subject: Re: [kde-freebsd] qt upgrade strangeness X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2007 23:41:12 -0000 --nextPart51220347.OT21hAQaud Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday, 17. April 2007, Dejan Lesjak wrote: > On Tuesday 17 of April 2007, Michael Nottebrock wrote: > > On Tuesday, 17. April 2007, Michael Nottebrock wrote: > > > On Monday, 16. April 2007, Andy Fawcett wrote: > > > > Hi, > > > > > > > > > -----Original Message----- > > > > > From: John Nielsen [mailto:lists@jnielsen.net] > > > > > Sent: Thursday, April 05, 2007 19:32 > > > > > To: kde@freebsd.org > > > > > Cc: x11@freebsd.org > > > > > Subject: Re: [kde-freebsd] qt upgrade strangeness > > > > > > > > > > On Thursday 05 April 2007 12:29:27 pm John Nielsen wrote: > > > > > > I've had some trouble upgrading qt on two different machines no= w. > > > > > > I'm > > > > > > > > > > using > > > > > > > > > > > the experimental Xorg git ports tree on both and I'm not sure if > > > > > > that's > > > > > > > > > > a > > > > > > > > > > > factor, which is why I'm CC-ing x11@. > > > > > > > > > > > > In short, qt will install happily the first time but not the > > > > > > second. It looks to my untrained eye like building [an upgraded] > > > > > > qt when qt is > > > > > > > > > > already > > > > > > > > > > > installed somehow taints the build. The build will complete > > > > > > > > > > successfully, > > > > > > > > > > > but it will fail during the install step whether or not the old > > > > > > qt was uninstalled between the make and install steps--I tried = an > > > > > > install > > > > > > > > > > without > > > > > > > > > > > uninstalling the old one using FORCE_PKG_REGISTER and it failed > > > > > > differently, but it still failed. However, if qt and qmake are > > > > > > removed completely before starting the [new] build for qt, it > > > > > > will install just fine. > > > > > > > > > > > > I'd like to determine if 1) this is a known problem and 2) this > > > > > > is > > > > > > > > > > specific > > > > > > > > > > > to the Xorg ports tree so I know whether or not to send in a PR. > > > > > > > > > > I forgot to mention this was during an attempt to update qt from > > > > > qt-copy- 3.3.8 > > > > > to qt-copy-3.3.8_1 on a 7-CURRENT (as of several days ago) box. I > > > > > also saw the problem on a previous qt upgrade on a machine running > > > > > 6-STABLE several weeks ago. > > > > > > > > Originally I reported that I wasn't seeing this. > > > > > > > > Now, I've just updated to the very latest git X11 ports, with X11BA= SE > > > > migrated to LOCALBASE, and get this problem. > > > > > > > > cd src/moc && make > > > > cd src/moc && make install > > > > cp -f "../../bin/moc" "/usr/local/bin/moc" > > > > cd src && make > > > > make: don't know how to make /usr/local/include/qconfig.h. Stop > > > > *** Error code 2 > > > > > > > > > > > > Quite weird, I've never seen this before. > > > > > > I dimly remember seeing that before - I don't think Qt/qmake can > > > actually handle a PREFIX-move cleanly and once the prefix has changed, > > > it has to be deinstalled *before* rebuilding it, or else this will > > > happen. > > > > Since I understand there will be an update script for the upcoming X.org > > upheaval, this issue would be a prime candidate for handling it in such= a > > script. flz, lesi, what do you think? > > Would bumping revision of qmake and qt be enough or were you thinking of > something more aggressive? No - I'm guessing the problem is that qmake generates wrong dependencies in= =20 Makefiles when it configures Qt with a prefix that is different from the on= e=20 of a previously installed Qt, with the dependencies being generated on file= s=20 in the destination install prefix instead of the workdir. The most obvious= =20 workaround: Deinstall (as in make deinstall) qt33, then (and only then)=20 rebuild and reinstall qt33 with the new PREFIX set. An update script could= =20 take care of this rather easily as part of a post-update cleanup routine. I can also try to reproduce this and, if I succeed, try to come up with som= e=20 post-configure in-place Makefile editing, if my guess turns out to be=20 correct, but I am still busy with changing a number of qt4 ports to avoid=20 conflicting with qt33 after the X11BASE-move and flz@ already told me would= =20 very much like to remain on schedule and do the merge on the upcoming=20 monday - I'm simply not sure I will be able to address this problem in time. Another option would be doing nothing, writing up an UPDATING entry and=20 pointing disgruntled users to that, of course. ;) Cheers, =2D-=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --nextPart51220347.OT21hAQaud Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGJRjlXhc68WspdLARAndQAJ9S27rpdDUGSZSjMsMc/THM0A0JyQCfZ9dx iUTHKCSfBTQKXFQGkr2fl5w= =EtsW -----END PGP SIGNATURE----- --nextPart51220347.OT21hAQaud-- From owner-freebsd-x11@FreeBSD.ORG Wed Apr 18 00:23:38 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3F7F516A403; Wed, 18 Apr 2007 00:23:38 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 2724313C48A; Wed, 18 Apr 2007 00:23:38 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 028A11A4D82; Tue, 17 Apr 2007 17:23:53 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 4239E513E1; Tue, 17 Apr 2007 20:23:37 -0400 (EDT) Date: Tue, 17 Apr 2007 20:23:37 -0400 From: Kris Kennaway To: Michael Nottebrock Message-ID: <20070418002337.GA8845@xor.obsecurity.org> References: <200704051229.27994.lists@jnielsen.net> <200704171633.59007.lofi@freebsd.org> <200704171638.39985.dejan.lesjak@ijs.si> <200704172058.53674.lofi@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Qxx1br4bt0+wmkIi" Content-Disposition: inline In-Reply-To: <200704172058.53674.lofi@freebsd.org> User-Agent: Mutt/1.4.2.2i Cc: freebsd-x11@freebsd.org, Andy Fawcett , kde@freebsd.org Subject: Re: [kde-freebsd] qt upgrade strangeness X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2007 00:23:38 -0000 --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 17, 2007 at 08:58:42PM +0200, Michael Nottebrock wrote: > > Would bumping revision of qmake and qt be enough or were you thinking of > > something more aggressive? >=20 > No - I'm guessing the problem is that qmake generates wrong dependencies = in=20 > Makefiles when it configures Qt with a prefix that is different from the = one=20 > of a previously installed Qt, with the dependencies being generated on fi= les=20 > in the destination install prefix instead of the workdir. The most obviou= s=20 > workaround: Deinstall (as in make deinstall) qt33, then (and only then)= =20 > rebuild and reinstall qt33 with the new PREFIX set. An update script coul= d=20 > take care of this rather easily as part of a post-update cleanup routine. >=20 > I can also try to reproduce this and, if I succeed, try to come up with s= ome=20 > post-configure in-place Makefile editing, if my guess turns out to be=20 > correct, but I am still busy with changing a number of qt4 ports to avoid= =20 > conflicting with qt33 after the X11BASE-move and flz@ already told me wou= ld=20 > very much like to remain on schedule and do the merge on the upcoming=20 > monday - I'm simply not sure I will be able to address this problem in ti= me. >=20 > Another option would be doing nothing, writing up an UPDATING entry and= =20 > pointing disgruntled users to that, of course. ;) I think having qt33 upgrade automatically (i.e. without requiring manual action) is a requirement for the xorg upgrade. We are currently also blocked on a portupgrade issue, but hopefully someone else will be able to fix qt in the next few days if you don't have the time. I would like to see a real solution instead of an upgrade script workaround (as mentioned no other ports are special-cased at this time because we have been able to find ways to avoid it). Kris --Qxx1br4bt0+wmkIi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGJWUIWry0BWjoQKURAt49AJ0X/G75SO00xXrFqnphYpd0KBvUXACgr6j4 JWoFxCFJOy4+CcVkB2J4sL4= =O8/Z -----END PGP SIGNATURE----- --Qxx1br4bt0+wmkIi-- From owner-freebsd-x11@FreeBSD.ORG Wed Apr 18 06:57:25 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2394616A400 for ; Wed, 18 Apr 2007 06:57:25 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id B9D0E13C43E for ; Wed, 18 Apr 2007 06:57:24 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp80-90.lns3.adl4.internode.on.net [121.44.80.90]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id l3I6I9Ft080204 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 Apr 2007 15:48:11 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: Yong-Jhen Hong Date: Wed, 18 Apr 2007 15:47:52 +0930 User-Agent: KMail/1.9.5 References: <200702131211.10999.doconnor@gsoft.com.au> <45D12B99.5060506@alqualonde.org> In-Reply-To: <45D12B99.5060506@alqualonde.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3364443.kUtNBHGaVt"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200704181548.03147.doconnor@gsoft.com.au> X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.58 on 203.31.81.10 Cc: x11@freebsd.org Subject: Re: X.org from git.. X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2007 06:57:25 -0000 --nextPart3364443.kUtNBHGaVt Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 13 February 2007 13:38, Yong-Jhen Hong wrote: > But using experimental modular X.org ports git repository is of course > easier: http://wiki.freebsd.org/ModularXorg > > Hope it helps ;) I did try these ports for some other problem I was having and they work gre= at. Thanks for the good work on it and I hope they're committed soon :) =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart3364443.kUtNBHGaVt Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBGJbgb5ZPcIHs/zowRAgwcAJsHKYmUzrpLahK07u+tF9EvMQ9SBgCgmo1K OtiIWL/vA0IA0nxUVHU9Acg= =aGzN -----END PGP SIGNATURE----- --nextPart3364443.kUtNBHGaVt-- From owner-freebsd-x11@FreeBSD.ORG Wed Apr 18 10:50:07 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 430E516A400; Wed, 18 Apr 2007 10:50:07 +0000 (UTC) (envelope-from dejan.lesjak@ijs.si) Received: from mail.ijs.si (mailman.ijs.si [193.2.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id BF8B613C458; Wed, 18 Apr 2007 10:50:06 +0000 (UTC) (envelope-from dejan.lesjak@ijs.si) Received: from localhost (mail.ijs.si [193.2.4.66]) by mail.ijs.si (Postfix) with ESMTP id 84201192D9F; Wed, 18 Apr 2007 12:50:05 +0200 (CEST) DKIM-Signature: v=0.5; a=rsa-sha1; c=relaxed/simple; d=ijs.si; s=ja-200610; t=241372776; bh=CjHIQ55vwjcht5vDv/7lblgOqdg=; h=DomainKey-Signature: X-Virus-Scanned:Received:Received:Received:From:To:Subject:Date: User-Agent:Cc:References:In-Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-Disposition:Message-Id; b=UiLFaR Sy0+bcR3GM2XzOjp0YioT0jk+72GJDFQZO1OXyzkY2t3F36m+njivV+Iw3iK8PSbaq2 FeCLbyy9y9cRRxH6BW/UggYAAwq/C0mhJDWAeWMFuIUw04U9L2LJbJi DomainKey-Signature: a=rsa-sha1; s=ja-200610; d=ijs.si; c=nofws; q=dns; h=x-virus-scanned:received:from:to:subject:date:user-agent:cc: references:in-reply-to:mime-version:content-type: content-transfer-encoding:content-disposition:message-id; b=Mapf1Jizfr6PdCAXWqynoKDLaYNQ2wuPJS10CPthOilIXLEELCHmD/dFA6wlIn+YU uIj9SDrL+MhzPBZiN+LOmvhlYUeNcJri8EgkkyaHuFhCmwdzZBAZ2NWkYc1uRj0 X-Virus-Scanned: amavisd-new at ijs.si Received: from mail.ijs.si ([193.2.4.66]) by localhost (mail.ijs.si [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id pomOaLEFxlu1; Wed, 18 Apr 2007 12:50:03 +0200 (CEST) Received: from edina.ijs.si (edina.ijs.si [193.2.4.3]) by mail.ijs.si (Postfix) with ESMTP id B0AD3192D69; Wed, 18 Apr 2007 12:50:02 +0200 (CEST) Received: from f9pc04.ijs.si (f9pc04.ijs.si [194.249.156.4]) by edina.ijs.si (Postfix) with ESMTP id 90954510DF; Wed, 18 Apr 2007 12:50:02 +0200 (CEST) From: Dejan Lesjak To: freebsd-x11@freebsd.org Date: Wed, 18 Apr 2007 12:49:59 +0200 User-Agent: KMail/1.9.6 References: <200704161141.l3GBfrcY049525@freefall.freebsd.org> <46253C95.3030808@FreeBSD.org> <20070417220046.GC44061@ice.42.org> In-Reply-To: <20070417220046.GC44061@ice.42.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704181250.01295.dejan.lesjak@ijs.si> Cc: Stefan `Sec` Zehl , Florent Thoumie Subject: Re: ports/109497: x11-servers/xorg-fontserver rc.d/xfs.sh script missing "-user" X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2007 10:50:07 -0000 On Wednesday 18 of April 2007, Stefan `Sec` Zehl wrote: > On Tue, Apr 17, 2007 at 22:31 +0100, Florent Thoumie wrote: > > Stefan `Sec` Zehl wrote: > > > Hi, > > > > > > On Mon, Apr 16, 2007 at 11:41 +0000, Florent Thoumie wrote: > > >> Synopsis: x11-servers/xorg-fontserver rc.d/xfs.sh script missing > > >> "-user" > > >> > > >> State-Changed-From-To: open->closed > > >> State-Changed-By: flz > > >> State-Changed-When: Mon Apr 16 11:40:38 UTC 2007 > > >> State-Changed-Why: > > >> I just checked and other OS'es seem to run it as root as well. > > >> > > >> If this is a real concern to you, just set xfs_flags="-user nobody" in > > >> /etc/rc.conf. I think this is what you're looking for. > > > > > > Please note that if you set "xfs_user=" to something, the default > > > rc.subr will already try to do something with it, and (silently) fail > > > to start xfs at all. I do think fixing this would be more user friendly > > > -- besides, its only a two-line patch anyway, and it doesn't even > > > change the default of running as root. > > > > > > But if think it's important to refuse this change, I can certainly live > > > without that patch. > > > > This is not what I said, please re-read my message. > > Ok. I did. > > As far as I can tell, your message had two points. > > 1: Others run it as root. > 2: I can run it as non-root if I want to by using xfs_flags=... > > If that isn't what you said, please rephrase, as I must have > misunderstood you. Please be patient, as english is not my native > language. Therefore let me also rephrase my last answer. > > First regarding your two points: > > re 1: > - I'm not asking to change the default. So what other OSs run it as is > not relevant. > > re 2: > - If you still want to reject the patch I sent, I can live with it as > users searching for it will hopefully find the workaround documented > in this PR. > > My additional points I was trying to make: > > - If someone currently sets "xfs_user=" in rc.conf, this makes xfs fail > silently. I think it would be great if it instead would just work. It certainly should not fail silently if someone has unsupported option in rc.conf. If this is the case it should be fixed. But note that we are rather busy trying to get xorg 7.2 into ports so if you could try the script again after the upgrade and if it fails bring it up again then, that would be lovely. > - It is only two lines, so no bloat, and it won't hurt anyone. It's not so much the number of lines - it's rather that it seems this option is not that commonly used and that there already is a mechanism to do that with existing options (namely xfs_flags). > Hope that clears it up, Well, it rather confuses me :-) I didn't expect the thing to fail if you set some option that the script does not even look at, but yes, it does clear up your problem. Dejan From owner-freebsd-x11@FreeBSD.ORG Wed Apr 18 10:57:10 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5618D16A402 for ; Wed, 18 Apr 2007 10:57:10 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from smtp6-g19.free.fr (smtp6-g19.free.fr [212.27.42.36]) by mx1.freebsd.org (Postfix) with ESMTP id E4B0813C44B for ; Wed, 18 Apr 2007 10:57:09 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from smtp.xbsd.org (unknown [82.233.2.192]) by smtp6-g19.free.fr (Postfix) with ESMTP id 1478B6D4FB; Wed, 18 Apr 2007 12:57:09 +0200 (CEST) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id 5BFF511C88; Wed, 18 Apr 2007 12:57:08 +0200 (CEST) X-Virus-Scanned: amavisd-new at xbsd.org Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NKueUMFP83S6; Wed, 18 Apr 2007 12:57:01 +0200 (CEST) Received: from [193.95.134.156] (mayday.esat.net [193.95.134.156]) by smtp.xbsd.org (Postfix) with ESMTP id 9C71011C84; Wed, 18 Apr 2007 12:56:59 +0200 (CEST) Message-ID: <4625F973.90002@FreeBSD.org> Date: Wed, 18 Apr 2007 11:56:51 +0100 From: Florent Thoumie User-Agent: Thunderbird 1.5.0.9 (X11/20070122) MIME-Version: 1.0 To: Dejan Lesjak References: <200704161141.l3GBfrcY049525@freefall.freebsd.org> <46253C95.3030808@FreeBSD.org> <20070417220046.GC44061@ice.42.org> <200704181250.01295.dejan.lesjak@ijs.si> In-Reply-To: <200704181250.01295.dejan.lesjak@ijs.si> X-Enigmail-Version: 0.94.1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig26EF9A4028CD3EF2981E012A" Cc: Stefan `Sec` Zehl , freebsd-x11@freebsd.org Subject: Re: ports/109497: x11-servers/xorg-fontserver rc.d/xfs.sh script missing "-user" X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2007 10:57:10 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig26EF9A4028CD3EF2981E012A Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Dejan Lesjak wrote: > On Wednesday 18 of April 2007, Stefan `Sec` Zehl wrote: >> On Tue, Apr 17, 2007 at 22:31 +0100, Florent Thoumie wrote: >>> Stefan `Sec` Zehl wrote: >>>> Hi, >>>> >>>> On Mon, Apr 16, 2007 at 11:41 +0000, Florent Thoumie wrote: >>>>> Synopsis: x11-servers/xorg-fontserver rc.d/xfs.sh script missing >>>>> "-user" >>>>> >>>>> State-Changed-From-To: open->closed >>>>> State-Changed-By: flz >>>>> State-Changed-When: Mon Apr 16 11:40:38 UTC 2007 >>>>> State-Changed-Why: >>>>> I just checked and other OS'es seem to run it as root as well. >>>>> >>>>> If this is a real concern to you, just set xfs_flags=3D"-user nobod= y" in >>>>> /etc/rc.conf. I think this is what you're looking for. >>>> Please note that if you set "xfs_user=3D" to something, the default >>>> rc.subr will already try to do something with it, and (silently) fai= l >>>> to start xfs at all. I do think fixing this would be more user frien= dly >>>> -- besides, its only a two-line patch anyway, and it doesn't even >>>> change the default of running as root. >>>> >>>> But if think it's important to refuse this change, I can certainly l= ive >>>> without that patch. >>> This is not what I said, please re-read my message. >> Ok. I did. >> >> As far as I can tell, your message had two points. >> >> 1: Others run it as root. >> 2: I can run it as non-root if I want to by using xfs_flags=3D... >> >> If that isn't what you said, please rephrase, as I must have >> misunderstood you. Please be patient, as english is not my native >> language. Therefore let me also rephrase my last answer. >> >> First regarding your two points: >> >> re 1: >> - I'm not asking to change the default. So what other OSs run it as is= >> not relevant. >> >> re 2: >> - If you still want to reject the patch I sent, I can live with it as >> users searching for it will hopefully find the workaround documented= >> in this PR. >> >> My additional points I was trying to make: >> >> - If someone currently sets "xfs_user=3D" in rc.conf, this makes xfs f= ail >> silently. I think it would be great if it instead would just work. >=20 > It certainly should not fail silently if someone has unsupported option= in=20 > rc.conf. If this is the case it should be fixed. But note that we are r= ather=20 > busy trying to get xorg 7.2 into ports so if you could try the script a= gain=20 > after the upgrade and if it fails bring it up again then, that would be= =20 > lovely. >=20 >> - It is only two lines, so no bloat, and it won't hurt anyone. >=20 > It's not so much the number of lines - it's rather that it seems this o= ption=20 > is not that commonly used and that there already is a mechanism to do t= hat=20 > with existing options (namely xfs_flags). >=20 >> Hope that clears it up, >=20 > Well, it rather confuses me :-) I didn't expect the thing to fail if yo= u set=20 > some option that the script does not even look at, but yes, it does cle= ar up=20 > your problem. Well I haven't checked for xfs case but if it needs root privileges at startup to drop them later then xfs_user indeed won't work, cause it uses 'su'. I tend to think that *_flags is there because we can't support any possible option. Anyway, I don't know if it indeed fails silently but I'll fix it in git so that it'll work after the merge. --=20 Florent Thoumie flz@FreeBSD.org FreeBSD Committer --------------enig26EF9A4028CD3EF2981E012A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGJfl5MxEkbVFH3PQRCjTNAJ9xp+7fzBfQuYlioLBxsFJAmQF0UACgjQAQ Cfs9YZlnuD9PTeYuq+MCY6I= =dY5R -----END PGP SIGNATURE----- --------------enig26EF9A4028CD3EF2981E012A-- From owner-freebsd-x11@FreeBSD.ORG Wed Apr 18 11:23:50 2007 Return-Path: X-Original-To: freebsd-x11@hub.freebsd.org Delivered-To: freebsd-x11@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1F04E16A406; Wed, 18 Apr 2007 11:23:50 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id ECDB713C44B; Wed, 18 Apr 2007 11:23:49 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from freefall.freebsd.org (flz@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l3IBNnYi075137; Wed, 18 Apr 2007 11:23:49 GMT (envelope-from flz@freefall.freebsd.org) Received: (from flz@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l3IBNndd075133; Wed, 18 Apr 2007 11:23:49 GMT (envelope-from flz) Date: Wed, 18 Apr 2007 11:23:49 GMT From: Florent Thoumie Message-Id: <200704181123.l3IBNndd075133@freefall.freebsd.org> To: sec@42.org, flz@FreeBSD.org, freebsd-x11@FreeBSD.org Cc: Subject: Re: ports/109497: x11-servers/xorg-fontserver rc.d/xfs.sh script missing "-user" X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2007 11:23:50 -0000 Synopsis: x11-servers/xorg-fontserver rc.d/xfs.sh script missing "-user" State-Changed-From-To: closed->analyzed State-Changed-By: flz State-Changed-When: Wed Apr 18 11:23:11 UTC 2007 State-Changed-Why: Mark as analyzed, it'll be fixed when X.org 7.2 is merged. http://www.freebsd.org/cgi/query-pr.cgi?pr=109497 From owner-freebsd-x11@FreeBSD.ORG Wed Apr 18 16:02:41 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D664A16A407; Wed, 18 Apr 2007 16:02:41 +0000 (UTC) (envelope-from lofi@freebsd.org) Received: from mail-in-01.arcor-online.net (mail-in-01.arcor-online.net [151.189.21.41]) by mx1.freebsd.org (Postfix) with ESMTP id 4040F13C4B7; Wed, 18 Apr 2007 16:02:41 +0000 (UTC) (envelope-from lofi@freebsd.org) Received: from mail-in-01-z2.arcor-online.net (mail-in-01-z2.arcor-online.net [151.189.8.13]) by mail-in-01.arcor-online.net (Postfix) with ESMTP id 58FF91075FB; Wed, 18 Apr 2007 18:02:38 +0200 (CEST) Received: from mail-in-01.arcor-online.net (mail-in-01.arcor-online.net [151.189.21.41]) by mail-in-01-z2.arcor-online.net (Postfix) with ESMTP id 3D1B312DDBB; Wed, 18 Apr 2007 18:02:38 +0200 (CEST) Received: from lofi.dyndns.org (dslb-084-061-178-040.pools.arcor-ip.net [84.61.178.40]) by mail-in-01.arcor-online.net (Postfix) with ESMTP id 9F253212F65; Wed, 18 Apr 2007 18:02:37 +0200 (CEST) Received: from kiste.my.domain (root@kiste.my.domain [192.168.8.2]) by lofi.dyndns.org (8.13.8/8.13.3) with ESMTP id l3IG2XZW051034 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 Apr 2007 18:02:33 +0200 (CEST) (envelope-from lofi@freebsd.org) Received: from kiste.my.domain (lofi@localhost [127.0.0.1]) by kiste.my.domain (8.13.6/8.13.4) with ESMTP id l3IG2WFd098251; Wed, 18 Apr 2007 18:02:32 +0200 (CEST) (envelope-from lofi@freebsd.org) Received: from localhost (localhost [[UNIX: localhost]]) by kiste.my.domain (8.13.6/8.13.4/Submit) id l3IG2VFv098250; Wed, 18 Apr 2007 18:02:31 +0200 (CEST) (envelope-from lofi@freebsd.org) X-Authentication-Warning: kiste.my.domain: lofi set sender to lofi@freebsd.org using -f From: Michael Nottebrock To: kde@freebsd.org Date: Wed, 18 Apr 2007 18:02:30 +0200 User-Agent: KMail/1.9.6 References: <200704051229.27994.lists@jnielsen.net> <200704051231.45103.lists@jnielsen.net> <00d201c78052$6b2af740$0d0aa8c0@dorfl> In-Reply-To: <00d201c78052$6b2af740$0d0aa8c0@dorfl> X-Face: g:jG2\O{-yqD1x?DG2lU1)(v%xffR"p8Nz(w/*)YEUO\Hn%mGi&-!+rq$&r64,=?utf-8?q?fuP=7E=3Bbw=5C=0A=09=5EQdX?=@v~HEAi?NaE8SU]}.oeYSjN84Fe{M(ahZ.(i+lxyP; pr)2[%mGbkY'RmM>=?utf-8?q?+mg3Y=24ip=0A=091?=@Z>[EUaE7tjJ=1DRs~:!uSd""d~:/Er3rpQA%ze|bp>S MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart20745322.P7gT6J618O"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200704181802.31789.lofi@freebsd.org> X-Virus-Scanned: by amavisd-new Cc: x11@freebsd.org, Andy Fawcett Subject: Re: [kde-freebsd] qt upgrade strangeness X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2007 16:02:41 -0000 --nextPart20745322.P7gT6J618O Content-Type: multipart/mixed; boundary="Boundary-01=_XEkJGGH7rHbIEwf" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_XEkJGGH7rHbIEwf Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday, 16. April 2007, Andy Fawcett wrote: > > On Thursday 05 April 2007 12:29:27 pm John Nielsen wrote: > > [...] > > > In short, qt will install happily the first time but not the second. > > [...] > > Originally I reported that I wasn't seeing this. > > Now, I've just updated to the very latest git X11 ports, with X11BASE > migrated to LOCALBASE, and get this problem. > > cd src/moc && make > cd src/moc && make install > cp -f "../../bin/moc" "/usr/local/bin/moc" > cd src && make > make: don't know how to make /usr/local/include/qconfig.h. Stop > *** Error code 2 John, Andy, can you both try the attached patch? =2D-=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --Boundary-01=_XEkJGGH7rHbIEwf Content-Type: text/plain; charset="iso-8859-1"; name="qt33.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline; filename="qt33.diff" Index: Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/kde-freebsd/area51/x11-toolkits/qt33/Makefile,v retrieving revision 1.48 diff -u -r1.48 Makefile =2D-- Makefile 12 Apr 2007 16:27:19 -0000 1.48 +++ Makefile 18 Apr 2007 15:41:00 -0000 @@ -186,10 +186,10 @@ .for tool in makeqpf mergetr msg2qm qembed qvfb @cd ${WRKSRC}/tools/${tool}; ${SETENV} ${MAKE_ENV} ${MAKE} .endfor =2D @${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${GREP} --mmap -F -l -- \ =2D "${PLATFORM}" | ${XARGS} ${REINPLACE_CMD} -e "s,${PLATFORM}/qmake.conf= ,," \ =2D -e "s,${PLATFORM},," @${RM} -f ${WRKSRC}/doc/html/qmake* + ${REINPLACE_CMD} -e 's|${PREFIX}/include/q.*h||g' \ + -e 's|${PREFIX}/include/private/q.*h||g' \ + ${WRKSRC}/src/Makefile =20 # Work around qmake generated dependencies pre-su-install: --Boundary-01=_XEkJGGH7rHbIEwf-- --nextPart20745322.P7gT6J618O Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGJkEXXhc68WspdLARAkN/AJsEPYTIzjeoyDniYJx1rFWYoouyggCcDaHp Ujz/ffO6G1Vz3ccW4Mw0m10= =ik/c -----END PGP SIGNATURE----- --nextPart20745322.P7gT6J618O-- From owner-freebsd-x11@FreeBSD.ORG Wed Apr 18 19:19:21 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F2EF216A40A; Wed, 18 Apr 2007 19:19:20 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.freebsd.org (Postfix) with ESMTP id BB1C013C4B9; Wed, 18 Apr 2007 19:19:20 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from localhost (jn@ns1 [69.55.238.237]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id l3IJJDfW010184; Wed, 18 Apr 2007 15:19:14 -0400 (EDT) (envelope-from lists@jnielsen.net) From: John Nielsen To: Michael Nottebrock Date: Wed, 18 Apr 2007 15:17:15 -0400 User-Agent: KMail/1.9.6 References: <200704051229.27994.lists@jnielsen.net> <00d201c78052$6b2af740$0d0aa8c0@dorfl> <200704181802.31789.lofi@freebsd.org> In-Reply-To: <200704181802.31789.lofi@freebsd.org> X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*.<=?utf-8?q?of=5F4NrS=0A=09P*M/9CpxDo!D6?=)IY1w<9B1jB; tBQf[RU-R<,I)e"$q7N7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704181517.16631.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Cc: x11@freebsd.org, Andy Fawcett , kde@freebsd.org Subject: Re: [kde-freebsd] qt upgrade strangeness X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2007 19:19:21 -0000 On Wednesday 18 April 2007 12:02:30 pm Michael Nottebrock wrote: > On Monday, 16. April 2007, Andy Fawcett wrote: > > > On Thursday 05 April 2007 12:29:27 pm John Nielsen wrote: > > > [...] > > > > > > > In short, qt will install happily the first time but not the second. > > > > [...] > > > > Originally I reported that I wasn't seeing this. > > > > Now, I've just updated to the very latest git X11 ports, with X11BASE > > migrated to LOCALBASE, and get this problem. > > > > cd src/moc && make > > cd src/moc && make install > > cp -f "../../bin/moc" "/usr/local/bin/moc" > > cd src && make > > make: don't know how to make /usr/local/include/qconfig.h. Stop > > *** Error code 2 > > John, Andy, can you both try the attached patch? It appears to work fine here. Gory details with before and after scenarios below. Thanks! # pkg_info | grep ^q qmake-3.3.8 The build utility of the Qt project qt-copy-3.3.8_2 Multiplatform C++ application framework (+ KDE patches) # portupgrade -f qmake [succeeded] # portupgrade -f qt-copy (without patch applied) ! x11-toolkits/qt33 (qt-copy-3.3.8_2) (install error) [1] # pkg_info | grep ^q qmake-3.3.8 The build utility of the Qt project qt-copy-3.3.8_2 Multiplatform C++ application framework (+ KDE patches) (This is different.. in the past portupgrade hasn't re-installed the old version successfully on failure.} # rm -r $WRKDIRPREFIX/usr/ports # cd /usr/ports/x11-toolkits/qt33 # cd /usr/ports/x11-toolkits/qt33 && patch < /home/john/qt33.diff [succeeded] # portupgrade -f qt-copy (with patch applied) [succeeded] Hooray! JN [1] Failure output from qt33 "make install" w/o patch ... install -s -o root -g wheel -m 555 /usr/scratch/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/tools/qvfb/qvfb /usr/local/bin cd src/moc && make cd src/moc && make install cp -f "../../bin/moc" "/usr/local/bin/moc" cd src && make make: don't know how to make /usr/local/include/private/qucomextra_p.h. Stop *** Error code 2 Stop in /usr/scratch/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8. *** Error code 1 Stop in /usr/scratch/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8. *** Error code 1 Stop in /usr/ports/x11-toolkits/qt33. *** Error code 1 From owner-freebsd-x11@FreeBSD.ORG Wed Apr 18 20:02:35 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D616316A41B for ; Wed, 18 Apr 2007 20:02:35 +0000 (UTC) (envelope-from hg@queue.to) Received: from pickle.queue.to (pickle.queue.to [71.180.69.18]) by mx1.freebsd.org (Postfix) with ESMTP id 3F5ED13C468 for ; Wed, 18 Apr 2007 20:02:34 +0000 (UTC) (envelope-from hg@queue.to) Received: (qmail 52067 invoked from network); 18 Apr 2007 16:02:33 -0400 Received: from cally.queue.to (HELO ?172.16.0.6?) (172.16.0.6) by pickle.queue.to with ESMTP; 18 Apr 2007 16:02:33 -0400 Message-ID: <46267959.3030203@queue.to> Date: Wed, 18 Apr 2007 16:02:33 -0400 From: Howard Goldstein User-Agent: Thunderbird 1.5.0.10 (X11/20070318) MIME-Version: 1.0 To: freebsd-x11@freebsd.org References: <200704051229.27994.lists@jnielsen.net> <200704051231.45103.lists@jnielsen.net> <00d201c78052$6b2af740$0d0aa8c0@dorfl> <200704181802.31789.lofi@freebsd.org> In-Reply-To: <200704181802.31789.lofi@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: lofi@freebsd.org Subject: Re: [kde-freebsd] qt upgrade strangeness X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2007 20:02:36 -0000 Michael Nottebrock wrote: > > John, Andy, can you both try the attached patch? I had the same problem John had (make: don't know how to make /usr/local/include/qconfig.h. Stop *** Error code 2) and your patch solved it for my upgrade failure (6.2-STABLE) From owner-freebsd-x11@FreeBSD.ORG Thu Apr 19 02:45:35 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6A0F916A403 for ; Thu, 19 Apr 2007 02:45:35 +0000 (UTC) (envelope-from hg@queue.to) Received: from pickle.queue.to (pickle.queue.to [71.180.69.18]) by mx1.freebsd.org (Postfix) with ESMTP id 0E92613C448 for ; Thu, 19 Apr 2007 02:45:34 +0000 (UTC) (envelope-from hg@queue.to) Received: (qmail 61056 invoked from network); 18 Apr 2007 22:45:34 -0400 Received: from cally.queue.to (HELO ?172.16.0.6?) (172.16.0.6) by pickle.queue.to with ESMTP; 18 Apr 2007 22:45:34 -0400 Message-ID: <4626D7CE.6070909@queue.to> Date: Wed, 18 Apr 2007 22:45:34 -0400 From: Howard Goldstein User-Agent: Thunderbird 1.5.0.10 (X11/20070318) MIME-Version: 1.0 To: freebsd-x11@freebsd.org Content-Type: multipart/mixed; boundary="------------000803060908050603000804" Subject: rc.conf startup dirs vs X11R6 symlink X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2007 02:45:35 -0000 This is a multi-part message in MIME format. --------------000803060908050603000804 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Heads up, when not overridden locally the /usr/X11R6->/usr/local symlink will cause everything in /usr/local/etc/rc.d twice on startup. The trivial patch for /etc/defaults/rc.conf fixes this. All sorts of ports-related ugliness will surely ensue at sites that have populated /usr/local/etc/rc.d directories --------------000803060908050603000804 Content-Type: text/plain; name="defltrcconf.dif" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="defltrcconf.dif" *** /etc/defaults/rc.conf.orig Wed Apr 18 22:32:43 2007 --- /etc/defaults/rc.conf Wed Apr 18 22:33:28 2007 *************** *** 55,61 **** varmfs_flags="-S" # Extra mount options for the mfs /var populate_var="AUTO" # Set to YES to always (re)populate /var, NO to never cleanvar_enable="YES" # Clean the /var directory ! local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" # startup script dirs. script_name_sep=" " # Change if your startup scripts' names contain spaces rc_conf_files="/etc/rc.conf /etc/rc.conf.local" --- 55,61 ---- varmfs_flags="-S" # Extra mount options for the mfs /var populate_var="AUTO" # Set to YES to always (re)populate /var, NO to never cleanvar_enable="YES" # Clean the /var directory ! local_startup="/usr/local/etc/rc.d" # startup script dirs. script_name_sep=" " # Change if your startup scripts' names contain spaces rc_conf_files="/etc/rc.conf /etc/rc.conf.local" --------------000803060908050603000804-- From owner-freebsd-x11@FreeBSD.ORG Thu Apr 19 03:19:20 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DC9FB16A413; Thu, 19 Apr 2007 03:19:20 +0000 (UTC) (envelope-from andy@athame.co.uk) Received: from hex.athame.co.uk (salama58.adsl.netsonic.fi [81.17.207.58]) by mx1.freebsd.org (Postfix) with ESMTP id 6F4F013C4B0; Thu, 19 Apr 2007 03:19:20 +0000 (UTC) (envelope-from andy@athame.co.uk) Received: from [192.168.10.15] by hex.athame.co.uk with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HeNAz-000Cpj-Vq; Thu, 19 Apr 2007 06:19:18 +0300 From: Andy Fawcett To: Michael Nottebrock Date: Thu, 19 Apr 2007 06:19:19 +0300 User-Agent: KMail/1.9.6 References: <200704051229.27994.lists@jnielsen.net> <00d201c78052$6b2af740$0d0aa8c0@dorfl> <200704181802.31789.lofi@freebsd.org> In-Reply-To: <200704181802.31789.lofi@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704190619.21148.andy@athame.co.uk> Cc: kde@freebsd.org, x11@freebsd.org Subject: Re: [kde-freebsd] qt upgrade strangeness X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2007 03:19:20 -0000 On Wednesday 18 April 2007 19:02:30 Michael Nottebrock wrote: > On Monday, 16. April 2007, Andy Fawcett wrote: > > > On Thursday 05 April 2007 12:29:27 pm John Nielsen wrote: > > > [...] > > > > > > > In short, qt will install happily the first time but not the second. > > > > [...] > > > > Originally I reported that I wasn't seeing this. > > > > Now, I've just updated to the very latest git X11 ports, with X11BASE > > migrated to LOCALBASE, and get this problem. > > > > cd src/moc && make > > cd src/moc && make install > > cp -f "../../bin/moc" "/usr/local/bin/moc" > > cd src && make > > make: don't know how to make /usr/local/include/qconfig.h. Stop > > *** Error code 2 > > John, Andy, can you both try the attached patch? Builds and installs cleanly with this patch. A. -- Andy Fawcett | andy@athame.co.uk | tap@kde.org "In an open world without walls and fences, | tap@lspace.org we wouldn't need Windows and Gates." -- anon | tap@fruitsalad.org From owner-freebsd-x11@FreeBSD.ORG Thu Apr 19 14:27:30 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B9D7C16A40A for ; Thu, 19 Apr 2007 14:27:30 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (grnl-static-02-0046.dsl.iowatelecom.net [69.66.56.110]) by mx1.freebsd.org (Postfix) with ESMTP id 566A213C4BE for ; Thu, 19 Apr 2007 14:27:30 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.13.8/8.13.8) with ESMTP id l3JEHN2P074762; Thu, 19 Apr 2007 09:17:23 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.13.8/8.13.8/Submit) id l3JEHLim074760; Thu, 19 Apr 2007 09:17:21 -0500 (CDT) (envelope-from brooks) Date: Thu, 19 Apr 2007 09:17:21 -0500 From: Brooks Davis To: Howard Goldstein Message-ID: <20070419141721.GA74693@lor.one-eyed-alien.net> References: <4626D7CE.6070909@queue.to> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bg08WKrSYDhXBjb5" Content-Disposition: inline In-Reply-To: <4626D7CE.6070909@queue.to> User-Agent: Mutt/1.5.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Thu, 19 Apr 2007 09:17:23 -0500 (CDT) Cc: freebsd-x11@freebsd.org Subject: Re: rc.conf startup dirs vs X11R6 symlink X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2007 14:27:30 -0000 --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 18, 2007 at 10:45:34PM -0400, Howard Goldstein wrote: > Heads up, when not overridden locally the /usr/X11R6->/usr/local symlink > will cause everything in /usr/local/etc/rc.d twice on startup. The > trivial patch for /etc/defaults/rc.conf fixes this. All sorts of > ports-related ugliness will surely ensue at sites that have populated > /usr/local/etc/rc.d directories Hmm, I can't decide if this is the right fix or if we should add a step in processing local_startup where we run realpath on the names and remove dupes. I worry this is going to cause problems for 6.2-RELEASE users post switch so something we could apply as an eratta that would work either way might be nice. -- Brooks > *** /etc/defaults/rc.conf.orig Wed Apr 18 22:32:43 2007 > --- /etc/defaults/rc.conf Wed Apr 18 22:33:28 2007 > *************** > *** 55,61 **** > varmfs_flags=3D"-S" # Extra mount options for the mfs /var > populate_var=3D"AUTO" # Set to YES to always (re)populate /var, NO to n= ever > cleanvar_enable=3D"YES" # Clean the /var directory > ! local_startup=3D"/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" # startup scr= ipt dirs. > script_name_sep=3D" " # Change if your startup scripts' names contain s= paces > rc_conf_files=3D"/etc/rc.conf /etc/rc.conf.local" > =20 > --- 55,61 ---- > varmfs_flags=3D"-S" # Extra mount options for the mfs /var > populate_var=3D"AUTO" # Set to YES to always (re)populate /var, NO to n= ever > cleanvar_enable=3D"YES" # Clean the /var directory > ! local_startup=3D"/usr/local/etc/rc.d" # startup script dirs. > script_name_sep=3D" " # Change if your startup scripts' names contain s= paces > rc_conf_files=3D"/etc/rc.conf /etc/rc.conf.local" > =20 >=20 > _______________________________________________ > freebsd-x11@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" --bg08WKrSYDhXBjb5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGJ3nwXY6L6fI4GtQRAgtDAJ9pjkygmIHlI7SEwa4F/tRLMbDRnACfa4wd sE79oRTFojvYbyCsAjUkUvY= =g9g9 -----END PGP SIGNATURE----- --bg08WKrSYDhXBjb5-- From owner-freebsd-x11@FreeBSD.ORG Thu Apr 19 15:04:23 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 84ECE16A400 for ; Thu, 19 Apr 2007 15:04:23 +0000 (UTC) (envelope-from howard@goldstein-pa.com) Received: from pickle.queue.to (pickle.queue.to [71.180.69.18]) by mx1.freebsd.org (Postfix) with ESMTP id 2A74113C45A for ; Thu, 19 Apr 2007 15:04:23 +0000 (UTC) (envelope-from howard@goldstein-pa.com) Received: (qmail 74040 invoked from network); 19 Apr 2007 10:37:41 -0400 Received: from cally.queue.to (HELO ?172.16.0.6?) (172.16.0.6) by pickle.queue.to with ESMTP; 19 Apr 2007 10:37:41 -0400 Message-ID: <46277EB5.4040006@goldstein-pa.com> Date: Thu, 19 Apr 2007 10:37:41 -0400 From: Howard Goldstein User-Agent: Thunderbird 1.5.0.10 (X11/20070318) MIME-Version: 1.0 To: freebsd-x11@freebsd.org References: <4626D7CE.6070909@queue.to> <20070419141721.GA74693@lor.one-eyed-alien.net> In-Reply-To: <20070419141721.GA74693@lor.one-eyed-alien.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Brooks Davis Subject: Re: rc.conf startup dirs vs X11R6 symlink X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2007 15:04:23 -0000 Brooks Davis wrote: > Hmm, I can't decide if this is the right fix or if we should add a step > in processing local_startup where we run realpath on the names and > remove dupes. I worry this is going to cause problems for 6.2-RELEASE > users post switch so something we could apply as an eratta that would > work either way might be nice. ISTM ultimately if we're going to set X11BASE to LOCALBASE then it really should come out of /etc/defaults/rc.conf but as you point out, the wholesale removal is premature until we merge and before 6.3-R hits the street. My sh script fu isn't up to getting it out the door before the weekend which should be enough time to meet a Monday UTC merge. Unless someone else fixes this before Sunday as you've recommended I'll put it on a todo list for then and take another pass stripping dupes with realpath. At the very least it needs to be disclosed, maybe in UPDATING if none of the patches are acceptable, as at least a few common ports fail in perplexing, subtle ways (Bernstein's supervise stuff for one (svscan), samba for another) From owner-freebsd-x11@FreeBSD.ORG Thu Apr 19 16:14:37 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EADFC16A40F; Thu, 19 Apr 2007 16:14:37 +0000 (UTC) (envelope-from lofi@freebsd.org) Received: from mail-in-01.arcor-online.net (mail-in-01.arcor-online.net [151.189.21.41]) by mx1.freebsd.org (Postfix) with ESMTP id 5687113C483; Thu, 19 Apr 2007 16:14:37 +0000 (UTC) (envelope-from lofi@freebsd.org) Received: from mail-in-01-z2.arcor-online.net (mail-in-01-z2.arcor-online.net [151.189.8.13]) by mail-in-01.arcor-online.net (Postfix) with ESMTP id C070515B6CA; Thu, 19 Apr 2007 18:14:35 +0200 (CEST) Received: from mail-in-04.arcor-online.net (mail-in-04.arcor-online.net [151.189.21.44]) by mail-in-01-z2.arcor-online.net (Postfix) with ESMTP id 9346F12DDBB; Thu, 19 Apr 2007 18:14:35 +0200 (CEST) Received: from lofi.dyndns.org (dslb-084-061-160-113.pools.arcor-ip.net [84.61.160.113]) by mail-in-04.arcor-online.net (Postfix) with ESMTP id 545E71F730E; Thu, 19 Apr 2007 18:14:35 +0200 (CEST) Received: from kiste.my.domain (root@kiste.my.domain [192.168.8.2]) by lofi.dyndns.org (8.13.8/8.13.3) with ESMTP id l3JGEVmM071128 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 19 Apr 2007 18:14:31 +0200 (CEST) (envelope-from lofi@freebsd.org) Received: from kiste.my.domain (lofi@localhost [127.0.0.1]) by kiste.my.domain (8.13.6/8.13.4) with ESMTP id l3JGEUVP018130; Thu, 19 Apr 2007 18:14:30 +0200 (CEST) (envelope-from lofi@freebsd.org) Received: from localhost (localhost [[UNIX: localhost]]) by kiste.my.domain (8.13.6/8.13.4/Submit) id l3JGEUlL018129; Thu, 19 Apr 2007 18:14:30 +0200 (CEST) (envelope-from lofi@freebsd.org) X-Authentication-Warning: kiste.my.domain: lofi set sender to lofi@freebsd.org using -f From: Michael Nottebrock To: Andy Fawcett Date: Thu, 19 Apr 2007 18:14:29 +0200 User-Agent: KMail/1.9.6 References: <200704051229.27994.lists@jnielsen.net> <200704181802.31789.lofi@freebsd.org> <200704190619.21148.andy@athame.co.uk> In-Reply-To: <200704190619.21148.andy@athame.co.uk> X-Face: g:jG2\O{-yqD1x?DG2lU1)(v%xffR"p8Nz(w/*)YEUO\Hn%mGi&-!+rq$&r64,=?utf-8?q?fuP=7E=3Bbw=5C=0A=09=5EQdX?=@v~HEAi?NaE8SU]}.oeYSjN84Fe{M(ahZ.(i+lxyP; pr)2[%mGbkY'RmM>=?utf-8?q?+mg3Y=24ip=0A=091?=@Z>[EUaE7tjJ=1DRs~:!uSd""d~:/Er3rpQA%ze|bp>S MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1737621.lnLceZmKXr"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200704191814.30236.lofi@freebsd.org> X-Virus-Scanned: by amavisd-new Cc: kde@freebsd.org, x11@freebsd.org Subject: Re: [kde-freebsd] qt upgrade strangeness X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2007 16:14:38 -0000 --nextPart1737621.lnLceZmKXr Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday, 19. April 2007, Andy Fawcett wrote: > On Wednesday 18 April 2007 19:02:30 Michael Nottebrock wrote: > > On Monday, 16. April 2007, Andy Fawcett wrote: > > > > On Thursday 05 April 2007 12:29:27 pm John Nielsen wrote: > > > > [...] > > > > > > > > > In short, qt will install happily the first time but not the > > > > > second. > > > > > > [...] > > > > > > Originally I reported that I wasn't seeing this. > > > > > > Now, I've just updated to the very latest git X11 ports, with X11BASE > > > migrated to LOCALBASE, and get this problem. > > > > > > cd src/moc && make > > > cd src/moc && make install > > > cp -f "../../bin/moc" "/usr/local/bin/moc" > > > cd src && make > > > make: don't know how to make /usr/local/include/qconfig.h. Stop > > > *** Error code 2 > > > > John, Andy, can you both try the attached patch? > > Builds and installs cleanly with this patch. > > A. Okay, I will apply this and hopefully we can live without any extra=20 megaupdate.sh hacks that way. =2D-=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --nextPart1737621.lnLceZmKXr Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGJ5VmXhc68WspdLARApjAAJ0WvFrYFepWV6J2JHFfYhQoQ89xeACeOHrT V1w5vOnkt3SDRH3WldEIPfE= =jckS -----END PGP SIGNATURE----- --nextPart1737621.lnLceZmKXr-- From owner-freebsd-x11@FreeBSD.ORG Thu Apr 19 16:55:45 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9707C16A400 for ; Thu, 19 Apr 2007 16:55:45 +0000 (UTC) (envelope-from marcus@freebsd.org) Received: from av-tac-rtp.cisco.com (hen.cisco.com [64.102.19.198]) by mx1.freebsd.org (Postfix) with ESMTP id 427C013C45A for ; Thu, 19 Apr 2007 16:55:45 +0000 (UTC) (envelope-from marcus@freebsd.org) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost [127.0.0.1]) by av-tac-rtp.cisco.com (8.11.7p3+Sun/8.11.7) with ESMTP id l3JGX6C17445 for ; Thu, 19 Apr 2007 12:33:06 -0400 (EDT) Received: from [64.102.202.122] (dhcp-64-102-202-122.cisco.com [64.102.202.122]) by rooster.cisco.com (8.11.7p3+Sun/8.11.7) with ESMTP id l3JGX5q22188 for ; Thu, 19 Apr 2007 12:33:05 -0400 (EDT) Message-ID: <462799C1.4080404@freebsd.org> Date: Thu, 19 Apr 2007 12:33:05 -0400 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: x11@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Upgrade from 6.9 to 7.2 (my summary) X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2007 16:55:45 -0000 I did the upgrade from 6.9 to 7.2 on one of my test machines in a concerted portmgr effort to drink sugary red stuff. Here's what I had to do to have a successful upgrade: * make index (I have a patch to fix INDEX_PRISTINE) * portupgrade -aW FAIL due to .la problems with fontconfig * sh mergebase.sh to "fix" the .la problem FAIL due to the fact that /usr/X11R6 is a file system * Unmount /usr/X11R6 and manually do the symlink /usr/X11R6 --> /usr/local (remind me to try and growfs later) * portupgrade -aW * pkgdb -L * Patch qt33 with patch from lofi * pkgdb -fF (installs qt33 correctly now that it has been patched) * Reboot to restart port services The fontconfig .la failures have to do with some ports (e.g. gtk20) still reference fontconfig in /usr/X11R6 in their .la files. So, when you rebuild a port that depends on this, you will get a failure to link. I suggested to portmgr that instead of bumping PORTREVISION on all X11BASE ports, we bump it on ALL ports that depend on X. As you can see, my /usr/X11R6 was not a simple directory, but a file system. This caused lesi's script to create /usr/X11R6/local --> /usr/local. I had to manually fix this myself. In order to get X to actually start after this, I had to modify xorg.conf, and correct the ModulePath (/usr/X11R6/lib/modules --> /usr/local/lib/xorg/modules). This was the only changed that was required. Finally, to avoid having multiple copies of hald start at boot time, I added the following to /etc/rc.conf: local_startup="/usr/local/etc/rc.d" Whew! I'm not sure how much of this can actually be handled by a script, but as you can see, there are still some rough edges. Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome From owner-freebsd-x11@FreeBSD.ORG Thu Apr 19 18:24:57 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EC83C16A401 for ; Thu, 19 Apr 2007 18:24:57 +0000 (UTC) (envelope-from hg@queue.to) Received: from pickle.queue.to (pickle.queue.to [71.180.69.18]) by mx1.freebsd.org (Postfix) with ESMTP id 8373413C457 for ; Thu, 19 Apr 2007 18:24:57 +0000 (UTC) (envelope-from hg@queue.to) Received: (qmail 78271 invoked from network); 19 Apr 2007 14:24:56 -0400 Received: from cally.queue.to (HELO ?172.16.0.6?) (172.16.0.6) by pickle.queue.to with ESMTP; 19 Apr 2007 14:24:56 -0400 Message-ID: <4627B3F8.5010001@queue.to> Date: Thu, 19 Apr 2007 14:24:56 -0400 From: Howard Goldstein User-Agent: Thunderbird 1.5.0.10 (X11/20070318) MIME-Version: 1.0 To: freebsd-x11@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: x11/nvidia-settings 1.0_11 not buildable X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2007 18:24:58 -0000 I'm not sure if gnats is working (pr is 4xx "service not available"). In building x11/nvidia-settings, post relocation of X11BASE, the x11/nvidia-settings on git (1.0_11) is failing during the build of src/gtk+-2.x/ctkxvideo.c as follows: ... In file included from src/gtk+-2.x/ctkimage.h:28, from src/gtk+-2.x/ctkxvideo.c:29: /usr/X11R6/include/image.h:202: error: syntax error before "_Declare" /usr/X11R6/include/image.h:208: error: syntax error before "_Declare" /usr/X11R6/include/image.h:236: error: syntax error before "_Declare" /usr/X11R6/include/image.h:242: error: syntax error before "_Declare" In file included from src/gtk+-2.x/ctkbanner.h:28, from src/gtk+-2.x/ctkimage.h:30, from src/gtk+-2.x/ctkxvideo.c:29: /usr/X11R6/include/image.h:42: error: redefinition of `struct _ColorPacket' /usr/X11R6/include/image.h:51: error: redefinition of typedef 'ColorPacket' /usr/X11R6/include/image.h:51: error: previous declaration of 'ColorPacket' was here /usr/X11R6/include/image.h:54: error: redefinition of `struct _ImageInfo' /usr/X11R6/include/image.h:79: error: redefinition of typedef 'ImageInfo' /usr/X11R6/include/image.h:79: error: previous declaration of 'ImageInfo' was here /usr/X11R6/include/image.h:82: error: redefinition of `struct _RectangleInfo' /usr/X11R6/include/image.h:90: error: redefinition of typedef 'RectangleInfo' /usr/X11R6/include/image.h:90: error: previous declaration of 'RectangleInfo' was here /usr/X11R6/include/image.h:93: error: redefinition of `struct _RunlengthPacket' /usr/X11R6/include/image.h:102: error: redefinition of typedef 'RunlengthPacket' /usr/X11R6/include/image.h:102: error: previous declaration of 'RunlengthPacket' was here /usr/X11R6/include/image.h:105: error: redefinition of `struct _Image' /usr/X11R6/include/image.h:196: error: redefinition of typedef 'Image' /usr/X11R6/include/image.h:196: error: previous declaration of 'Image' was here /usr/X11R6/include/image.h:202: error: syntax error before "_Declare" /usr/X11R6/include/image.h:208: error: syntax error before "_Declare" /usr/X11R6/include/image.h:236: error: syntax error before "_Declare" /usr/X11R6/include/image.h:242: error: syntax error before "_Declare" In file included from src/gtk+-2.x/ctkimage.h:30, from src/gtk+-2.x/ctkxvideo.c:29: src/gtk+-2.x/ctkbanner.h:64: error: syntax error before '*' token src/gtk+-2.x/ctkbanner.h:93: warning: parameter names (without types) in function declaration In file included from src/gtk+-2.x/ctkxvideo.c:29: src/gtk+-2.x/ctkimage.h:34: error: syntax error before '*' token src/gtk+-2.x/ctkimage.h:34: warning: type defaults to `int' in declaration of `ctk_image_new' src/gtk+-2.x/ctkimage.h:37: error: syntax error before "artwork" src/gtk+-2.x/ctkimage.h:38: error: syntax error before "artwork" src/gtk+-2.x/ctkxvideo.c: In function `ctk_xvideo_new': src/gtk+-2.x/ctkxvideo.c:385: error: `BANNER_ARTWORK_XVIDEO' undeclared (first use in this function) src/gtk+-2.x/ctkxvideo.c:385: error: (Each undeclared identifier is reported only once src/gtk+-2.x/ctkxvideo.c:385: error: for each function it appears in.) gmake: *** [.objs/ctkxvideo.o] Error 1 *** Error code 2 ============== Rebuilding gtk20 doesn't change the result. x11/nvidia-nvidia-driver-1.0.9746_1 is also installed at this 6.2-stable site From owner-freebsd-x11@FreeBSD.ORG Sat Apr 21 10:05:54 2007 Return-Path: X-Original-To: x11@freebsd.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C0DD316A402 for ; Sat, 21 Apr 2007 10:05:54 +0000 (UTC) (envelope-from fenner+portsurvey@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 9A37913C4AD for ; Sat, 21 Apr 2007 10:05:54 +0000 (UTC) (envelope-from fenner+portsurvey@FreeBSD.org) Received: from freefall.freebsd.org (fenner@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l3LA5svU028106 for ; Sat, 21 Apr 2007 10:05:54 GMT (envelope-from fenner+portsurvey@freefall.freebsd.org) Received: (from fenner@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l3LA5sUu028105; Sat, 21 Apr 2007 10:05:54 GMT (envelope-from fenner+portsurvey) Date: Sat, 21 Apr 2007 10:05:54 GMT Message-Id: <200704211005.l3LA5sUu028105@freefall.freebsd.org> From: fenner@freebsd.org (Bill "distfiles" Fenner) To: x11@freebsd.org Cc: Subject: FreeBSD ports: 1 unfetchable distfile: x11-servers/xorg-server-snap X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ports@freebsd.org List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Apr 2007 10:05:54 -0000 Dear x11@freebsd.org, You are listed as the FreeBSD port maintainer for 1 port whose distfiles are not fetchable from their MASTER_SITES. Could you please visit http://people.freebsd.org/~fenner/portsurvey/x11@freebsd.org.html and correct the problems listed there? The individual port with a problem is x11-servers/xorg-server-snap. If you have already corrected the problems and submitted a PR, please accept my thanks and apologies for the delay in getting the fixes into the tree. This reminder is created automatically and does not (yet) have a way to know if a PR fixing the problem has been submitted. Please do *NOT* send your response to me directly; I do not necessarily have time to commit your fix; please instead submit a PR via 'send-pr' so it doesn't get lost. Problems are usually of two types: 1. The software package has been upgraded and the version in the port has been removed. The best solution to this problem is to upgrade the port to the most current version of the software package. If you are a FreeBSD committer, then you can just upgrade the port directly. If not, you should create the updated port on your own machine, test it (and maybe even run "portlint" on it), and then use "send-pr" to submit a "diff -uNr old-port updated-port". If you added or deleted any files, please make an explicit note of it. 2. The mirror site being used no longer contains the software package in question, or no longer exists. Solutions include: a) If there are other mirror sites, just remove the bad site from the list. (Make sure that what appears to be a bad site isn't actually a problem of type 1, upgrade) b) If the README or other support files in the software documentation mention where to get the software package, use one of those sites. c) Use a search engine to find another place to get the original DISTFILES. Make sure that you don't pick a FreeBSD distfiles mirror -- if you can't find any other places where the file exists, it can be a LOCAL_PORT or you can simply comment out the MASTER_SITES= line, with a comment explaining why. Once you have a solution, use "send-pr" to submit a "diff -u" of the Makefile. Note that this isn't an urgent issue, as people who try to build the port now will just fall back to the FreeBSD distfiles mirror. Please just put it on your list to do and get to it when you have time. These messages will continue to arrive twice a month until the fix is committed, as a reminder. Thanks, Bill "distfiles" Fenner. From owner-freebsd-x11@FreeBSD.ORG Sat Apr 21 19:36:34 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2E0AA16A401 for ; Sat, 21 Apr 2007 19:36:34 +0000 (UTC) (envelope-from sebosik@demax.sk) Received: from mail.demax.sk (mail.demax.sk [213.215.102.234]) by mx1.freebsd.org (Postfix) with ESMTP id E3D8B13C469 for ; Sat, 21 Apr 2007 19:36:33 +0000 (UTC) (envelope-from sebosik@demax.sk) Received: from mail.demax.sk (localhost [127.0.0.1]) by nod32.demax.sk (Postfix) with ESMTP id 180F542AD2 for ; Sat, 21 Apr 2007 21:07:31 +0200 (CEST) X-Virus-Scanner: This message was checked by NOD32 Antivirus system NOD32 for Linux Mail Server. For more information on NOD32 Antivirus System, please, visit our website: http://www.nod32.com/. Received: from [192.168.1.2] (2D204.demax.sk [195.62.17.204]) by mail.demax.sk (Postfix) with ESMTP id EDFFD42ACE for ; Sat, 21 Apr 2007 21:07:30 +0200 (CEST) Message-ID: <462A60F2.80802@demax.sk> Date: Sat, 21 Apr 2007 21:07:30 +0200 From: =?windows-1250?Q?J=E1n_=8Aebo=9A=EDk?= User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: freebsd-x11@freebsd.org Content-Type: text/plain; charset=windows-1250; format=flowed Content-Transfer-Encoding: 7bit Subject: Fonts problem with IceWM with experimental X.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Apr 2007 19:36:34 -0000 Hi all today I`ve reinstalled whole lappie (because partition reorganization). While running IceWM (or KDE) as "root" is fine, when I login as normal user on console, I don`t see fonts in IceWM. Also when I try to run gtk-demo in KDE | IceWM (as normal user), it shows on xterm - Pango-WARNING: ** shape engine failure,expect ugly output. The offending font is 'Tahoma not-rotated 8.7578125' - Facts: - system is freshly compiled from sources (20.april 2007), and ports(from git) repository are also fresh (everything was compiled through night.) - .xinitrc contains only "exec icewm-session", or exec startkde Any ideas or experiences how to solve fonts problem ? Best regards --- Jan Sebosik, Slovakia From owner-freebsd-x11@FreeBSD.ORG Sat Apr 21 20:05:25 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DE41816A402 for ; Sat, 21 Apr 2007 20:05:25 +0000 (UTC) (envelope-from sebosik@demax.sk) Received: from mail.demax.sk (mail.demax.sk [213.215.102.234]) by mx1.freebsd.org (Postfix) with ESMTP id 6979D13C45A for ; Sat, 21 Apr 2007 20:05:25 +0000 (UTC) (envelope-from sebosik@demax.sk) Received: from mail.demax.sk (localhost [127.0.0.1]) by nod32.demax.sk (Postfix) with ESMTP id EA7AE42AD2 for ; Sat, 21 Apr 2007 22:05:23 +0200 (CEST) X-Virus-Scanner: This message was checked by NOD32 Antivirus system NOD32 for Linux Mail Server. For more information on NOD32 Antivirus System, please, visit our website: http://www.nod32.com/. Received: from [192.168.1.2] (2D204.demax.sk [195.62.17.204]) by mail.demax.sk (Postfix) with ESMTP id D203C42ACE for ; Sat, 21 Apr 2007 22:05:23 +0200 (CEST) Message-ID: <462A6E83.5040408@demax.sk> Date: Sat, 21 Apr 2007 22:05:23 +0200 From: =?windows-1250?Q?J=E1n_=8Aebo=9A=EDk?= User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: freebsd-x11@freebsd.org Content-Type: multipart/mixed; boundary="------------070207030109000402000300" Subject: Fonts problem with IceWM with experimental X.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Apr 2007 20:05:26 -0000 This is a multi-part message in MIME format. --------------070207030109000402000300 Content-Type: text/plain; charset=windows-1250; format=flowed Content-Transfer-Encoding: 7bit Hi there Problem solved.. classical PEBKAC. Bug: I`ve copied TrueType fonts into /usr/local/lib/X11/fonts/TTF as "root", but I forgot to change permissions to allow other system users read them 'chmod 644 /usr/local/lib/X11/fonts/TTF/*' solved my problem tnx --- Jan Sebosik, Slovakia --------------070207030109000402000300 Content-Type: message/rfc822; name="Fonts problem with IceWM with experimental X.org" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Fonts problem with IceWM with experimental X.org" Message-ID: <462A60F2.80802@demax.sk> Date: Sat, 21 Apr 2007 21:07:30 +0200 From: =?windows-1250?Q?J=E1n_=8Aebo=9A=EDk?= User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: freebsd-x11@freebsd.org Subject: Fonts problem with IceWM with experimental X.org Content-Type: text/plain; charset=windows-1250; format=flowed Content-Transfer-Encoding: 7bit Hi all today I`ve reinstalled whole lappie (because partition reorganization). While running IceWM (or KDE) as "root" is fine, when I login as normal user on console, I don`t see fonts in IceWM. Also when I try to run gtk-demo in KDE | IceWM (as normal user), it shows on xterm - Pango-WARNING: ** shape engine failure,expect ugly output. The offending font is 'Tahoma not-rotated 8.7578125' - Facts: - system is freshly compiled from sources (20.april 2007), and ports(from git) repository are also fresh (everything was compiled through night.) - .xinitrc contains only "exec icewm-session", or exec startkde Any ideas or experiences how to solve fonts problem ? Best regards --- Jan Sebosik, Slovakia --------------070207030109000402000300--