Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't install megasync
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
leonchik1976
Apprentice
Apprentice


Joined: 24 Jan 2010
Posts: 176

PostPosted: Mon Dec 18, 2017 3:52 pm    Post subject: Can't install megasync Reply with quote

Hi, i'm trying to install megasync from 4nykey overlay, and it failed, any help, please?

[100%] Linking CXX shared module megasyncplugin.so
/usr/bin/cmake -E cmake_link_script CMakeFiles/megasyncplugin.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -march=native -O2 -pipe -fomit-frame-pointer -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed -shared -o megasyncplugin.so CMakeFiles/megasyncplugin.dir/megasync-plugin.cpp.o CMakeFiles/megasyncplugin.dir/megasyncplugin_autogen/mocs_compilation.cpp.o /usr/lib64/libKF5KIOWidgets.so.5.41.0 /usr/lib64/libKF5KIOCore.so.5.41.0 /usr/lib64/libKF5Service.so.5.41.0 /usr/lib64/libKF5JobWidgets.so.5.41.0 /usr/lib64/libQt5Network.so.5.9.3 /usr/lib64/libKF5Completion.so.5.41.0 /usr/lib64/libKF5WidgetsAddons.so.5.41.0 /usr/lib64/libKF5ConfigCore.so.5.41.0 /usr/lib64/libKF5CoreAddons.so.5.41.0 /usr/lib64/libQt5Widgets.so.5.9.3 /usr/lib64/libQt5Gui.so.5.9.3 /usr/lib64/libQt5Core.so.5.9.3
CMakeFiles/megasyncplugin.dir/megasync-plugin.cpp.o: In function `MEGASyncPluginFactory::MEGASyncPluginFactory()':
megasync-plugin.cpp:(.text+0xd0): undefined reference to `vtable for MEGASyncPluginFactory'
CMakeFiles/megasyncplugin.dir/megasync-plugin.cpp.o: In function `MEGASyncPluginFactory::~MEGASyncPluginFactory()':
megasync-plugin.cpp:(.text+0x163): undefined reference to `vtable for MEGASyncPluginFactory'
CMakeFiles/megasyncplugin.dir/megasync-plugin.cpp.o: In function `MEGASyncPluginFactory::~MEGASyncPluginFactory()':
megasync-plugin.cpp:(.text+0x183): undefined reference to `vtable for MEGASyncPluginFactory'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/megasyncplugin.dir/build.make:121: megasyncplugin.so] Error 1
make[2]: Leaving directory '/var/tmp/portage/net-misc/megasync-3.5.0.0/work/megasync-3.5.0.0/src/MEGAShellExtDolphin'
make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/megasyncplugin.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/net-misc/megasync-3.5.0.0/work/megasync-3.5.0.0/src/MEGAShellExtDolphin'
make: *** [Makefile:141: all] Error 2
* ERROR: net-misc/megasync-3.5.0.0::4nykey failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=net-misc/megasync-3.5.0.0::4nykey'`,
* the complete build log and the output of `emerge -pqv '=net-misc/megasync-3.5.0.0::4nykey'`.
* The complete build log is located at '/var/tmp/portage/net-misc/megasync-3.5.0.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-misc/megasync-3.5.0.0/temp/environment'.
* Working directory: '/var/tmp/portage/net-misc/megasync-3.5.0.0/work/megasync-3.5.0.0/src/MEGAShellExtDolphin'
* S: '/var/tmp/portage/net-misc/megasync-3.5.0.0/work/megasync-3.5.0.0'

>>> Failed to emerge net-misc/megasync-3.5.0.0, Log file:

>>> '/var/tmp/portage/net-misc/megasync-3.5.0.0/temp/build.log'

* Messages for package net-misc/megasync-3.5.0.0:

* ERROR: net-misc/megasync-3.5.0.0::4nykey failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=net-misc/megasync-3.5.0.0::4nykey'`,
* the complete build log and the output of `emerge -pqv '=net-misc/megasync-3.5.0.0::4nykey'`.
* The complete build log is located at '/var/tmp/portage/net-misc/megasync-3.5.0.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-misc/megasync-3.5.0.0/temp/environment'.
* Working directory: '/var/tmp/portage/net-misc/megasync-3.5.0.0/work/megasync-3.5.0.0/src/MEGAShellExtDolphin'
* S: '/var/tmp/portage/net-misc/megasync-3.5.0.0/work/megasync-3.5.0.0'
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22153
Location: here

PostPosted: Mon Dec 18, 2017 5:45 pm    Post subject: Reply with quote

Try patch proposed here
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
leonchik1976
Apprentice
Apprentice


Joined: 24 Jan 2010
Posts: 176

PostPosted: Mon Dec 18, 2017 6:08 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Try patch proposed here


Thank you :) After removong megasync-plugin.moc, it built successfully
Back to top
View user's profile Send private message
vasettoo
Tux's lil' helper
Tux's lil' helper


Joined: 11 Nov 2012
Posts: 77

PostPosted: Tue Dec 19, 2017 12:34 pm    Post subject: Reply with quote

I couldn't reproduce your error but had another one for missing 'Qt Concurrent declarative'. After emerging dev-qt/qtconcurrent-5.7.1 all went smooth compiling megasync-3.5.0.0.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum