Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 763138 - net-misc/megasync-4.3.8.0 fails to configure
Summary: net-misc/megasync-4.3.8.0 fails to configure
Status: UNCONFIRMED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Samuel Bernardo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-02 15:28 UTC by Althorion
Modified: 2021-06-16 14:35 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info '=net-misc/megasync-4.3.8.0::guru' (file_763138.txt,24.68 KB, text/plain)
2021-01-02 15:29 UTC, Althorion
Details
build.log (net-misc:megasync-4.3.8.0:20210102-152703.log,19.54 KB, text/plain)
2021-01-02 15:33 UTC, Althorion
Details
I have problem with compilation :( (build.log.gz,394.03 KB, application/gzip)
2021-04-25 22:17 UTC, Marcin Woźniak
Details
My emerge-info (emerge-info,8.76 KB, text/plain)
2021-04-25 22:18 UTC, Marcin Woźniak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Althorion 2021-01-02 15:28:55 UTC
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"
Comment 1 Althorion 2021-01-02 15:29:31 UTC
Created attachment 680695 [details]
emerge --info '=net-misc/megasync-4.3.8.0::guru'
Comment 2 Althorion 2021-01-02 15:30:36 UTC
# 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"
Comment 3 Althorion 2021-01-02 15:33:37 UTC
Created attachment 680698 [details]
build.log
Comment 4 Andrew Ammerlaan gentoo-dev 2021-01-02 17:03:57 UTC
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.)
Comment 5 Althorion 2021-01-03 05:31:38 UTC
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";
Comment 6 Larry the Git Cow gentoo-dev 2021-01-03 13:58:36 UTC
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(-)
Comment 7 Andrew Ammerlaan gentoo-dev 2021-01-03 14:00:28 UTC
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.
Comment 8 Marcin Woźniak 2021-04-25 22:17:13 UTC
Created attachment 702522 [details]
I have problem with compilation :(
Comment 9 Marcin Woźniak 2021-04-25 22:18:20 UTC
Created attachment 702525 [details]
My emerge-info

I have also added the emerge info of my device.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-04-25 22:28:18 UTC
(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?
Comment 11 Marcin Woźniak 2021-05-09 11:02:19 UTC
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