Build failed in Jenkins: kcodecs_master_qt5 #71

KDE CI System null at kde.org
Wed Nov 19 21:40:49 UTC 2014


See <http://build.kde.org/job/kcodecs_master_qt5/71/changes>

Changes:

[Daniel Vrátil] Fix linker error when building against KCodecs

------------------------------------------
Started by remote host 2a01:4f8:160:9363::9 with note: Triggered by commit
Building remotely on LinuxSlave - 3 (PACKAGER LINBUILDER) in workspace <http://build.kde.org/job/kcodecs_master_qt5/ws/>
Running Prebuild steps
[kcodecs_master_qt5] $ /bin/sh -xe /tmp/hudson7344964206026258136.sh
+ /home/jenkins/scripts/setup-env.sh

Preparing to perform KDE Continuous Integration build
== Setting Up Sources

>From git://anongit.kde.org/kcodecs
   ca74c40..deb77a4  master     -> origin/master
Branch jenkins set up to track remote branch master from origin.

== Cleaning Source Tree

HEAD is now at ca74c40 Resolve ambiguity in base64Encode() overloads introduced by my previous commit
Removing build/
Removing dotdata/
Removing local-inst/
Success build forhudson.tasks.Shell at 4e5d0974
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url git://anongit.kde.org/kcodecs # timeout=10
Fetching upstream changes from git://anongit.kde.org/kcodecs
 > git --version # timeout=10
 > git fetch --tags --progress git://anongit.kde.org/kcodecs +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/jenkins^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/refs/heads/jenkins^{commit} # timeout=10
 > git rev-parse refs/heads/jenkins^{commit} # timeout=10
Checking out Revision deb77a47654c3ce2b0a6ad10908a2a8a6fb61fb7 (refs/heads/jenkins)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f deb77a47654c3ce2b0a6ad10908a2a8a6fb61fb7
 > git rev-list ca74c40ab79cb8d5fbffc4418c83a53071040218 # timeout=10
 > git tag -a -f -m Jenkins Build #71 jenkins-kcodecs_master_qt5-71 # timeout=10
Run condition [File exists] enabling prebuild for step [Publish JUnit test result report]
Run condition [File exists] enabling prebuild for step [Publish Cppcheck results]
[kcodecs_master_qt5] $ /bin/sh -xe /tmp/hudson8229158916894843072.sh
+ /home/jenkins/scripts/execute-job.sh

KDE Continuous Integration Build
== Building Project: kcodecs - Branch master
== Build Dependencies:
==== dogtail - Branch master
==== qt5 - Branch stable
==== extra-cmake-modules - Branch master
==== cmake - Branch master

== Applying Patches
=== No patches to apply

== Syncing Dependencies from Master Server


== Configuring Build

-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /home/jenkins/bin/cc
-- Check for working C compiler: /home/jenkins/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /home/jenkins/bin/c++
-- Check for working CXX compiler: /home/jenkins/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
CMake Warning (dev) at /srv/jenkins/install/linux/x86_64/g++/kf5-qt5/kdesupport/extra-cmake-modules/inst/share/ECM/modules/ECMGeneratePriFile.cmake:156 (file):
  Policy CMP0053 is not set: Simplify variable reference and escape sequence
  evaluation.  Run "cmake --help-policy CMP0053" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  For input:

    'QT. at PRI_TARGET_BASENAME@.VERSION = @PROJECT_VERSION_STRING@
    QT. at PRI_TARGET_BASENAME@.MAJOR_VERSION = @PROJECT_VERSION_MAJOR@
    QT. at PRI_TARGET_BASENAME@.MINOR_VERSION = @PROJECT_VERSION_MINOR@
    QT. at PRI_TARGET_BASENAME@.PATCH_VERSION = @PROJECT_VERSION_PATCH@
    QT. at PRI_TARGET_BASENAME@.name = @PRI_TARGET_LIBNAME@
    QT. at PRI_TARGET_BASENAME@.defines = @PRI_TARGET_DEFINES@
    QT. at PRI_TARGET_BASENAME@.includes = @PRI_TARGET_INCLUDES@
    QT. at PRI_TARGET_BASENAME@.private_includes =
    QT. at PRI_TARGET_BASENAME@.libs = @PRI_TARGET_LIBS@
    QT. at PRI_TARGET_BASENAME@.depends = @PRI_TARGET_QTDEPS@
    '

  the old evaluation rules produce:

    'QT.KCodecs.VERSION = 5.5.0
    QT.KCodecs.MAJOR_VERSION = 5
    QT.KCodecs.MINOR_VERSION = 5
    QT.KCodecs.PATCH_VERSION = 0
    QT.KCodecs.name = KF5Codecs
    QT.KCodecs.defines = 
    QT.KCodecs.includes = /srv/jenkins/install/linux/x86_64/g++/kf5-qt5/frameworks/kcodecs/inst/include/KF5/KCodecs
    QT.KCodecs.private_includes =
    QT.KCodecs.libs = /srv/jenkins/install/linux/x86_64/g++/kf5-qt5/frameworks/kcodecs/inst/lib64
    QT.KCodecs.depends = core
    '

  but the new evaluation rules produce:

    'QT. at PRI_TARGET_BASENAME@.VERSION = @PROJECT_VERSION_STRING@
    QT. at PRI_TARGET_BASENAME@.MAJOR_VERSION = @PROJECT_VERSION_MAJOR@
    QT. at PRI_TARGET_BASENAME@.MINOR_VERSION = @PROJECT_VERSION_MINOR@
    QT. at PRI_TARGET_BASENAME@.PATCH_VERSION = @PROJECT_VERSION_PATCH@
    QT. at PRI_TARGET_BASENAME@.name = @PRI_TARGET_LIBNAME@
    QT. at PRI_TARGET_BASENAME@.defines = @PRI_TARGET_DEFINES@
    QT. at PRI_TARGET_BASENAME@.includes = @PRI_TARGET_INCLUDES@
    QT. at PRI_TARGET_BASENAME@.private_includes =
    QT. at PRI_TARGET_BASENAME@.libs = @PRI_TARGET_LIBS@
    QT. at PRI_TARGET_BASENAME@.depends = @PRI_TARGET_QTDEPS@
    '

  Using the old result for compatibility since the policy is not set.
Call Stack (most recent call first):
  src/CMakeLists.txt:73 (ecm_generate_pri_file)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- 
-- The following REQUIRED packages have been found:

 * ECM (required version >= 1.4.0)
 * Qt5Core (required version >= 5.2.0)

-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    KDE4_BUILD_TESTS
    LIB_SUFFIX
    SIP_DEFAULT_SIP_DIR


-- Build files have been written to: <http://build.kde.org/job/kcodecs_master_qt5/ws/build>

== Commencing the Build

Scanning dependencies of target kencodingprobertest_automoc
Scanning dependencies of target codectest_automoc
Scanning dependencies of target KF5Codecs_automoc
Scanning dependencies of target base64benchmark_automoc
Scanning dependencies of target rfc2047test_automoc
Scanning dependencies of target kcharsetstest_automoc
[  1%] [  3%] [  5%] [  9%] [  9%] [ 11%] Automatic moc for target kencodingprobertest
Automatic moc for target codectest
Automatic moc for target base64benchmark
Automatic moc for target KF5Codecs
Automatic moc for target kcharsetstest
Automatic moc for target rfc2047test
Generating moc_codectest.cpp
Generating moc_rfc2047test.cpp
[ 11%] Built target codectest_automoc
[ 11%] Built target rfc2047test_automoc
Generating moc_kencodingprobertest.cpp
[ 11%] Built target KF5Codecs_automoc
[ 11%] Built target kencodingprobertest_automoc
Generating moc_kcharsetstest.cpp
[ 11%] Built target kcharsetstest_automoc
Generating base64benchmark.moc
[ 11%] Built target base64benchmark_automoc
Scanning dependencies of target KF5Codecs
[ 13%] [ 15%] [ 17%] [ 23%] [ 23%] [ 23%] [ 25%] [ 26%] Building CXX object src/CMakeFiles/KF5Codecs.dir/kcharsets.cpp.o
Building CXX object src/CMakeFiles/KF5Codecs.dir/kencodingprober.cpp.o
Building CXX object src/CMakeFiles/KF5Codecs.dir/kcodecsbase64.cpp.o
Building CXX object src/CMakeFiles/KF5Codecs.dir/kcodecs.cpp.o
Building CXX object src/CMakeFiles/KF5Codecs.dir/kcodecsidentity.cpp.o
Building CXX object src/CMakeFiles/KF5Codecs.dir/kcodecsqp.cpp.o
Building CXX object src/CMakeFiles/KF5Codecs.dir/probers/CharDistribution.cpp.o
[ 28%] Building CXX object src/CMakeFiles/KF5Codecs.dir/kcodecsuuencode.cpp.o
Building CXX object src/CMakeFiles/KF5Codecs.dir/probers/ChineseGroupProber.cpp.o
[ 30%] Building CXX object src/CMakeFiles/KF5Codecs.dir/probers/JapaneseGroupProber.cpp.o
<http://build.kde.org/job/kcodecs_master_qt5/ws/src/kcharsets.cpp>: In member function ‘QTextCodec* KCharsets::codecForNameOrNull(const QByteArray&) const’:
<http://build.kde.org/job/kcodecs_master_qt5/ws/src/kcharsets.cpp>:763:48: note: #pragma message: KDE5 TODO: Any better ideas ?
 #pragma message("KDE5 TODO: Any better ideas ?")
                                                ^
[ 32%] Building CXX object src/CMakeFiles/KF5Codecs.dir/probers/JpCntx.cpp.o
<http://build.kde.org/job/kcodecs_master_qt5/ws/src/kcodecs.cpp>: In function ‘QByteArray KCodecs::base64Encode(const QByteArray&)’:
<http://build.kde.org/job/kcodecs_master_qt5/ws/src/kcodecs.cpp>:117:1: error: a function-definition is not allowed here before ‘{’ token
 {
 ^
<http://build.kde.org/job/kcodecs_master_qt5/ws/src/kcodecs.cpp>:124:1: error: a function-definition is not allowed here before ‘{’ token
 {
 ^
<http://build.kde.org/job/kcodecs_master_qt5/ws/src/kcodecs.cpp>:129:1: error: a function-definition is not allowed here before ‘{’ token
 {
 ^
<http://build.kde.org/job/kcodecs_master_qt5/ws/src/kcodecs.cpp>:135:1: error: a function-definition is not allowed here before ‘{’ token
 {
 ^
<http://build.kde.org/job/kcodecs_master_qt5/ws/src/kcodecs.cpp>:140:1: error: a function-definition is not allowed here before ‘{’ token
 {
 ^
<http://build.kde.org/job/kcodecs_master_qt5/ws/src/kcodecs.cpp>:146:1: error: a function-definition is not allowed here before ‘{’ token
 {
 ^
<http://build.kde.org/job/kcodecs_master_qt5/ws/src/kcodecs.cpp>:151:1: error: a function-definition is not allowed here before ‘{’ token
 {
 ^
<http://build.kde.org/job/kcodecs_master_qt5/ws/src/kcodecs.cpp>:157:1: error: a function-definition is not allowed here before ‘{’ token
 {
 ^
<http://build.kde.org/job/kcodecs_master_qt5/ws/src/kcodecs.cpp>:163:1: error: ‘namespace’ definition is not allowed here
 namespace KCodecs
 ^
<http://build.kde.org/job/kcodecs_master_qt5/ws/src/kcodecs.cpp>:361:1: error: a function-definition is not allowed here before ‘{’ token
 {
 ^
<http://build.kde.org/job/kcodecs_master_qt5/ws/src/kcodecs.cpp>:369:1: error: a function-definition is not allowed here before ‘{’ token
 {
 ^
<http://build.kde.org/job/kcodecs_master_qt5/ws/src/kcodecs.cpp>:773:1: error: expected ‘}’ at end of input
 }
 ^
[ 34%] [ 36%] Building CXX object src/CMakeFiles/KF5Codecs.dir/probers/LangBulgarianModel.cpp.o
Building CXX object src/CMakeFiles/KF5Codecs.dir/probers/LangCyrillicModel.cpp.o
[ 38%] Building CXX object src/CMakeFiles/KF5Codecs.dir/probers/LangGreekModel.cpp.o
make[2]: *** [src/CMakeFiles/KF5Codecs.dir/kcodecs.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
<http://build.kde.org/job/kcodecs_master_qt5/ws/src/probers/LangBulgarianModel.cpp>:215:39: warning: ‘visibility’ attribute ignored [-Wattributes]
 const SequenceModel KCODECS_NO_EXPORT Latin5BulgarianModel = {
                                       ^
<http://build.kde.org/job/kcodecs_master_qt5/ws/src/probers/LangBulgarianModel.cpp>:223:39: warning: ‘visibility’ attribute ignored [-Wattributes]
 const SequenceModel KCODECS_NO_EXPORT Win1251BulgarianModel = {
                                       ^
make[1]: *** [src/CMakeFiles/KF5Codecs.dir/all] Error 2
make: *** [all] Error 2
Compiliation step exited with non-zero code, assuming failure to build from source for project kcodecs.
Build step 'Execute shell' marked build as failure
[File exists] check if file exists [build/JUnitTestResults.xml]
Run condition [File exists] preventing perform for step [Publish JUnit test result report]
[File exists] check if file exists [build/cppcheck.xml]
Run condition [File exists] preventing perform for step [Publish Cppcheck results]
[WARNINGS] Skipping publisher since build result is FAILURE


More information about the Kde-frameworks-devel mailing list