qt-copy broken

Andreas Pakulat apaku at gmx.de
Thu Sep 25 16:31:49 BST 2008


On 25.09.08 08:45:58, Andreas Pakulat wrote:
> On 24.09.08 20:46:19, Michael Pyne wrote:
> > On Wednesday 24 September 2008, Christian Ehrlicher wrote:
> > > > > going to sleep, I'll write back tomorrow with the results.
> > > >
> > > > Its Patch 0250 thats causing the problem. Its supposed to be used on
> > > > win32 only, but apparently has some side-effects. Christian Ehrlicher is
> > > > aware of it, but I guess he wouldn't mind some help from a Perl expert
> > > >
> > > > :)
> > >
> > > Yes - I really don't understand why this patch should break linux
> > > compile...
> > 
> > Well the kdesvn-build run didn't install the header.  However I don't think 
> > this is due to kdesvn-build.  I forgot to add --no-svn so qt-copy was updated 
> > to 4.4.2 (it was still 4.4.1 before).
> 
> Sorry if I was unclear: Its not kdesvn-build causing this. Its a qt-copy
> patch (0250) that changes syncqt - the perl script that creates the
> buildtree - in a way that causes include/QtCore/headers.pri to be
> missing some files.
> 
> > I will also note that I don't see any obvious flaws with patch 0250 that would 
> > cause this behavior.  syncqt can be run manually in a pretend mode though so 
> > perhaps doing that would be instructive.
> 
> Maybe I can do a couple of tests later with syncqt to see why it strips
> files from the lists...

I'm not really any further, except that I now know that fixPaths() in
syncQt gets bogus paths when using the patch. Something like this:

andreas at morpheus:~/temp>diff -u out.log out_working.log |head -20
--- out.log     2008-09-25 17:04:32.000000000 +0200
+++ out_working.log     2008-09-25 17:05:35.000000000 +0200 
@@ -36,9 +36,9 @@
 fixing paths for file:/home/andreas/src/qt-copy/src/corelib/concurrent/qtconcurrentrun.h in dir: /home/andreas/src/qt-copy/src/corelib
 calculated return value:../../..//qt-copy/src/corelib/concurrent/qtconcurrentrun.h
 calculated return value:../../../qt-copy/src/corelib/concurrent/qtconcurrentrun.h
-fixing paths for file:/home/andreas/src/qt-copy/include/QtCore/linux in dir: /home/andreas/src/qt-copy/src/corelib
-calculated return value:../../..//qt-copy/include/QtCore/linux
-calculated return value:../../../qt-copy/include/QtCore/linux
+fixing paths for file:/home/andreas/src/qt-copy/include/QtCore/QtConcurrentRun in dir: /home/andreas/src/qt-copy/src/corelib
+calculated return value:../../..//qt-copy/include/QtCore/QtConcurrentRun
+calculated return value:../../../qt-copy/include/QtCore/QtConcurrentRun
 header created for /home/andreas/src/qt-copy/src/corelib/concurrent/qtconcurrentrun.h (3)
 fixing paths for file:/home/andreas/src/qt-copy/src/corelib/concurrent/qtconcurrentreducekernel.h in dir: /home/andreas/src/build_qtc/include/QtCore
 calculated return value:../../..//qt-copy/src/corelib/concurrent/qtconcurrentreducekernel.h

And it only seems to happen for the Mixed-Case files. I'll do a bit more
testing when I'm back home.

Andreas

-- 
Don't get to bragging.




More information about the kde-core-devel mailing list