Package Details: megasync 3.1.4.0-2

Git Clone URL: https://aur.archlinux.org/megasync.git (read-only)
Package Base: megasync
Description: Sync your files to your Mega account. Official app
Upstream URL: https://github.com/meganz/megasync
Licenses: custom:MEGA LIMITED CODE REVIEW LICENCE
Submitter: son_link
Maintainer: None
Last Packager: migrev
Votes: 261
Popularity: 10.600051
First Submitted: 2014-09-01 18:12
Last Updated: 2017-10-18 10:01

Latest Comments

sekret commented on 2017-10-18 17:59

Compiled just fine now, thanks! :-)

migrev commented on 2017-10-18 10:03

Bumped to include the patch and force a rebuild to deal with libsodium update. Compiled and working fine here.

sekret commented on 2017-10-17 18:38

Hi, I just tried to build the package, including the patch of course. I still get

In file included from control/CrashHandler.cpp:15:0:
google_breakpad/client/linux/handler/exception_handler.h:192:21: error: field ‘context’ has incomplete type ‘google_breakpad::ucontext’
struct ucontext context;
^~~~~~~
google_breakpad/client/linux/handler/exception_handler.h:192:12: note: forward declaration of ‘struct google_breakpad::ucontext’
struct ucontext context;
^~~~~~~~
make[1]: *** [Makefile:5284: CrashHandler.o] Error 1
make[1]: Leaving directory '/build/megasync/src/MEGAsync/src/MEGASync'
make: *** [Makefile:45: sub-MEGASync-make_first] Error 2
==> ERROR: A failure occurred in build().
Aborting...

Any ideas? That patch was supposed to fix this right?!

staticghost commented on 2017-10-17 17:28

@zxioper Thanks for that patch! Your instructions worked perfectly. :)
I hope the package gets properly updated soon.

bmbaker commented on 2017-10-16 09:42

thanks for the patch installation instructions, I will try it out tonight :-)

psltn commented on 2017-10-15 16:44

Hello, this error is occuring after upgrading libsodium from 1.0.14 to 1.0.15:
$ megasync: error while loading shared libraries: libsodium.so.18: cannot open shared object file: No such file or directory

A temporary solution is to just downgrade the libsodium package or symlink libsodium.so.18 to libsodium.so.23:
# ln -s /usr/lib/libsodium.so.23 /usr/lib/libsodium.so.18

famar commented on 2017-10-11 12:53

Official info on applying patches here
https://wiki.archlinux.org/index.php/Patching_in_ABS#Applying_patches

zxioper commented on 2017-10-11 06:22

How to apply the patch:
1) Download patch and put it, for example, to your home directory.
2) Start megasync installation ( yaourt -S megasync).
3) Type "Y" when you are asked about editing PKGBUILD.
4) Modify PKGBUILD file, adding lines to the begining of the section "build()":
cd "${srcdir}/MEGAsync"
cp ~/ucontext.patch ./
patch -p1 -i ./ucontext.patch
5) Save changes and continue installation.

bmbaker commented on 2017-10-07 11:32

hi there,
im getting the same error
google_breakpad/client/linux/handler/exception_handler.h:192:21: error: field ‘context’ has incomplete type ‘google_breakpad::ucontext’

but i don't know how to apply the patch you linked bellow.
cheers BB

zxioper commented on 2017-09-18 11:34

Hi there. It seems package can't be compiled since glibc was update to 2.26. I got error:
google_breakpad/client/linux/handler/exception_handler.h:192:21: error: field ‘context’ has incomplete type ‘google_breakpad::ucontext’

I found out that 'ucontext' type is no longer available (see sys/ucontext.h), it was replaced with 'ucontext_t'. Replacing 'ucontext' to 'ucontext_t' in the next files:
google_breakpad/client/linux/handler/exception_handler.cc
google_breakpad/client/linux/handler/exception_handler.h
google_breakpad/client/linux/minidump_writer/minidump_writer.cc
solves the problem (at least for me).

Patch: https://mega.nz/#!3lRGibxB!eO3eGZ-vYGqU6r7vCagrAGQVtLqxeP4hVrvijr-sRic

All comments