[kde-freebsd] qt upgrade strangeness

John Nielsen lists at jnielsen.net
Wed Apr 18 21:17:15 CEST 2007


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


More information about the kde-freebsd mailing list