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