[devel] Сборка qsvn с cmake >= 2.6.0

Motsyo Gennadi aka Drool =?iso-8859-1?q?motsyo_=CE=C1_gmail=2Ecom?=
Вт Май 27 10:57:17 MSD 2008


    Приветствую!

    Не могу понять где кривость - в qsvn, который не собирается с cmake 
 >= 2.6.0 или в самом cmake. Причем сборка падает на разных стадиях, но 
примерно с одинаковой руганью, на 4-м бранче, 32 битном и 64 битном 
сизифе. Не собирается как стабильный qsvn, так и svn-версия. На форуме 
апстрима есть только одно упоминание о cmake >= 2.6.0 относительно его 
нового полиси, имеется патч. Но без него в начале конфигурирования 
только варнинг, и применение патча роли не играет, сборка обламывается 
точно так же:


> [ 75%] Building CXX object CMakeFiles/qsvn.dir/filemodifier.o
> /usr/src/RPM/BUILD/qsvn-0.6.1/src/filemodifier.cpp: In constructor 'FileModifier::FileModifier(QWidget*, QString, SvnClient::SvnAction)':
> /usr/src/RPM/BUILD/qsvn-0.6.1/src/filemodifier.cpp:34: warning: enumeration value 'SvnNone' not handled in switch
> /usr/src/RPM/BUILD/qsvn-0.6.1/src/filemodifier.cpp:34: warning: enumeration value 'SvnAdd' not handled in switch
> /usr/src/RPM/BUILD/qsvn-0.6.1/src/filemodifier.cpp:34: warning: enumeration value 'SvnCommit' not handled in switch
> /usr/src/RPM/BUILD/qsvn-0.6.1/src/filemodifier.cpp:34: warning: enumeration value 'SvnDelete' not handled in switch
> /usr/src/RPM/BUILD/qsvn-0.6.1/src/filemodifier.cpp:34: warning: enumeration value 'SvnRevert' not handled in switch
> /usr/src/RPM/BUILD/qsvn-0.6.1/src/filemodifier.cpp:34: warning: enumeration value 'RemoveFromDisk' not handled in switch
> /usr/src/RPM/BUILD/qsvn-0.6.1/src/filemodifier.cpp: In member function 'virtual void FileModifier::accept()':
> /usr/src/RPM/BUILD/qsvn-0.6.1/src/filemodifier.cpp:60: warning: enumeration value 'SvnNone' not handled in switch
> /usr/src/RPM/BUILD/qsvn-0.6.1/src/filemodifier.cpp:60: warning: enumeration value 'SvnAdd' not handled in switch
> /usr/src/RPM/BUILD/qsvn-0.6.1/src/filemodifier.cpp:60: warning: enumeration value 'SvnCommit' not handled in switch
> /usr/src/RPM/BUILD/qsvn-0.6.1/src/filemodifier.cpp:60: warning: enumeration value 'SvnDelete' not handled in switch
> /usr/src/RPM/BUILD/qsvn-0.6.1/src/filemodifier.cpp:60: warning: enumeration value 'SvnRevert' not handled in switch
> /usr/src/RPM/BUILD/qsvn-0.6.1/src/filemodifier.cpp:60: warning: enumeration value 'RemoveFromDisk' not handled in switch
> [ 76%] Building CXX object CMakeFiles/qsvn.dir/fileselector.o
> [ 77%] Building CXX object CMakeFiles/qsvn.dir/fileselectorproxy.o
> [ 79%] Building CXX object CMakeFiles/qsvn.dir/listener.o
> [ 80%] Building CXX object CMakeFiles/qsvn.dir/logchangepathentriesmodel.o
> [ 81%] Building CXX object CMakeFiles/qsvn.dir/logentriesmodel.o
> [ 82%] Building CXX object CMakeFiles/qsvn.dir/login.o
> [ 83%] Building CXX object CMakeFiles/qsvn.dir/main.o
> [ 85%] Building CXX object CMakeFiles/qsvn.dir/pathproperties.o
> [ 86%] Building CXX object CMakeFiles/qsvn.dir/pathpropertiesdelegate.o
> [ 87%] Building CXX object CMakeFiles/qsvn.dir/pathpropertiesmodel.o
> [ 88%] Building CXX object CMakeFiles/qsvn.dir/qsvn.o
> [ 90%] Building CXX object CMakeFiles/qsvn.dir/showlog.o
> [ 91%] Building CXX object CMakeFiles/qsvn.dir/sslservertrust.o
> [ 92%] Building CXX object CMakeFiles/qsvn.dir/statusentriesmodel.o
> [ 93%] Building CXX object CMakeFiles/qsvn.dir/statustext.o
> [ 95%] Building CXX object CMakeFiles/qsvn.dir/svnclient.o
> [ 96%] Building CXX object CMakeFiles/qsvn.dir/wcmodel.o
> [ 97%] Building CXX object CMakeFiles/qsvn.dir/qrc_qsvn.o
> Linking CXX executable bin/qsvn
> make[2]: Leaving directory `/usr/src/RPM/BUILD/qsvn-0.6.1/build'
> [ 97%] Built target qsvn
> make[2]: Entering directory `/usr/src/RPM/BUILD/qsvn-0.6.1/build'
> Scanning dependencies of target simpletest
> make[2]: Leaving directory `/usr/src/RPM/BUILD/qsvn-0.6.1/build'
> make[2]: Entering directory `/usr/src/RPM/BUILD/qsvn-0.6.1/build'
> [ 98%] Building CXX object tests/CMakeFiles/simpletest.dir/simpletest.o
> /usr/src/RPM/BUILD/qsvn-0.6.1/src/tests/simpletest.cpp:18:26: error: simpletest.moc: No such file or directory
> make[2]: Leaving directory `/usr/src/RPM/BUILD/qsvn-0.6.1/build'
> make[1]: Leaving directory `/usr/src/RPM/BUILD/qsvn-0.6.1/build'
> make: Leaving directory `/usr/src/RPM/BUILD/qsvn-0.6.1/build'
>
> RPM build errors:
> make[2]: *** [tests/CMakeFiles/simpletest.dir/simpletest.o] Error 1
> make[1]: *** [tests/CMakeFiles/simpletest.dir/all] Error 2
> make: *** [all] Error 2
> error: Bad exit status from /usr/src/tmp/rpm-tmp.64056 (%build)
>     Bad exit status from /usr/src/tmp/rpm-tmp.64056 (%build)
> Command exited with non-zero status 1
> 108.92user 11.66system 2:03.38elapsed 97%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+1784574minor)pagefaults 0swaps
> hsh-rebuild: rebuild of `qsvn-0.6.1-alt1.src.rpm' failed.
> Command exited with non-zero status 



Подробная информация о списке рассылки Devel