Opened 14 years ago

Closed 14 years ago

#24947 closed defect (worksforme)

kdebase4-runtime: cannot allocate an object of abstract type 'Attica::KdePlatformDependent'

Reported by: portaktl@… Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: sharky@…, zweistein12@…, soehn@…, tomi@…, macports@…, ratonovitch@…, markus.doits@…, bjoern.ricks@…, ericmoret
Port: kdebase4-runtime

Description

Pruned log:

/usr/bin/make -f kioslave/network/ioslave/CMakeFiles/kio_network.dir/build.make kioslave/network/ioslave/CMakeFiles/kio_network.dir/depend
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/kdebase-runtime-4.4.3 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/kdebase-runtime-4.4.3/kioslave/network/ioslave /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/kioslave/network/ioslave /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/kioslave/network/ioslave/CMakeFiles/kio_network.dir/DependInfo.cmake --color=
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/kdebase-runtime-4.4.3/attica/kdeplugin/kdeplatformdependent.cpp: In function 'QObject* qt_plugin_instance()':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/kdebase-runtime-4.4.3/attica/kdeplugin/kdeplatformdependent.cpp:225: error: cannot allocate an object of abstract type 'Attica::KdePlatformDependent'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/kdebase-runtime-4.4.3/attica/kdeplugin/kdeplatformdependent.h:42: note:   because the following virtual functions are pure within 'Attica::KdePlatformDependent':
/opt/local/include/attica/platformdependent.h:47: note: 	virtual void Attica::PlatformDependent::addDefaultProviderFile(const QUrl&)
/opt/local/include/attica/platformdependent.h:48: note: 	virtual void Attica::PlatformDependent::removeDefaultProviderFile(const QUrl&)
/opt/local/include/attica/platformdependent.h:53: note: 	virtual void Attica::PlatformDependent::enableProvider(const QUrl&, bool) const
/opt/local/include/attica/platformdependent.h:54: note: 	virtual bool Attica::PlatformDependent::isEnabled(const QUrl&) const
Scanning dependencies of target kio_network
/usr/bin/make -f kioslave/network/ioslave/CMakeFiles/kio_network.dir/build.make kioslave/network/ioslave/CMakeFiles/kio_network.dir/build
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/CMakeFiles 
[ 97%] Building CXX object kioslave/network/ioslave/CMakeFiles/kio_network.dir/kio_network_automoc.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/kioslave/network/ioslave && /usr/bin/g++-4.2   -DMAKE_KIO_NETWORK_LIB -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -O2 -arch x86_64  -fno-common -Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -fPIC -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/kioslave/network/ioslave -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/kdebase-runtime-4.4.3/kioslave/network/ioslave -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/kdebase-runtime-4.4.3 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/kdebase-runtime-4.4.3/kioslave/network/ioslave/../network -I/opt/local/include -I/opt/local/include/KDE -I/opt/local/libexec/qt4-mac/include/KDE -I/opt/local/libexec/qt4-mac/include -I/opt/local/libexec/qt4-mac/include/phonon -I/opt/local/libexec/qt4-mac/include/QtXmlPatterns -I/opt/local/libexec/qt4-mac/include/QtXml -I/opt/local/libexec/qt4-mac/include/QtWebKit -I/opt/local/libexec/qt4-mac/include/QtUiTools -I/opt/local/libexec/qt4-mac/include/QtTest -I/opt/local/libexec/qt4-mac/include/QtSvg -I/opt/local/libexec/qt4-mac/include/QtSql -I/opt/local/libexec/qt4-mac/include/QtScriptTools -I/opt/local/libexec/qt4-mac/include/QtScript -I/opt/local/libexec/qt4-mac/include/QtOpenGL -I/opt/local/libexec/qt4-mac/include/QtNetwork -I/opt/local/libexec/qt4-mac/include/QtMultimedia -I/opt/local/libexec/qt4-mac/include/QtHelp -I/opt/local/libexec/qt4-mac/include/QtDesigner -I/opt/local/libexec/qt4-mac/include/QtDBus -I/opt/local/libexec/qt4-mac/include/QtAssistant -I/opt/local/libexec/qt4-mac/include/Qt3Support -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/include/Qt -I/opt/local/libexec/qt4-mac/mkspecs/default -F/opt/local/libexec/qt4-mac/lib   -D__APPLE_KDE__  -o CMakeFiles/kio_network.dir/kio_network_automoc.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/kioslave/network/ioslave/kio_network_automoc.cpp
make[2]: *** [attica/kdeplugin/CMakeFiles/attica_kde.dir/kdeplatformdependent.o] Error 1
make[1]: *** [attica/kdeplugin/CMakeFiles/attica_kde.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....



Linking CXX shared module ../../../lib/kio_network.so
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/kioslave/network/ioslave && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/kio_network.dir/link.txt --verbose=1
/usr/bin/g++-4.2  -O2 -arch x86_64  -fno-common -Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -bundle -headerpad_max_install_names -multiply_defined suppress -L/opt/local/lib -o ../../../lib/kio_network.so CMakeFiles/kio_network.dir/kio_network_automoc.o CMakeFiles/kio_network.dir/networkdbusinterface.o CMakeFiles/kio_network.dir/networkinitwatcher.o CMakeFiles/kio_network.dir/networkthread.o CMakeFiles/kio_network.dir/networkuri.o CMakeFiles/kio_network.dir/mimetypes.o CMakeFiles/kio_network.dir/networkslave.o CMakeFiles/kio_network.dir/main.o -F/opt/local/libexec/qt4-mac/lib -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/lib -L/opt/local/lib ../../../lib/libmolletnetwork.4.4.0.dylib /opt/local/lib/libkio.5.4.0.dylib /opt/local/lib/libkdnssd.4.4.0.dylib /opt/local/lib/libkdeui.5.4.0.dylib -framework QtSvg /opt/local/lib/libkdecore.5.4.0.dylib -framework QtDBus -framework QtCore -lpthread -framework Carbon -framework QtNetwork -framework QtXml -framework QtGui /opt/local/lib/libsolid.4.4.0.dylib 
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/CMakeFiles  53
[ 98%] Built target kio_network
make: *** [all] Error 2
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build" && /usr/bin/make -j2 all " returned error 2
DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build" && /usr/bin/make -j2 all " returned error 2
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for kdebase4-runtime): org.macports.destroot org.macports.build
DEBUG: Registry error: mysql5-server not registered as installed & active.
    while executing
"registry::active $portname"
Error: Unable to upgrade port: 1
DEBUG: upgrade kdebase4-runtime failed
    while executing
"macports::_upgrade_mport_deps $mport $target"
    (procedure "mportexec" line 27)
    invoked from within
"mportexec $workername $target"
Error: Unable to execute port: upgrade kdebase4-runtime failed

Attachments (1)

kdebase4-runtime-build-with-attica-0.1.4.diff (1.9 KB) - added by bjoern.ricks@… 14 years ago.

Download all attachments as: .zip

Change History (22)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Cc: sharky@… added
Owner: changed from macports-tickets@… to snc@…
Port: kdebase4-runtime added

comment:2 Changed 14 years ago by zweistein12@…

Cc: zweistein12@… added

Cc Me!

comment:3 Changed 14 years ago by soehn@…

Cc: soehn@… added

Cc Me!

comment:4 Changed 14 years ago by tomi@…

I guess Cc me too. My first comment here.

comment:5 Changed 14 years ago by tomi@…

Cc: tomi@… added

Cc Me!

comment:6 Changed 14 years ago by macports@…

Cc: macports@… added

Cc Me!

comment:7 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: kdebase4-runtime 4.4.3 fails to upgrade from 4.3.3_1 on 10.6 - SnowLeopardkdebase4-runtime: cannot allocate an object of abstract type 'Attica::KdePlatformDependent'

Has duplicate #25029.

There are a few reports of this error on Google; maybe one of those has a solution.

comment:8 Changed 14 years ago by ratonovitch@…

Cc: ratonovitch@… added

Cc Me!

comment:9 Changed 14 years ago by markus.doits@…

Cc: markus.doits@… added

Cc Me!

comment:10 Changed 14 years ago by bjoern.ricks@…

Cc: bjoern.ricks@… added

Cc Me!

comment:11 Changed 14 years ago by bjoern.ricks@…

Please downgrade attica to 0.1.2. This version is supposed to compile with current kdebase-runtime. attica 0.1.4 is only required for the next major (4.5) release.

Changed 14 years ago by bjoern.ricks@…

comment:12 Changed 14 years ago by markus.doits@…

compiles fine with patch, thanks

comment:13 Changed 14 years ago by ericmoret

Cc: eric.moret@… added

Cc Me!

comment:14 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Has duplicate #25154.

comment:15 Changed 14 years ago by nerdling (Jeremy Lavergne)

Status: newassigned

comment:16 Changed 14 years ago by nerdling (Jeremy Lavergne)

This also works for KDE 4.4.4. I'll include the patch when I've got the whole set ready to check into macports.

comment:17 Changed 14 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: assignedclosed

Included in r68608.

comment:18 in reply to:  17 Changed 14 years ago by (none)

Resolution: fixed
Status: closedreopened

Replying to snc@…:

Included in r68608.

so, unless r68608 is not included in what we get on selfupdate, then this is not fixed. updating port and then updating everything results in the same error.

I appear to have the contents of 68608 but still get this bug.

/usr/bin/g++-4.2 -DMAKE_ATTICA_KDE_LIB -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -O2 -arch i386 -fno-common -Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -fPIC -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build/attica/kdeplugin -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/kdebase-runtime-4.4.3/attica/kdeplugin -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/kdebase-runtime-4.4.3 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build -I/opt/local/include -I/opt/local/include/KDE -I/opt/local/libexec/qt4-mac/include/KDE -I/opt/local/libexec/qt4-mac/include -I/opt/local/libexec/qt4-mac/include/phonon -I/opt/local/libexec/qt4-mac/include/QtXmlPatterns -I/opt/local/libexec/qt4-mac/include/QtXml -I/opt/local/libexec/qt4-mac/include/QtWebKit -I/opt/local/libexec/qt4-mac/include/QtUiTools -I/opt/local/libexec/qt4-mac/include/QtTest -I/opt/local/libexec/qt4-mac/include/QtSvg -I/opt/local/libexec/qt4-mac/include/QtSql -I/opt/local/libexec/qt4-mac/include/QtScriptTools -I/opt/local/libexec/qt4-mac/include/QtScript -I/opt/local/libexec/qt4-mac/include/QtOpenGL -I/opt/local/libexec/qt4-mac/include/QtNetwork -I/opt/local/libexec/qt4-mac/include/QtMultimedia -I/opt/local/libexec/qt4-mac/include/QtHelp -I/opt/local/libexec/qt4-mac/include/QtDesigner -I/opt/local/libexec/qt4-mac/include/QtDBus -I/opt/local/libexec/qt4-mac/include/QtAssistant -I/opt/local/libexec/qt4-mac/include/Qt3Support -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/include/Qt -I/opt/local/libexec/qt4-mac/mkspecs/default -F/opt/local/libexec/qt4-mac/lib -DAPPLE_KDE -o CMakeFiles/attica_kde.dir/kdeplatformdependent.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/kdebase-runtime-4.4.3/attica/kdeplugin/kdeplatformdependent.cpp :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/kdebase-runtime-4.4.3/attica/kdeplugin/kdeplatformdependent.cpp: In function 'QObject* qt_plugin_instance()': :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/kdebase-runtime-4.4.3/attica/kdeplugin/kdeplatformdependent.cpp:225: error: cannot allocate an object of abstract type 'Attica::KdePlatformDependent' :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/kdebase-runtime-4.4.3/attica/kdeplugin/kdeplatformdependent.h:42: note: because the following virtual functions are pure within 'Attica::KdePlatformDependent': :info:build /opt/local/include/attica/platformdependent.h:47: note: virtual void Attica::PlatformDependent::addDefaultProviderFile(const QUrl&) :info:build /opt/local/include/attica/platformdependent.h:48: note: virtual void Attica::PlatformDependent::removeDefaultProviderFile(const QUrl&) :info:build /opt/local/include/attica/platformdependent.h:53: note: virtual void Attica::PlatformDependent::enableProvider(const QUrl&, bool) const :info:build /opt/local/include/attica/platformdependent.h:54: note: virtual bool Attica::PlatformDependent::isEnabled(const QUrl&) const :info:build make[2]: * [attica/kdeplugin/CMakeFiles/attica_kde.dir/kdeplatformdependent.o] Error 1 :info:build make[1]: * [attica/kdeplugin/CMakeFiles/attica_kde.dir/all] Error 2 :info:build make: * [all] Error 2 :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/work/build" && /usr/bin/make all " returned error 2 :error:build Target org.macports.build returned: shell command failed :debug:build Backtrace: shell command failed

while executing

"command_exec build"

(procedure "portbuild::build_main" line 8) invoked from within

"$procedure $targetname" :info:build Warning: the following items did not execute (for kdebase4-runtime): org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Log for kdebase4-runtime is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdebase4-runtime/main.log

comment:19 Changed 14 years ago by nerdling (Jeremy Lavergne)

Your build folders have KDE 4.3.4 in their name.

That should not be possible if you did a selfupdate; MacPorts would detect a new Portfile and nuke the existing work directory.

comment:20 Changed 14 years ago by nerdling (Jeremy Lavergne)

Morning typos: 4.4.3 should not be there, you should be on 4.4.4 now.

comment:21 Changed 14 years ago by nerdling (Jeremy Lavergne)

Resolution: worksforme
Status: reopenedclosed

And 4.4.5 now. Closing.

Note: See TracTickets for help on using tickets.