Using kdesvn-build with Qt 4.6 git repo

KDE’s trunk has switched to Qt 4.6 recently, and qt-copy doesn’t seem to be updated, so trying to compile KDE using kdesvn-build-1.9.1 fails.

I downloaded the most recent kdesvn-build (and config file) from KDE’s Subversion, which includes preliminary git support, and tried to build qt-copy using it, but I had some issues with my connection, and after that I started to experience strange problems when running kdesvn-build qt-copy, with messages like:

fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

So then I changed the repository URL in the config file and cloned the repository by hand…

git clone -- http://git.gitorious.org/+kde-developers/qt/kde-qt.git ~/kdesvn/qt-copy

…and added the repo in the .kdesvn-build-data file in kdesvn-build directory, as the build script does:

  'qt-copy' => {
    . . .
    'git-cloned-repository' => 'http://git.gitorious.org/+kde-developers/qt/kde-qt.git',
    . . .
  },

After that changes, I was able to launch kdesvn-build as usual, and now I’m waiting for everything compiled against Qt 4.6 :)


About this entry