master: knewstuff fails, maybe conflict between entry and core\entryinternal ?

Pedro Francisco pedrogfrancisco at gmail.com
Thu Nov 6 16:57:01 UTC 2014


PS R:\emerge\bin> .\emerge -i knewstuff
emerge debug: buildAction: all
emerge debug: packageName: ['knewstuff']
emerge debug: buildType: RelWithDebInfo
emerge debug: buildTests: False
________________________________________________________________________________
emerge debug: fetching [git]kde:knewstuff|master|
Already up-to-date.
Already on 'master'
Your branch is up-to-date with 'origin/master'.
Already up-to-date.
Already on 'master'
Your branch is up-to-date with 'origin/master'.
entering: r:\build\frameworks\knewstuff\work\mingw-w64-RelWithDebInfo-master
cleaning r:\build\frameworks\knewstuff\work\mingw-w64-RelWithDebInfo-master
entering: r:\build\frameworks\knewstuff\work\mingw-w64-RelWithDebInfo-master
emerge debug: cmake -G "MinGW Makefiles"  -DCMAKE_INSTALL_PREFIX="r:/"
-DCMAKE_PREFIX_PATH="r:/" -DCMAKE_BUILD_TYPE=RelW
ithDebInfo "q:\knewstuff"
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: r:/mingw64/bin/gcc.exe
-- Check for working C compiler: r:/mingw64/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: r:/mingw64/bin/g++.exe
-- Check for working CXX compiler: r:/mingw64/bin/g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - not found
-- Found Gettext: r:/dev-utils/bin/msgmerge.exe
-- Found PythonInterp: C:/progs/Python34/python.exe (found version "3.4.2")
CMake Warning (dev) at src/CMakeLists.txt:1 (project):
  Policy CMP0048 is not set: project() command manages VERSION variables.
  Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The following variable(s) would be set to empty:

    PROJECT_VERSION
    PROJECT_VERSION_MAJOR
    PROJECT_VERSION_MINOR
    PROJECT_VERSION_PATCH
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
--
-- The following REQUIRED packages have been found:

 * ECM (required version >= 1.4.0)
 * Qt5Core (required version >= 5.3.3)
 * Qt5Gui (required version >= 5.3.3)
 * Qt5Widgets
 * Qt5Xml
 * KF5Archive (required version >= 5.4.0)
 * KF5Completion (required version >= 5.4.0)
 * KF5Config (required version >= 5.4.0)
 * KF5CoreAddons (required version >= 5.4.0)
 * Gettext
 * PythonInterp
 * KF5I18n (required version >= 5.4.0)
 * KF5IconThemes (required version >= 5.4.0)
 * KF5KIO (required version >= 5.4.0)
 * KF5ItemViews (required version >= 5.4.0)
 * KF5TextWidgets (required version >= 5.4.0)
 * KF5WidgetsAddons (required version >= 5.4.0)
 * KF5XmlGui (required version >= 5.4.0)
 * KF5Attica (required version >= 5.4.0) , A Qt library that
implements the Open Collaboration Services API , <https://p
rojects.kde.org/attica>
   Support for Get Hot New Stuff in KNewStuff
 * Qt5Test
   Required for unit tests
 * Qt5 (required version >= 5.2.0)

-- Configuring done
-- Generating done
-- Build files have been written to:
R:/build/frameworks/knewstuff/work/mingw-w64-RelWithDebInfo-master
entering: r:\build\frameworks\knewstuff\work\mingw-w64-RelWithDebInfo-master

jom 1.0.14 - empower your cores

Scanning dependencies of target KF5NewStuff_automoc
[  1%] Automatic moc for target KF5NewStuff
Generating moc_downloadmanager.cpp
Generating moc_downloadwidget.cpp
Generating moc_uploaddialog.cpp
Generating moc_atticaprovider_p.cpp
Generating moc_button.cpp
Generating moc_cache_p.cpp
Generating moc_engine_p.cpp
Generating moc_installation_p.cpp
Generating moc_provider_p.cpp
Generating moc_security_p.cpp
Generating moc_xmlloader_p.cpp
Generating moc_downloaddialog.cpp
Generating moc_staticxmlprovider_p.cpp
Generating moc_entrydetailsdialog_p.cpp
Generating moc_imageloader_p.cpp
Generating moc_imagepreviewwidget_p.cpp
Generating moc_itemsgridviewdelegate_p.cpp
Generating moc_itemsmodel_p.cpp
Generating moc_itemsviewbasedelegate_p.cpp
Generating moc_itemsviewdelegate_p.cpp
Generating moc_progressindicator_p.cpp
Generating moc_atticahelper_p.cpp
[  1%] Built target KF5NewStuff_automoc
Scanning dependencies of target knewstuffauthortest_automoc
[  3%] Automatic moc for target knewstuffauthortest
Generating knewstuffauthortest.moc
Generating moc_xmlloader_p.cpp
[  3%] Built target knewstuffauthortest_automoc
Scanning dependencies of target knewstuffentrytest_automoc
[  5%] Automatic moc for target knewstuffentrytest
Generating knewstuffentrytest.moc
Generating moc_xmlloader_p.cpp
[  5%] Built target knewstuffentrytest_automoc
Scanning dependencies of target khotnewstuff_automoc
[  7%] Automatic moc for target khotnewstuff
[  7%] Built target khotnewstuff_automoc
Scanning dependencies of target khotnewstuff_upload_automoc
[  9%] Automatic moc for target khotnewstuff_upload
[  9%] Built target khotnewstuff_upload_automoc
[ 11%] [ 13%] Generating ui_downloadwidget.h
Generating ui_uploaddialog.h
q:\knewstuff\src\downloadwidget.ui: Warning: Z-order assignment: '' is
not a valid widget.
Scanning dependencies of target KF5NewStuff
[ 17%] [ 17%] [ 19%] Building CXX object
src/CMakeFiles/KF5NewStuff.dir/downloadmanager.cpp.obj
[ 21%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/button.cpp.obj
Building CXX object src/CMakeFiles/KF5NewStuff.dir/entry.cpp.obj
Building CXX object src/CMakeFiles/KF5NewStuff.dir/knewstuffaction.cpp.obj
[ 23%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/core/author.cpp.obj
[ 25%] [ 27%] Building CXX object
src/CMakeFiles/KF5NewStuff.dir/core/cache.cpp.obj
Building CXX object src/CMakeFiles/KF5NewStuff.dir/core/engine.cpp.obj
[ 29%] Building CXX object
src/CMakeFiles/KF5NewStuff.dir/core/entryinternal.cpp.obj
[ 31%] Building CXX object
src/CMakeFiles/KF5NewStuff.dir/core/installation.cpp.obj
[ 33%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/core/provider.cpp.obj
[ 35%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/core/security.cpp.obj
[ 37%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/core/xmlloader.cpp.obj
[ 39%] Building CXX object
src/CMakeFiles/KF5NewStuff.dir/staticxml/staticxmlprovider.cpp.obj
[ 41%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/ui/imageloader.cpp.obj
[ 43%] Building CXX object
src/CMakeFiles/KF5NewStuff.dir/ui/imagepreviewwidget.cpp.obj
[ 45%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/ui/itemsmodel.cpp.obj
[ 47%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/ui/itemsview.cpp.obj
[ 49%] Building CXX object
src/CMakeFiles/KF5NewStuff.dir/ui/itemsgridviewdelegate.cpp.obj
[ 50%] Building CXX object
src/CMakeFiles/KF5NewStuff.dir/ui/progressindicator.cpp.obj
[ 52%] Building CXX object
src/CMakeFiles/KF5NewStuff.dir/attica/atticaprovider.cpp.obj
[ 54%] Building CXX object
src/CMakeFiles/KF5NewStuff.dir/upload/atticahelper.cpp.obj
[ 56%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/downloaddialog.cpp.obj
q:\knewstuff\src\attica\atticaprovider.cpp: In member function 'void
KNS3::AtticaProvider::accountBalanceLoaded(Attica::
BaseJob*)':
q:\knewstuff\src\attica\atticaprovider.cpp:289:65: warning: 'QString
Attica::DownloadDescription::priceAmount()' is depr
ecated (declared at
r:/include/KF5/Attica/attica/downloaddescription.h:74)
[-Wdeprecated-declarations]
     if (content.downloadUrlDescription(pair.second).priceAmount() <
item.balance()) {
                                                                 ^
In file included from q:\knewstuff\src\attica\atticaprovider.cpp:21:0:
q:\knewstuff\src\attica\atticaprovider.cpp:295:119: warning: 'QString
Attica::DownloadDescription::priceAmount()' is dep
recated (declared at
r:/include/KF5/Attica/attica/downloaddescription.h:74)
[-Wdeprecated-declarations]
                                              item.currency(),
content.downloadUrlDescription(pair.second).priceAmount()


                                                ^

q:\knewstuff\src\attica\atticaprovider.cpp:309:104: warning: 'QString
Attica::DownloadDescription::priceAmount()' is dep
recated (declared at
r:/include/KF5/Attica/attica/downloaddescription.h:74)
[-Wdeprecated-declarations]
                                          item.balance(),
content.downloadUrlDescription(0).priceAmount()));

                                 ^
[ 58%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/downloadwidget.cpp.obj
[ 60%] Building CXX object
src/CMakeFiles/KF5NewStuff.dir/ui/entrydetailsdialog.cpp.obj
[ 62%] Building CXX object
src/CMakeFiles/KF5NewStuff.dir/ui/itemsviewdelegate.cpp.obj
[ 64%] Building CXX object
src/CMakeFiles/KF5NewStuff.dir/ui/itemsviewbasedelegate.cpp.obj
[ 66%] Building CXX object
src/CMakeFiles/KF5NewStuff.dir/KF5NewStuff_automoc.cpp.obj
[ 68%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/uploaddialog.cpp.obj
Linking CXX shared library ..\bin\libKF5NewStuff.dll
[ 68%] Built target KF5NewStuff
Scanning dependencies of target knewstuffauthortest
[ 70%] [ 72%] [ 74%] Building CXX object
autotests/CMakeFiles/knewstuffauthortest.dir/knewstuffauthortest.cpp.obj
[ 76%] Building CXX object
autotests/CMakeFiles/knewstuffauthortest.dir/__/src/core/author.cpp.obj
Building CXX object
autotests/CMakeFiles/knewstuffauthortest.dir/__/src/core/entryinternal.cpp.obj
Building CXX object
autotests/CMakeFiles/knewstuffauthortest.dir/__/src/entry.cpp.obj
[ 78%] Building CXX object
autotests/CMakeFiles/knewstuffauthortest.dir/__/src/core/xmlloader.cpp.obj
q:\knewstuff\src\entry.cpp:25:1: warning: 'KNS3::Entry::Entry()'
redeclared without dllimport attribute: previous dllimp
ort ignored [-Wattributes]
 Entry::Entry()
 ^
q:\knewstuff\src\entry.cpp:30:1: warning: 'KNS3::Entry::Entry(const
KNS3::Entry&)' redeclared without dllimport attribut
e: previous dllimport ignored [-Wattributes]
 Entry::Entry(const Entry &other)
 ^
q:\knewstuff\src\entry.cpp:35:8: warning: 'KNS3::Entry&
KNS3::Entry::operator=(const KNS3::Entry&)' redeclared without d
llimport attribute: previous dllimport ignored [-Wattributes]
 Entry &Entry::operator=(const Entry &other)
        ^
q:\knewstuff\src\entry.cpp:41:1: warning: 'KNS3::Entry::~Entry()'
redeclared without dllimport attribute: previous dllim
port ignored [-Wattributes]
 Entry::~Entry()
 ^
q:\knewstuff\src\entry.cpp:45:9: warning: 'QString KNS3::Entry::id()
const' redeclared without dllimport attribute: prev
ious dllimport ignored [-Wattributes]
 QString Entry::id() const
         ^
q:\knewstuff\src\entry.cpp:50:9: warning: 'QString
KNS3::Entry::providerId() const' redeclared without dllimport attribu
te: previous dllimport ignored [-Wattributes]
 QString Entry::providerId() const
         ^
q:\knewstuff\src\entry.cpp:55:9: warning: 'QString KNS3::Entry::name()
const' redeclared without dllimport attribute: pr
evious dllimport ignored [-Wattributes]
 QString Entry::name() const
         ^
q:\knewstuff\src\entry.cpp:60:9: warning: 'QString
KNS3::Entry::category() const' redeclared without dllimport attribute
: previous dllimport ignored [-Wattributes]
 QString Entry::category() const
         ^
q:\knewstuff\src\entry.cpp:65:9: warning: 'QString
KNS3::Entry::license() const' redeclared without dllimport attribute:
 previous dllimport ignored [-Wattributes]
 QString Entry::license() const
         ^
q:\knewstuff\src\entry.cpp:70:9: warning: 'QString
KNS3::Entry::summary() const' redeclared without dllimport attribute:
 previous dllimport ignored [-Wattributes]
 QString Entry::summary() const
         ^
q:\knewstuff\src\entry.cpp:75:9: warning: 'QString
KNS3::Entry::version() const' redeclared without dllimport attribute:
 previous dllimport ignored [-Wattributes]
 QString Entry::version() const
         ^
q:\knewstuff\src\entry.cpp:80:15: warning: 'KNS3::Entry::Status
KNS3::Entry::status() const' redeclared without dllimpor
t attribute: previous dllimport ignored [-Wattributes]
 Entry::Status Entry::status() const
               ^
q:\knewstuff\src\entry.cpp:85:13: warning: 'QStringList
KNS3::Entry::installedFiles() const' redeclared without dllimpor
t attribute: previous dllimport ignored [-Wattributes]
 QStringList KNS3::Entry::installedFiles() const
             ^
q:\knewstuff\src\entry.cpp:90:13: warning: 'QStringList
KNS3::Entry::uninstalledFiles() const' redeclared without dllimp
ort attribute: previous dllimport ignored [-Wattributes]
 QStringList KNS3::Entry::uninstalledFiles() const
             ^
[ 80%] Building CXX object
autotests/CMakeFiles/knewstuffauthortest.dir/knewstuffauthortest_automoc.cpp.obj
Linking CXX executable ..\bin\knewstuffauthortest.exe
CMakeFiles\knewstuffauthortest.dir/objects.a(entryinternal.cpp.obj):
In function `KNS3::EntryInternal::toEntry() const':

q:/knewstuff/src/core/entryinternal.cpp:576: undefined reference to
`__imp__ZN4KNS35EntryC1Ev'
collect2.exe: error: ld returned 1 exit status
jom: R:\build\frameworks\knewstuff\work\mingw-w64-RelWithDebInfo-master\autotests\CMakeFiles\knewstuffauthortest.dir\bui
ld.make [bin\knewstuffauthortest.exe] Error 1
jom: R:\build\frameworks\knewstuff\work\mingw-w64-RelWithDebInfo-master\CMakeFiles\Makefile2
[autotests\CMakeFiles\knews
tuffauthortest.dir\all] Error 2
jom: R:\build\frameworks\knewstuff\work\mingw-w64-RelWithDebInfo-master\Makefile
[all] Error 2
emerge warning: while running make cmd: jom
emerge error: fatal error: package frameworks/knewstuff all failed
PS R:\emerge\bin>


More information about the Kde-windows mailing list