net-misc/megasync-4.3.8.0 fails with FATAL: cmake_src_prepare has not been run Reproducible: Always Steps to Reproduce: 1. emerge "=net-misc/megasync-4.3.8.0::guru"
Created attachment 680695 [details] emerge --info '=net-misc/megasync-4.3.8.0::guru'
# emerge -pqv '=net-misc/megasync-4.3.8.0::guru' [ebuild U ] net-misc/megasync-4.3.8.0 [4.3.7.0] USE="cryptopp%* curl%* dolphin readline%* sqlite%* threads%* zlib%* -examples% -freeimage% -java% -libressl% -nautilus -php% -python% -thunar"
Created attachment 680698 [details] build.log
Fixed in: https://github.com/gentoo/guru/commit/145db129f3f1d1b828eca116b97377a939ec3078 (Looks like I made a small typo in the closing tag of the commit, and it didn't automatically close this bug, it should have been 'Closes: https://bugs.gentoo.org/763138' instead of 'closes: https://bugs.gentoo.org/763138', sorry about that.)
Now it fails with the following error: >>> Preparing source in /var/tmp/portage/net-misc/megasync-4.3.8.0/work/MEGAsync-4.3.8.0_Win ... * Working in BUILD_DIR: "/var/tmp/portage/net-misc/megasync-4.3.8.0/work/megasync-4.3.8.0_build" * Unable to locate CMakeLists.txt under: * "/var/tmp/portage/net-misc/megasync-4.3.8.0/work/MEGAsync-4.3.8.0_Win/CMakeLists.txt" * Consider not inheriting the cmake eclass. * ERROR: net-misc/megasync-4.3.8.0::guru failed (prepare phase): * FATAL: Unable to find CMakeLists.txt * * Call stack: * ebuild.sh, line 125: Called src_prepare * environment, line 4125: Called cmake_src_prepare * environment, line 2410: Called die * The specific snippet of code: * die "FATAL: Unable to find CMakeLists.txt";
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9785f55f12125d23055c0e31cdcf2c0f03b53fc4 commit 9785f55f12125d23055c0e31cdcf2c0f03b53fc4 Author: Andrew Ammerlaan <andrewammerlaan@riseup.net> AuthorDate: 2021-01-03 13:58:02 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@riseup.net> CommitDate: 2021-01-03 13:58:02 +0000 net-misc/megasync: fix unable to find cmakelists.txt - also fix dep on doxygen Closes: https://bugs.gentoo.org/763057 Bug: https://bugs.gentoo.org/763138 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net> net-misc/megasync/megasync-4.3.8.0.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
Now it successfully configures, but it still fails to compile with USE="dolphin" :( /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/megasyncplugin.dir/megasync-plugin.cpp.o: in function `MEGASyncPluginFactory::MEGASyncPluginFactory()': megasync-plugin.cpp:(.text+0x22): undefined reference to `vtable for MEGASyncPluginFactory' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/megasyncplugin.dir/megasync-plugin.cpp.o: in function `MEGASyncPluginFactory::~MEGASyncPluginFactory()': megasync-plugin.cpp:(.text+0x83): undefined reference to `vtable for MEGASyncPluginFactory' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/megasyncplugin.dir/megasync-plugin.cpp.o: in function `MEGASyncPluginFactory::~MEGASyncPluginFactory()': megasync-plugin.cpp:(.text+0xa3): undefined reference to `vtable for MEGASyncPluginFactory' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed.
Created attachment 702522 [details] I have problem with compilation :(
Created attachment 702525 [details] My emerge-info I have also added the emerge info of my device.
(In reply to Andrew Ammerlaan from comment #7) > Now it successfully configures, but it still fails to compile with > USE="dolphin" :( > > /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ > ld: CMakeFiles/megasyncplugin.dir/megasync-plugin.cpp.o: in function > `MEGASyncPluginFactory::MEGASyncPluginFactory()': > megasync-plugin.cpp:(.text+0x22): undefined reference to `vtable for > MEGASyncPluginFactory' > /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ > ld: CMakeFiles/megasyncplugin.dir/megasync-plugin.cpp.o: in function > `MEGASyncPluginFactory::~MEGASyncPluginFactory()': > megasync-plugin.cpp:(.text+0x83): undefined reference to `vtable for > MEGASyncPluginFactory' > /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ > ld: CMakeFiles/megasyncplugin.dir/megasync-plugin.cpp.o: in function > `MEGASyncPluginFactory::~MEGASyncPluginFactory()': > megasync-plugin.cpp:(.text+0xa3): undefined reference to `vtable for > MEGASyncPluginFactory' > collect2: error: ld returned 1 exit status > ninja: build stopped: subcommand failed. Looks like the recent bug we had with Wireshark?
I resolved my issue with not compilation ebuild: https://git.yorune.pl/y0rune/gentoo-yorune/src/branch/master/net-misc/megasync/megasync-4.4.0.ebuild
Closing as obsolete comment #7: USE=dolphin is dropped via https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=137fa99e206c2af870e67abc61f242215dce82c1 (the issue itself was also fixed somewhere) comment #8: fixed by upstream https://github.com/meganz/sdk/commit/a6a4d19149eae0f7e3ebe7cc8be0d4ca2b6f99e9