Idea for the porting

Stefan Derkits stefan at derkits.at
Sun Aug 30 00:07:12 UTC 2015


Hi,

On 2015-08-30 00:47, Olivier Churlaud wrote:
> I tried to do this just to show you how it could be but it doesn't seem
> to be doable: everything is too connected...

I tried it to and seems good atm, see
http://commits.kde.org/amarok/1f01a5c9cbb1dc841004a800a2ce41353d049c80

I disabled: services, context, every collection except sql, importers

amaroklib is built & linked, make continues to > 90 %

what doesn't work on my system: amarok sql collection (even though I
have libwrap & libaio installed, seems to be some build system failure)

attached you find my log in case someone wants to see it

Stefan
-------------- next part --------------
[  1%] [  1%] [  1%] [  2%] [  2%] Automatic moc for target amarokcore
Automatic moc for target amarok-transcoding
Automatic moc for target amarokpud
Automatic moc for target amarokshared
Automatic moc for target amarok
[  2%] [  2%] Built target amarok-transcoding_automoc
[  2%] Built target amarokcore_automoc
[  2%] Built target amarokshared_automoc
Built target amarokpud_automoc
[  2%] Built target amarok_automoc
[  2%] [  3%] [  3%] Automatic moc for target amarokocsclient
[  3%] Automatic moc for target amaroklib
[  3%] Automatic moc for target amarok_collection-mysqlcollection
Automatic moc for target amarok-sqlcollection
Automatic moc for target amarok_storage-mysqlestorage
[  3%] Built target amarokocsclient_automoc
[  3%] Built target amarok_collection-mysqlcollection_automoc
[  3%] Built target amarok_storage-mysqlestorage_automoc
[  3%] Built target amarok-sqlcollection_automoc
[  4%] Automatic moc for target amarok_storage-mysqlserverstorage
[  4%] Built target amarokpud
[  4%] Built target amarok_storage-mysqlserverstorage_automoc
[  7%] Built target amarokshared
[  7%] Built target amaroklib_automoc
[ 12%] Built target amarokocsclient
[ 20%] Built target amarokcore
[ 21%] Built target amarok-transcoding
[ 95%] Built target amaroklib
[ 95%] Built target amarok
Linking CXX shared module amarok_storage-mysqlserverstorage.so
Linking CXX shared module amarok_storage-mysqlestorage.so
[ 98%] Built target amarok-sqlcollection
Linking CXX shared module amarok_collection-mysqlcollection.so
/usr/bin/ld: cannot find -lwrap
/usr/bin/ld: cannot find -laio
collect2: error: ld returned 1 exit status
src/core-impl/collections/db/sql/mysqlcollection/CMakeFiles/amarok_collection-mysqlcollection.dir/build.make:137: recipe for target 'src/core-impl/collections/db/sql/mysqlcollection/amarok_collection-mysqlcollection.so' failed
make[2]: *** [src/core-impl/collections/db/sql/mysqlcollection/amarok_collection-mysqlcollection.so] Error 1
CMakeFiles/Makefile2:1529: recipe for target 'src/core-impl/collections/db/sql/mysqlcollection/CMakeFiles/amarok_collection-mysqlcollection.dir/all' failed
make[1]: *** [src/core-impl/collections/db/sql/mysqlcollection/CMakeFiles/amarok_collection-mysqlcollection.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: cannot find -lwrap
/usr/bin/ld: cannot find -laio
collect2: error: ld returned 1 exit status
src/core-impl/storage/sql/mysqlestorage/CMakeFiles/amarok_storage-mysqlestorage.dir/build.make:162: recipe for target 'src/core-impl/storage/sql/mysqlestorage/amarok_storage-mysqlestorage.so' failed
make[2]: *** [src/core-impl/storage/sql/mysqlestorage/amarok_storage-mysqlestorage.so] Error 1
CMakeFiles/Makefile2:1635: recipe for target 'src/core-impl/storage/sql/mysqlestorage/CMakeFiles/amarok_storage-mysqlestorage.dir/all' failed
make[1]: *** [src/core-impl/storage/sql/mysqlestorage/CMakeFiles/amarok_storage-mysqlestorage.dir/all] Error 2
CMakeFiles/amarok_storage-mysqlserverstorage.dir/MySqlServerStorageFactory.cpp.o: In function `factory::factory()':
/home/horrendus/src/amarok/src/core-impl/storage/sql/mysqlserverstorage/MySqlServerStorageFactory.cpp:23: undefined reference to `vtable for factory'
CMakeFiles/amarok_storage-mysqlserverstorage.dir/MySqlServerStorageFactory.cpp.o: In function `factory::~factory()':
/home/horrendus/src/amarok/src/core-impl/storage/sql/mysqlserverstorage/MySqlServerStorageFactory.cpp:23: undefined reference to `vtable for factory'
collect2: error: ld returned 1 exit status
src/core-impl/storage/sql/mysqlserverstorage/CMakeFiles/amarok_storage-mysqlserverstorage.dir/build.make:162: recipe for target 'src/core-impl/storage/sql/mysqlserverstorage/amarok_storage-mysqlserverstorage.so' failed
make[2]: *** [src/core-impl/storage/sql/mysqlserverstorage/amarok_storage-mysqlserverstorage.so] Error 1
CMakeFiles/Makefile2:1723: recipe for target 'src/core-impl/storage/sql/mysqlserverstorage/CMakeFiles/amarok_storage-mysqlserverstorage.dir/all' failed
make[1]: *** [src/core-impl/storage/sql/mysqlserverstorage/CMakeFiles/amarok_storage-mysqlserverstorage.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/amarok-devel/attachments/20150830/c1ca20d4/attachment.sig>


More information about the Amarok-devel mailing list