Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Done] Build failure with latest 0.8.3 release on Mageia
#1
Hi,

I tried to compile latest release 0.8.3-git0-201604024 on Mageia Cauldron but I get an underlinking error:

full compile log:

http://pkgsubmit.mageia.org/uploads/fail...120606.log

Compile is against gcc 5.3.1 and Qt 5.6.0

Regards,
David

[Edited on 2-5-2016 by Lucio Carreras]
#2
Thank you for the report. I will create a VM to test against. Sorry, I can not test compiling in every version of every distribution. But those build environment seem to differ a lot between single distributions. I guess, you\'ll have a new version today.
#3
Hi!

Sorry, I could not reproduce it, but I looked through those linker errors and mentioned them explicitly in the CMake files.
I uploaded a new version. Can you try this one out? Thank you!
#4
Where can I found this new version?
#5
So ok I found!

Using a snapshot \"git clone -b master https://git.sayonara-player.com/sayonara.git sayonara-player\":

There are just still three linking error now (src/GUI/Library/Views/LibraryView.cpp, src/GUI/Library/Views/LibraryGenreView.cpp and src/GUI/Library/Models/LibraryItemModel.cpp):


[ 98%] Linking CXX shared library ../../../lib/libsayonara_soundcloud.so
cd /home/david/mgarepo/sayonara/BUILD/sayonara-player/build/src/3rdParty/Soundcloud && /usr/bin/cmake -E cmake_link_script CMakeFiles/sayonara_soundcloud.dir/link.txt --verbose=1
/bin/c++ -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DNDEBUG -std=c++11 -Woverloaded-virtual -Wall -Wunreachable-code -Wextra -Wpedantic -pthread -fPIC -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -shared -Wl,-soname,libsayonara_soundcloud.so -o ../../../lib/libsayonara_soundcloud.so CMakeFiles/sayonara_soundcloud.dir/src/SoundcloudData.cpp.o CMakeFiles/sayonara_soundcloud.dir/src/SoundcloudWebAccess.cpp.o CMakeFiles/sayonara_soundcloud.dir/src/SoundcloudJsonParser.cpp.o CMakeFiles/sayonara_soundcloud.dir/src/SoundcloudLibrary.cpp.o CMakeFiles/sayonara_soundcloud.dir/src/SoundcloudDataFetcher.cpp.o CMakeFiles/sayonara_soundcloud.dir/ui/GUI_SoundcloudLibrary.cpp.o CMakeFiles/sayonara_soundcloud.dir/ui/GUI_SoundcloudArtistSearch.cpp.o CMakeFiles/sayonara_soundcloud.dir/qrc_SoundcloudIcons.cpp.o CMakeFiles/sayonara_soundcloud.dir/sayonara_soundcloud_automoc.cpp.o ../../Database/libsay_db.a ../../Helper/libsay_helper.a ../../GUI/Helper/libsay_gui_helper.a ../../GUI/Helper/MenuTool/libsay_gui_menu_tool.a ../../GUI/Library/libsay_gui_library.a ../../Interfaces/LibraryInterface/LibraryContainer/libsay_interfaces_library_container.a ../../GUI/Helper/MenuTool/libsay_gui_menu_tool.a ../../Components/Library/libsay_comp_library.a ../../Components/Playlist/libsay_comp_playlist.a ../../Components/Engine/libsay_comp_engine.a ../../Components/PlayManager/libsay_comp_playmanager.a ../../Interfaces/Notification/libsay_interfaces_notifications.a ../../Components/Engine/Convert/libsay_comp_engine_convert.a ../../Components/Engine/Playback/libsay_comp_engine_playback.a ../../Components/Engine/Callbacks/libsay_comp_engine_callbacks.a -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lgstbase-1.0 -lgstapp-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lgstbase-1.0 -lgstapp-1.0 ../../GUI/InfoDialog/libsay_gui_info_dialog.a ../../Components/LyricLookup/libsay_comp_lyrics.a ../../Helper/MetaDataInfo/libsay_helper_metadata_info.a ../../Helper/Compressor/libsay_helper_compressor.a -lz ../../GUI/AlternativeCovers/libsay_gui_alternative_covers.a ../../GUI/Library/Delegates/libsay_gui_library_delegates.a ../../GUI/Library/ImportFolderDialog/libsay_gui_library_import_folder_dialog.a ../../GUI/Helper/libsay_gui_helper.a ../../Components/Library/Importer/libsay_comp_library_importer.a ../../Helper/Settings/libsay_helper_settings.a ../../Helper/DirectoryReader/libsay_helper_directory_reader.a ../../Helper/Parser/libsay_helper_parser.a ../../Components/CoverLookup/libsay_comp_covers.a ../../Database/libsay_db.a /usr/lib64/libQt5Sql.so.5.6.0 ../../Helper/Playlist/libsay_helper_playlist.a ../../GUI/Helper/GlobalMessage/libsay_gui_global_message.a ../../GUI/TagEdit/libsay_gui_tagedit.a ../../GUI/Helper/RatingLabel/libsay_gui_rating_label.a ../../GUI/Library/InfoBox/libsay_gui_library_info_box.a ../../GUI/Library/Models/libsay_gui_library_models.a ../../GUI/Library/Views/libsay_gui_library_views.a ../../GUI/Helper/ContextMenu/libsay_gui_context_menu.a ../../Components/TagEdit/libsay_comp_tagedit.a ../../Helper/Tagging/libsay_helper_tagging.a ../../Helper/libsay_helper.a /usr/lib64/libQt5Network.so.5.6.0 /usr/lib64/libQt5Xml.so.5.6.0 /usr/lib64/libQt5DBus.so.5.6.0 -ltag ../../GUI/Helper/Delegates/libsay_gui_helper_delegate.a ../../GUI/Helper/SearchableWidget/libsay_gui_searchable_widget.a ../../GUI/Helper/ComboBoxDelegate/libsay_gui_combobox_delegate.a /usr/lib64/libQt5Widgets.so.5.6.0 /usr/lib64/libQt5Gui.so.5.6.0 /usr/lib64/libQt5Core.so.5.6.0
../../GUI/Library/Models/libsay_gui_library_models.a(LibraryItemModel.cpp.o): In function `LibraryItemModel::get_mimedata()\':
/home/david/mgarepo/sayonara/BUILD/sayonara-player/src/GUI/Library/Models/LibraryItemModel.cpp:190: undefined reference to `CustomMimeData::CustomMimeData()\'
/home/david/mgarepo/sayonara/BUILD/sayonara-player/src/GUI/Library/Models/LibraryItemModel.cpp:198: undefined reference to `CustomMimeData:ConfusedetMetaData(MetaDataList const&)\'
../../GUI/Library/Views/libsay_gui_library_views.a(LibraryGenreView.cpp.o): In function `LibraryGenreView::dropEvent(QDropEvent*)\':
/home/david/mgarepo/sayonara/BUILD/sayonara-player/src/GUI/Library/Views/LibraryGenreView.cpp:180: undefined reference to `CustomMimeData::getMetaData() const\'
../../GUI/Library/Views/libsay_gui_library_views.a(LibraryView.cpp.o): In function `LibraryView::get_selected_metadata() const\':
/home/david/mgarepo/sayonara/BUILD/sayonara-player/src/GUI/Library/Views/LibraryView.cpp:140: undefined reference to `CustomMimeData::getMetaData() const\'
collect2: error: ld returned 1 exit status
src/3rdParty/Soundcloud/CMakeFiles/sayonara_soundcloud.dir/build.make:368: recipe for target \'lib/libsayonara_soundcloud.so\' failed
make[2]: *** [lib/libsayonara_soundcloud.so] Error 1
make[2]: Leaving directory \'/home/david/mgarepo/sayonara/BUILD/sayonara-player/build\'
CMakeFiles/Makefile2:8776: recipe for target \'src/3rdParty/Soundcloud/CMakeFiles/sayonara_soundcloud.dir/all\' failed
make[1]: *** [src/3rdParty/Soundcloud/CMakeFiles/sayonara_soundcloud.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
#6
Hi,

any news about the remaining linking errors?
#7
Sorry, there\'s really a lot of work at the moment. I just pushed a new version into git. If compilation is successful, I will create an official source package. I applied some major changes to the linking mechanism and made it much simpler.
#8
Ok don\'t worry and let\'s tried Smile
#9
Well excellent! Just tested a build with latest git snapshot and I confirm now it successfully compiles without linking issue.

Thanks a lot for your work!
#10
Perfect. Then I\'ll create a new package today.


Forum Jump:


Users browsing this thread: 1 Guest(s)