Package Details: megatools 1.11.0.git.20200404-1

Git Clone URL: (read-only, click to copy)
Package Base: megatools
Description: Command line client application for
Upstream URL:
Licenses: GPL
Submitter: megous
Maintainer: megous
Last Packager: megous
Votes: 102
Popularity: 1.89
First Submitted: 2013-04-11 20:56
Last Updated: 2020-04-16 16:56

Latest Comments

1 2 3 Next › Last »

tyjak commented on 2020-02-16 16:34

ERROR: Can't login to API call 'us' failed: Server returned error EEXPIRED

Can't use it since my account was created after 11/6/2018

Here is the disclaimer from megatools website:

Read this issue if you've registered an account via web client since 11/6/2018. You'll not be able to use your account with megatools. You can still use megatools to download publicly exported files for free, or use accounts created before 11/6/2018. You may also be able to register accounts with megatools, and those will work with megatools. You just can't use the new style accounts that mega's website creates now.

natzei commented on 2019-02-02 17:17

It also work for armv6h architecture ;)

megous commented on 2017-03-26 05:49

Re-build with debug options, run in gdb and send a bactrace report to

I don't see anything obviously relevant in testing, that could cause issues.

colemickens commented on 2017-03-26 05:28

I don't know why, but in the last two days. 'megadl' seg faults on any input I've given it. I have testing repos enabled.

megous commented on 2016-12-02 13:48

> checking for pkg-config... no

You're missing base-devel packages. pkgconfig in particular.

megous commented on 2016-11-13 17:55

Fixed, thanks.

sekret commented on 2016-11-13 16:36

==> Starting build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.32.0... yes (version 2.50.1)
checking for OPENSSL... yes
checking for LIBCURL... yes
checking for a2x... no
configure: error: a2x is required to build docs, install asciidoc
==> ERROR: A failure occurred in build().

Please add asciidoc to makedepends!

After adding it and building the package namcap shows

Checking megatools-1.9.98-1-x86_64.pkg.tar.xz
megatools W: Unused shared library '/usr/lib/' by file ('usr/bin/megadf')
megatools W: Unused shared library '/usr/lib/' by file ('usr/bin/megaget')
megatools W: Unused shared library '/usr/lib/' by file ('usr/bin/megarm')
megatools W: Unused shared library '/usr/lib/' by file ('usr/bin/megaput')
megatools W: Unused shared library '/usr/lib/' by file ('usr/bin/megacopy')
megatools W: Unused shared library '/usr/lib/' by file ('usr/bin/megamkdir')
megatools W: Unused shared library '/usr/lib/' by file ('usr/bin/megadl')
megatools W: Unused shared library '/usr/lib/' by file ('usr/bin/megareg')
megatools W: Unused shared library '/usr/lib/' by file ('usr/bin/megals')
megatools E: Dependency glib2 detected and not included (libraries ['usr/lib/', 'usr/lib/', 'usr/lib/'] needed in files ['usr/bin/megadl', 'usr/bin/megamkdir', 'usr/bin/megacopy', 'usr/bin/megarm', 'usr/bin/megaput', 'usr/bin/megaget', 'usr/bin/megareg', 'usr/bin/megadf', 'usr/bin/megals'])

So please also add glib2 to depends!

I think this line "Unused shared library '/usr/lib/' by file xxx" can be ignored...

sekret commented on 2016-08-25 13:42

Build fails with

In file included from mega/include/mega/types.h:56:0,
from mega/include/mega/utils.h:25,
from mega/include/mega/attrmap.h:25,
from mega/src/attrmap.cpp:22:
mega/include/mega/crypto/sodium.h:27:20: fatal error: sodium.h: No such file or directory
#include <sodium.h>
compilation terminated.
make[1]: *** [Makefile:2262: attrmap.o] Error 1
make[1]: Leaving directory '/build/megasync-git/src/megasync/src/MEGASync'
make: *** [Makefile:43: sub-MEGASync-make_first] Error 2
==> ERROR: A failure occurred in build().

The config option --without-sodium doesn't exist (anymore), so libsodium is definitely a dependency now.

megous commented on 2016-02-02 23:20

madnessmike: added

Upgrade recommended, because 1.9.96 started failing on big remote directories since started compressing some server responses.

mike.cuche commented on 2016-01-28 17:58

Hello, can you add support for armv7h architecture in the PKGBUILD?
I compiled it on a Raspberry Pi 2 and it works just fine :)