Search Criteria
Package Details: megasync 4.6.7.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/megasync.git (read-only, click to copy) |
---|---|
Package Base: | megasync |
Description: | Easy automated syncing between your computers and your MEGA cloud drive |
Upstream URL: | https://github.com/meganz/MEGAsync |
Licenses: | custom:MEGA LIMITED CODE REVIEW LICENCE |
Submitter: | son_link |
Maintainer: | Kozeid |
Last Packager: | Kozeid |
Votes: | 378 |
Popularity: | 0.84 |
First Submitted: | 2014-09-01 18:12 (UTC) |
Last Updated: | 2022-06-22 17:16 (UTC) |
Dependencies (19)
- c-ares
- crypto++ (crypto++-git)
- ffmpeg (ffmpeg-v4l2-request-git, ffmpeg-nox-git, ffmpeg-svt-vp9-git, ffmpeg-intel-full-git, ffmpeg-yt-dlp-bin, ffmpeg-amd-full, ffmpeg-decklink, ffmpeg-shinobi, ffmpeg-git, ffmpeg-ndi, ffmpeg-full, ffmpeg-full-git, ffmpeg-libfdk_aac, ffmpeg-headless, ffmpeg-obs, ffmpeg-vulkan, ffmpeg-cuda, ffmpeg-mmal, ffmpeg-amd-full-git, ffmpeg-nocuda)
- freeimage
- hicolor-icon-theme (hicolor-icon-theme-git)
- libmediainfo (libmediainfo-git)
- libpdfium (libpdfium-nojs, pdfium-binaries, pdfium-binaries-v8)
- libraw (libraw-git, libraw16, libraw19)
- libsodium (libsodium-git)
- libudev.so (libeudev-git, libeudev, lib32-eudev, libudev-zero-git, systemd-libs-homed-containers, systemd-libs-selinux, systemd-libs-git, systemd-libs)
- libuv (libuv-git)
- qt5-base (qt5-base-git, qt5-base-headless)
- qt5-svg (qt5-svg-git)
- qt5-x11extras (qt5-x11extras-git)
- doxygen (doxygen-git, doxygen-clang) (make)
- git (git-git, git-vfs, git-run-command-patch-git) (make)
- lsb-release (make)
- qt5-tools (qt5-tools-git) (make)
- swig (swig-git) (make)
Latest Comments
kikadf commented on 2022-05-30 16:00 (UTC)
@attila123: cmst is not a megasync dependency, it is an inedependent package. The megasync upgrade was fine (just a reinstall, not built the package) in your output. I don't know paru, maybe you upgraded all AUR packages, not only megasync, and you had a problem with the megyasync independent cmst package.
attila123 commented on 2022-05-30 14:56 (UTC)
When upgrading megasync (with paru), for some reason there was some problem with cmst. So I manually upgraded cmst (went fine), then reinstalled megasync just to make sure. The mystical problem with cmst was:
kikadf commented on 2022-05-23 15:16 (UTC)
@simona: you should rebuild libpdfium, after a clean build for megasync with the fixed ffmpeg patch
simona commented on 2022-05-23 07:39 (UTC)
/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/libpdfium.so: undefined reference to
u_isspace_70'<br> /bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/libpdfium.so: undefined reference to
u_tolower_70'/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/libpdfium.so: undefined reference to
u_isalnum_70'<br> /bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/libpdfium.so: undefined reference to
u_isalpha_70'/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../lib/libpdfium.so: undefined reference to `u_toupper_70'
kikadf commented on 2022-05-13 16:20 (UTC)
Kozeid, can you update this package to 4.6.6.0, and fix the ffmpeg patch (https://raw.githubusercontent.com/killua99/megasync_aur/bump-version/ffmpeg.patch)?
emceebois commented on 2022-04-27 22:47 (UTC) (edited on 2022-04-28 00:06 (UTC) by emceebois)
@killua99 I got this build error when running
makepkg -si
against your version:jeyes commented on 2022-04-25 08:33 (UTC)
@killua99 Thanks, cloned from https://github.com/killua99/megasync_aur/tree/bump-version and it worked.
killua99 commented on 2022-04-20 19:26 (UTC)
I bumped megasync version on GitHub @shuryanc version. You need to download it and just run
makepkg -si
and you will have latest version.servimo commented on 2022-03-31 21:54 (UTC)
I use megasync-bin
RefSnow commented on 2022-03-31 17:33 (UTC)
Is anyone having trouble opening the application?
Here it is not working.
Error log: Complete log here: https://pastebin.com/68ug8Hei
magicgoose commented on 2022-03-18 14:37 (UTC)
Doesn't compile as of today
shady90 commented on 2022-03-18 09:41 (UTC) (edited on 2022-03-18 09:49 (UTC) by shady90)
missing libavcodec ffmpeg lib (in the right version 58) on my machine since yesterday
the needed version is not explicit in the aur package?
ffmpeg 2:5.0-5 Provides libavcodec.so=59-64
FXCNN commented on 2022-02-25 15:48 (UTC) (edited on 2022-02-25 18:13 (UTC) by FXCNN)
megasync: /usr/lib/libm.so.6: version `GLIBC_2.35' not found (required by megasync) nevertheless /usr/lib/libc.so.6 está contenido en glibc 2.33-5
dr460nf1r3 commented on 2022-02-23 17:31 (UTC) (edited on 2022-02-23 17:32 (UTC) by dr460nf1r3)
The package fails to compile in a clean chroot here, full logs are available over here :)
shuryanc commented on 2022-02-05 16:54 (UTC)
I edited the files for build. In case you need to update megasync to 4.6.3.0, you may download the files from my git. https://github.com/shuryanc/megasync_aur/
suddengunter commented on 2022-02-01 11:43 (UTC)
fails with
I use qt5ct and my QT related env looks like:
michaldybczak commented on 2022-01-16 10:17 (UTC)
@sumfahg, in the meantime, you can always use arch version downloaded from mega.nz. It's a bit older to the upstream but works flawlessly.
sumfahg commented on 2022-01-16 06:09 (UTC)
Any news on getting this updated and working again?
shuryanc commented on 2021-12-25 02:46 (UTC) (edited on 2021-12-26 01:26 (UTC) by shuryanc)
I want to push the files to upgrade this git to 4.6.2.0, but I have no permission.
git-receive-pack: permission denied: shuryanc fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
In case you need to update megasync to 4.6.2.0, you may download the files from my git. https://github.com/shuryanc/megasync_aur/
mtorromeo commented on 2021-10-22 16:14 (UTC)
@brackenhill-mob I used my TU privileges to push a commit but I am not the maintainer. I hope HE/SHE doesn't mind. And you are welcome :)
brackenhill-mob commented on 2021-10-22 16:11 (UTC)
@mtorromeo Why should I mind when it works??!! And you fixed it so quickly. Thank you
mtorromeo commented on 2021-10-22 14:24 (UTC)
The ffmpeg3.4 became too problematic with the latest libvpx/x264 update, so I took the liberty to push a fix to build it with ffmpeg. Hope you don't mind.
brackenhill-mob commented on 2021-10-22 14:03 (UTC)
There is an upgrade of ffmpeg to v4.4 but it won't install because it breaks megasync. Pamac suggests uninstall megasync. If I do this, am I right in thinking that I won't be able to re-install megasync because it needs ffmpeg v3.4?
If so, is it possible to build a package against ffmeg v4.4? Or am I going to have to use rclone/megatools until we get a new version of megasync?
TIA
tioguda commented on 2021-08-31 11:44 (UTC)
Does anyone read the comments before reporting a "problem"?
The solution for most is to rebuild libpdfium-nojs before upgrading.
jeyes commented on 2021-08-31 11:27 (UTC) (edited on 2021-08-31 12:31 (UTC) by jeyes)
EDIT: So sorry, we should read before posting. Indeed, rebuilding
libpdfium-nojs
fixed it for me, too.Yes, I got the same error as l337 when trying to upgrade to 4.5.3.0-1. To give a more readable and English version of the output:
My kernel is
5.13.10-arch1-1-surface
, gcc version11.1.0
.l337 commented on 2021-08-23 00:43 (UTC)
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libpdfium.so: referencia a
u_isspace_68' sin definir /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libpdfium.so: referencia a
u_isalnum_68' sin definir /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libpdfium.so: referencia au_toupper_68' sin definir /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libpdfium.so: referencia a
u_isalpha_68' sin definir /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libpdfium.so: referencia a `u_tolower_68' sin definir collect2: error: ld devolvió el estado de salida 1 make[1]: *** [Makefile:1230: megasync] Error 1make: *** [Makefile:47: sub-MEGASync-make_first] Error 2 ==> ERROR: Se produjo un fallo en build(). Cancelando... error compilando: megasync
luntik2012 commented on 2021-08-05 08:43 (UTC)
Neko-san commented on 2021-08-03 06:31 (UTC)
I get an error for compilation with this error once Megasync starts building:
michaldybczak commented on 2021-06-09 17:37 (UTC)
@tioguda, you were right. I rebuilt libpdfium-nojs and then was able to build the newest mega. Thanks!
scippio commented on 2021-06-05 09:06 (UTC)
FuzzyAtish has true... with icu68 it's compiled ok. Pls add it to deps...
tioguda commented on 2021-06-02 22:31 (UTC)
@michaldybczak have you ever rebuilt libpdfium-nojs to verify that's not your problem?
michaldybczak commented on 2021-06-02 22:17 (UTC) (edited on 2021-06-02 22:21 (UTC) by michaldybczak)
I replaced ffmpeg3.4 with ffmpeg - the one from system repo and it was building fine till this:
/usr/bin/ld: warning: libicuuc.so.68, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libpdfium.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libpdfium.so: undefined reference to
u_isspace_68' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libpdfium.so: undefined reference to
u_isalnum_68' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libpdfium.so: undefined reference tou_toupper_68' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libpdfium.so: undefined reference to
u_isalpha_68' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libpdfium.so: undefined reference to `u_tolower_68' collect2: error: ld returned 1 exit status make[1]: [Makefile:1260: megasync] Error 1 make[1]: Leaving directory '/mnt/home-hdd/build/megasync/src/MEGAsync/src/MEGASync' make: [Makefile:47: sub-MEGASync-make_first] Error 2 ==> ERROR: There was error in build().It's looking for libicuuc.so.68, but I already have libicuuc.so.69.1, so it's looking for an older file. This suggests the PKGBUILD should be upgraded to a new version.
michaldybczak commented on 2021-05-29 22:32 (UTC) (edited on 2021-05-29 22:33 (UTC) by michaldybczak)
No. For me, it uses 13,6 MB of RAM when idle. On the other hand, I have installed version that I downloaded from mega.nz site (a bit older version). AUR version fails to install, and I don't have time to figure it out.
acerinth commented on 2021-05-29 12:38 (UTC)
Is it normal that this thing eats almost 2 GB of RAM? (idle)
Joermungand commented on 2021-05-28 09:45 (UTC)
Package
ffmpeg3.4
builds with a small edit of the PKGBUILD. See my comment on theffmpeg3.4
AUR page.scippio commented on 2021-05-23 07:53 (UTC)
Pls fix update... thank you.
michaldybczak commented on 2021-05-16 15:51 (UTC)
I confirm. The same build issue happens on my side as well.
Alkaris commented on 2021-05-16 07:18 (UTC)
Megasync calls upon an incompatible package
ffmpeg3.4
and fails to install. It should instead call uponffmpeg 2:4.4-2
.brackenhill-mob commented on 2021-05-09 14:56 (UTC)
Thank you @FuzzyAtish - that fixed it for me too
FuzzyAtish commented on 2021-05-04 16:55 (UTC) (edited on 2021-05-04 16:57 (UTC) by FuzzyAtish)
After installing icu68 from AUR, I was able to install it with yay
It might be worth it to add the package to depends or makedepends
michaldybczak commented on 2021-05-03 20:10 (UTC)
As usual, the version from AUR can't build. It's been like that for months. Luckily, the version downloaded from mega.nz site works well.
txtsd commented on 2021-05-03 07:59 (UTC)
@Kozeid if you don't have the time, please assign some maintainers.
mikesco3 commented on 2021-04-30 07:05 (UTC)
but, yes... please update! (if possible)
mikesco3 commented on 2021-04-30 07:04 (UTC)
I had to bring in from a previous snapshot:
into
and
m.schabhuettl commented on 2021-04-29 15:53 (UTC)
Please update! Version 4.5.0 has been released on Github. Version 4.4.0.0 won't compile on latest Arch.
Frogboy commented on 2021-04-19 15:59 (UTC)
@servimo it still gave me an error message because of undefiened references, but somehow it kinda works now. Thanks.
servimo commented on 2021-04-19 15:41 (UTC)
I did a "sudo ln -s /usr/lib/libicuuc.so.69.1 /usr/lib/libicuuc.so.68", for now, till megasync was updated. ICU was updated to 69.1-1 and was a dependency of megasync.
Frogboy commented on 2021-04-19 15:11 (UTC)
Getting an error while building after the latest Arch system update:
Jhackler commented on 2021-04-18 02:12 (UTC)
Might as well set this up to rebuild after every system update lol
romero commented on 2021-02-24 03:40 (UTC)
@MrSelfDestruct thanks a lot! Recompiling did the trick brilliantly.
chapa commented on 2021-02-04 03:29 (UTC) (edited on 2021-02-04 03:47 (UTC) by chapa)
as megasync, as megasync-bin failed
"Setting QT_SCREEN_SCALE_FACTORS= "DisplayPort-1=1" Error unsetting QT_QPA_PLATFORMTHEME vble zsh: segmentation fault (core dumped) megasync "
temporary fix: QT_SCALE_FACTOR=1 megasync
Manjaro x64 20.2.1, xfce
MrSelfDestruct commented on 2021-01-08 19:29 (UTC)
As with most issues with this package, if the application suddenly stops working and gives a
megasync: symbol lookup error: megasync: undefined symbol: _ZNK8CryptoPP21KeyDerivationFunction16MinDerivedLengthEv
error in the terminal, simply recompile it and it will work fine.michaldybczak commented on 2021-01-07 21:26 (UTC)
Megasync worked well till recently and some updates forced me to recompile it. It turned out that the current build produces build error. I downgraded the package using version downloaded from the mega.nz site and... it works flawlessly.
m.schabhuettl commented on 2020-12-23 14:11 (UTC)
@servimo, @foozzi, @mithanan, @bartus: recompiling libpdfium before upgrading megasync fixes the issue.
bartus commented on 2020-12-23 08:25 (UTC)
@servimo, @foozzi, @mithanan: If I may suggest something, just use megasync-nopdfium i you can live without pdf preview in MEGASync ╮(˘、˘)╭
servimo commented on 2020-12-22 21:10 (UTC) (edited on 2020-12-22 21:12 (UTC) by servimo)
By changing in PKGBUILD like foozi (https://aur.archlinux.org/account/foozzi) libpdfium to libpdfium-nojs it seems to work
servimo commented on 2020-12-22 20:36 (UTC) (edited on 2020-12-22 20:37 (UTC) by servimo)
Error here: /usr/bin/ld: aviso: libicuuc.so.67, necessária para /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/libpdfium.so, não localizada (tente usar -rpath ou -rpath-link) /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/libpdfium.so: referência não definida para "u_tolower_67" /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/libpdfium.so: referência não definida para "u_toupper_67" /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/libpdfium.so: referência não definida para "u_isspace_67" /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/libpdfium.so: referência não definida para "u_isalnum_67" /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/libpdfium.so: referência não definida para "u_isalpha_67" collect2: error: ld returned 1 exit status make[1]: *** [Makefile:1187: megasync] Erro 1 make[1]: Saindo do diretório '/var/tmp/pamac-build-sergio/megasync/src/MEGAsync/src/MEGASync'
make: *** [Makefile:47: sub-MEGASync-make_first] Erro 2 ==> ERRO: Uma falha ocorreu em build(). Abortando...
mithanan commented on 2020-12-22 14:54 (UTC)
cannot build pacakge
/usr/bin/ld: warning: libicuuc.so.67, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/libpdfium.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/libpdfium.so: undefined reference to
u_tolower_67' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/libpdfium.so: undefined reference to
u_toupper_67' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/libpdfium.so: undefined reference tou_isspace_67' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/libpdfium.so: undefined reference to
u_isalnum_67' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/libpdfium.so: undefined reference to `u_isalpha_67' collect2: error: ld returned 1 exit status make[1]: [Makefile:1106: megasync] Error 1 make[1]: Leaving directory '/home/mithanan/.cache/yay/megasync/src/MEGAsync/src/MEGASync' make: [Makefile:47: sub-MEGASync-make_first] Error 2 ==> ERROR: A failure occurred in build(). Aborting...foozzi commented on 2020-12-19 17:04 (UTC)
just install https://aur.archlinux.org/packages/libpdfium-nojs/
glyons commented on 2020-11-18 16:36 (UTC)
Hi
Error: dependency not found: libpdfium, not installing . 11-2020 My Solution in PKGBUILD change libpdfium to libpdfium-nojs
regards
teacher4711 commented on 2020-11-09 18:34 (UTC) (edited on 2020-11-09 18:37 (UTC) by teacher4711)
I can install it from the aur. I've done this several times on my different machines (vanilla Arch). But I've had crashes after first starting up, which I've never had before. I think the issue resolved once the files were fully synced.
kemuzor commented on 2020-11-07 22:29 (UTC)
Error still occurs with megasync 4.3.5.0-1:
Setting QT_SCREEN_SCALE_FACTORS= "DVI-D-0=1" Error unsetting QT_QPA_PLATFORMTHEME vble [1] 114592 segmentation fault (core dumped) megasync
Is there anyone that can successfully install this app from AUR?
kemuzor commented on 2020-11-01 19:48 (UTC)
I am running 5.4.72-1-MANJARO and got the same error when starting megasync 4.3.3.0-2:
Setting QT_SCREEN_SCALE_FACTORS= "DVI-D-0=1" Error unsetting QT_QPA_PLATFORMTHEME vble [1] 22770 segmentation fault (core dumped) megasync
I tried to update the launch file as recommended by bionor but it didn't helped.
Megasync is by far my preferred cloud storage service so any help appreciated!
yoburtu commented on 2020-10-26 07:40 (UTC)
Hello, I can't build megasync:
error: target not found: libpdfium
jpggsb commented on 2020-09-14 12:30 (UTC)
Thank'you ! I TRYED : sudo env QT_SCALE_FACTOR=1 megasync RESULT : Not setting scale factors. Using predefined QT_SCALE_FACTOR= 1 Erreur de segmentation
bionor commented on 2020-09-14 12:01 (UTC)
@jpggsb
Try just running "env QT_SCALE_FACTOR=1 megasync" in the terminal and see if that works. If it does, just manually fix the *.desktop file yourself at the correct location (presumably "/usr/share/applications/megasync.desktop")
jpggsb commented on 2020-09-12 17:55 (UTC) (edited on 2020-09-12 18:05 (UTC) by jpggsb)
I tried your solution. But it doesn't work for me!
END OF THE INSTALLATION SEEMS TO BE OK! Paquets (1) megasync-4.3.3.0-2 Taille totale installée : 13.68 MiB Taille de mise à jour nette : 0.00 MiB
:: Procéder à l’installation ? [O/n] O (1/1) vérification des clés dans le trousseau [######################] 100% (1/1) vérification de l’intégrité des paquets [######################] 100% (1/1) chargement des fichiers des paquets [######################] 100% (1/1) analyse des conflits entre fichiers [######################] 100% (1/1) vérification de l’espace disque disponible [######################] 100% :: Traitement des changements du paquet… (1/1) réinstallation megasync [######################] 100% :: Exécution des crochets de post-transaction… (1/3) Arming ConditionNeedsUpdate... (2/3) Updating icon theme caches... (3/3) Updating the desktop file MIME type cache... erreur : missing 'libdmx' dependency for 'xorg-server-xdmx'
----- THEN I TRYED YOUR SOLUION sudo sed -i -r '/^TryExec/d;s|^(Exec=).*$|\1env QT_SCALE_FACTOR=1 megasync|g' /usr/share/applications/megasync.desktop [jpg@jpg-pc ~]$ cp /usr/share/applications/megasync.desktop ~/.config/autostart/ cp : voulez-vous écraser '/home/jpg/.config/autostart/megasync.desktop' ? O [jpg@jpg-pc ~]
$ megasync Erreur de segmentation (core dumped)
[jpg@jpg-pc ~]$ uname -r 5.4.64-1-MANJARO
THE CONTENT OF MEGASYNC IN .CONFIG SEEMS ALSO AS YOU PROPOSE [Desktop Entry] Type=Application Version=1.0 GenericName=File Synchronizer Name=MEGAsync Comment=Easy automated syncing between your computers and your MEGA cloud drive. Exec=env QT_SCALE_FACTOR=1 megasync Icon=mega Terminal=false Categories=Network;System; StartupNotify=false X-GNOME-Autostart-Delay=
DO YOU SEE ANYTHING WRONG ? THANK YOU !
bionor commented on 2020-09-07 21:32 (UTC)
I had the segmentation fault as well and I tried this I found on github and it worked for me :)
"you can fix this by adding the env variable in the launch file: e.g.: nano /usr/share/applications/megasync.desktop
and then replace "Exec=megasync" with "Exec=env QT_SCALE_FACTOR=1 megasync"
remove the TryExec line and save. you can then copy the megasync.desktop launch file to your autostart folder, e.g.:
cp /usr/share/applications/megasync.desktop ~/.config/autostart/
if you don't want to vi/nano, you can use sed, e.g.: sudo sed -i -r '/^TryExec/d;s|^(Exec=).*$|\1env QT_SCALE_FACTOR=1 megasync|g' /usr/share/applications/megasync.desktop
and then copy the changed file to your autostart folder.
this worked even with the latest deepin-qt5integration 5.1.0.1-2 installed."
jpggsb commented on 2020-09-06 20:50 (UTC) (edited on 2020-09-07 20:28 (UTC) by jpggsb)
Great that megasync 4.3.3.0-2 was just updated ! I installed it without problem, via yaourt. But on starting, I find this message : "segmentation error" (core dumped). Where is the problem ?
teacher4711 commented on 2020-09-02 18:32 (UTC)
For me too. Looking forward to the update.
UNP6GDXDXA commented on 2020-08-31 21:00 (UTC)
ServiDei's patch worked.
kinoe commented on 2020-08-26 18:35 (UTC)
Thank you ServiDei. Build ran smoothly. Hope this issue will be fixed.
ServiDei commented on 2020-08-26 18:01 (UTC) (edited on 2020-08-26 21:33 (UTC) by ServiDei)
@kinoe, I made file
crashhandler.patch
myself, so create it :) It's content in my previous comment.kinoe commented on 2020-08-26 17:46 (UTC)
@ServiDei, sorry for not getting it! I don't find that crashhandler.patch in the downloaded snapshots :(
ServiDei commented on 2020-08-26 16:58 (UTC) (edited on 2020-08-26 17:59 (UTC) by ServiDei)
@kinoe, I've build megasync manually. I have modified PKGBUILD file to apply patch that I created.
Create file
crashhandler.patch
near PKGBUILD with following content:Add lines 36-37 to PKGBUILD so prepare() function will look like this:
kinoe commented on 2020-08-26 16:21 (UTC)
@ServiDei, how to replace sys_siglist[sig] with strsignal(sig)? Could you go a bit more into details?
ServiDei commented on 2020-08-25 21:39 (UTC)
Build failed on MEGASync/control/CrashHandler.cpp because sys_siglist not found. Solved by replacing
sys_siglist[sig]
withstrsignal(sig)
.kinoe commented on 2020-08-24 19:50 (UTC) (edited on 2020-08-26 17:35 (UTC) by kinoe)
Building with yay failed
dctxmei commented on 2020-08-06 04:31 (UTC)
Hello, I suggest to modify the libpdfium dependency to libpdfium-nojs, because libpdfium itself does not exist, but is provided by libpdfium-nojs.
teacher4711 commented on 2020-07-27 21:40 (UTC)
@FabioLolix
OK, thank you. I rebuilt the package and now it starts.
Now only the version upgrade to 4.3.3 has to be done.
Thanks!
FabioLolix commented on 2020-07-27 19:31 (UTC)
@teacher4711 you need to rebuild megasync against libraw new version
Palanthis commented on 2020-07-27 19:25 (UTC)
Quick bandaid for the libraw error: sudo ln -sf /usr/lib/libraw.so.20 /usr/lib/libraw.so.19
teacher4711 commented on 2020-07-27 16:09 (UTC)
The latest libraw 0.20.0-1 prevents megasync from starting (megasync: error while loading shared libraries: libraw.so.19: cannot open shared object file: No such file or directory) Reverting back to libraw 0.19.5-3 fixes the issue.
tinywrkb commented on 2020-07-27 15:38 (UTC)
I haven't built the PKGBUILD as I'm using Flatpak but the latest 4.3.3.0 seems to need something like this:
"QMAKE_INCDIR+=$PWD/MEGASync/mega/include" "QMAKE_INCDIR+=$PWD/MEGASync/mega/bindings/qt"
And I had to drop pdfium.patch as it broke sdk.pri. I just disabled pdfium.
attila123 commented on 2020-06-29 10:42 (UTC) (edited on 2020-06-29 10:43 (UTC) by attila123)
Hi, does not build for me (with Manjaro package base at least).Eg. "gui/MegaSpeedGraph.h:31:18: error: field ‘linePath’ has incomplete type ‘QPainterPath’", and the same error from other source files.
tinywrkb commented on 2020-06-18 20:17 (UTC) (edited on 2020-06-19 15:45 (UTC) by tinywrkb)
@Kozeid, the package is missing xdg-utils and xorg-xrdb. The app runs fine without them but will complain, just start it from the command line in a clean chroot.
I would add xdg-utils to depends and xorg-xrdb to optdepnds.
There a bug report regarding the xrdb dependency so you probably want to subscribe to it.
I plan to open a bug report about the linking against libstc++fs.a static lib that is needed for <std::experimental::filesystem>.
If you look at src/MEGASync/mega/src/autocomplete.cpp you'll see that it has a test for cpp17 and it uses <std::filesystem> instead if true.
Tthis means it doesn't really need libstc++fs.a which I confirmed by patching the lib linking out, building in a clean chroot, and it seems to work fine without needing to force -std=c++17 cxxflag, but just keep this cxxflag in mind.
This libstc++fs.a static linking is a non-issue for Arch but quite a problem with Flatpak which is why I'm reporting it.
edit: megasync libstdc++fs bug report
u666sa commented on 2020-06-07 11:14 (UTC)
@Kozeid edit PKGBUILD change libpdfium to libpdfium-nojs, otherwise it doesn't build, says can't satisfy dependencies.
ava1ar commented on 2020-06-02 16:29 (UTC)
Tiny patch is required to fix build with QT 5.15+: https://pastebin.com/cJb5MG1a
DanielRichtmann commented on 2020-05-12 11:40 (UTC)
For anyone seeing a segfault, see https://github.com/meganz/MEGAsync/issues/443.
graves501 commented on 2020-05-09 13:08 (UTC) (edited on 2020-05-09 13:10 (UTC) by graves501)
Rebuilding
libpdfium-nojs
like @edacval suggested seemed to fix thelibicuuc.so.65: cannot open shared object file: No such file or directory
error. Thanks!edacval commented on 2020-05-06 16:54 (UTC)
@acp0112 just rebuild and reinstall libpdfium/libpdfium-nojs, before building megasync
wolfjb commented on 2020-05-06 16:12 (UTC)
@acp0112, you need to install icu65 to satisfy that library.
acp0112 commented on 2020-05-06 05:32 (UTC)
i am currently getting the error "megasync: error while loading shared libraries: libicuuc.so.65: cannot open shared object file: No such file or directory" when executing megasync.
ananixon commented on 2020-05-04 14:18 (UTC)
https://aur.archlinux.org/packages/megasync#comment-738495 I'm having the exact same issue as @hassan089. Megasync makes gnome 3.36 super laggy. Anyone has any clue why?
Aleksandr commented on 2020-05-02 09:58 (UTC)
https://aur.archlinux.org/packages/megasync#comment-742439 Dude, just use it https://aur.archlinux.org/packages/megasync-nopdfium
FlashNoob98 commented on 2020-04-30 13:32 (UTC)
there is no libpdfium on AUR, please can you change it with libpdfium-nojs ?
hassan089 commented on 2020-04-09 16:28 (UTC)
i'm on gnome 3.36, and megasync is making gnome very laggy, does anyone have the same issue ?
dmshimself commented on 2020-03-08 03:15 (UTC)
that stripped version works for me bartus - thanks
robson commented on 2020-03-06 13:49 (UTC)
Megasync-git doesn't need this idiotic dependency. https://aur.archlinux.org/packages/megasync-git/ And the latest version is being built, v4.3.0.8.0.g5899d638-1.
bartus commented on 2020-03-06 08:29 (UTC)
@michaldybczak: I've stripped the pdfium dep, try this one
bartus commented on 2020-03-06 08:02 (UTC)
@michaldybczak: Sadly it looks like this is a required, not optional component: `include/mega.h
michaldybczak commented on 2020-03-05 22:28 (UTC)
libpdfium is now considered a dependency! Is it really? I could only get it through AUR (libpdfium-nojs) which tells me that this is some obscure package and there should be some better alternative. I needed to download over 400MB to install it! This looks ridiculous.
radu commented on 2020-03-05 14:08 (UTC) (edited on 2020-03-05 14:18 (UTC) by radu)
Cannot build megasync 4.2.5.4 I tried updating PKGBUILD with -fpermissive and still doesn't build.
strobelite commented on 2020-03-01 18:11 (UTC)
For those on GNOME wondering how to run MEGAsync in the background (you may get a notification on startup that it can't find a system tray,) I used the GNOME extension called Tray Icons. Install that, then restart MEGAsync, and now it will run in the background the way it was supposed to.
ix5231 commented on 2019-10-15 10:33 (UTC)
Workaround: Add
-fpermissive
toQMAKE_CXXFLAGS
For the AUR
PKGBUILD
:Stane1983 commented on 2019-10-08 16:48 (UTC)
Error while building on gcc 9.2.0:
google_breakpad/client/linux/handler/exception_handler.cc:107:12: error: 'int tgkill(pid_t, pid_t, int)' was declared 'extern' and later 'static' [-fpermissive] 107 | static int tgkill(pid_t tgid, pid_t tid, int sig) { | ^~~~~~
dnmodder commented on 2019-10-03 20:11 (UTC)
Can you change the source for tar.gz? yay marks it to me as a devel package and I think it's due to that.
alfa8my commented on 2019-09-05 06:03 (UTC)
I am trying to update this, but the package cannot be downloaded: "HTTP server doesn't seem to support byte ranges. Cannot resume."
Kozeid commented on 2019-08-03 17:22 (UTC)
Expired signatures are only used by packages from MEGA's official repositories. This AUR package is not affected.
linuxyz commented on 2019-08-01 08:16 (UTC)
The package was updated by the MEGA team due to signature expiry. See: https://mega.nz/blog_55
Infinite.New1 commented on 2019-07-05 14:24 (UTC)
The "gcc-libs" got updated to 9.1.0-2 with the latest stable updates (2019-07-03) so no more errors now...
GuyDuNigo commented on 2019-07-05 06:08 (UTC)
@CorruptComputer make and automake are in base-devel package group and are supposed to be installed when using AUR. So they shouldn't be added to the package dependencies.
See: https://wiki.archlinux.org/index.php/PKGBUILD#makedepends
And I don't have autogen installed but can still compile the package.
CorruptComputer commented on 2019-07-05 04:58 (UTC)
There are missing dependencies here, you need to add make, automake, and autogen to the dependencies, as without this these the build will fail.
Infinite.New1 commented on 2019-07-02 23:17 (UTC)
Tried a couple of things but always receiving this message :
could not satisfy dependencies: unable to satisfy dependency 'gcc-libs>=9.1.0' required by megasync
I have "gcc-libs 8.3.0-1" but I'm not able to upgrade to 9.x.x.
Thank you for your upcoming suggestions...
kIERO commented on 2019-06-25 17:14 (UTC)
warning: cannot resolve "gcc-libs>=9.1.0", a dependency of "megasync"
Palanthis commented on 2019-06-16 23:37 (UTC)
Switched to megasync-git (v4.1.1.0.3) - Seems to be working. Been running for several hours without crashing.
glow8 commented on 2019-06-16 20:27 (UTC)
Segmentation fault here too, here's a dump of the error: https://www.pastiebin.com/5d06a624c8e7f
Palanthis commented on 2019-06-14 14:55 (UTC)
Still getting a segfault with this new version, sadly.
attila123 commented on 2019-05-30 19:25 (UTC)
@mareke great :D
mareke commented on 2019-05-30 18:46 (UTC)
pikaur -S megasync --rebuild Now megasync works! Thanks @attila123
attila123 commented on 2019-05-30 18:34 (UTC) (edited on 2019-05-30 18:35 (UTC) by attila123)
@Narga, I deleted (just for clarity) and re-installed megasync on my Manjaro installation. Note: initially, after update I also had the problem with libcryptopp.so.7, but that got fixed by re-installing megasync. I copy-pasted the full build output and after that I also did an
ldd /usr/bin/megasync
, plus I ran it from terminal to see that it really does not report any problem. These are all included here (needed 2 parts because of the size limitation for free users on pastebin): https://pastebin.com/5kBpac4s https://pastebin.com/zG5BCaEA Hope this helps :) PS: not sure why you would need to create any symlink ?!?Narga commented on 2019-05-30 16:20 (UTC)
@attila123: I recompile, reconfigure, reinstall and created a symlink of libcryptopp.so but it still is not work.
attila123 commented on 2019-05-30 15:35 (UTC) (edited on 2019-05-30 15:41 (UTC) by attila123)
It was flagged falsely out-of-date on 2019-05-22 with the reason "libcryptopp.so.7: cannot open shared object file: No such file or directory". But there is no problem with this package, just the crypto++ package got an update, so in this case just re-install megasync (will re-configure and re-compile it). Just tried it, works fine. Update: I just see it had a crash (segmentation fault), but other than that it seems to work.
Leeo97one commented on 2019-05-23 17:32 (UTC)
Wait, I just installed it on my fresh Arch Linux and no problem so far.
Auswaschbar commented on 2019-05-14 17:43 (UTC)
@paumars same here
paumars commented on 2019-05-11 11:17 (UTC) (edited on 2019-05-11 11:18 (UTC) by paumars)
I'm not able to build the package because it has undefined references to
libavformat
functions, even though I have it viaffmpeg
. Does anyone have this error as well?pescepalla commented on 2019-05-04 12:02 (UTC)
Ah, yes. Perfect, thanks.
GuyDuNigo commented on 2019-05-03 15:06 (UTC)
@pescepalla This is maybe due to some cache that prevent megasync to recompile if the source code didn't change (especially if you use a tool like 'yay' to manage AUR packages). If you use yay: try removing
~/.cache/yay/megasync
and building again.pescepalla commented on 2019-05-03 13:44 (UTC)
Reinstalling doesn't work here, but the git version does.
wan109020 commented on 2019-05-03 04:43 (UTC)
@GuyDuNigo I reinstalled this package and it build again with the new crypto++ flawlessly. Reinstalling works for me
GuyDuNigo commented on 2019-05-02 06:19 (UTC) (edited on 2019-05-02 06:20 (UTC) by GuyDuNigo)
@levinit It means the libcrypto was updated, try rebuilding the megasync package, it usually fixes the issue.
However, when doing so, I get : 'mega/src/posix/fs.cpp: internal compiler error: SegFault error'...
levinit commented on 2019-05-02 03:20 (UTC)
$ megasync megasync: error while loading shared libraries: libcryptopp.so.7: cannot open shared object file: No such file or directory which package provides libcrpytopp.so ?
Kozeid commented on 2019-04-07 15:11 (UTC)
@radmen You need to install base-devel group before building packages from AUR.
https://wiki.archlinux.org/index.php/Arch_User_Repository#Prerequisites
radmen commented on 2019-04-06 21:33 (UTC)
This packages misses two dependencies:
guicolorado commented on 2019-01-25 02:33 (UTC)
O PKGBUILD está com algum erro no build.
Info: creating stash file /home/colorado/.cache/yay/megasync/src/MEGAsync/src/.qmake.stash lrelease-qt5: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory ==> ERRO: Uma falha ocorreu em build(). Abortando... Error making: megasync [colorado@archlinux ~]$
commented on 2018-12-26 23:56 (UTC)
Works brilliantly ... thank you. :-)
Kozeid commented on 2018-12-01 17:58 (UTC) (edited on 2018-12-01 17:58 (UTC) by Kozeid)
@dixi_minga autoconf belongs to the base-devel group and doesn't need to be listed as a dependency.
https://wiki.archlinux.org/index.php/Arch_User_Repository#Prerequisites
dixi_minga commented on 2018-12-01 17:50 (UTC) (edited on 2018-12-01 17:51 (UTC) by dixi_minga)
I needed to install "autoconf" because autoreconf was missing So it should be a dependency
bluntroller commented on 2018-10-29 17:07 (UTC)
Compiles like a charm... Thanks!
Kozeid commented on 2018-09-26 09:42 (UTC)
@zfkerr I can't reproduce this error. How big is your /tmp partition? Can you try building it manually, without yaourt?
zfkerr commented on 2018-09-25 19:51 (UTC) (edited on 2018-09-25 19:52 (UTC) by zfkerr)
@Kozeid , hi! Sadly, but I can't build it:
jontxo commented on 2018-09-24 17:25 (UTC)
Hello
with a commit they have performed: https://github.com/meganz/MEGAsync/issues/231. It is possible to compile the git version of this package. This is the PKGBUILD I have used
Maintainer: Gustavo Alvarez sl1pkn07@gmail.com
Contributor: Archimede Pitagorico archimede.pitagorico@mail.com
Contributor: Alfonso Saavedra "Son Link" sonlink.dourden@gmail.com
pkgbase=megasync-git pkgname=('libmega-git' 'megasync-git' 'megasync-daemon-git' 'megasync-cli-git' 'python-megasync-git' 'python2-megasync-git' 'fuse-megasync-git' ) pkgver=v3.7.1.0.2.g42144d4f pkgrel=1 pkgdesc="Sync your files to your Mega account. (GIT Version)" arch=('i686' 'x86_64') url='https://mega.co.nz/#sync' license=('custom:MEGA') source=('git+https://github.com/meganz/MEGAsync.git' 'git+https://github.com/meganz/sdk.git#branch=release/v3.4.1' 'mega.svg' 'megasync.conf' 'megasyncd.service' ) makedepends=('qt5-base' 'c-ares' 'libuv' 'curl' 'crypto++' 'libsodium' 'git' 'qt5-tools' 'cython' 'python' 'cython2' 'python2' 'swig' 'fuse2' 'pcre' ) sha256sums=('SKIP' 'SKIP' 'c0abfeafb541509923c85d253f6f64dae8a49e9ae4b067f5c0c484ff1d924403' 'a3d30b3e198c3c117b2dd3144acaeb66117ee013744d2a0f39e9d4624b979a22' '73600a6d5e7ddbb6d0a3eff22aa05cc22715c2b02be7e62d16c2c71ac17a5ad5' ) options=('!buildflags')
pkgver() { cd MEGAsync echo "$(git describe --long --tags | tr - . | tr _ . | sed 's|OSX.||' | sed 's|Win.||' | sed 's|Linux.||' )" }
prepare() { (git clone "${srcdir}/sdk" build; cd build; ./autogen.sh) (git clone "${srcdir}/sdk" build-python2; cd build-python2; ./autogen.sh)
cd MEGAsync git config submodule.src/MEGASync/mega.url "${srcdir}/sdk" git submodule update --init
cd src/MEGASync/mega ./autogen.sh }
build() { msg2 "Build libmega and programs, include Python bindings" cd "${srcdir}/build" ./configure \ --prefix=/usr \ --without-freeimage \ --enable-python \ --with-python3
make
msg2 "Build python2 bindings" cd "${srcdir}/build-python2" PYTHON=python2 \ PYTHON_VERSION="$(python2 -c "import platform; print('.'.join(platform.python_version_tuple()[:2]))")" \ ./configure \ --prefix=/usr \ --without-freeimage \ --disable-examples \ --enable-python
make
msg2 "Build MEGASync" cd "${srcdir}/MEGAsync/src/MEGASync/mega" ./configure \ --prefix=/usr \ --without-freeimage
cd "${srcdir}/MEGAsync/src/MEGASync" lrelease-qt5 MEGASync.pro qmake-qt5 CONFIG+=debug MEGASync.pro make }
package_megasync-git() { pkgdesc="MEGASync Desktop App. (GIT Version)" conflicts=('megasync' 'megatools' ) provides=('megasync') depends=('qt5-base' 'c-ares' 'libuv' 'curl' 'crypto++' 'libsodium' 'hicolor-icon-theme' )
install -Dm644 MEGAsync/LICENCE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm755 MEGAsync/src/MEGASync/megasync "${pkgdir}/usr/bin/megasync" install -Dm644 MEGAsync/src/MEGASync/platform/linux/data/megasync.desktop "${pkgdir}/usr/share/applications/megasync.desktop" sed 's|System;||g' -i "${pkgdir}/usr/share/applications/megasync.desktop" install -Dm644 "${srcdir}/mega.svg" "${pkgdir}/usr/share/pixmaps/mega.svg" }
package_libmega-git() { pkgdesc="MEGASync libs (GIT Version)" conflicts=('libmega') provides=('libmega') depends=('c-ares' 'curl' 'crypto++' 'libsodium' 'sqlite' )
install -Dm644 MEGAsync/LICENCE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" make -C build DESTDIR="${pkgdir}" install-data make -C build DESTDIR="${pkgdir}" install-libLTLIBRARIES make -C build DESTDIR="${pkgdir}" install-pkgconfigDATA make -C build DESTDIR="${pkgdir}" install-pkglibLTLIBRARIES make -j1 -C build DESTDIR="${pkgdir}" uninstall-pkgpythonPYTHON make -j1 -C build DESTDIR="${pkgdir}" uninstall-pkgpyexecLTLIBRARIES make -j1 -C build DESTDIR="${pkgdir}" uninstall-nodist_pkgpythonPYTHON rm -fr "${pkgdir}/$(python -c "import os; import inspect; print(os.path.dirname(inspect.getfile(inspect)))")" }
package_fuse-megasync-git() { pkgdesc="MEGASync client based on FUSE (GIT Version)" conflicts=('fuse-megasync') provides=('fuse-megasync') depends=(libmega-git 'fuse2' ) options=('!emptydirs')
install -Dm644 MEGAsync/LICENCE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" make -C build DESTDIR="${pkgdir}" install-binPROGRAMS make -C build DESTDIR="${pkgdir}" uninstall-libLTLIBRARIES rm -fr "${pkgdir}/usr/bin/megacli" rm -fr "${pkgdir}/usr/bin/megasimplesync" rm -fr "${pkgdir}/usr/bin/mega-cmd" rm -fr "${pkgdir}/usr/bin/mega-exec" }
package_megasync-daemon-git() { pkgdesc="MEGASync daemon client. (GIT Version)" conflicts=('megasync-daemon') provides=('megasync-daemon') depends=('libmega-git') options=('!emptydirs') backup=('etc/conf.d/megasync.conf')
install -Dm644 MEGAsync/LICENCE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" make -C build DESTDIR="${pkgdir}" install-binPROGRAMS make -C build DESTDIR="${pkgdir}" uninstall-libLTLIBRARIES rm -fr ${pkgdir}/usr/bin/megacli rm -fr ${pkgdir}/usr/bin/megafuse rm -fr "${pkgdir}/usr/bin/mega-cmd" rm -fr "${pkgdir}/usr/bin/mega-exec"
install -Dm644 "${srcdir}/megasyncd.service" "${pkgdir}/usr/lib/systemd/system/megasyncd.service" install -Dm600 "${srcdir}/megasync.conf" "${pkgdir}/etc/conf.d/megasync.conf" install -d "${pkgdir}/srv/mega" install -dm700 "${pkgdir}/var/mega" }
package_megasync-cli-git() { pkgdesc="MEGASync CLI client. (GIT Version)" conflicts=('megasync-cli') provides=('megasync-cli') depends=('libmega-git' 'pcre' ) options=('!emptydirs')
install -Dm644 MEGAsync/LICENCE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" make -C build DESTDIR="${pkgdir}" install-binPROGRAMS make -C build DESTDIR="${pkgdir}" uninstall-libLTLIBRARIES rm -fr ${pkgdir}/usr/bin/megafuse rm -fr ${pkgdir}/usr/bin/megasimplesync } package_python-megasync-git() { pkgdesc="Python Bindings for MEGASync. (GIT Version)" conflicts=('python-megasync') provides=('python-megasync') depends=('libmega-git' 'python' )
install -Dm644 MEGAsync/LICENCE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" make -C build DESTDIR="${pkgdir}" install-libLTLIBRARIES make -C build DESTDIR="${pkgdir}" install-pkgpythonPYTHON make -C build DESTDIR="${pkgdir}" install-pkgpyexecLTLIBRARIES make -C build DESTDIR="${pkgdir}" uninstall-libLTLIBRARIES } package_python2-megasync-git() { pkgdesc="Python2 Bindings for MEGASync. (GIT Version)" conflicts=('python2-megasync') provides=('python2-megasync') depends=('libmega-git' 'python2' )
install -Dm644 MEGAsync/LICENCE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" make -C build DESTDIR="${pkgdir}" install-libLTLIBRARIES make -C build-python2 DESTDIR="${pkgdir}" install-pkgpythonPYTHON make -C build-python2 DESTDIR="${pkgdir}" install-pkgpyexecLTLIBRARIES make -C build DESTDIR="${pkgdir}" uninstall-libLTLIBRARIES }
kikadf commented on 2018-09-24 07:53 (UTC)
I move from Arch Linux, so who would like to maintain this package, let's do it! Bye :)
aleextra commented on 2018-09-23 20:18 (UTC)
I have same issue for a few days for now. @Menelkir thank you for the tip to install directly from mega.nz.
commented on 2018-09-22 19:35 (UTC)
Doesn't build to me (like @jontxo and @meowxiik), and it's being some time already. I've made a report in megasync github because it seems like the software itself.
https://github.com/meganz/MEGAsync/issues/231
DevPre24 commented on 2018-09-22 15:00 (UTC) (edited on 2018-09-22 15:03 (UTC) by DevPre24)
@jontxo @meowxiik +1. For the moment i reverted back to the official tar.xz package offered at "https://mega.nz/sync".
meowxiik commented on 2018-09-22 14:21 (UTC)
Got the same error as @jontxo, ambiguous call to RSA_get0_n
jontxo commented on 2018-09-19 05:36 (UTC)
When I try to compile the latest version after the following error: '''
mega/src/posix/net.cpp: In static member function ‘static int mega::CurlHttpIO::cert_verify_callback(X509_STORE_CTX, void)’: mega/src/posix/net.cpp:2576:59: error: call of overloaded ‘RSA_get0_n(rsa_st)’ is ambiguous if (BN_num_bytes(RSA_get0_n(EVP_PKEY_get0_RSA(evp))) == sizeof APISSLMODULUS1 - 1 ^ mega/src/posix/net.cpp:2526:15: note: candidate: ‘const BIGNUM mega::RSA_get0_n(const RSA)’ const BIGNUM RSA_get0_n(const RSA rsa) ^~~~~~~~~~ In file included from /usr/include/openssl/x509.h:25, from /usr/include/openssl/ssl.h:20, from mega/include/mega/posix/meganet.h:28, from mega/include/mega.h:76, from mega/src/posix/net.cpp:22: /usr/include/openssl/rsa.h:219:15: note: candidate: ‘const BIGNUM RSA_get0_n(const RSA)’ const BIGNUM RSA_get0_n(const RSA d); ^~~~~~~~~~ In file included from /usr/include/openssl/asn1.h:23, from /usr/include/openssl/objects.h:15, from /usr/include/openssl/evp.h:28, from /usr/include/openssl/x509.h:18, from /usr/include/openssl/ssl.h:20, from mega/include/mega/posix/meganet.h:28, from mega/include/mega.h:76, from mega/src/posix/net.cpp:22: mega/src/posix/net.cpp:2577:66: error: call of overloaded ‘RSA_get0_e(rsa_st)’ is ambiguous && BN_num_bytes(RSA_get0_e(EVP_PKEY_get0_RSA(evp))) == sizeof APISSLEXPONENT - 1) ^ mega/src/posix/net.cpp:2537:15: note: candidate: ‘const BIGNUM mega::RSA_get0_e(const RSA)’ const BIGNUM RSA_get0_e(const RSA rsa) ^~~~~~~~~~ In file included from /usr/include/openssl/x509.h:25, from /usr/include/openssl/ssl.h:20, from mega/include/mega/posix/meganet.h:28, from mega/include/mega.h:76, from mega/src/posix/net.cpp:22: /usr/include/openssl/rsa.h:220:15: note: candidate: ‘const BIGNUM RSA_get0_e(const RSA)’ const BIGNUM RSA_get0_e(const RSA d); ^~~~~~~~~~ mega/src/posix/net.cpp:2579:56: error: call of overloaded ‘RSA_get0_n(rsa_st)’ is ambiguous BN_bn2bin(RSA_get0_n(EVP_PKEY_get0_RSA(evp)), buf); ^ mega/src/posix/net.cpp:2526:15: note: candidate: ‘const BIGNUM mega::RSA_get0_n(const RSA)’ const BIGNUM RSA_get0_n(const RSA rsa) ^~~~~~~~~~ In file included from /usr/include/openssl/x509.h:25, from /usr/include/openssl/ssl.h:20, from mega/include/mega/posix/meganet.h:28, from mega/include/mega.h:76, from mega/src/posix/net.cpp:22: /usr/include/openssl/rsa.h:219:15: note: candidate: ‘const BIGNUM RSA_get0_n(const RSA)’ const BIGNUM RSA_get0_n(const RSA d); ^~~~~~~~~~ mega/src/posix/net.cpp:2587:60: error: call of overloaded ‘RSA_get0_e(rsa_st)’ is ambiguous BN_bn2bin(RSA_get0_e(EVP_PKEY_get0_RSA(evp)), buf); ^ mega/src/posix/net.cpp:2537:15: note: candidate: ‘const BIGNUM mega::RSA_get0_e(const RSA)’ const BIGNUM RSA_get0_e(const RSA rsa) ^~~~~~~~~~ In file included from /usr/include/openssl/x509.h:25, from /usr/include/openssl/ssl.h:20, from mega/include/mega/posix/meganet.h:28, from mega/include/mega.h:76, from mega/src/posix/net.cpp:22: /usr/include/openssl/rsa.h:220:15: note: candidate: ‘const BIGNUM RSA_get0_e(const RSA)’ const BIGNUM RSA_get0_e(const RSA d); ^~~~~~~~~~ In file included from /usr/include/openssl/asn1.h:23, from /usr/include/openssl/objects.h:15, from /usr/include/openssl/evp.h:28, from /usr/include/openssl/x509.h:18, from /usr/include/openssl/ssl.h:20, from mega/include/mega/posix/meganet.h:28, from mega/include/mega.h:76, from mega/src/posix/net.cpp:22: mega/src/posix/net.cpp:2602:102: error: call of overloaded ‘RSA_get0_n(rsa_st)’ is ambiguous LOG_warn << "Public key size mismatch " << BN_num_bytes(RSA_get0_n(EVP_PKEY_get0_RSA(evp))) << " " << BN_num_bytes(RSA_get0_e(EVP_PKEY_get0_RSA(evp))); ^ mega/src/posix/net.cpp:2526:15: note: candidate: ‘const BIGNUM mega::RSA_get0_n(const RSA)’ const BIGNUM RSA_get0_n(const RSA rsa) ^~~~~~~~~~ In file included from /usr/include/openssl/x509.h:25, from /usr/include/openssl/ssl.h:20, from mega/include/mega/posix/meganet.h:28, from mega/include/mega.h:76, from mega/src/posix/net.cpp:22: /usr/include/openssl/rsa.h:219:15: note: candidate: ‘const BIGNUM RSA_get0_n(const RSA)’ const BIGNUM RSA_get0_n(const RSA d); ^~~~~~~~~~ In file included from /usr/include/openssl/asn1.h:23, from /usr/include/openssl/objects.h:15, from /usr/include/openssl/evp.h:28, from /usr/include/openssl/x509.h:18, from /usr/include/openssl/ssl.h:20, from mega/include/mega/posix/meganet.h:28, from mega/include/mega.h:76, from mega/src/posix/net.cpp:22: mega/src/posix/net.cpp:2602:161: error: call of overloaded ‘RSA_get0_e(rsa_st)’ is ambiguous LOG_warn << "Public key size mismatch " << BN_num_bytes(RSA_get0_n(EVP_PKEY_get0_RSA(evp))) << " " << BN_num_bytes(RSA_get0_e(EVP_PKEY_get0_RSA(evp))); ^ mega/src/posix/net.cpp:2537:15: note: candidate: ‘const BIGNUM mega::RSA_get0_e(const RSA)’ const BIGNUM RSA_get0_e(const RSA rsa) ^~~~~~~~~~ In file included from /usr/include/openssl/x509.h:25, from /usr/include/openssl/ssl.h:20, from mega/include/mega/posix/meganet.h:28, from mega/include/mega.h:76, from mega/src/posix/net.cpp:22: /usr/include/openssl/rsa.h:220:15: note: candidate: ‘const BIGNUM RSA_get0_e(const RSA)’ const BIGNUM RSA_get0_e(const RSA d); ^~~~~~~~~~ make[1]: [Makefile:5470: net.o] Error 1 make[1]: Leaving directory '/home/demian/.cache/aurman/megasync/src/MEGAsync-3.6.7.0_Win/src/MEGASync' make: [Makefile:45: sub-MEGASync-make_first] Error 2 ==> ERROR: A failure occurred in build(). Aborting... 2018-09-19 07:30:30,418 - wrappers - makepkg - ERROR - makepkg query ['makepkg', '-cf', '--noconfirm'] failed in directory /home/user/.cache/aurman/megasync '''
JotEs commented on 2018-08-19 09:35 (UTC)
I first deleted megasync-3.6.6.0.0-4 (AUR package version). Then I installed v. 3.6.7.0-1 (AUR) successfully. However, MEGAsync Info 3.6.6 (99a46c) shows !
kikadf commented on 2018-08-17 12:20 (UTC)
@JotEs: don't understand. megasync-3.6.7-1 (in your commit) versus megasync-3.6.6.0-4 (AUR package version)
JotEs commented on 2018-08-17 10:11 (UTC)
Mir wird seit einigen Tagen angeboten: Pakete (1) megasync-3.6.7-1 Aber: Fehler: Konnte Datei 'megasync-3.6.7-1-x86_64.pkg.tar.xz' nicht von mega.nz übertragen : HTTP server doesn't seem to support byte ranges. Cannot resume. Warnung: Konnte einige Dateien nicht übertragen Fehler: Konnte den Vorgang nicht durchführen (Fehler in der Bibliothek für Downloads) Fehler sind aufgetreten, keine Pakete wurden aktualisiert.
kikadf commented on 2018-08-05 10:38 (UTC) (edited on 2018-08-05 10:38 (UTC) by kikadf)
@erayerdin, autoconf and automake is part of the base packages as well.
erayerdin commented on 2018-08-02 09:09 (UTC) (edited on 2018-08-02 09:11 (UTC) by erayerdin)
autoconf installed, yet there is still one error:
autoreconf: running: aclocal -I m4 --output=aclocal.m4t Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326. autoreconf: failed to run aclocal: No such file or directory
For those who get this error, install autoconf and automake. It builds successfully.
simona commented on 2018-06-20 20:11 (UTC)
Wayland support for tray?
kikadf commented on 2018-06-13 14:27 (UTC)
@pedrogabriel: do you have installed autoconf package?
pedrogabriel commented on 2018-06-13 13:53 (UTC)
The package does not build.
==> Iniciando build()... ./autogen.sh: linha 2: autoreconf: comando não encontrado ==> ERRO: Uma falha ocorreu em build(). Abortando... Error making: megasync
kikadf commented on 2018-06-02 18:32 (UTC)
@wyre: I can't help. Try to make a lib32-crypto++ package, and use this as dependency. Linking doesn't work.
kikadf commented on 2018-06-02 18:21 (UTC) (edited on 2018-06-02 18:22 (UTC) by kikadf)
@FFY00: I use the latest release as source, not from tarball, but from git tag. It is not a -git package. I use this method, because need the mega-sdk source to the build, what is a submodule in the megasync git repo, so this is the easiest way to get the whole source. Altough I don't like this, because the megasync source is the latest release, but the mega-sdk source is not. I will try to find a good solution to use the latest mega-sdk release as source.
FFY00 commented on 2018-06-01 23:05 (UTC) (edited on 2018-06-01 23:05 (UTC) by FFY00)
You are using the git repository as a source. Normal packages, and by normal I mean non -git or other vcs, should have a valid checksum. Since this is released on github, you can just use the automatically generated .tar.gz release file as a source.
You can check out this sample PKGBUILD: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=limesuite
Info about -git packages: https://wiki.archlinux.org/index.php/Arch_User_Repository#What_is_the_difference_between_foo_and_foo-git_packages.3F
Thanks for your time :)
jfernandz commented on 2018-06-01 21:03 (UTC) (edited on 2018-06-01 21:09 (UTC) by jfernandz)
I'm trying build the 32bit version on my 64bit system following this guide
https://wiki.archlinux.org/index.php/makepkg#Build_32-bit_packages_on_a_64-bit_system
but I'm having crypo++ libs issues
Of course I've got installed crypto++ 7 version.
I think this is happening because I haven't got
libraries inside /usr/lib32 folder, there is no lib32-crypto++ version? Could I fix this issue doing a symlink?
CapSel commented on 2018-04-20 09:25 (UTC)
I've encountered a bug when using this package. Every time I try to select local directory (adding sync or selecting download directory) megasync crashes.
If you have same bug then you can follow these instructions from pm@mega.nz:
try to recompile removing this line of code in src/MEGASync/MegaApplication.cpp:
QApplication::setDesktopSettingsAware(false);
dresan commented on 2018-04-19 19:16 (UTC)
@kikadf, thanks for pointing me into the right direction. I'm currently rebuilding the package!
kikadf commented on 2018-04-17 13:33 (UTC)
@dresan, your fix is abuse the dependency structure. The correct way to fix the missing library problem is rebuild megasync with cryptoo++7.
dresan commented on 2018-04-17 06:47 (UTC)
Unable to launch Megasync due to a "missing library" libcryptopp.so.6. The current version is libcryptopp.so.7, ln -s /usr/lib/libcryptopp.so.7 /usr/lib/libcryptopp.so.6 seems to "fix" the problem.
r0b0h0b0 commented on 2018-04-16 16:05 (UTC)
Thanks @kikadf. Now it seems to download but gets stuck at the cloning stage.
==> Making package: megasync 3.6.0.0-3 (Tue Apr 17 00:01:41 CST 2018) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating MEGAsync git repo... Fetching origin ==> Validating source files with md5sums... MEGAsync ... Skipped ==> Extracting sources... -> Creating working copy of MEGAsync git repo... Reset branch 'makepkg' ==> Starting prepare()... Cloning into '/home/user/Todo/megasync/src/MEGAsync/src/MEGASync/mega'...
Do you have any idea why this happens?
kikadf commented on 2018-04-16 05:24 (UTC)
@r0b0h0b0: with "-S" option you make only a source package, you should use "-s" instead of "-S". With -s option makepkg will install the missing dependecies with pacman.
r0b0h0b0 commented on 2018-04-16 04:06 (UTC)
Can't reinstall Megasync: invalid or corrupted package
$ cower -d megasync :: megasync downloaded to /home/user/Todo
$ makepkg -Sci ==> Making package: megasync 3.6.0.0-3 (Mon Apr 16 12:04:15 CST 2018) ==> Retrieving sources... ==> Validating source files with md5sums... MEGAsync ... Skipped ==> Entering fakeroot environment... ==> Creating source package... -> Adding PKGBUILD... -> Generating .SRCINFO file... -> Compressing source package... ==> Leaving fakeroot environment. ==> Source package created: megasync (Mon Apr 16 12:04:15 CST 2018) ==> Cleaning up...
$ sudo pacman -U megasync-3.6.0.0-3.src.tar.gz loading packages... error: missing package metadata in megasync-3.6.0.0-3.src.tar.gz error: 'megasync-3.6.0.0-3.src.tar.gz': invalid or corrupted package
alexjorgef commented on 2018-02-26 15:01 (UTC)
@kikadf thank you, i reinstall aur package and that fix the library error
schnittchen commented on 2018-02-23 14:20 (UTC)
@kikadf: thank you, that fixes it!
kikadf commented on 2018-02-23 11:12 (UTC)
@schnittchen: need to rebuild megasync with crypto++-6
schnittchen commented on 2018-02-23 09:00 (UTC)
~ ✓ megasync megasync: error while loading shared libraries: libcryptopp.so.5.6: cannot open shared object file: No such file or directory
Archrysler commented on 2018-02-05 18:13 (UTC)
While the package is not updated in AUR It is very simple Download Mega package https://mega.nz/sync
Open Console
sudo pacman -U /home/user/Downloads/megasync-x86_64.pkg.tar.xz
Enjoy.
servimo commented on 2018-02-05 14:30 (UTC)
@michaldybczak see @LuighiV post
michaldybczak commented on 2018-02-05 09:56 (UTC)
Megasync stopped working after last system update (lot of new libs were updated). Usually I had to re-compile package to make it work. Not this time. I get make error (the same with git version):
mega/include/mega/crypto/cryptopp.h:61:26: error: ‘byte’ has not been declared static void genblock(byte buf, int len); ^~~~ mega/include/mega/crypto/cryptopp.h:94:12: error: ‘byte’ does not name a type static byte zeroiv[CryptoPP::AES::BLOCKSIZE]; ^~~~ mega/include/mega/crypto/cryptopp.h:99:5: error: ‘byte’ does not name a type byte key[KEYLENGTH]; ^~~~ mega/include/mega/crypto/cryptopp.h:103:23: error: ‘byte’ does not name a type void setkey(const byte, int = 1); ^~~~ mega/include/mega/crypto/cryptopp.h:115:22: error: ‘byte’ has not been declared void ecb_encrypt(byte, byte = NULL, unsigned = BLOCKSIZE); ^~~~ mega/include/mega/crypto/cryptopp.h:115:29: error: ‘byte’ has not been declared void ecb_encrypt(byte, byte = NULL, unsigned = BLOCKSIZE); ^~~~ mega/include/mega/crypto/cryptopp.h:125:22: error: ‘byte’ has not been declared void ecb_decrypt(byte, unsigned = BLOCKSIZE); ^~~~ mega/include/mega/crypto/cryptopp.h:137:22: error: ‘byte’ has not been declared void cbc_encrypt(byte data, unsigned len, const byte iv = NULL); ^~~~ mega/include/mega/crypto/cryptopp.h:137:54: error: ‘byte’ does not name a type void cbc_encrypt(byte data, unsigned len, const byte iv = NULL); ^~~~ mega/include/mega/crypto/cryptopp.h:149:22: error: ‘byte’ has not been declared void cbc_decrypt(byte data, unsigned len, const byte iv = NULL); ^~~~ mega/include/mega/crypto/cryptopp.h:149:54: error: ‘byte’ does not name a type void cbc_decrypt(byte data, unsigned len, const byte iv = NULL); ^~~~ mega/include/mega/crypto/cryptopp.h:161:61: error: ‘byte’ does not name a type void cbc_encrypt_pkcs_padding(const string data, const byte iv, string result); ^~~~ mega/include/mega/crypto/cryptopp.h:173:61: error: ‘byte’ does not name a type void cbc_decrypt_pkcs_padding(const string data, const byte iv, string result); ^~~~ mega/include/mega/crypto/cryptopp.h:189:48: error: ‘byte’ does not name a type void ccm_encrypt(const string data, const byte iv, unsigned ivlen, unsigned taglen, string result); ^~~~ mega/include/mega/crypto/cryptopp.h:204:48: error: ‘byte’ does not name a type void ccm_decrypt(const string data, const byte iv, unsigned ivlen, unsigned taglen, string result); ^~~~ mega/include/mega/crypto/cryptopp.h:220:48: error: ‘byte’ does not name a type void gcm_encrypt(const string data, const byte iv, unsigned ivlen, unsigned taglen, string result); ^~~~ mega/include/mega/crypto/cryptopp.h:235:48: error: ‘byte’ does not name a type void gcm_decrypt(const string data, const byte iv, unsigned ivlen, unsigned taglen, string result); ^~~~ mega/include/mega/crypto/cryptopp.h:247:20: error: ‘byte’ has not been declared void ctr_crypt(byte , unsigned, m_off_t, ctr_iv, byte , bool, bool initmac = true); ^~~~ mega/include/mega/crypto/cryptopp.h:247:55: error: ‘byte’ has not been declared void ctr_crypt(byte , unsigned, m_off_t, ctr_iv, byte , bool, bool initmac = true); ^~~~ mega/include/mega/crypto/cryptopp.h:249:35: error: ‘byte’ has not been declared static void setint64(int64_t, byte); ^~~~ mega/include/mega/crypto/cryptopp.h:251:32: error: ‘byte’ does not name a type static void xorblock(const byte, byte); ^~~~ mega/include/mega/crypto/cryptopp.h:251:39: error: ‘byte’ has not been declared static void xorblock(const byte, byte); ^~~~ mega/include/mega/crypto/cryptopp.h:252:32: error: ‘byte’ does not name a type static void xorblock(const byte, byte, int); ^~~~ mega/include/mega/crypto/cryptopp.h:252:39: error: ‘byte’ has not been declared static void xorblock(const byte, byte, int); ^~~~ mega/include/mega/crypto/cryptopp.h:254:26: error: ‘byte’ has not been declared static void incblock(byte, unsigned = BLOCKSIZE); ^~~~ mega/include/mega/crypto/cryptopp.h:259:22: error: ‘byte’ does not name a type SymmCipher(const byte); ^~~~ mega/include/mega/crypto/cryptopp.h:267:55: error: ‘byte’ does not name a type int decodeintarray(CryptoPP::Integer, int, const byte, int); ^~~~ mega/include/mega/crypto/cryptopp.h:290:35: error: ‘byte’ does not name a type int setkey(int numints, const byte data, int len); ^~~~ mega/include/mega/crypto/cryptopp.h:315:23: error: ‘byte’ does not name a type int encrypt(const byte plain, int plainlen, byte buf, int buflen); ^~~~ mega/include/mega/crypto/cryptopp.h:315:50: error: ‘byte’ has not been declared int encrypt(const byte plain, int plainlen, byte buf, int buflen); ^~~~ mega/include/mega/crypto/cryptopp.h:326:23: error: ‘byte’ does not name a type int decrypt(const byte cipher, int cipherlen, byte buf, int buflen); ^~~~ mega/include/mega/crypto/cryptopp.h:326:52: error: ‘byte’ has not been declared int decrypt(const byte cipher, int cipherlen, byte buf, int buflen); ^~~~ mega/include/mega/crypto/cryptopp.h:337:31: error: ‘byte’ does not name a type unsigned rawencrypt(const byte plain, int plainlen, byte buf, int buflen); ^~~~ mega/include/mega/crypto/cryptopp.h:337:58: error: ‘byte’ has not been declared unsigned rawencrypt(const byte plain, int plainlen, byte buf, int buflen); ^~~~ mega/include/mega/crypto/cryptopp.h:348:31: error: ‘byte’ does not name a type unsigned rawdecrypt(const byte cipher, int cipherlen, byte buf, int buflen); ^~~~ mega/include/mega/crypto/cryptopp.h:348:60: error: ‘byte’ has not been declared unsigned rawdecrypt(const byte cipher, int cipherlen, byte buf, int buflen); ^~~~ mega/include/mega/crypto/cryptopp.h:387:20: error: ‘byte’ does not name a type void add(const byte, unsigned); ^~~~ mega/include/mega/crypto/cryptopp.h:396:20: error: ‘byte’ does not name a type void add(const byte, unsigned int); ^~~~ mega/include/mega/crypto/cryptopp.h:405:20: error: ‘byte’ does not name a type void add(const byte, unsigned); ^~~~ mega/include/mega/crypto/cryptopp.h:406:14: error: ‘byte’ has not been declared void get(byte); ^~~~ mega/include/mega/crypto/cryptopp.h:422:22: error: ‘byte’ does not name a type HMACSHA256(const byte key, size_t length); ^~~~ mega/include/mega/crypto/cryptopp.h:429:20: error: ‘byte’ does not name a type void add(const byte data, unsigned len); ^~~~ mega/include/mega/crypto/cryptopp.h:435:14: error: ‘byte’ has not been declared void get(byte out); ^~~~ mega/include/mega/crypto/cryptopp.h:447:20: error: ‘byte’ has not been declared void deriveKey(byte derivedkey, size_t derivedkeyLen, ^~~~ mega/include/mega/crypto/cryptopp.h:448:20: error: ‘byte’ has not been declared byte pwd, size_t pwdLen, ^~~~ mega/include/mega/crypto/cryptopp.h:449:20: error: ‘byte’ has not been declared byte salt, size_t saltLen, unsigned int iterations); ^~~~ In file included from mega/include/mega/types.h:60: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:79:5: error: ‘byte’ does not name a type byte genFingerprint(bool hexFormat = false); ^~~~ In file included from mega/include/mega/utils.h:25:0, from mega/include/mega/attrmap.h:25, from mega/src/attrmap.cpp:22: mega/include/mega/types.h:128:5: error: ‘byte’ does not name a type byte mac[SymmCipher::BLOCKSIZE]; ^~~~ In file included from mega/include/mega/attrmap.h:25:0, from mega/src/attrmap.cpp:22: mega/include/mega/utils.h:90:20: error: ‘byte’ does not name a type void add(const byte, unsigned); ^~~~ mega/include/mega/utils.h:93:32: error: ‘byte’ has not been declared unsigned get(AsymmCipher, byte, unsigned); ^~~~ mega/include/mega/utils.h:96:45: error: ‘byte’ does not name a type bool checksignature(AsymmCipher, const byte, unsigned); ^~~~ mega/include/mega/utils.h:125:5: error: ‘byte’ does not name a type byte keys[ENC_KEY_BYTES+MAC_KEY_BYTES]; ^~~~ mega/include/mega/utils.h:130:5: error: ‘byte’ does not name a type byte encKey; ^~~~ mega/include/mega/utils.h:135:5: error: ‘byte’ does not name a type byte hmacKey; ^~~~ mega/include/mega/utils.h:140:5: error: ‘byte’ does not name a type byte iv[IV_BYTES]; ^~~~ mega/include/mega/utils.h:155:24: error: ‘byte’ does not name a type void setKeys(const byte newEncKey, const byte newHmacKey, const byte newIv); ^~~~ mega/include/mega/utils.h:155:47: error: ‘byte’ does not name a type void setKeys(const byte newEncKey, const byte newHmacKey, const byte newIv); ^~~~ mega/include/mega/utils.h:155:71: error: ‘byte’ does not name a type void setKeys(const byte newEncKey, const byte newHmacKey, const byte newIv); ^~~~ mega/include/mega/utils.h:183:56: error: ‘byte’ does not name a type bool rsaEncryptKeys(const string cleartext, const byte pubkdata, int pubkdatalen, string result, bool randompadding = true); ^~~~ mega/include/mega/utils.h:194:55: error: ‘byte’ does not name a type bool hybridEncrypt(const string cleartext, const byte pubkdata, int pubkdatalen, string result, bool randompadding = true); ^~~~ mega/include/mega/utils.h:208:42: error: ‘byte’ has not been declared template<typename t=""> static void set(byte* ptr, T val) ^~~~ make[1]: [Makefile:3695: attrmap.o] Error 1 make[1]: Leaving directory '/home/username/.cache/pacaur/megasync/src/MEGAsync/src/MEGASync' make: [Makefile:45: sub-MEGASync-make_first] Error 2 ==> ERROR: There has been error in build(). Aborting...</typename>
LuighiV commented on 2018-02-04 17:23 (UTC) (edited on 2018-02-04 17:26 (UTC) by LuighiV)
This package is outdated. Please update to the new version 3.6.0.0.
I've done it modifying the PKGBUILD, through the following steps:
In prepare, add these two lines, because of some issues with cryptoc++, reported in: https://github.com/meganz/sdk/issues/935 :
cd "${srcdir}/MEGAsync/src/MEGASync/mega"
git checkout 222594ea17e6fe4fca9b42b28e3cce335c2ca60e
These lines move to the commit which solves the issue: https://github.com/meganz/sdk/commit/222594ea17e6fe4fca9b42b28e3cce335c2ca60e
In build, change the directory to:
cd "${srcdir}/MEGAsync/src/"
and comment out autogen.sh and all the options in configure.
Finally compile and install as it is usual:
makepkg -si
It worked for me.
servimo commented on 2018-02-04 11:47 (UTC)
Thanks @spsf64 your compiled package worked
spsf64 commented on 2018-02-04 09:34 (UTC) (edited on 2018-02-04 09:35 (UTC) by spsf64)
This will work fine for the latest version 3.6.0 https://pastebin.com/LTycASjb I used "makepkg -crs" to build. Thanks for all suggestions posted!
If you want, get it already compiled here: https://sourceforge.net/projects/arch-mod/files/aur-pkgs/
david_pjimenez commented on 2018-02-03 20:46 (UTC)
I did what @jpmac26 said (Pretty much)
What I did:
1- git clone https://github.com/meganz/megasync (Original Repo) (Folder 1) 2- git clone https://aur.archlinux.org/megasync.git (AUR) (Folder 2) 3- Copy the "PKGBUILD" from "Folder 2" to "Folder 1" 4- Build the package "makepkg -...." In "Folder 1"
It's working for me. (I know it's a pretty dirty solution) However if I try to build in "Folder 2" (AUR) it doesn't work due to crypto++.
famar commented on 2018-02-03 20:28 (UTC) (edited on 2018-02-03 20:29 (UTC) by famar)
same error of KeNaCo
Used kikadf instructions but not working
KeNaCo commented on 2018-02-03 10:48 (UTC)
@kikadf apply your instructions, but still get error:
undefined reference to `MediaInfoLib::MediaInfo::~MediaInfo()'
kikadf commented on 2018-02-02 17:14 (UTC)
Add jpmac26's changes to prepare(), and add libmediainfo to depends, and build fine.
servimo commented on 2018-02-02 15:13 (UTC)
make: *** [Makefile:45: sub-MEGASync-make_first] Error 2 ==> ERRO: Uma falha ocorreu em build(). Abortando... ==> ERRO: Makepkg não conseguiu compilar megasync. ==> Reiniciar a compilação de megasync ? [s/N]
jpmac26 commented on 2018-02-01 23:07 (UTC) (edited on 2018-02-01 23:07 (UTC) by jpmac26)
To fix the crypto++ 6.0.0 compilation issue for the time being, add these lines to the end of the "prepare()" section of the PKGBUILD:
cd "${srcdir}/MEGAsync/src/MEGASync/mega"
git checkout cryptopp600support
cd "${srcdir}/MEGAsync"
svanheulen commented on 2018-02-01 17:27 (UTC)
The crypto++ compile problem is an issue with the MEGA sdk. It's been reported and they're working on fixing it: https://github.com/meganz/sdk/issues/935
Reavershark commented on 2018-02-01 08:53 (UTC)
Same, fails to load with 6.0.0. Only works with 5.6.5.
majster commented on 2018-01-31 21:06 (UTC)
I also have problem with crypto++ after upgrade.
psltn commented on 2018-01-31 16:23 (UTC)
Hello. After upgrading crypto++ from version 5.6.5-3 to version 6.0.0-2, megasync is not launching anymore:
megasync: error while loading shared libraries: libcryptopp.so.5.6: cannot open shared object file: No such file or directory
baizon commented on 2018-01-29 18:42 (UTC)
@baxtex I'm also an manjaro user. I think what you got there are just warning. I didn't had any trouble building it.
baxtex commented on 2018-01-13 15:35 (UTC)
Hi, I new to Manjaro and tried using the gui pacman application for installing this but I get the following errors: https://gist.github.com/anonymous/de59d96d8414be8a2783ea044a64d4c6
Not sure what the problem is? Looks like something with the gui.
hackr commented on 2018-01-04 12:56 (UTC)
@sekret, thanks! I was way behind on this and I was just trying to rush it, and I figured it would be okay but of course not!
I will fix the PKGBUILD today, thanks for the heads up!
sekret commented on 2018-01-04 09:23 (UTC)
According to namcap qt5-svg is a dependency, so please add it to the depends array.
Since the current package compiles fine for you @hackr, I suggest to always build packages in clean chroots. Only then you can be sure that all (make)dependencies are included in the package. And always use namcap on the package!
RemoteAdmin commented on 2018-01-04 08:01 (UTC) (edited on 2018-01-04 08:02 (UTC) by RemoteAdmin)
Compilation fails if qt5-svg is not installed:
"Project ERROR: Unknown module(s) in QT: svg"
Please add qt5-svg with either of those:
depends=('curl' 'c-ares' 'crypto++' 'libsodium' 'hicolor-icon-theme' 'qt5-base' 'libuv' 'openssl' 'qt5-svg')
makedepends=('git' 'qt5-tools' 'swig' 'doxygen' 'qt5-svg')
hackr commented on 2018-01-04 01:40 (UTC)
Updated to latest version. Compiled and ran fine for me.
baizon commented on 2018-01-03 16:39 (UTC)
@saverio Just use the git package ( https://aur.archlinux.org/packages/megasync-git/ ).
saverio commented on 2018-01-03 14:16 (UTC)
Hi guys, looking at the official site, this app has been updated... are you going to update this AUR repo too? Many thanks for the info you can provide. Best Regards.
sekret commented on 2017-10-18 17:59 (UTC)
migrev commented on 2017-10-18 10:03 (UTC)
sekret commented on 2017-10-17 18:38 (UTC)
commented on 2017-10-17 17:28 (UTC)
bmbaker commented on 2017-10-16 09:42 (UTC)
psltn commented on 2017-10-15 16:44 (UTC) (edited on 2017-12-03 19:19 (UTC) by psltn)
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 (UTC)
zxioper commented on 2017-10-11 06:22 (UTC) (edited on 2017-10-12 06:30 (UTC) by zxioper)
bmbaker commented on 2017-10-07 11:32 (UTC)
zxioper commented on 2017-09-18 11:34 (UTC) (edited on 2017-09-18 11:48 (UTC) by zxioper)
zeroflag commented on 2017-09-01 06:27 (UTC)
migrev commented on 2017-08-28 14:19 (UTC)
psltn commented on 2017-08-28 13:10 (UTC)
migrev commented on 2017-08-28 09:05 (UTC)
zeroflag commented on 2017-08-27 23:35 (UTC)
d327roque commented on 2017-08-17 11:23 (UTC)
RocHH commented on 2017-06-27 17:45 (UTC)
Flobbes commented on 2017-06-19 16:45 (UTC)
juraj commented on 2017-05-12 13:51 (UTC)
migrev commented on 2017-05-12 10:20 (UTC)
juraj commented on 2017-05-12 08:31 (UTC)
captn_mos commented on 2017-04-29 18:28 (UTC)
commented on 2017-04-29 16:09 (UTC)
captn_mos commented on 2017-04-29 09:16 (UTC)
migrev commented on 2017-04-25 10:45 (UTC)
jghodd commented on 2017-04-24 19:15 (UTC) (edited on 2017-04-25 04:04 (UTC) by jghodd)
aztec102 commented on 2017-04-24 00:34 (UTC)
yangmame commented on 2017-04-20 01:11 (UTC) (edited on 2017-04-20 01:16 (UTC) by yangmame)
migrev commented on 2017-04-19 11:50 (UTC)
yangmame commented on 2017-04-19 10:23 (UTC)
zeroflag commented on 2017-04-06 22:14 (UTC)
mxgms commented on 2017-03-03 13:36 (UTC)
queenmedley commented on 2017-01-22 15:58 (UTC) (edited on 2017-01-22 16:00 (UTC) by queenmedley)
shameempk commented on 2016-11-11 10:18 (UTC)
hexchain commented on 2016-11-11 05:30 (UTC)
shameempk commented on 2016-11-11 05:10 (UTC)
jplatte commented on 2016-11-09 20:51 (UTC)
jschievink commented on 2016-11-09 20:38 (UTC)
shimi commented on 2016-10-28 08:33 (UTC)
hexchain commented on 2016-10-27 14:45 (UTC) (edited on 2016-10-28 02:14 (UTC) by hexchain)
shimi commented on 2016-10-27 14:43 (UTC)
hexchain commented on 2016-10-11 16:51 (UTC)
enercen commented on 2016-10-11 11:36 (UTC)
jplatte commented on 2016-10-07 20:17 (UTC)
knedlyk commented on 2016-10-07 20:11 (UTC)
hexchain commented on 2016-09-23 15:45 (UTC)
trzalica commented on 2016-09-22 18:23 (UTC)
jplatte commented on 2016-09-22 17:03 (UTC)
kikadf commented on 2016-09-18 10:06 (UTC)
hexchain commented on 2016-09-18 10:05 (UTC)
go_buster commented on 2016-09-18 09:49 (UTC)
hexchain commented on 2016-09-18 09:44 (UTC)
thinhakapete commented on 2016-09-18 09:38 (UTC)
kikadf commented on 2016-09-17 19:01 (UTC) (edited on 2016-09-17 19:10 (UTC) by kikadf)
sekret commented on 2016-09-06 16:06 (UTC)
sekret commented on 2016-08-31 15:45 (UTC) (edited on 2016-08-31 15:46 (UTC) by sekret)
sekret commented on 2016-08-31 15:26 (UTC)
ricardofunke commented on 2016-08-05 22:56 (UTC)
amiad commented on 2016-08-02 07:27 (UTC)
hexchain commented on 2016-07-31 13:00 (UTC)
rodrigog83 commented on 2016-07-31 12:44 (UTC) (edited on 2016-07-31 12:46 (UTC) by rodrigog83)
satriani commented on 2016-07-29 14:29 (UTC) (edited on 2016-07-29 14:31 (UTC) by satriani)
hexchain commented on 2016-07-27 15:12 (UTC)
son_link commented on 2016-07-26 15:19 (UTC)
satriani commented on 2016-07-25 12:43 (UTC)
itsnotme commented on 2016-07-08 19:42 (UTC) (edited on 2016-07-24 13:35 (UTC) by itsnotme)
benjkaiser commented on 2016-06-17 03:23 (UTC)
commented on 2016-05-08 10:34 (UTC)
son_link commented on 2016-05-06 11:03 (UTC) (edited on 2016-05-06 11:04 (UTC) by son_link)
FadeMind commented on 2016-05-05 12:26 (UTC)
enercen commented on 2016-05-05 08:29 (UTC)
ziggi commented on 2016-04-26 06:05 (UTC)
osvein commented on 2016-03-27 17:48 (UTC)
rat commented on 2016-03-13 15:41 (UTC)
son_link commented on 2016-03-13 15:04 (UTC)
liushuyu commented on 2016-03-13 14:03 (UTC)
usuariopolivalen commented on 2016-03-13 13:36 (UTC)
noplomplom commented on 2016-03-13 13:16 (UTC)
liushuyu commented on 2016-03-13 13:10 (UTC) (edited on 2016-03-13 13:19 (UTC) by liushuyu)
R0GERIUS commented on 2016-03-13 13:02 (UTC) (edited on 2016-03-13 13:05 (UTC) by R0GERIUS)
Shinto commented on 2016-03-13 12:50 (UTC)
son_link commented on 2016-03-12 22:41 (UTC)
XavierCLL commented on 2016-03-12 21:39 (UTC)
fdezrobji commented on 2016-03-12 09:39 (UTC)
inanimate commented on 2016-03-10 01:31 (UTC)
XavierCLL commented on 2016-03-10 01:28 (UTC) (edited on 2016-03-10 01:29 (UTC) by XavierCLL)
Kozeid commented on 2016-03-09 18:19 (UTC)
kikadf commented on 2016-03-08 10:46 (UTC)
trzalica commented on 2016-03-08 10:12 (UTC)
kamina111 commented on 2016-03-08 03:57 (UTC)
inanimate commented on 2016-03-07 19:49 (UTC)
son_link commented on 2016-03-07 17:26 (UTC)
inanimate commented on 2016-03-07 17:24 (UTC)
trzalica commented on 2016-03-07 17:20 (UTC) (edited on 2016-03-07 17:21 (UTC) by trzalica)
inanimate commented on 2016-03-07 17:01 (UTC)
son_link commented on 2016-03-07 13:57 (UTC)
wchouser3 commented on 2016-03-05 20:39 (UTC)
gleb.zhulik commented on 2016-03-04 06:56 (UTC)
inanimate commented on 2016-03-02 21:37 (UTC) (edited on 2016-03-03 00:20 (UTC) by inanimate)
ricardofunke commented on 2016-03-02 01:07 (UTC)
Rebelyouth commented on 2016-03-01 23:00 (UTC)
son_link commented on 2016-03-01 18:48 (UTC)
Kozeid commented on 2016-03-01 18:40 (UTC)
ktrls commented on 2016-03-01 09:21 (UTC)
tmallafre commented on 2016-02-28 21:13 (UTC)
b9anders commented on 2016-02-20 22:41 (UTC)
tuxayo commented on 2016-02-16 12:15 (UTC)
jujes commented on 2016-01-21 11:23 (UTC)
Shimmy commented on 2016-01-21 09:14 (UTC)
son_link commented on 2016-01-10 22:08 (UTC)
son_link commented on 2016-01-10 22:06 (UTC)
tuxayo commented on 2016-01-10 19:43 (UTC)
niezniszczalny commented on 2015-12-22 10:05 (UTC)
g3ck0 commented on 2015-12-13 23:52 (UTC)
gps1539 commented on 2015-12-05 22:32 (UTC) (edited on 2015-12-09 06:02 (UTC) by gps1539)
tthanh commented on 2015-11-27 13:49 (UTC)
wolfanger commented on 2015-11-24 10:22 (UTC)
e_Irbis commented on 2015-11-19 08:25 (UTC)
son_link commented on 2015-11-03 20:58 (UTC) (edited on 2015-11-03 20:58 (UTC) by son_link)
Comanshark commented on 2015-11-03 20:45 (UTC)
Ste74 commented on 2015-11-02 20:33 (UTC) (edited on 2015-11-02 20:41 (UTC) by Ste74)
japonecka commented on 2015-11-02 12:41 (UTC)
Simone98RC commented on 2015-11-01 22:08 (UTC)
syther commented on 2015-11-01 21:55 (UTC)
commented on 2015-10-31 22:01 (UTC)
commented on 2015-10-31 21:23 (UTC)
eticre commented on 2015-10-26 22:28 (UTC)
dag commented on 2015-10-13 11:38 (UTC)
tblu commented on 2015-10-11 11:05 (UTC)
shredderming commented on 2015-09-19 19:03 (UTC)
commented on 2015-09-18 02:55 (UTC)
marvelvance commented on 2015-09-05 08:04 (UTC)
sourc7 commented on 2015-08-29 15:46 (UTC)
X1011 commented on 2015-08-12 11:23 (UTC)
commented on 2015-08-04 23:43 (UTC)
liphvf commented on 2015-08-04 04:10 (UTC)
bluhue commented on 2015-08-03 08:42 (UTC)
dtschmitz commented on 2015-08-01 17:24 (UTC)
inceptorus commented on 2015-08-01 14:40 (UTC)
z0mb1e_kgd commented on 2015-07-27 17:00 (UTC)
sistematico commented on 2015-07-09 06:25 (UTC)
f3bruary commented on 2015-07-07 13:22 (UTC)
sl1pkn07 commented on 2015-05-23 14:55 (UTC)
sl1pkn07 commented on 2015-05-23 14:43 (UTC)
yan12125 commented on 2015-05-15 08:22 (UTC)
eherranzr commented on 2015-05-09 08:43 (UTC)
xstefen commented on 2015-05-08 20:58 (UTC)
eherranzr commented on 2015-05-07 15:37 (UTC)
MadCat_X commented on 2015-05-06 17:31 (UTC)
a172 commented on 2015-05-05 21:59 (UTC)
hkn3000 commented on 2015-05-04 20:15 (UTC)
a172 commented on 2015-05-04 13:19 (UTC)
sarri-on commented on 2015-05-02 13:17 (UTC)
padman commented on 2015-04-29 18:53 (UTC)
a172 commented on 2015-04-28 12:38 (UTC)
MexicanoTerco commented on 2015-04-24 21:58 (UTC)
humkas commented on 2015-04-23 03:58 (UTC)
dap1995 commented on 2015-03-10 16:50 (UTC)
commented on 2015-03-09 07:55 (UTC)
dap1995 commented on 2015-03-05 02:16 (UTC)
aremo12 commented on 2015-02-22 07:11 (UTC)
kiritoxcii commented on 2015-02-17 02:59 (UTC)
Hermen commented on 2015-02-15 03:15 (UTC)
aremo12 commented on 2015-02-14 19:35 (UTC)
phongvcao commented on 2015-02-13 17:12 (UTC)
kiritoxcii commented on 2015-02-12 16:36 (UTC)
Zeben commented on 2015-02-11 22:59 (UTC)
phongvcao commented on 2015-02-11 04:41 (UTC)
delaf commented on 2015-02-09 19:51 (UTC)
cdvr1993 commented on 2015-02-04 01:46 (UTC)
wifon commented on 2015-02-03 16:27 (UTC)
wifon commented on 2015-02-01 13:07 (UTC)
jotamylogins commented on 2015-02-01 05:33 (UTC)
sl1pkn07 commented on 2015-01-27 15:24 (UTC)
Hermen commented on 2015-01-27 05:37 (UTC)
toketin commented on 2015-01-19 22:03 (UTC)
snvelichko commented on 2015-01-19 17:26 (UTC)
johnsmeeth commented on 2015-01-04 13:07 (UTC)
johnsmeeth commented on 2015-01-04 12:50 (UTC)
mfucci commented on 2014-12-15 15:34 (UTC)
dlh commented on 2014-12-01 21:54 (UTC)
pepedopolous commented on 2014-11-23 23:37 (UTC)
CoderMonkey commented on 2014-10-28 11:54 (UTC)
jotamylogins commented on 2014-10-15 06:57 (UTC)
clerafel commented on 2014-10-13 21:47 (UTC)
prakharsingh95 commented on 2014-10-13 05:44 (UTC)
matthias.lisin commented on 2014-10-07 02:35 (UTC)
jancici commented on 2014-10-06 20:45 (UTC)
n1k9 commented on 2014-10-04 13:23 (UTC)
hepha commented on 2014-09-28 06:51 (UTC)
matthias.lisin commented on 2014-09-20 00:15 (UTC)
son_link commented on 2014-09-11 17:53 (UTC)
ValHue commented on 2014-09-11 17:48 (UTC)
otto06217 commented on 2014-09-11 14:18 (UTC)
otto06217 commented on 2014-09-11 13:09 (UTC)
ValHue commented on 2014-09-09 18:50 (UTC)
otto06217 commented on 2014-09-08 19:26 (UTC)
otto06217 commented on 2014-09-08 19:07 (UTC)
dare023 commented on 2014-09-07 16:53 (UTC)
ManuelFte commented on 2014-09-05 15:23 (UTC)
sekret commented on 2014-09-05 08:25 (UTC)
fatmike commented on 2014-09-04 08:10 (UTC)
ManuelFte commented on 2014-09-04 00:25 (UTC)
marciocr commented on 2014-09-04 00:14 (UTC)
klenamenis commented on 2014-09-03 15:08 (UTC)
ValHue commented on 2014-09-03 07:11 (UTC)
son_link commented on 2014-09-02 16:59 (UTC)
ValHue commented on 2014-09-02 16:09 (UTC)
lw4z commented on 2014-09-01 20:45 (UTC)
son_link commented on 2014-09-01 20:31 (UTC)
lw4z commented on 2014-09-01 20:04 (UTC)