Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

Working ebuild of Megasync?

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
Skippy204
Guru
Guru
User avatar
Posts: 365
Joined: Fri May 09, 2008 7:06 pm
Location: Colorado, USA

Working ebuild of Megasync?

  • Quote

Post by Skippy204 » Mon Oct 04, 2021 1:08 pm

I have tried everything over here:

https://gpo.zugaina.org/net-misc/megasync

And nothing builds.

Is this just me? Does anyone have Megasync working on Gentoo? If so please educate me.

It's has worked for me in the past, but I'm having problems with the version I currently have installed. Will create a different post for that situation.
Top
vasettoo
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 100
Joined: Sun Nov 11, 2012 4:05 pm

  • Quote

Post by vasettoo » Mon Oct 04, 2021 1:32 pm

I am using https://gpo.zugaina.org/Overlays/ssnb overlay and not having any problem with megasync. Might be a liitle behind with the latest version though...
Top
Skippy204
Guru
Guru
User avatar
Posts: 365
Joined: Fri May 09, 2008 7:06 pm
Location: Colorado, USA

  • Quote

Post by Skippy204 » Mon Oct 04, 2021 1:49 pm

Just tried that one. Fails to build...
But since it works for you at least I know it should build. Problem is my system, not the ebuild. That's something.

Code: Select all

In file included from /usr/include/qt5/QtCore/qlist.h:43,
                 from /usr/include/qt5/QtCore/qstringlist.h:41,
                 from /usr/include/qt5/QtCore/QStringList:1,
                 from ./model/Model.h:6,
                 from control/Preferences.cpp:1:
/usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here
  181 | QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan)
      |                                              ^~~~~
control/Preferences.cpp:2800:57: warning: ‘static QSet<T> QSet<T>::fromList(const QList<T>&) [with T = QString]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead. [-Wdeprecated-declarations]
 2800 |     QSet<QString> excludedSyncPathsSet = QSet<QString>::fromList(excludedSyncPaths);
      |                                                         ^~~~~~~~
In file included from /usr/include/qt5/QtCore/QSet:1,
                 from ./model/Model.h:7,
                 from control/Preferences.cpp:1:
/usr/include/qt5/QtCore/qset.h:416:9: note: declared here
  416 | QSet<T> QSet<T>::fromList(const QList<T> &list)
      |         ^~~~~~~
control/Preferences.cpp:2800:65: warning: ‘static QSet<T> QSet<T>::fromList(const QList<T>&) [with T = QString]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead. [-Wdeprecated-declarations]
 2800 |     QSet<QString> excludedSyncPathsSet = QSet<QString>::fromList(excludedSyncPaths);
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/QSet:1,
                 from ./model/Model.h:7,
                 from control/Preferences.cpp:1:
/usr/include/qt5/QtCore/qset.h:416:9: note: declared here
  416 | QSet<T> QSet<T>::fromList(const QList<T> &list)
      |         ^~~~~~~
control/Preferences.cpp:2801:52: warning: ‘QList<T> QSet<T>::toList() const [with T = QString]’ is deprecated: Use values() instead. [-Wdeprecated-declarations]
 2801 |     excludedSyncPaths = excludedSyncPathsSet.toList();
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt5/QtCore/QSet:1,
                 from ./model/Model.h:7,
                 from control/Preferences.cpp:1:
/usr/include/qt5/QtCore/qset.h:265:14: note: declared here
  265 |     QList<T> toList() const { return values(); }
      |              ^~~~~~
control/Preferences.cpp:2802:10: warning: ‘void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList<QString>::iterator; LessThan = bool (*)(const QString&, const QString&)]’ is deprecated: Use std::sort [-Wdeprecated-declarations]
 2802 |     qSort(excludedSyncPaths.begin(), excludedSyncPaths.end(), caseInsensitiveLessThan);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/qlist.h:43,
                 from /usr/include/qt5/QtCore/qstringlist.h:41,
                 from /usr/include/qt5/QtCore/QStringList:1,
                 from ./model/Model.h:6,
                 from control/Preferences.cpp:1:
/usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here
  181 | QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan)
      |                                              ^~~~~
control/Preferences.cpp: In member function ‘void Preferences::readFolders()’:
control/Preferences.cpp:2835:72: warning: ‘static QString QString::fromAscii(const char*, int)’ is deprecated [-Wdeprecated-declarations]
 2835 |             MegaApi::log(MegaApi::LOG_LEVEL_WARNING, QString::fromAscii("Reading invalid Sync Setting!").toUtf8().constData());
      |                                                      ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/QString:1,
                 from ./model/Model.h:5,
                 from control/Preferences.cpp:1:
/usr/include/qt5/QtCore/qstring.h:730:41: note: declared here
  730 |     QT_DEPRECATED static inline QString fromAscii(const char *str, int size = -1)
      |                                         ^~~~~~~~~
control/Preferences.cpp: In member function ‘void Preferences::removeOldCachedSync(int, QString)’:
control/Preferences.cpp:2863:44: warning: ‘static QString QString::fromAscii(const char*, int)’ is deprecated [-Wdeprecated-declarations]
 2863 |         settings->remove(QString::fromAscii("")); //Remove all previous values
      |                          ~~~~~~~~~~~~~~~~~~^~~~
In file included from /usr/include/qt5/QtCore/QString:1,
                 from ./model/Model.h:5,
                 from control/Preferences.cpp:1:
/usr/include/qt5/QtCore/qstring.h:730:41: note: declared here
  730 |     QT_DEPRECATED static inline QString fromAscii(const char *str, int size = -1)
      |                                         ^~~~~~~~~
control/Preferences.cpp: In member function ‘QList<SyncData> Preferences::readOldCachedSyncs(int*, int*, int*, QString)’:
control/Preferences.cpp:2922:65: warning: ‘static QString QString::fromAscii(const char*, int)’ is deprecated [-Wdeprecated-declarations]
 2922 |         MegaApi::log(MegaApi::LOG_LEVEL_INFO, QString::fromAscii("Reading old cache sync setting ... ").toUtf8().constData());
      |                                               ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/QString:1,
                 from ./model/Model.h:5,
                 from control/Preferences.cpp:1:
/usr/include/qt5/QtCore/qstring.h:730:41: note: declared here
  730 |     QT_DEPRECATED static inline QString fromAscii(const char *str, int size = -1)
      |                                         ^~~~~~~~~
control/Preferences.cpp:2926:72: warning: ‘static QString QString::fromAscii(const char*, int)’ is deprecated [-Wdeprecated-declarations]
 2926 |             MegaApi::log(MegaApi::LOG_LEVEL_WARNING, QString::fromAscii(" ... sync configuration rescued from old session. Set as disabled.")
      |                                                      ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/QString:1,
                 from ./model/Model.h:5,
                 from control/Preferences.cpp:1:
/usr/include/qt5/QtCore/qstring.h:730:41: note: declared here
  730 |     QT_DEPRECATED static inline QString fromAscii(const char *str, int size = -1)
      |                                         ^~~~~~~~~
control/Preferences.cpp: In member function ‘void Preferences::saveOldCachedSyncs()’:
control/Preferences.cpp:2969:40: warning: ‘static QString QString::fromAscii(const char*, int)’ is deprecated [-Wdeprecated-declarations]
 2969 |     settings->remove(QString::fromAscii("")); //Remove all previous values
      |                      ~~~~~~~~~~~~~~~~~~^~~~
In file included from /usr/include/qt5/QtCore/QString:1,
                 from ./model/Model.h:5,
                 from control/Preferences.cpp:1:
/usr/include/qt5/QtCore/qstring.h:730:41: note: declared here
  730 |     QT_DEPRECATED static inline QString fromAscii(const char *str, int size = -1)
      |                                         ^~~~~~~~~
control/Preferences.cpp: In member function ‘void Preferences::removeAllSyncSettings()’:
control/Preferences.cpp:2999:40: warning: ‘static QString QString::fromAscii(const char*, int)’ is deprecated [-Wdeprecated-declarations]
 2999 |     settings->remove(QString::fromAscii("")); //removes group and all its settings
      |                      ~~~~~~~~~~~~~~~~~~^~~~
In file included from /usr/include/qt5/QtCore/QString:1,
                 from ./model/Model.h:5,
                 from control/Preferences.cpp:1:
/usr/include/qt5/QtCore/qstring.h:730:41: note: declared here
  730 |     QT_DEPRECATED static inline QString fromAscii(const char *str, int size = -1)
      |                                         ^~~~~~~~~
control/Preferences.cpp: In member function ‘void Preferences::removeSyncSetting(std::shared_ptr<SyncSetting>)’:
control/Preferences.cpp:3012:66: warning: ‘static QString QString::fromAscii(const char*, int)’ is deprecated [-Wdeprecated-declarations]
 3012 |         MegaApi::log(MegaApi::LOG_LEVEL_ERROR, QString::fromAscii("Removing invalid Sync Setting!").toUtf8().constData());
      |                                                ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/QString:1,
                 from ./model/Model.h:5,
                 from control/Preferences.cpp:1:
/usr/include/qt5/QtCore/qstring.h:730:41: note: declared here
  730 |     QT_DEPRECATED static inline QString fromAscii(const char *str, int size = -1)
      |                                         ^~~~~~~~~
control/Preferences.cpp:3020:40: warning: ‘static QString QString::fromAscii(const char*, int)’ is deprecated [-Wdeprecated-declarations]
 3020 |     settings->remove(QString::fromAscii("")); //removes group and all its settings
      |                      ~~~~~~~~~~~~~~~~~~^~~~
In file included from /usr/include/qt5/QtCore/QString:1,
                 from ./model/Model.h:5,
                 from control/Preferences.cpp:1:
/usr/include/qt5/QtCore/qstring.h:730:41: note: declared here
  730 |     QT_DEPRECATED static inline QString fromAscii(const char *str, int size = -1)
      |                                         ^~~~~~~~~
control/Preferences.cpp: In member function ‘void Preferences::writeSyncSetting(std::shared_ptr<SyncSetting>)’:
control/Preferences.cpp:3047:68: warning: ‘static QString QString::fromAscii(const char*, int)’ is deprecated [-Wdeprecated-declarations]
 3047 |         MegaApi::log(MegaApi::LOG_LEVEL_WARNING, QString::fromAscii("Writting sync settings before logged in").toUtf8().constData());
      |                                                  ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/QString:1,
                 from ./model/Model.h:5,
                 from control/Preferences.cpp:1:
/usr/include/qt5/QtCore/qstring.h:730:41: note: declared here
  730 |     QT_DEPRECATED static inline QString fromAscii(const char *str, int size = -1)
      |                                         ^~~~~~~~~
mega/src/megaapi_impl.cpp: In static member function ‘static int mega::MegaHTTPServer::onMessageComplete(http_parser*)’:
mega/src/megaapi_impl.cpp:29309:69: warning: ‘this’ pointer is null [-Wnonnull]
29309 |             newParentNode = baseNode ? baseNode->copy() : node->copy();
      |                                                           ~~~~~~~~~~^~
make[1]: Leaving directory '/var/tmp/portage/net-misc/megasync-4.5.0.0/work/megasync-4.5.0.0/src/MEGASync'
make: *** [Makefile:47: sub-MEGASync-make_first] Error 2
make: Leaving directory '/var/tmp/portage/net-misc/megasync-4.5.0.0/work/megasync-4.5.0.0/src'
 * ERROR: net-misc/megasync-4.5.0.0::Skippy failed (compile phase):
 *   emake failed
Top
ivan2k
n00b
n00b
User avatar
Posts: 59
Joined: Fri Sep 10, 2010 12:59 pm
Location: TV, Italy

  • Quote

Post by ivan2k » Sun Oct 24, 2021 8:57 am

Failed for me also, same error
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Sun Oct 24, 2021 9:20 am

You should post full build.log.
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
Hu
Administrator
Administrator
Posts: 24389
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sun Oct 24, 2021 4:02 pm

ivan2k wrote:Failed for me also, same error
What error would that be? Skippy204 didn't show any compiler errors, only warnings and the summary that something somewhere failed.
Top
sdauth
l33t
l33t
User avatar
Posts: 770
Joined: Wed Sep 19, 2018 2:48 am
Location: Ásgarðr

  • Quote

Post by sdauth » Mon Oct 25, 2021 3:41 am

ebuild for latest version, compiles and runs fine on my gentoo install.

megasync-4.5.3.0.ebuild (9999 not tested)
save in your localrepo under net-misc/megasync

patches :
megasync-4.5.3.0_pdfium.patch
megasync-4.5.3.0_ffmpeg.patch
save in your localrepo under net-misc/megasync/files/
Top
ivan2k
n00b
n00b
User avatar
Posts: 59
Joined: Fri Sep 10, 2010 12:59 pm
Location: TV, Italy

  • Quote

Post by ivan2k » Thu Oct 28, 2021 10:39 am

The problem is with ffmpeg 4.4 and the patch megasync-4.5.3.0_ffmpeg.patch solve that issue.
Top
ivan2k
n00b
n00b
User avatar
Posts: 59
Joined: Fri Sep 10, 2010 12:59 pm
Location: TV, Italy

  • Quote

Post by ivan2k » Thu Oct 28, 2021 10:49 am

sdauth wrote:ebuild for latest version, compiles and runs fine on my gentoo install.

megasync-4.5.3.0.ebuild (9999 not tested)
save in your localrepo under net-misc/megasync

patches :
megasync-4.5.3.0_pdfium.patch
megasync-4.5.3.0_ffmpeg.patch
save in your localrepo under net-misc/megasync/files/
Compile only with USE="-dolphin".

I have edited your ebuild to make it working even with dolphin USE (and some other twek):
megasync-4.5.3.0.ebuild
Use theese patches:
megasync-4.5.3.0_ffmpeg.patch
megasync-4.5.3.0_pdfium.patch
Top
Post Reply

9 posts • Page 1 of 1

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic