This forum has been archived. All content is frozen. Please use KDE Discuss instead.

problem with kdesvn and the trunk

Tags: problem kdesvn, trunk problem kdesvn, trunk problem kdesvn, trunk
(comma "," separated)
kokeroulis
Registered Member
Posts
14
Karma
0
OS

problem with kdesvn and the trunk

Wed Jan 20, 2010 11:03 am
Hello

I am sorry if i am posting this in the wrong section but i didn't know where else should i post it...I want to install kde trunk so i can help kde with the bug reporting.My distro is slackware 13.I am trying to install kde with the kdesvn tool....But when i am running the command

Code: Select all
./kdesvn-build


the following error came out....

Code: Select all
root@darkstar:~/kdesvn/kdesvn-build-1.11# ./kdesvn-build
Script started processing at Tue Jan 19 12:48:33 2010
<<<  Build Process  >>>
Building qt-copy (1/15)
        Waiting for source code update.
Error updating qt-copy, removing from list of packages to build.
 > Can't checkout qt-copy: No such file or directory at ./kdesvn-build line 1983
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS

Re: problem with kdesvn and the trunk

Wed Jan 20, 2010 12:37 pm
This is a known problem in kdesvn-build (but the cause is unknown, as far as I know). The workaround is to update qt-copy manually the first time.

Take a look in your logs: (your path might differ)
Code: Select all
less ~/kdesvn/log/latest/qt-copy/error.log


You'll see something like
Code: Select all
# kdesvn-build running: 'git' 'clone' '--' 'git://gitorious.org/+kde-developers/qt/kde-qt.git' '/home/kde-devel/kdesvn/qt-copy'
Initialized empty Git repository in /home/kde-devel/kdesvn/qt-copy/.git/
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed


Copy the command in the first line, in my case
Code: Select all
'git' 'clone' '--' 'git://gitorious.org/+kde-developers/qt/kde-qt.git' '/home/kde-devel/kdesvn/qt-copy'


and run it. Note that the path where you clone qt-copy might differ, so don't just copy my command unless you also want it in /home/kde-devel/kdesvn/qt-copy.

Just curious, why are you running as root? Do you want to install trunk (KDE SC development version) for your whole system?


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
kokeroulis
Registered Member
Posts
14
Karma
0
OS
Hans wrote:This is a known problem in kdesvn-build (but the cause is unknown, as far as I know). The workaround is to update qt-copy manually the first time.

Take a look in your logs: (your path might differ)
Code: Select all
less ~/kdesvn/log/latest/qt-copy/error.log


You'll see something like
Code: Select all
# kdesvn-build running: 'git' 'clone' '--' 'git://gitorious.org/+kde-developers/qt/kde-qt.git' '/home/kde-devel/kdesvn/qt-copy'
Initialized empty Git repository in /home/kde-devel/kdesvn/qt-copy/.git/
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed


Copy the command in the first line, in my case
Code: Select all
'git' 'clone' '--' 'git://gitorious.org/+kde-developers/qt/kde-qt.git' '/home/kde-devel/kdesvn/qt-copy'


and run it. Note that the path where you clone qt-copy might differ, so don't just copy my command unless you also want it in /home/kde-devel/kdesvn/qt-copy.

Just curious, why are you running as root? Do you want to install trunk (KDE SC development version) for your whole system?


so after the download i will run the command

./kdesvn-build

and it will install it without error?
I didn't know that it was possible to install trunk without root privileges...If i don't install it as root what will it be different?
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
kokeroulis wrote:so after the download i will run the command

./kdesvn-build

and it will install it without error?

Hopefully yes. For other issues, see http://techbase.kde.org/Getting_Started ... leshooting

I didn't know that it was possible to install trunk without root privileges...If i don't install it as root what will it be different?

I have a special user called kde-devel and install trunk in its home directory (default behavior of kdesvn-buildrc-sample). This way I can use the stable version with other users, and when I want to switch to trunk I log in with kde-devel. I like this approach, but you can also do the same thing with your normal user. See the box in this page and the link in it for more information.


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
kokeroulis
Registered Member
Posts
14
Karma
0
OS
I have download the trunk with the following command.

Code: Select all
svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/
svn co svn://anonsvn.kde.org/home/kde/trunk/qt-copy/


But when i am running the command kdesvn-build --no-svn the following error came out....

Code: Select all
kokeroulis@darkstar:~/test2/KDE/kdesvn/kdesvn-build-1.11$ ./kdesvn-build --no-svn                                                                           
Script started processing at Thu Jan 21 09:26:48 2010                                                                                                       
<<<  Build Process  >>>                                                                                                                                     
Building qt-copy (1/15)                                                                                                                                     
        Compiling...                                                                                                                                         

        Unable to build qt-copy!
        Took 2 seconds.         
        Overall time for qt-copy was 2 seconds.

Building kdesupport (2/15)
        Compiling...     
        Build succeeded after 18 seconds.
        Installing kdesupport.           
        Overall time for kdesupport was 36 seconds.

Building kdelibs (3/15)
        Preparing build system for kdelibs.
        Removing files in build directory for kdelibs
        Old build system cleaned, starting new build system.
        Running cmake...                                   
        Unable to configure kdelibs with CMake!             
        Overall time for kdelibs was 1 second.             

Building kdepimlibs (4/15)
        Preparing build system for kdepimlibs.
        Removing files in build directory for kdepimlibs
        Old build system cleaned, starting new build system.
        Running cmake...
        Unable to configure kdepimlibs with CMake!
        Overall time for kdepimlibs was 1 second.

Building kdebase (5/15)
        Preparing build system for kdebase.
        Removing files in build directory for kdebase
        Old build system cleaned, starting new build system.
        Running cmake...
        Unable to configure kdebase with CMake!
        Overall time for kdebase was 2 seconds.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: problem with kdesvn and the trunk

Sat Jan 23, 2010 12:22 am
Can you please post the configure.log file from <kdesvn-build base directory>/log/latest/qt-copy?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
artusek
Registered Member
Posts
10
Karma
0
OS
I faced the same problem when trying to build KDE with kdesvn-build.
As my first step to resolve it I followed advice of bcooksley and downloaded qt-copy using command:
Code: Select all
'git' 'clone' '--' 'git://gitorious.org/+kde-developers/qt/kde-qt.git' '/home/kde-devel/kdesvn/qt-copy'

It didn't help me at once, because after next attempt to compile I received error:
[kde-devel@localhost kdesvn-build]$ kdesvn-build qt-copy
Script started processing at Thu Jan 28 19:31:47 2010
<<< Build Process >>>
Building qt-copy (1/1)
Waiting for source code update.
svn: URL 'svn://anonsvn.kde.org/home/kde/branches/qt/master' nie istnieje
Error updating qt-copy, removing from list of packages to build.
Unable to update qt-copy, build canceled.

<<< Build Done >>>


<<< PACKAGES FAILED TO UPDATE >>>
qt-copy - ~/kdesvn/log/2010-01-28-02/qt-copy/error.log
Script finished processing at Thu Jan 28 19:31:48 2010
Your logs are saved in /home/kde-devel/kdesvn/log/2010-01-28-02


Unfortunately ~/kdesvn/log/2010-01-28-02/qt-copy/error.log is an empty file :?

In next step I started building qt-copy module with such command:
[
Code: Select all
kde-devel@localhost kdesvn-build]$ kdesvn-build --no-svn qt-copy

The idea I've taken from: http://techbase.kde.org/Getting_Started ... esvn-build

Compilation started, but I'm afraid it will last hours.

So, if I manage compile this module, the others modules will be easier and faster o)

I hope it may help

Regards,
Jerzy


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]