Date: Tue, 17 Apr 2007 21:05:47 +0200 From: Michael Nottebrock <lofi@freebsd.org> To: kde@freebsd.org Cc: x11@freebsd.org Subject: Re: [kde-freebsd] qt upgrade strangeness Message-ID: <200704172105.48637.lofi@freebsd.org> In-Reply-To: <200704171156.26647.lists@jnielsen.net> References: <200704051229.27994.lists@jnielsen.net> <200704171601.57014.lofi@freebsd.org> <200704171156.26647.lists@jnielsen.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704172105.48637.lofi>