Package Details: megasync 4.6.7.0-1

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)

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:

==> Making package: megasync 4.6.6.0-1 (Mon 30 May 2022 04:49:15 PM CEST)
==> Retrieving sources...
  -> Updating MEGAsync git repo...
Fetching origin
From https://github.com/meganz/MEGAsync
 - [deleted]             (none)     -> refs/pull/684/merge
  -> Updating meganz-sdk git repo...
Fetching origin
remote: Enumerating objects: 1453, done.
remote: Counting objects: 100% (1118/1118), done.
remote: Compressing objects: 100% (164/164), done.
remote: Total 778 (delta 637), reused 744 (delta 610), pack-reused 0
Receiving objects: 100% (778/778), 246.91 KiB | 3.58 MiB/s, done.
Resolving deltas: 100% (637/637), completed with 104 local objects.
From https://github.com/meganz/sdk
   f9054e437..ec2c9df4c  master               -> master
 + b23cc3a66...68560f3cf refs/pull/2596/merge -> refs/pull/2596/merge  (forced update)
 + 021465251...9829f8956 refs/pull/2597/merge -> refs/pull/2597/merge  (forced update)
 + c8b1d1e5e...129769f96 refs/pull/2600/merge -> refs/pull/2600/merge  (forced update)
 + 428adbdbc...ce4d605fb refs/pull/2614/merge -> refs/pull/2614/merge  (forced update)
 * [new ref]             refs/pull/2620/head  -> refs/pull/2620/head
 * [new ref]             refs/pull/2620/merge -> refs/pull/2620/merge
 * [new tag]             v3.12.1              -> v3.12.1
  -> Found pdfium.patch
  -> Found ffmpeg.patch
==> Validating source files with sha256sums...
    MEGAsync ... Skipped
    meganz-sdk ... Skipped
    pdfium.patch ... Passed
    ffmpeg.patch ... Passed
==> Making package: megasync 4.6.6.0-1 (Mon 30 May 2022 04:49:19 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating MEGAsync git repo...
Fetching origin
  -> Updating meganz-sdk git repo...
Fetching origin
  -> Found pdfium.patch
  -> Found ffmpeg.patch
==> Validating source files with sha256sums...
    MEGAsync ... Skipped
    meganz-sdk ... Skipped
    pdfium.patch ... Passed
    ffmpeg.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of MEGAsync git repo...
Cloning into 'MEGAsync'...
done.
Switched to a new branch 'makepkg'
  -> Creating working copy of meganz-sdk git repo...
Cloning into 'meganz-sdk'...
done.
==> Starting prepare()...
Submodule 'src/MEGASync/mega' (https://github.com/meganz/sdk.git) registered for path 'src/MEGASync/mega'
Cloning into '/home/avangel/.cache/paru/clone/megasync/src/MEGAsync/src/MEGASync/mega'...
done.
Submodule path 'src/MEGASync/mega': checked out '4b40fcbf58cd7b0ccb4a9604f08693fc5ed62bf2'
patching file bindings/qt/sdk.pri
patching file src/gfx/freeimage.cpp
==> Sources are ready.
megasync-4.6.6.0-1: parsing pkg list...
:: megasync-4.6.6.0-1 is up to date -- skipping build
loading packages...
warning: megasync-4.6.6.0-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) megasync-4.6.6.0-1

Total Installed Size:  14.98 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                                 [#############################################################################] 100%
(1/1) checking package integrity                                                                                               [#############################################################################] 100%
(1/1) loading package files                                                                                                    [#############################################################################] 100%
(1/1) checking for file conflicts                                                                                              [#############################################################################] 100%
(1/1) checking available disk space                                                                                            [#############################################################################] 100%
:: Processing package changes...
(1/1) reinstalling megasync                                                                                                    [#############################################################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating icon theme caches...
(3/3) Updating the desktop file MIME type cache...
error: packages failed to build: cmst-2022.05.01-1

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 tou_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 tou_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:

MegaApplication.cpp: In member function ‘void MegaApplication::onSyncDisabled(std::shared_ptr<SyncSetting>)’:
MegaApplication.cpp:8411:31: error: ‘LOCAL_FINGERPRINT_MISMATCH’ is not a member of ‘mega::MegaSync::Error’
 8411 |         case MegaSync::Error::LOCAL_FINGERPRINT_MISMATCH:
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:11182: MegaApplication.o] Error 1
make[1]: Leaving directory '/home/moghingold/Code/git/megasync_aur/src/MEGAsync/src/MEGASync'
make: *** [Makefile:47: sub-MEGASync-make_first] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

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

Error info:
Segmentation fault (11) at address 0
Stacktrace:
/usr/lib/libxcb.so.1(xcb_send_request_with_fds64+0x14) [0x7fee743d6144]
/usr/lib/libxcb.so.1(xcb_send_request_with_fds64+0x14) [0x7fee743d6144]
/usr/lib/libxcb.so.1(xcb_send_request+0xa) [0x7fee743d66ba]
/usr/lib/libxcb.so.1(xcb_intern_atom+0x85) [0x7fee743dcf25]
megasync(+0x4571ce) [0x55b9b50821ce]
megasync(+0x475b14) [0x55b9b50a0b14]
megasync(+0x4670d0) [0x55b9b50920d0]
megasync(+0x17903e) [0x55b9b4da403e]
/usr/lib/libc.so.6(+0x2d310) [0x7fee72a23310]
/usr/lib/libc.so.6(__libc_start_main+0x81) [0x7fee72a233c1]
megasync(+0x17ece5) [0x55b9b4da9ce5]

magicgoose commented on 2022-03-18 14:37 (UTC)

Doesn't compile as of today

mega/src/gfx/freeimage.cpp: In member function ‘bool mega::GfxProcFreeImage::readbitmapFfmpeg(mega::FileAccess*, const mega::LocalPath&, int)’:
mega/src/gfx/freeimage.cpp:239:44: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
  239 |     AVCodec* decoder = avcodec_find_decoder(codecId);
      |                        ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
      |                                            |
      |                                            const AVCodec*

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

megasync: error while loading shared libraries: libavcodec.so.58: cannot open shared object file: No such file or directory
$ ls -la /usr/lib/libavcodec*
lrwxrwxrwx 1 root root       23  6 mar 16.40 /usr/lib/libavcodec.so -> libavcodec.so.59.18.100
lrwxrwxrwx 1 root root       23  6 mar 16.40 /usr/lib/libavcodec.so.59 -> libavcodec.so.59.18.100
-rwxr-xr-x 1 root root 15208840  6 mar 16.40 /usr/lib/libavcodec.so.59.18.100

the needed version is not explicit in the aur package?

$ yay -Qi megasync
Name            : megasync
Version         : 4.6.3.0-1
Description     : Easy automated syncing between your computers and your MEGA cloud drive
Architecture    : x86_64
...
Depends On      : c-ares  crypto++  libsodium  hicolor-icon-theme  libuv  qt5-svg  qt5-x11extras  libmediainfo  libraw  qt5-base  ffmpeg  libpdfium  freeimage
                  libudev.so=1-64
...

ffmpeg 2:5.0-5 Provides libavcodec.so=59-64

$ yay -Qi ffmpeg
Name            : ffmpeg
Version         : 2:5.0-5
Description     : Complete solution to record, convert and stream audio and video
Architecture    : x86_64
...
Provides        : libavcodec.so=59-64  libavdevice.so=59-64  libavfilter.so=8-64  libavformat.so=59-64  libavutil.so=57-64  libpostproc.so=56-64  libswresample.so=4-64
                  libswscale.so=6-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

megasync
Error unsetting QT_QPA_PLATFORMTHEME vble

I use qt5ct and my QT related env looks like:

env | grep QT
QT_QPA_PLATFORMTHEME=qt5ct
QT_STYLE_OVERRIDE=kvantum

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:

MegaApplication.h:60:5: warning:   when initialized here [-Wreorder]
   60 |     TransferMetaData(int direction, int total = 0, int pending = 0, QString path = QString())
      |     ^~~~~~~~~~~~~~~~
g++ -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -L/usr/lib/ffmpeg3.4 -Wl,-rpath-link,/usr/lib -o megasync SettingsDialog.o InfoDialog.o OverQuotaDialog.o SetupWizard.o NodeSelector.o FolderBinder.o BindFolderDialog.o UploadToMegaDialog.o PasteMegaLinksDialog.o ImportMegaLinksDialog.o ImportListWidgetItem.o CrashReportDialog.o MultiQFileDialog.o MegaProxyStyle.o AccountDetailsDialog.o DownloadFromMegaDialog.o SizeLimitDialog.o UsageWidget.o QMegaModel.o MegaItem.o ChangeLogDialog.o GuestWidget.o StreamingFromMegaDialog.o MegaProgressCustomDialog.o ConfirmSSLexception.o UpgradeDialog.o PlanWidget.o InfoWizard.o TransferManager.o TransfersWidget.o QTransfersModel.o QActiveTransfersModel.o QFinishedTransfersModel.o MegaTransferDelegate.o MegaTransferView.o QMegaMessageBox.o TransfersStateInfoWidget.o MegaSpeedGraph.o ActiveTransfersWidget.o AvatarWidget.o MenuItemAction.o AddExclusionDialog.o LocalCleanScheduler.o TransferManagerItem.o TransferItem.o InfoDialogTransfersWidget.o QCustomTransfersModel.o StatusInfo.o ChangePassword.o CustomTransferItem.o PSAwidget.o ElidedLabel.o UpgradeOverStorage.o Login2FA.o QSyncItemWidget.o TransfersStatusWidget.o TransfersSummaryWidget.o CircularUsageProgressBar.o HighDpiResize.o AlertItem.o QAlertsModel.o MegaAlertDelegate.o QFilterAlertsModel.o FilterAlertWidget.o AlertFilterType.o BugReportDialog.o VerifyLockMessage.o MegaInfoMessage.o WaitingSpinnerWidget.o LockedPopOver.o DynamicTransferQuotaPopOver.o PermissionsDialog.o PermissionsWidget.o attrmap.o backofftimer.o base64.o command.o commands.o db.o gfx.o file.o fileattributefetch.o filefingerprint.o filesystem.o http.o json.o megaclient.o node.o pubkeyaction.o request.o serialize64.o share.o sharenodekeys.o sync.o transfer.o transferslot.o treeproc.o user.o useralerts.o utils.o logging.o waiterbase.o proxy.o pendingcontactrequest.o cryptopp.o sodium.o sqlite.o external.o mega_utf8proc.o mega_ccronexpr.o mega_evt_tls.o mega_zxcvbn.o mediafileattribute.o raid.o testhooks.o heartbeats.o megaapi.o megaapi_impl.o QTMegaRequestListener.o QTMegaTransferListener.o QTMegaGlobalListener.o QTMegaListener.o QTMegaEvent.o mega_http_parser.o net.o fs.o waiter.o qt.o qtthread.o HTTPServer.o Preferences.o LinkProcessor.o MegaUploader.o TransferRemainingTime.o UpdateTask.o EncryptedSettings.o CrashHandler.o ExportProcessor.o Utilities.o ThreadPool.o MegaDownloader.o MegaController.o MegaSyncLogger.o ConnectivityChecker.o Model.o SyncSettings.o notificator.o LinuxPlatform.o ExtServer.o NotifyServer.o crash_generation_client.o exception_handler.o minidump_descriptor.o minidump_writer.o linux_dumper.o linux_ptrace_dumper.o log.o minidump_file_writer.o linux_libc_support.o file_id.o memory_mapped_file.o safe_readlink.o guid_creator.o elfutils.o string_conversion.o convert_UTF.o qtlockedfile.o qtlockedfile_unix.o main.o MegaApplication.o DesktopNotifications.o RemovedSharesNotificator.o TransferQuota.o UserAlertTimedClustering.o ScaleFactorManager.o qrc_Resources_linux.o moc_SettingsDialog.o moc_InfoDialog.o moc_OverQuotaDialog.o moc_SetupWizard.o moc_NodeSelector.o moc_FolderBinder.o moc_BindFolderDialog.o moc_UploadToMegaDialog.o moc_PasteMegaLinksDialog.o moc_ImportMegaLinksDialog.o moc_ImportListWidgetItem.o moc_CrashReportDialog.o moc_MultiQFileDialog.o moc_MegaProxyStyle.o moc_AccountDetailsDialog.o moc_DownloadFromMegaDialog.o moc_SizeLimitDialog.o moc_UsageWidget.o moc_QMegaModel.o moc_ChangeLogDialog.o moc_GuestWidget.o moc_StreamingFromMegaDialog.o moc_MegaProgressCustomDialog.o moc_ConfirmSSLexception.o moc_UpgradeDialog.o moc_PlanWidget.o moc_InfoWizard.o moc_TransferManager.o moc_TransfersWidget.o moc_QTransfersModel.o moc_QActiveTransfersModel.o moc_QFinishedTransfersModel.o moc_MegaTransferDelegate.o moc_MegaTransferView.o moc_TransfersStateInfoWidget.o moc_MegaSpeedGraph.o moc_ActiveTransfersWidget.o moc_AvatarWidget.o moc_AddExclusionDialog.o moc_LocalCleanScheduler.o moc_TransferManagerItem.o moc_TransferItem.o moc_InfoDialogTransfersWidget.o moc_QCustomTransfersModel.o moc_StatusInfo.o moc_CustomTransferItem.o moc_PSAwidget.o moc_ElidedLabel.o moc_UpgradeOverStorage.o moc_ChangePassword.o moc_Login2FA.o moc_QSyncItemWidget.o moc_TransfersStatusWidget.o moc_TransfersSummaryWidget.o moc_CircularUsageProgressBar.o moc_HighDpiResize.o moc_AlertItem.o moc_QAlertsModel.o moc_MegaAlertDelegate.o moc_QFilterAlertsModel.o moc_FilterAlertWidget.o moc_AlertFilterType.o moc_BugReportDialog.o moc_VerifyLockMessage.o moc_MegaInfoMessage.o moc_WaitingSpinnerWidget.o moc_LockedPopOver.o moc_DynamicTransferQuotaPopOver.o moc_PermissionsDialog.o moc_PermissionsWidget.o moc_QTMegaRequestListener.o moc_QTMegaTransferListener.o moc_QTMegaGlobalListener.o moc_QTMegaListener.o moc_HTTPServer.o moc_Preferences.o moc_LinkProcessor.o moc_MegaUploader.o moc_UpdateTask.o moc_EncryptedSettings.o moc_CrashHandler.o moc_ExportProcessor.o moc_Utilities.o moc_MegaDownloader.o moc_MegaController.o moc_MegaSyncLogger.o moc_ConnectivityChecker.o moc_Model.o moc_notificator.o moc_ExtServer.o moc_NotifyServer.o moc_MegaApplication.o moc_DesktopNotifications.o moc_RemovedSharesNotificator.o moc_TransferQuota.o moc_UserAlertTimedClustering.o   -L/usr/lib/ffmpeg3.4 -luv -lmediainfo -lzen -lraw -fopenmp -lpdfium -lavcodec -lavformat -lavutil -lswscale -lswresample -lbz2 -llzma -lsqlite3 -lrt -lcurl -lz -lcryptopp -lcares -lsodium -lssl -lcrypto -ldl -lxcb /usr/lib/libQt5Svg.so /usr/lib/libQt5Widgets.so /usr/lib/libQt5X11Extras.so /usr/lib/libQt5Gui.so /usr/lib/libQt5Network.so /usr/lib/libQt5DBus.so /usr/lib/libQt5Core.so -lGL -lpthread   
/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 to `u_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:1103: megasync] Error 1

My kernel is 5.13.10-arch1-1-surface, gcc version 11.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 au_isalnum_68' sin definir /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libpdfium.so: referencia a u_toupper_68' sin definir /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libpdfium.so: referencia au_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 1

make: *** [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)

==> Building and installing package
==> Install or build missing dependencies for megasync:
error: target not found: libpdfium

Neko-san commented on 2021-08-03 06:31 (UTC)

I get an error for compilation with this error once Megasync starts building:

checking for MediaInfo_Info_Version in -lmediainfo... no
configure: error: Could not find libmediainfo
==> ERROR: A failure occurred in build().
    Aborting...

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 tou_isalnum_68' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libpdfium.so: undefined reference to u_toupper_68' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libpdfium.so: undefined reference tou_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 the ffmpeg3.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 upon ffmpeg 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

yay -S icu68
...
yay -S megasync

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:

    libicudata.so.68
    libicudata.so.68.2
    libicuuc.so.68
    libicuuc.so.68.2

into

/usr/lib/

and

/usr/lib32/

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:

usr/bin/ld: warning: libicuuc.so.68, 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_isspace_68'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/libpdfium.so: undefined reference to `u_isalnum_68'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/libpdfium.so: undefined reference to `u_toupper_68'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/libpdfium.so: undefined reference to `u_isalpha_68'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/libpdfium.so: undefined reference to `u_tolower_68'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:1054: megasync] Error 1
make[1]: Leaving directory '/home/frog/.cache/yay/megasync/src/MEGAsync/src/MEGASync'
make: *** [Makefile:47: sub-MEGASync-make_first] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error making: megasync

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 tou_toupper_67' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/libpdfium.so: undefined reference to u_isspace_67' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/libpdfium.so: undefined reference tou_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)

Error: dependency not found: libpdfium, not installing . 11-2020 My Solution in PKGBUILD change libpdfium to libpdfium-nojs

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:

--- a/control/CrashHandler.cpp  2020-08-25 23:54:25.714934834 +0300
+++ b/control/CrashHandler.cpp  2020-08-26 00:05:19.872082420 +0300
@@ -209,7 +210,7 @@
         oss << "Error info:\n";
         if (info)
         {
-            oss << sys_siglist[sig] << " (" << sig << ") at address " << std::showbase << std::hex << info->si_addr << std::dec << "\n";
+            oss << strsignal(sig) << " (" << sig << ") at address " << std::showbase << std::hex << info->si_addr << std::dec << "\n";
         }
         else
         {

Add lines 36-37 to PKGBUILD so prepare() function will look like this:

 27 prepare() {
 28     cd "MEGAsync"
 29     git submodule init
 30     git config submodule.src/MEGASync/mega.url "../meganz-sdk"
 31     git submodule update
 32 
 33     cd "src/MEGASync/mega"
 34     patch -Np1 -i "../../../../pdfium.patch"
 35 
 36     cd "../"
 37     patch -Np1 -i "../../../../crashhandler.patch"
 38 }

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] with strsignal(sig).

kinoe commented on 2020-08-24 19:50 (UTC) (edited on 2020-08-26 17:35 (UTC) by kinoe)

Building with yay failed

make[1]:  [Makefile:8416: CrashHandler.o] error 1
...
make:  [Makefile:47: sub-MEGASync-make_first] error 2

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 the libicuuc.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

#if defined(REQUIRE_HAVE_PDFIUM) && !defined(HAVE_PDFIUM)
#error compilation with HAVE_PDFIUM is requir

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.

WARNING: Project ERROR: Unknown module(s) in QT: macextras winextras
lprodump error: Cannot open ~/.cache/yay/megasync/src/MEGAsync/src/jkIoBR.json for writing.
==> ERROR: A failure occurred in 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 to QMAKE_CXXFLAGS

For the AUR PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index 38d9165..0947609 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -55,7 +55,7 @@ build() {

     # build megasync
     cd "../.."
-    qmake-qt5 "CONFIG += FULLREQUIREMENTS" MEGA.pro
+    qmake-qt5 "CONFIG += FULLREQUIREMENTS" "QMAKE_CXXFLAGS += -fpermissive" MEGA.pro
     lrelease-qt5 MEGASync/MEGASync.pro
     make
 }

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 via ffmpeg. 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:

  • automake
  • autoconf

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:

                        mega/include/megaapi.h:2768:13: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
                        g++ -c -pipe -g -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wall -W -D_REENTRANT -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x000000 -DHAVE_LIBUV -DUSE_MEDIAINFO -DUNICODE -DHAVE_LIBRAW -DHAVE_FFMPEG -DUSE_QT -DMEGA_QT_LOGGING -                                                                                                                
                        DUSE_SQLITE -DUSE_CRYPTOPP -DENABLE_SYNC -DENABLE_CHAT -DNDEBUG -DUSE_DBUS -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -Igui -Igui/linux -I/tmp/yaourt-tmp-user/aur-megasync/src/MEGAsync/src/MEGASync/mega/bindings/qt/../..//bindings/qt/3rdparty/include/libuv -Imega/include -Imega/bindings/qt -I/tmp/yaourt-tmp-user/aur-megasync/src/MEGAsync/src/MEGASync/mega/bindings/qt/../..//bindings/qt/3rdparty/include -Imega/include/mega/posix -Icontrol -Iplatform -Igoogle_breakpad -Iqtlockedfile -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtDBus -isystem /usr/include/qt/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/qt/mkspecs/linux-g++ -o MegaItem.o gui/MegaItem.cpp
                        make[1]: *** No rule to make target 'gui/ChangeLogDialog.cpp', needed by 'ChangeLogDialog.o'.  Stop.
                        make[1]: *** Waiting for unfinished jobs....
                        g++: error: gui/MegaItem.cpp: No such file or directory
                        g++: fatal error: no input files
                        compilation terminated.
                        make[1]: *** [Makefile:2861: MegaItem.o] Error 1
                        make[1]: Leaving directory '/tmp/yaourt-tmp-user/aur-megasync/src/MEGAsync/src/MEGASync'
                        make: *** [Makefile:45: sub-MEGASync-make_first] Error 2
                        ==> ERROR: A failure occurred in build().
                            Aborting...
                        ==> ERROR: Makepkg was unable to build megasync.

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

checking for main in -lcryptopp... no
configure: error: Could not find libcryptopp

Of course I've got installed crypto++ 7 version.

I think this is happening because I haven't got

libcryptopp.so
libcryptopp.so.7
libcryptopp.so.7.0.0

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:

  1. Change the version number to 3.6.0.0.
  2. 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

  1. In build, change the directory to:

    cd "${srcdir}/MEGAsync/src/"

and comment out autogen.sh and all the options in configure.

  1. 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)

Compiled just fine now, thanks! :-)

migrev commented on 2017-10-18 10:03 (UTC)

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 (UTC)

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?!

commented on 2017-10-17 17:28 (UTC)

@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 (UTC)

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

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)

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 (UTC) (edited on 2017-10-12 06:30 (UTC) by zxioper)

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 (UTC)

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 (UTC) (edited on 2017-09-18 11:48 (UTC) by zxioper)

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

zeroflag commented on 2017-09-01 06:27 (UTC)

Hi Miquel, it miraculously works again. Most proly, a location related issue. That's why a stumbled upon the "new version" which is obviously a different one than the source you compile this package from. No worries then. Thanks a sorry for the noise.

migrev commented on 2017-08-28 14:19 (UTC)

Hi @psltn, that's a binary package that has nothing to do with the one compiled used the PKGBUILD of this one. Obviously, feel free to use either one, but as of now (and unless proven wrong), the one I'm mantaining works fine, follows the versioning scheme of the released source code and I actually have no idea on the differences of the two PKGBUILDs. Will take a look at it, anyway, to check if there are any improvments that can be useful to all of us. Thank you for your message.

psltn commented on 2017-08-28 13:10 (UTC)

Hi @migrev, here is the 3.1.4-2 package version on the official MEGAsync website: https://mega.nz/linux/MEGAsync/Arch_Extra/x86_64/megasync-x86_64.pkg.tar.xz

migrev commented on 2017-08-28 09:05 (UTC)

Hi @zeroflag. I just tried to log in with current version and worked like a charm. Where did you find the version you are mentioning? In the official github the latest version released is the same as the one here.

zeroflag commented on 2017-08-27 23:35 (UTC)

Hi Miguel, the megasync client does not log in anymore. I figured out that there is a "pkgver = 3.1.4-2" out there since "# Wed Aug 23 11:09:18 UTC 2017". Thanks in advance for help :-)

d327roque commented on 2017-08-17 11:23 (UTC)

==> Starting build()... /home/donato/Downloads/builds/megasync/PKGBUILD: line 24: ./autogen.sh: Permission denied ==> ERROR: A failure occurred in build(). Aborting...

RocHH commented on 2017-06-27 17:45 (UTC)

make > make -j 4 to build faster

Flobbes commented on 2017-06-19 16:45 (UTC)

I had the same problem. Downloaded the archive from the mega website and used the mentioned pacman command, worked like a charm. Will use this as temporary solution for now.

juraj commented on 2017-05-12 13:51 (UTC)

Thanks for reply. I did run pacaur -Scc before every installation attempt, if that's what you meant by sanitizing build environment. I did not change PKGBUILD, so I don't know what branch I used. Now I tried to remove the two mentioned lines and this error occurs: In file included from /usr/include/openssl/crypto.h:31:0, from /usr/include/openssl/comp.h:16, from /usr/include/openssl/ssl.h:47, from mega/include/mega/posix/meganet.h:28, from mega/include/mega.h:76, from mega/src/posix/net.cpp:22: /usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of ‘EVP_PKEY {aka struct evp_pkey_st}’ typedef struct evp_pkey_st EVP_PKEY; ^~~~~~~~~~~ mega/src/posix/net.cpp:2278:75: error: invalid use of incomplete type ‘X509_STORE_CTX {aka struct x509_store_ctx_st}’ int len = X509_NAME_get_text_by_NID (X509_get_issuer_name (ctx->cert), ^~ In file included from /usr/include/openssl/crypto.h:31:0, from /usr/include/openssl/comp.h:16, from /usr/include/openssl/ssl.h:47, from mega/include/mega/posix/meganet.h:28, from mega/include/mega.h:76, from mega/src/posix/net.cpp:22: /usr/include/openssl/ossl_typ.h:127:16: note: forward declaration of ‘X509_STORE_CTX {aka struct x509_store_ctx_st}’ typedef struct x509_store_ctx_st X509_STORE_CTX; ^~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:5270: net.o] Error 1 make[1]: Leaving directory '/home/juraj/.cache/pacaur/megasync/src/MEGAsync/src/MEGASync' make: *** [Makefile:43: sub-MEGASync-make_first] Error 2 ==> ERROR: A failure occurred in build(). Aborting... :: failed to build megasync package(s) Just for information, I have everything up to date, so it cannot be because of some old version dependency.

migrev commented on 2017-05-12 10:20 (UTC)

It is working for me, so can't reproduce the error. From this very moment: ==> Extrayendo las fuentes… -> Creando copia de trabajo de MEGAsync del repositorio git… Cloning into 'MEGAsync'... done. Switched to a new branch 'makepkg' ==> Iniciando prepare()… Submodule 'src/MEGASync/mega' (https://github.com/meganz/sdk.git) registered for path 'src/MEGASync/mega' Cloning into '/home/tmp/yaourt-tmp-mine/aur-megasync/src/MEGAsync/src/MEGASync/mega'... Submodule path 'src/MEGASync/mega': checked out 'bba56616095cec01d305b0d98c6a365cf918e8c3' patching file net.cpp ==> Iniciando build()… autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing As you can see, the patch applies without complaints. Just an idea, try to sanitize your build environment. Maybe you have some code lying around from a previous build. I take for given that you are using the PKGBUILD without changes and are using the git tagged realease and not the main branch, where the patch has been already applied. If that doesn't work, edit the PKGBUILD and remove the lines where the patch is applied (inside prepare()): cd "${srcdir}/MEGAsync/src/MEGASync/mega/src/posix" patch < "${srcdir}/netcpp-openssl110.patch" Let's see how it goes.

juraj commented on 2017-05-12 08:31 (UTC)

I can't install the new version of Megasync. During installation it asks: Reset branch 'makepkg' ==> Starting prepare()... patching file net.cpp Reversed (or previously applied) patch detected! Assume -R? [n] If I press y, the build fails with this message: In file included from /usr/include/openssl/crypto.h:31:0, from /usr/include/openssl/comp.h:16, from /usr/include/openssl/ssl.h:47, from mega/include/mega/posix/meganet.h:28, from mega/include/mega.h:76, from mega/src/posix/net.cpp:22: /usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of ‘EVP_PKEY {aka struct evp_pkey_st}’ typedef struct evp_pkey_st EVP_PKEY; ^~~~~~~~~~~ mega/src/posix/net.cpp:2278:75: error: invalid use of incomplete type ‘X509_STORE_CTX {aka struct x509_store_ctx_st}’ int len = X509_NAME_get_text_by_NID (X509_get_issuer_name (ctx->cert), ^~ In file included from /usr/include/openssl/crypto.h:31:0, from /usr/include/openssl/comp.h:16, from /usr/include/openssl/ssl.h:47, from mega/include/mega/posix/meganet.h:28, from mega/include/mega.h:76, from mega/src/posix/net.cpp:22: /usr/include/openssl/ossl_typ.h:127:16: note: forward declaration of ‘X509_STORE_CTX {aka struct x509_store_ctx_st}’ typedef struct x509_store_ctx_st X509_STORE_CTX; ^~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:5270: net.o] Error 1 make[1]: Leaving directory '/home/juraj/.cache/pacaur/megasync/src/MEGAsync/src/MEGASync' make: *** [Makefile:43: sub-MEGASync-make_first] Error 2 ==> ERROR: A failure occurred in build(). Aborting... :: failed to build megasync package(s) If I presss n, it asks another question: Apply anyway? [n] If I press n, it fails with this message: Skipping patch. 4 out of 4 hunks ignored -- saving rejects to file net.cpp.rej ==> ERROR: A failure occurred in prepare(). Aborting... :: failed to build megasync package(s) If I press y, it fails with this message: Hunk #1 succeeded at 2253 with fuzz 1 (offset 40 lines). Hunk #2 FAILED at 2268. Hunk #3 FAILED at 2293. Hunk #4 FAILED at 2315. 3 out of 4 hunks FAILED -- saving rejects to file net.cpp.rej ==> ERROR: A failure occurred in prepare(). Aborting... :: failed to build megasync package(s) So what should I do to successfully build the package?

captn_mos commented on 2017-04-29 18:28 (UTC)

Okay, You're right MaterazziSan: I already installed the newest version of megasync (3.0.1.0-2), but before I installed the openssl-1.0 package. So now after a reinstallation of megasync, everything is working fine!

commented on 2017-04-29 16:09 (UTC)

Hi, I had the same issue as "captn_mos" but it was using megasync 3.0.1.0-1 version. The version megasync 3.0.1.0-2 include the "netcpp-openssl110.patch" and I do not have this issue, it is working correctly.

captn_mos commented on 2017-04-29 09:16 (UTC)

Since I've installed the new openssl-1.0 package, startup of megasync fails. This is my error log: MEGAprivate ERROR DUMP Application: MEGAsync Version code: 3001.0 Module name: megasync Operating system: Linux System version: #1 SMP PREEMPT Tue Apr 18 08:39:42 CEST 2017 System release: 4.10.11-1-ARCH System arch: x86_64 Error info: Segmentation fault (11) at address 0x32 Stacktrace: megasync() [0x5ca52a] megasync() [0x5ca52a] /usr/lib/libssl.so.1.1(+0x2777e) [0x7f083d28a77e] /usr/lib/libssl.so.1.1(+0x39f0b) [0x7f083d29cf0b] /usr/lib/libssl.so.1.1(+0x3770f) [0x7f083d29a70f] /usr/lib/libssl.so.1.1(SSL_do_handshake+0x41) [0x7f083d292e91] /usr/lib/libcurl.so.4(+0x5991c) [0x7f084197691c] /usr/lib/libcurl.so.4(+0x5a8f2) [0x7f08419778f2] /usr/lib/libcurl.so.4(+0x5cfdb) [0x7f0841979fdb] /usr/lib/libcurl.so.4(+0x12562) [0x7f084192f562] /usr/lib/libcurl.so.4(+0x39ebe) [0x7f0841956ebe] /usr/lib/libcurl.so.4(+0x3b578) [0x7f0841958578] /usr/lib/libcurl.so.4(curl_multi_socket_action+0x17) [0x7f0841958667] megasync() [0x5c8657] megasync() [0x5d03a4] megasync() [0x52ed3d] megasync() [0x5be0d9] megasync() [0x5be168] /usr/lib/libQt5Core.so.5(+0xad6d8) [0x7f083ec476d8] /usr/lib/libpthread.so.0(+0x72e7) [0x7f083e9832e7] /usr/lib/libc.so.6(clone+0x3f) [0x7f083de1254f]

migrev commented on 2017-04-25 10:45 (UTC)

Patched net.cpp from upstream (https://github.com/meganz/sdk/pull/622/commits/7e916da89b8d727bc49d4f5ff950b6e363885508). Builds and runs fine.

jghodd commented on 2017-04-24 19:15 (UTC) (edited on 2017-04-25 04:04 (UTC) by jghodd)

The current version is fubar - the last build won't run, and it can't be compiled. Building produces the following errors in mega/src/posix/net.cpp: mega/src/posix/net.cpp:2256:113: error: invalid use of incomplete type ‘EVP_PKEY {aka struct evp_pkey_st}’ LOG_warn << "Public key size mismatch " << BN_num_bytes(evp->pkey.rsa->n) << " " << BN_num_bytes(evp->pkey.rsa->e); mega/src/posix/net.cpp:2278:75: error: invalid use of incomplete type ‘X509_STORE_CTX {aka struct x509_store_ctx_st}’ int len = X509_NAME_get_text_by_NID (X509_get_issuer_name (ctx->cert), Of course, I cannot compile beyond this point, so there may be other issues. megasync was working until today's system update. If I had to guess, it was probably the openssl update that broke the build. Edit: The issue is definitely linked to updates to libcrypto and libssl. megasync requires openssl-1.0 and crypto-1.0, but libcurl now requires openssl-1.1 / crypto-1.1. The stacktrace: /usr/bin/megasync(+0x1f3d92) [0x55a4007b7d92] /usr/bin/megasync(+0x1f3d92) [0x55a4007b7d92] /usr/lib/libssl.so.1.1(+0x2777e) [0x7f4e3b6a377e] /usr/lib/libssl.so.1.1(+0x39f0b) [0x7f4e3b6b5f0b] /usr/lib/libssl.so.1.1(+0x3770f) [0x7f4e3b6b370f] /usr/lib/libssl.so.1.1(SSL_do_handshake+0x41) [0x7f4e3b6abe91] /usr/lib/libcurl.so.4(+0x5991c) [0x7f4e3fd8f91c] /usr/lib/libcurl.so.4(+0x5a8f2) [0x7f4e3fd908f2] /usr/lib/libcurl.so.4(+0x5cfdb) [0x7f4e3fd92fdb] /usr/lib/libcurl.so.4(+0x12562) [0x7f4e3fd48562] /usr/lib/libcurl.so.4(+0x39ebe) [0x7f4e3fd6febe] /usr/lib/libcurl.so.4(+0x3b578) [0x7f4e3fd71578] /usr/lib/libcurl.so.4(curl_multi_socket_action+0x17) I was able to get it to build by 1) symlinking /usr/include/openssl -> /usr/include/openssl-1.0/openssl ; 2) symlinking /usr/lib/libssl.so -> /usr/lib/libssl.so.1.0.0 and 3) symlinking /usr/lib/libcrypto.so -> /usr/lib/libcrypto.so.1.0.0. But it still crashes with the above stacktrace. It looks like the megasync code base will need to be updated to support ssl-1.1 and crypto-1.1 - this is probably not an overnight task.

aztec102 commented on 2017-04-24 00:34 (UTC)

Where update?

yangmame commented on 2017-04-20 01:11 (UTC) (edited on 2017-04-20 01:16 (UTC) by yangmame)

I can't compile it ,but I can install it from archlinuxcn-repo.however I still can't run it ,thanks!(and I am trying to compile again to show the error...in china, using git is very slow..) MEGAprivate ERROR DUMP Application: MEGAsync Version code: 3001.0 Module name: megasync Operating system: Linux System version: #1 SMP PREEMPT Tue Apr 18 08:39:42 CEST 2017 System release: 4.10.11-1-ARCH System arch: x86_64 Error info: Segmentation fault (11) at address 0x32 Stacktrace: megasync() [0x5c818a] megasync() [0x5c818a] /usr/lib/libssl.so.1.1(+0x2777e) [0x7f86d5d3b77e] /usr/lib/libssl.so.1.1(+0x39f0b) [0x7f86d5d4df0b] /usr/lib/libssl.so.1.1(+0x3770f) [0x7f86d5d4b70f] /usr/lib/libssl.so.1.1(SSL_do_handshake+0x41) [0x7f86d5d43e91] /usr/lib/libcurl.so.4(+0x57e2a) [0x7f86da425e2a] /usr/lib/libcurl.so.4(+0x58f6a) [0x7f86da426f6a] /usr/lib/libcurl.so.4(+0x5ca22) [0x7f86da42aa22] /usr/lib/libcurl.so.4(+0x124f2) [0x7f86da3e04f2] /usr/lib/libcurl.so.4(+0x39c2e) [0x7f86da407c2e] /usr/lib/libcurl.so.4(+0x3b2f4) [0x7f86da4092f4] /usr/lib/libcurl.so.4(curl_multi_socket_action+0x17) [0x7f86da4093f7] megasync() [0x5c8ac7] megasync() [0x5d0224] megasync() [0x52ed1d] megasync() [0x5bdfa9] megasync() [0x5be038] /usr/lib/libQt5Core.so.5(+0xad6d8) [0x7f86d76f86d8] /usr/lib/libpthread.so.0(+0x72e7) [0x7f86d74342e7] /usr/lib/libc.so.6(clone+0x3f) [0x7f86d68c354f] ------------------------------ MEGAprivate ERROR DUMP Application: MEGAsync Version code: 3001.0 Module name: megasync Operating system: Linux System version: #1 SMP PREEMPT Tue Apr 18 08:39:42 CEST 2017 System release: 4.10.11-1-ARCH System arch: x86_64 Error info: Segmentation fault (11) at address 0x32 Stacktrace: megasync() [0x5c818a] megasync() [0x5c818a] /usr/lib/libssl.so.1.1(+0x2777e) [0x7f1a06c0277e] /usr/lib/libssl.so.1.1(+0x39f0b) [0x7f1a06c14f0b] /usr/lib/libssl.so.1.1(+0x3770f) [0x7f1a06c1270f] /usr/lib/libssl.so.1.1(SSL_do_handshake+0x41) [0x7f1a06c0ae91] /usr/lib/libcurl.so.4(+0x57e2a) [0x7f1a0b2ece2a] /usr/lib/libcurl.so.4(+0x58f6a) [0x7f1a0b2edf6a] /usr/lib/libcurl.so.4(+0x5ca22) [0x7f1a0b2f1a22] /usr/lib/libcurl.so.4(+0x124f2) [0x7f1a0b2a74f2] /usr/lib/libcurl.so.4(+0x39c2e) [0x7f1a0b2cec2e] /usr/lib/libcurl.so.4(+0x3b2f4) [0x7f1a0b2d02f4] /usr/lib/libcurl.so.4(curl_multi_socket_action+0x17) [0x7f1a0b2d03f7] megasync() [0x5c8ac7] megasync() [0x5d0224] megasync() [0x52ed1d] megasync() [0x5bdfa9] megasync() [0x5be038] /usr/lib/libQt5Core.so.5(+0xad6d8) [0x7f1a085bf6d8] /usr/lib/libpthread.so.0(+0x72e7) [0x7f1a082fb2e7] /usr/lib/libc.so.6(clone+0x3f) [0x7f1a0778a54f] ------------------------------ MEGAprivate ERROR DUMP Application: MEGAsync Version code: 3001.0 Module name: megasync Operating system: Linux System version: #1 SMP PREEMPT Tue Apr 18 08:39:42 CEST 2017 System release: 4.10.11-1-ARCH System arch: x86_64 Error info: Segmentation fault (11) at address 0x32 Stacktrace: megasync() [0x5c818a] megasync() [0x5c818a] /usr/lib/libssl.so.1.1(+0x2777e) [0x7fe9f868277e] /usr/lib/libssl.so.1.1(+0x39f0b) [0x7fe9f8694f0b] /usr/lib/libssl.so.1.1(+0x3770f) [0x7fe9f869270f] /usr/lib/libssl.so.1.1(SSL_do_handshake+0x41) [0x7fe9f868ae91] /usr/lib/libcurl.so.4(+0x57e2a) [0x7fe9fcd6ce2a] /usr/lib/libcurl.so.4(+0x58f6a) [0x7fe9fcd6df6a] /usr/lib/libcurl.so.4(+0x5ca22) [0x7fe9fcd71a22] /usr/lib/libcurl.so.4(+0x124f2) [0x7fe9fcd274f2] /usr/lib/libcurl.so.4(+0x39c2e) [0x7fe9fcd4ec2e] /usr/lib/libcurl.so.4(+0x3b2f4) [0x7fe9fcd502f4] /usr/lib/libcurl.so.4(curl_multi_socket_action+0x17) [0x7fe9fcd503f7] megasync() [0x5c8ac7] megasync() [0x5d0224] megasync() [0x52ed1d] megasync() [0x5bdfa9] megasync() [0x5be038] /usr/lib/libQt5Core.so.5(+0xad6d8) [0x7fe9fa03f6d8] /usr/lib/libpthread.so.0(+0x72e7) [0x7fe9f9d7b2e7] /usr/lib/libc.so.6(clone+0x3f) [0x7fe9f920a54f] ------------------------------ MEGAprivate ERROR DUMP Application: MEGAsync Version code: 3001.0 Module name: megasync Operating system: Linux System version: #1 SMP PREEMPT Tue Apr 18 08:39:42 CEST 2017 System release: 4.10.11-1-ARCH System arch: x86_64 Error info: Segmentation fault (11) at address 0x32 Stacktrace: megasync() [0x5c818a] megasync() [0x5c818a] /usr/lib/libssl.so.1.1(+0x2777e) [0x7fc6db45777e] /usr/lib/libssl.so.1.1(+0x39f0b) [0x7fc6db469f0b] /usr/lib/libssl.so.1.1(+0x3770f) [0x7fc6db46770f] /usr/lib/libssl.so.1.1(SSL_do_handshake+0x41) [0x7fc6db45fe91] /usr/lib/libcurl.so.4(+0x57e2a) [0x7fc6dfb41e2a] /usr/lib/libcurl.so.4(+0x58f6a) [0x7fc6dfb42f6a] /usr/lib/libcurl.so.4(+0x5ca22) [0x7fc6dfb46a22] /usr/lib/libcurl.so.4(+0x124f2) [0x7fc6dfafc4f2] /usr/lib/libcurl.so.4(+0x39c2e) [0x7fc6dfb23c2e] /usr/lib/libcurl.so.4(+0x3b2f4) [0x7fc6dfb252f4] /usr/lib/libcurl.so.4(curl_multi_socket_action+0x17) [0x7fc6dfb253f7] megasync() [0x5c8ac7] megasync() [0x5d0224] megasync() [0x52ed1d] megasync() [0x5bdfa9] megasync() [0x5be038] /usr/lib/libQt5Core.so.5(+0xad6d8) [0x7fc6dce146d8] /usr/lib/libpthread.so.0(+0x72e7) [0x7fc6dcb502e7] /usr/lib/libc.so.6(clone+0x3f) [0x7fc6dbfdf54f] ------------------------------ MEGAprivate ERROR DUMP Application: MEGAsync Version code: 3001.0 Module name: megasync Operating system: Linux System version: #1 SMP PREEMPT Tue Apr 18 08:39:42 CEST 2017 System release: 4.10.11-1-ARCH System arch: x86_64 Error info: Segmentation fault (11) at address 0x32 Stacktrace: megasync() [0x5c818a] megasync() [0x5c818a] /usr/lib/libssl.so.1.1(+0x2777e) [0x7f338756b77e] /usr/lib/libssl.so.1.1(+0x39f0b) [0x7f338757df0b] /usr/lib/libssl.so.1.1(+0x3770f) [0x7f338757b70f] /usr/lib/libssl.so.1.1(SSL_do_handshake+0x41) [0x7f3387573e91] /usr/lib/libcurl.so.4(+0x57e2a) [0x7f338bc55e2a] /usr/lib/libcurl.so.4(+0x58f6a) [0x7f338bc56f6a] /usr/lib/libcurl.so.4(+0x5ca22) [0x7f338bc5aa22] /usr/lib/libcurl.so.4(+0x124f2) [0x7f338bc104f2] /usr/lib/libcurl.so.4(+0x39c2e) [0x7f338bc37c2e] /usr/lib/libcurl.so.4(+0x3b2f4) [0x7f338bc392f4] /usr/lib/libcurl.so.4(curl_multi_socket_action+0x17) [0x7f338bc393f7] megasync() [0x5c8ac7] megasync() [0x5d0224] megasync() [0x52ed1d] megasync() [0x5bdfa9] megasync() [0x5be038] /usr/lib/libQt5Core.so.5(+0xad6d8) [0x7f3388f286d8] /usr/lib/libpthread.so.0(+0x72e7) [0x7f3388c642e7] /usr/lib/libc.so.6(clone+0x3f) [0x7f33880f354f] ------------------------------ MEGAprivate ERROR DUMP Application: MEGAsync Version code: 3001.0 Module name: megasync Operating system: Linux System version: #1 SMP PREEMPT Tue Apr 18 08:39:42 CEST 2017 System release: 4.10.11-1-ARCH System arch: x86_64 Error info: Segmentation fault (11) at address 0x32 Stacktrace: megasync() [0x5c818a] megasync() [0x5c818a] /usr/lib/libssl.so.1.1(+0x2777e) [0x7fe30dfba77e] /usr/lib/libssl.so.1.1(+0x39f0b) [0x7fe30dfccf0b] /usr/lib/libssl.so.1.1(+0x3770f) [0x7fe30dfca70f] /usr/lib/libssl.so.1.1(SSL_do_handshake+0x41) [0x7fe30dfc2e91] /usr/lib/libcurl.so.4(+0x57e2a) [0x7fe3126a4e2a] /usr/lib/libcurl.so.4(+0x58f6a) [0x7fe3126a5f6a] /usr/lib/libcurl.so.4(+0x5ca22) [0x7fe3126a9a22] /usr/lib/libcurl.so.4(+0x124f2) [0x7fe31265f4f2] /usr/lib/libcurl.so.4(+0x39c2e) [0x7fe312686c2e] /usr/lib/libcurl.so.4(+0x3b2f4) [0x7fe3126882f4] /usr/lib/libcurl.so.4(curl_multi_socket_action+0x17) [0x7fe3126883f7] megasync() [0x5c8ac7] megasync() [0x5d0224] megasync() [0x52ed1d] megasync() [0x5bdfa9] megasync() [0x5be038] /usr/lib/libQt5Core.so.5(+0xad6d8) [0x7fe30f9776d8] /usr/lib/libpthread.so.0(+0x72e7) [0x7fe30f6b32e7] /usr/lib/libc.so.6(clone+0x3f) [0x7fe30eb4254f] ------------------------------ MEGAprivate ERROR DUMP Application: MEGAsync Version code: 3001.0 Module name: megasync Operating system: Linux System version: #1 SMP PREEMPT Tue Apr 18 08:39:42 CEST 2017 System release: 4.10.11-1-ARCH System arch: x86_64 Error info: Segmentation fault (11) at address 0x32 Stacktrace: megasync() [0x5c818a] megasync() [0x5c818a] /usr/lib/libssl.so.1.1(+0x2777e) [0x7f5c87d6d77e] /usr/lib/libssl.so.1.1(+0x39f0b) [0x7f5c87d7ff0b] /usr/lib/libssl.so.1.1(+0x3770f) [0x7f5c87d7d70f] /usr/lib/libssl.so.1.1(SSL_do_handshake+0x41) [0x7f5c87d75e91] /usr/lib/libcurl.so.4(+0x57e2a) [0x7f5c8c457e2a] /usr/lib/libcurl.so.4(+0x58f6a) [0x7f5c8c458f6a] /usr/lib/libcurl.so.4(+0x5ca22) [0x7f5c8c45ca22] /usr/lib/libcurl.so.4(+0x124f2) [0x7f5c8c4124f2] /usr/lib/libcurl.so.4(+0x39c2e) [0x7f5c8c439c2e] /usr/lib/libcurl.so.4(+0x3b2f4) [0x7f5c8c43b2f4] /usr/lib/libcurl.so.4(curl_multi_socket_action+0x17) [0x7f5c8c43b3f7] megasync() [0x5c8ac7] megasync() [0x5d0224] megasync() [0x52ed1d] megasync() [0x5bdfa9] megasync() [0x5be038] /usr/lib/libQt5Core.so.5(+0xad6d8) [0x7f5c8972a6d8] /usr/lib/libpthread.so.0(+0x72e7) [0x7f5c894662e7] /usr/lib/libc.so.6(clone+0x3f) [0x7f5c888f554f] ------------------------------ MEGAprivate ERROR DUMP Application: MEGAsync Version code: 3001.0 Module name: megasync Operating system: Linux System version: #1 SMP PREEMPT Tue Apr 18 08:39:42 CEST 2017 System release: 4.10.11-1-ARCH System arch: x86_64 Error info: Segmentation fault (11) at address 0x32 Stacktrace: megasync() [0x5c818a] megasync() [0x5c818a] /usr/lib/libssl.so.1.1(+0x2777e) [0x7fefd71d577e] /usr/lib/libssl.so.1.1(+0x39f0b) [0x7fefd71e7f0b] /usr/lib/libssl.so.1.1(+0x3770f) [0x7fefd71e570f] /usr/lib/libssl.so.1.1(SSL_do_handshake+0x41) [0x7fefd71dde91] /usr/lib/libcurl.so.4(+0x57e2a) [0x7fefdb8bfe2a] /usr/lib/libcurl.so.4(+0x58f6a) [0x7fefdb8c0f6a] /usr/lib/libcurl.so.4(+0x5ca22) [0x7fefdb8c4a22] /usr/lib/libcurl.so.4(+0x124f2) [0x7fefdb87a4f2] /usr/lib/libcurl.so.4(+0x39c2e) [0x7fefdb8a1c2e] /usr/lib/libcurl.so.4(+0x3b2f4) [0x7fefdb8a32f4] /usr/lib/libcurl.so.4(curl_multi_socket_action+0x17) [0x7fefdb8a33f7] megasync() [0x5c8ac7] megasync() [0x5d0224] megasync() [0x52ed1d] megasync() [0x5bdfa9] megasync() [0x5be038] /usr/lib/libQt5Core.so.5(+0xad6d8) [0x7fefd8b926d8] /usr/lib/libpthread.so.0(+0x72e7) [0x7fefd88ce2e7] /usr/lib/libc.so.6(clone+0x3f) [0x7fefd7d5d54f]

migrev commented on 2017-04-19 11:50 (UTC)

@yangmame: Could you be more specific? Any error messages? What exactly is failing: compilation or install? Just compiled and run it without a problem.

yangmame commented on 2017-04-19 10:23 (UTC)

Hi!I cant't install it and I can't run it it from the archlinuxcn repo can you fix it ? thanks!

zeroflag commented on 2017-04-06 22:14 (UTC)

Automated start of the megasync program sometimes seems to be so quick, that it starts before the notification area is ready. The solution is pretty simple. Delay the start of the megasync program. Edit the ~/.config/autostart/megasync.desktop file as follows: [Desktop Entry] Type=Application Version=1.0 GenericName=File Synchronizer Name=MEGASync Comment=Easy automated syncing between your computers and your MEGA cloud drive. TryExec=sh -c "sleep 20 && megasync &" Exec=sh -c "sleep 20 && megasync &" Icon=mega Terminal=false Categories=Network;System; StartupNotify=false X-GNOME-Autostart-Delay=20

mxgms commented on 2017-03-03 13:36 (UTC)

One important issue is if this service is secure.

queenmedley commented on 2017-01-22 15:58 (UTC) (edited on 2017-01-22 16:00 (UTC) by queenmedley)

When it autostart with megasync.desktop in .config/autostart or just "megasync" in .config/openbox/autostart it doesn't work and no icon in system tray. I found that autostart start 2 time as "ps -aux | grep mega." but just executing megasync in terminal, it works well. Anyone has a problem like me?

shameempk commented on 2016-11-11 10:18 (UTC)

hexchain: we can download the sdk release tarball and extract it to $srcdir/MEGAsync/src/MEGASync/mega. In effect, can remove the git submodule update --init --recursive part.

hexchain commented on 2016-11-11 05:30 (UTC)

The SDK is a submodule of the MEGASync repository so it cannot be downloaded separately.

shameempk commented on 2016-11-11 05:10 (UTC)

New release for mega sdk is out after a long wait. Since we have a git version separately, we can use this release and can avoid using source from git. https://github.com/meganz/sdk/releases

jplatte commented on 2016-11-09 20:51 (UTC)

jschievink: build dependencies inside the base-devel group don't have to be in PKGBUILDs.

jschievink commented on 2016-11-09 20:38 (UTC)

This package is missing a build dependency on automake and autoconf

shimi commented on 2016-10-28 08:33 (UTC)

First rebooting and then rebuilding worked.

hexchain commented on 2016-10-27 14:45 (UTC) (edited on 2016-10-28 02:14 (UTC) by hexchain)

Well apparently I didn't test when updating. Sorry, will look into it. EDIT: Rebuilding does help. Could you please try again?

shimi commented on 2016-10-27 14:43 (UTC)

Fails to start with this output: megasync: symbol lookup error: megasync: undefined symbol: _ZN8CryptoPP14CTR_ModePolicy15SeekToIterationEy Rebuilding does not help. Any ideas?

hexchain commented on 2016-10-11 16:51 (UTC)

The point of having this self-built package is that you can trust a little more in it. One little difference here, though: this one uses Qt5, the official one uses Qt4.

enercen commented on 2016-10-11 11:36 (UTC)

Official package (Downloadable from https://mega.nz/#sync) works just fine

jplatte commented on 2016-10-07 20:17 (UTC)

@knedlyk: I think a PKGBUILD that creates a package from the official binaries should (if someone creates it) be uploaded as megasync-bin.

knedlyk commented on 2016-10-07 20:11 (UTC)

What about official MegaSync package which can be downloaded from Mega.nz site: https://mega.nz/linux/MEGAsync/Arch_Extra/x86_64/megasync-x86_64.pkg.tar.xz ?

hexchain commented on 2016-09-23 15:45 (UTC)

Please try rebuilding.

trzalica commented on 2016-09-22 18:23 (UTC)

I also get a Segmentation fault (also have crypto++ 5.6.4-2 installed)...

jplatte commented on 2016-09-22 17:03 (UTC)

I get a segfault trying to start it, crypto++ 5.6.4-2 is installed.

kikadf commented on 2016-09-18 10:06 (UTC)

works again with crypto++-5.6.4-2

hexchain commented on 2016-09-18 10:05 (UTC)

Ah, I see: https://bugs.archlinux.org/task/50817 Please upgrade to crypto++ 5.6.4-2 and try again.

go_buster commented on 2016-09-18 09:49 (UTC)

Illegal instruction (core dumped) arch linux plasma i tried all version in list

hexchain commented on 2016-09-18 09:44 (UTC)

@thinhakapete could you please try rebuilding the package?

thinhakapete commented on 2016-09-18 09:38 (UTC)

$ megasync Illegal instruction (core dumped) crash sync upgraded to new kernel Kernel: 4.7.4-1-ARCH x86_64 (64 bit gcc: 6.2.1) Desktop: Gnome 3.20.4 (Gtk 3.20.9) info: gnome-shell dm: lightdm Distro: Arch Linux

kikadf commented on 2016-09-17 19:01 (UTC) (edited on 2016-09-17 19:10 (UTC) by kikadf)

crash with libcrypto++-5.6.4, gdb output: 0x00007ffff7820398 in CryptoPP::IteratedHashBase<unsigned int, CryptoPP::HashTransformation>::TruncatedFinal(unsigned char*, unsigned long) () from /usr/lib/libcryptopp.so.5.6

sekret commented on 2016-09-06 16:06 (UTC)

Why does this package conflict with megatools? I removed that line on my build here and have both on my system.

sekret commented on 2016-08-31 15:45 (UTC) (edited on 2016-08-31 15:46 (UTC) by sekret)

@ricardofunke, the source you linked is actually a repository, that arch users can use. Just add [DEB_Arch_Extra] Server = https://mega.nz/linux/MEGAsync/Arch_Extra/$arch to /etc/pacman.conf You'll probably have to deal with this message, which comes after pacman -Sy error: DEB_Arch_Extra: key "4B4E7A9523ACD201" is unknown error: key "4B4E7A9523ACD201" could not be looked up remotely error: failed to update DEB_Arch_Extra (invalid or corrupted database (PGP signature)) error: database 'DEB_Arch_Extra' is not valid (invalid or corrupted database (PGP signature)) But it's absolutely ok of hexchain to actually build this package here!!! However, you hexchain could (and probably should) use something like pkgver=2.9.8.0 _pkgver=$(echo $pkgver | sed 's/\./_/g') source=("https://github.com/meganz/MEGAsync/archive/v${_pkgver}_Linux.tar.gz")

sekret commented on 2016-08-31 15:26 (UTC)

Just fyi, this package builds and runs perfectly fine on my RPi2B, so you can add armv7h to the arch array. Most possibly it'll also build on armv6h.

ricardofunke commented on 2016-08-05 22:56 (UTC)

Hi, We already have a "megasync-git" to fetch from git, why don't you make this package download the bin package provided by the upstream? https://mega.nz/linux/MEGAsync/Arch_Extra/x86_64/megasync-x86_64.pkg.tar.xz

amiad commented on 2016-08-02 07:27 (UTC)

I get error: -> Creating working copy of MEGAsync git repo... /usr/share/makepkg/util/util.sh: line 80: cd: MEGAsync: No such file or directory ==> ERROR: Failed to change to directory MEGAsync Aborting...

hexchain commented on 2016-07-31 13:00 (UTC)

@rodrigog83: sorry for the inconvenience, and thanks!

rodrigog83 commented on 2016-07-31 12:44 (UTC) (edited on 2016-07-31 12:46 (UTC) by rodrigog83)

Complains at compile time about lrelease-qt5 not being found, added 'qt5-tools' to makedepends and it works. Thanks for the great work!

satriani commented on 2016-07-29 14:29 (UTC) (edited on 2016-07-29 14:31 (UTC) by satriani)

@son_link You understood it wrong. I mean why not offer this official package on AUR. You have less effort. From official source directly is not a good idea, because of updates. You know :) Please don't give it up. Thank you very much for all your efforts.

hexchain commented on 2016-07-27 15:12 (UTC)

Having a source built package is always good :)

son_link commented on 2016-07-26 15:19 (UTC)

I decided not continue maintaining this package. Please use the official package. Thanks for support me all this time ;)

satriani commented on 2016-07-25 12:43 (UTC)

Here is the new original version for Arch: https://mega.nz/linux/MEGAsync/Arch_Extra/x86_64/megasync-2.9.8-1-x86_64.pkg.tar.xz Why not use this source?

itsnotme commented on 2016-07-08 19:42 (UTC) (edited on 2016-07-24 13:35 (UTC) by itsnotme)

@enercen: But their repo uses "SigLevel = Optional TrustAll". Isn't that unsafe?

benjkaiser commented on 2016-06-17 03:23 (UTC)

Package also needed automake to build: https://www.archlinux.org/packages/core/any/automake/ Ran into `Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.` without having it installed

commented on 2016-05-08 10:34 (UTC)

Why do you disable almost everything in ./configure?

son_link commented on 2016-05-06 11:03 (UTC) (edited on 2016-05-06 11:04 (UTC) by son_link)

@FadeMind, is the same version, in her Gitgub repo, under Releases you can view the releases. I will continue to maintain this package, at least for a while.

FadeMind commented on 2016-05-05 12:26 (UTC)

MEGAsync Official app have 2.9.1-1 version. AUR megasync package have 2.9.1.0-1 https://mega.nz/linux/MEGAsync/Arch_Extra/x86_64/ or https://mega.nz/linux/MEGAsync/Arch_Extra/i686/

enercen commented on 2016-05-05 08:29 (UTC)

MEGA is now offering a megasync package for ArchLinux. You can download it from: https://mega.nz/#sync. It will also configure their official repo, so that updates will work and you can install nautilus extension.

ziggi commented on 2016-04-26 06:05 (UTC)

New PKGBUILD (with tags): https://gist.github.com/ziggi/21e6abfcfc01fffdc18b11c34e0cf627

osvein commented on 2016-03-27 17:48 (UTC)

Tags have been pushed to GitHub, you should use them rather than commit id. https://github.com/meganz/MEGAsync/issues/5

rat commented on 2016-03-13 15:41 (UTC)

Hi @son_link libuv is a new dependence for megasync, without it cannot be build logs: ... In file included from mega/src/megaapi.cpp:24:0: mega/include/megaapi_impl.h:38:16: fatal error: uv.h: No such file or directory compilation terminated. Makefile:1721: recipe for target 'megaapi.o' failed make[1]: *** [megaapi.o] Error 1 make[1]: *** Waiting for unfinished jobs.... ...

son_link commented on 2016-03-13 15:04 (UTC)

Ok, now don't make the extension for Nautilus

liushuyu commented on 2016-03-13 14:03 (UTC)

@agm28011997 Yes, you can safely change the line `qmake-qt4 CONFIG+="release with_ext" MEGA.pro` to `qmake-qt4 CONFIG+="release" MEGA.pro`

usuariopolivalen commented on 2016-03-13 13:36 (UTC)

i can not build the package because i havent got nautiklus, I use plasma and i am not going to install nautilus ... it is supposed to be an optional dependencie, not?

noplomplom commented on 2016-03-13 13:16 (UTC)

Indeed, I don't have nautilus and cannot build the package.

liushuyu commented on 2016-03-13 13:10 (UTC) (edited on 2016-03-13 13:19 (UTC) by liushuyu)

You missed a dependency: libuv And as qtcreator-qt4 no longer exist, you can just remove it and everything just fine ;-) BTW, it's not friendly to use "release with_ext" , as this will require nautils, however, people may use other Desktop Environment which doesn't have nautils. Just to say that @XavierCLL 's PKGBUILD worked...

R0GERIUS commented on 2016-03-13 13:02 (UTC) (edited on 2016-03-13 13:05 (UTC) by R0GERIUS)

'qtcreator-qt4' ins't on AUR, and because of that, this version (2.7.1-4) cannot be installed. I tried to modify the original PKGBUILD (get rid of this dependency), but it won't compile. The current best method is to use @XavierCLL's PKGBUILD, because it's working.

Shinto commented on 2016-03-13 12:50 (UTC)

Why does it need qtcreator-qt4?

son_link commented on 2016-03-12 22:41 (UTC)

How odd , I'd swear upgrade the package to compile from source code. Tomorrow i upload again.

XavierCLL commented on 2016-03-12 21:39 (UTC)

Ready! Here https://goo.gl/NZn7YZ there are the fixed and tested the PKGBUILD for compile Mega from source (usign crypto++ of official repository). @son_link if you want, I can maintain this version of Mega compiled of the source code and if you want create and mantain the megasync-bin using .rpm files.

fdezrobji commented on 2016-03-12 09:39 (UTC)

It would be nice being able to install megasync with the crypto++ in the extra arch repository. Is it possible?

inanimate commented on 2016-03-10 01:31 (UTC)

Woohoo! So maybe make what this one currently is "megasync-bin" and implement @XavierCLL's pkgbuild for this version?

XavierCLL commented on 2016-03-10 01:28 (UTC) (edited on 2016-03-10 01:29 (UTC) by XavierCLL)

@son_link Is prefer use the source code, from source code don't need the special version of crypto++, among other things. Thanks @kozeid for the pkgbuild, but I used plasma and I don't need the nautilus-extension this should not be a makedependencia, is better separate the packages.

Kozeid commented on 2016-03-09 18:19 (UTC)

I made PKGBUILD that builds megasync from source code: PKGBUILD: http://pastebin.com/Cvaxq0fp megasync.instal: http://pastebin.com/8Gme2kxe nautilus-megasync.install: http://pastebin.com/r7Sccbsq

kikadf commented on 2016-03-08 10:46 (UTC)

@son_link: Hi! I think you should use "3.1" as "_extraver=3.1", or as "pkgver=2.7.1_3.1", not as pkgrel.

trzalica commented on 2016-03-08 10:12 (UTC)

I uninstalled Megasync and crypto and then installed new Megasync version and it seems that everything works just fine now! Thanks for help guys! :)

kamina111 commented on 2016-03-08 03:57 (UTC)

Thanks! =)

inanimate commented on 2016-03-07 19:49 (UTC)

Interesting. I can't seem to get to the right-click menu. The icon shows up but I can't get the menu open, which means I can't get to the GUI to add shares, etc.. Anyone else having this problem?

son_link commented on 2016-03-07 17:26 (UTC)

@trzalica Try uninstall megasync and cripto++ firts

inanimate commented on 2016-03-07 17:24 (UTC)

@trzalica I got that too at first. Try a -Rns on crypto++ to fully remove it and also remve megasync completely. Then try installing.

trzalica commented on 2016-03-07 17:20 (UTC) (edited on 2016-03-07 17:21 (UTC) by trzalica)

I can't build new version because of the Crypto package... I get this: 1st attempt ============================ looking for conflicting packages... :: crypto++-562 and crypto++ are in conflict. Remove crypto++? [y/N] y error: failed to prepare transaction (could not satisfy dependencies) :: megasync: removing crypto++ breaks dependency 'crypto++' ============================ 2nd attempt ============================ :: crypto++-562 and crypto++ are in conflict. Remove crypto++? [y/N] error: unresolvable package conflicts detected error: failed to prepare transaction (conflicting dependencies) :: crypto++-562 and crypto++ are in conflict ============================

inanimate commented on 2016-03-07 17:01 (UTC)

Thanks son_link! New version works great!

son_link commented on 2016-03-07 13:57 (UTC)

After all, sorry for the delay. Firts, i tray to compile from the source code, but make return a lot of errors and don't compile correctly. Second, i change the deb packages to rpm packages for OpenSUSe Tumbleweed. The reason for this is that using the Debian/xUbuntu version this throws an error, for this reason i tray the other packages and this run perfectly, and y submit the older versión of Crypto++ 5.6.2 to AUR, is not compatible whit 5.6.3

wchouser3 commented on 2016-03-05 20:39 (UTC)

need to update the pkgbuild with the new sources

gleb.zhulik commented on 2016-03-04 06:56 (UTC)

∞➜ ~ LANG=C y -S megasync [10:00] ==> Downloading megasync PKGBUILD from AUR... x .SRCINFO x PKGBUILD x megasync.install Kozeid commented on 2016-03-01 18:40 Source code is finally available. https://github.com/meganz/MEGAsync son_link commented on 2016-03-01 18:48 Ok, just i working in that now Rebelyouth commented on 2016-03-01 23:00 New version 2.7.2 i386 = https://mega.nz/linux/MEGAsync/Debian_8.0/i386/megasync_2.7.2_i386.deb md5sum = ebb32a34a0320a26461f43f06c4b511d AMD64 = https://mega.nz/linux/MEGAsync/Debian_8.0/amd64/megasync_2.7.2_amd64.deb md5sum = 1901fe664ed6434f6988fea328952f03 Please update PKGBUILD ricardofunke commented on 2016-03-02 01:07 libcrypto++.so.9 is only available in Crypto++5.6.1 we're on Crypto++.5.6.3 Somebody has to make a new package on AUR to make libcrypto++.so.9 available again. It needs to download and compile Crypto++5.6.1: https://www.cryptopp.com/#download Then you have to change the dependence to this new crypto AUR package. inanimate commented on 2016-03-02 21:37 For now, since I just did a fresh install and absolutely need this to get on with my day, I actually installed the pkgbuild from: https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/crypto%2b%2bid=1d3654ce3ebc238cf61e0031ec525a6b86f725ed I then pulled this PKGBUILD and modified the version, grabbed the md5 of the new one, and was on my way. I emailed the maintainer and he is working on fixing this. EDIT: Nope, that didn't fix it. Even after symlinking, still getting https://tty0.in/ozidudayid.coffee :( Btw, in the 5.6.1 of crypto++, there isn't a `*.so.9` file created in /usr/lib...so I'm wondering whats going on here. I had to symlink it to get to this point. megasync 2.6.1-2 (2016-02-28 14:41) ( Unsupported package: Potentially dangerous ! ) ==> Edit PKGBUILD ? [Y/n] ("A" to abort) ==> ------------------------------------ ==> n ==> megasync dependencies: - openssl (already installed) - c-ares (already installed) - libgcrypt (already installed) - crypto++ (already installed) - qt4 (already installed) - libpng (already installed) - qtchooser (already installed) - sqlite (already installed) ==> Edit megasync.install ? [Y/n] ("A" to abort) ==> -------------------------------------------- ==> n ==> Continue building megasync ? [Y/n] ==> ---------------------------------- ==> ==> Building and installing package ==> Making package: megasync 2.6.1-2 (Fri Mar 4 10:01:04 MSK 2016) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Downloading megasync_2.6.1_amd64.deb... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:08 --:--:-- 0 curl: (22) The requested URL returned error: 404 Not Found ==> ERROR: Failure while downloading https://mega.nz/linux/MEGAsync/Debian_8.0/amd64/megasync_2.6.1_amd64.deb Aborting... ==> ERROR: Makepkg was unable to build megasync. ==> Restart building megasync ? [y/N] ==> --------------------------------- ==>

inanimate commented on 2016-03-02 21:37 (UTC) (edited on 2016-03-03 00:20 (UTC) by inanimate)

For now, since I just did a fresh install and absolutely need this to get on with my day, I actually installed the pkgbuild from: https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/crypto%2b%2b&id=1d3654ce3ebc238cf61e0031ec525a6b86f725ed I then pulled this PKGBUILD and modified the version, grabbed the md5 of the new one, and was on my way. I emailed the maintainer and he is working on fixing this. EDIT: Nope, that didn't fix it. Even after symlinking, still getting https://tty0.in/ozidudayid.coffee :( Btw, in the 5.6.1 of crypto++, there isn't a `*.so.9` file created in /usr/lib...so I'm wondering whats going on here. I had to symlink it to get to this point.

ricardofunke commented on 2016-03-02 01:07 (UTC)

libcrypto++.so.9 is only available in Crypto++5.6.1 we're on Crypto++.5.6.3 Somebody has to make a new package on AUR to make libcrypto++.so.9 available again. It needs to download and compile Crypto++5.6.1: https://www.cryptopp.com/#download Then you have to change the dependence to this new crypto AUR package.

Rebelyouth commented on 2016-03-01 23:00 (UTC)

New version 2.7.2 i386 = https://mega.nz/linux/MEGAsync/Debian_8.0/i386/megasync_2.7.2_i386.deb md5sum = ebb32a34a0320a26461f43f06c4b511d AMD64 = https://mega.nz/linux/MEGAsync/Debian_8.0/amd64/megasync_2.7.2_amd64.deb md5sum = 1901fe664ed6434f6988fea328952f03 Please update PKGBUILD

son_link commented on 2016-03-01 18:48 (UTC)

Ok, just i working in that now

Kozeid commented on 2016-03-01 18:40 (UTC)

Source code is finally available. https://github.com/meganz/MEGAsync

ktrls commented on 2016-03-01 09:21 (UTC)

Hi, it's impossible to find https://mega.nz/linux/MEGAsync/Debian_8.0/amd64/megasync_2.6.1_amd64.deb in https://mega.nz/linux/MEGAsync/Debian_8.0/amd64/ there is only the 2.7.1 version Cheers

tmallafre commented on 2016-02-28 21:13 (UTC)

This workaround solved my system tray missing icon problem on XFCE: http://forum.peppermintos.com/index.php/topic,2604.msg25577.html?PHPSESSID=6582cee767044ee350945c67cd0da3b6#msg25577

b9anders commented on 2016-02-20 22:41 (UTC)

Installing sni-qt fixed the issue with the system tray for me. Thanks @shredderming

tuxayo commented on 2016-02-16 12:15 (UTC)

@son_link Where did you found that it's under the "The Clarified Artistic License". And is it valid to say that if the source code is not available?

jujes commented on 2016-01-21 11:23 (UTC)

Me too: 2.5.3 .deb packages are no longer available on given source link. There's new 2.6.1 version available though.

Shimmy commented on 2016-01-21 09:14 (UTC)

2.5.3 .deb packages are no longer available on given source link. There's new 2.6.1 version available though.

son_link commented on 2016-01-10 22:08 (UTC)

@niezniszczalny yea, i have the same lines, but works perfectly, i don't have any problem

son_link commented on 2016-01-10 22:06 (UTC)

@tuxayo unfortunately is not posible. Mega has not released the source code.

tuxayo commented on 2016-01-10 19:43 (UTC)

Is someone able to find the source code?

niezniszczalny commented on 2015-12-22 10:05 (UTC)

Works but gives the same arror as few guys below listed: megasync: /usr/lib/libcrypto.so.1.0.0: no version information available (required by megasync) megasync: /usr/lib/libssl.so.1.0.0: no version information available (required by megasync) megasync: /usr/lib/libssl.so.1.0.0: no version information available (required by megasync)

g3ck0 commented on 2015-12-13 23:52 (UTC)

Works fine, but when I reboot the PC, the MegaSync icon in the system tray is missing. However, is running in the background. If I invoke it as root, the icon appears, and maybe that is a problem (now there are two MegaSync executing).

gps1539 commented on 2015-12-05 22:32 (UTC) (edited on 2015-12-09 06:02 (UTC) by gps1539)

megasync failed for my user, but works for a different user on the same system, therefore the package seems to be fine. The 'no version' messages below do not seem to indicate a cause as I see the same when megasync works.

tthanh commented on 2015-11-27 13:49 (UTC)

TOday I can't start megasync anymore megasync: /usr/lib/libcrypto.so.1.0.0: no version information available (required by megasync) megasync: /usr/lib/libssl.so.1.0.0: no version information available (required by megasync) megasync: /usr/lib/libssl.so.1.0.0: no version information available (required by megasync)

wolfanger commented on 2015-11-24 10:22 (UTC)

Same errors of user e_irbis. App not working. wolfanger ~ $ megasync megasync: /usr/lib/libcrypto.so.1.0.0: no version information available (required by megasync) megasync: /usr/lib/libssl.so.1.0.0: no version information available (required by megasync) megasync: /usr/lib/libssl.so.1.0.0: no version information available (required by megasync)

e_Irbis commented on 2015-11-19 08:25 (UTC)

No tray icon. And with start of console I see this errors: megasync: /usr/lib/libcrypto.so.1.0.0: no version information available (required by megasync) megasync: /usr/lib/libssl.so.1.0.0: no version information available (required by megasync) megasync: /usr/lib/libssl.so.1.0.0: no version information available (required by megasync)

son_link commented on 2015-11-03 20:58 (UTC) (edited on 2015-11-03 20:58 (UTC) by son_link)

The last version of Megasync is 2.3.1, NOT 2.3.9 and the url for the sources and the md5sums is correct.

Comanshark commented on 2015-11-03 20:45 (UTC)

Deberían actualizar este paquete...

Ste74 commented on 2015-11-02 20:33 (UTC) (edited on 2015-11-02 20:41 (UTC) by Ste74)

Is wrong source : https://mega.nz/linux/MEGAsync/Debian_8.0/amd64/megasync-Debian_8.0_amd64.deb https://mega.nz/linux/MEGAsync/Debian_8.0/i386/megasync-Debian_8.0_i386.deb try to change source change like this : source_i686=("https://mega.nz/linux/MEGAsync/Debian_8.0/i386/${pkgname}-Debian_8.0_i386.deb") source_x86_64=("https://mega.nz/linux/MEGAsync/Debian_8.0/amd64/${pkgname}-Debian_8.0_amd64.deb") md5sums_i686=('805ed27f2436989e147d9edc3128e6e9') md5sums_x86_64=('959153db992a3a2353d7853f941db5d7')

japonecka commented on 2015-11-02 12:41 (UTC)

Hi, I have exactly the same problem as Simone98RC. Is there currently any solution for this? Thank you very much.

Simone98RC commented on 2015-11-01 22:08 (UTC)

It's out of date not only the md5sum (which cause a validity check error), but the package too: https://mega.nz/linux/MEGAsync/Debian_8.0/amd64/megasync-Debian_8.0_amd64.deb Actually latest version should be the 2.3.9.

syther commented on 2015-11-01 21:55 (UTC)

@tomjtoth md5sum is out of date. megasync_2.3.1_amd64.deb MD5sum: 959153db992a3a2353d7853f941db5d7 megasync_2.3.1_i386.deb MD5sum: 805ed27f2436989e147d9edc3128e6e9

commented on 2015-10-31 22:01 (UTC)

@dag I think the md5sum is out of date. ==> Validating source files with md5sums... megasync_2.3.1_amd64.deb ... FAILED ==> ERROR: One or more files did not pass the validity check! This is the md5sum of the x86_64 package I downloaded from the URL: 959153db992a3a2353d7853f941db5d7

commented on 2015-10-31 21:23 (UTC)

==> Validating source files with md5sums... megasync_2.3.1_amd64.deb ... FAILED ==> ERROR: One or more files did not pass the validity check!

eticre commented on 2015-10-26 22:28 (UTC)

for plasma5 first instal and run stalonetray package

dag commented on 2015-10-13 11:38 (UTC)

untill this gets updated here are the hashes etc.. so you dont have to look them up. [code] pkgver=2.3.1 source_i686=("https://mega.co.nz/linux/MEGAsync/Debian_8.0/i386/${pkgname}_${pkgver}_i386.deb") source_x86_64=("https://mega.co.nz/linux/MEGAsync/Debian_8.0/amd64/${pkgname}_${pkgver}_amd64.deb") md5sums_i686=('562775fe7e0a8a785ce6215af6341401') md5sums_x86_64=('1e925a593a99eebcc51722f4f485377e') [/code]

tblu commented on 2015-10-11 11:05 (UTC)

Hi, the last source is: https://mega.co.nz/linux/MEGAsync/Debian_8.0/amd64/megasync_2.3.1_amd64.deb https://mega.co.nz/linux/MEGAsync/Debian_8.0/i386/megasync_2.3.1_i386.deb (i686) Please update the package, since 2.1.1 does not exist. Thanks!

shredderming commented on 2015-09-19 19:03 (UTC)

@sourc7 try to install "sni-qt" package.

commented on 2015-09-18 02:55 (UTC)

Tried several time install this client still no luck ... Its said " Failed to connect to mega.co.nz port 443: Connection timed out " but in the past i had no issues about this

marvelvance commented on 2015-09-05 08:04 (UTC)

Mega have an ArchLinux repo that I have added to the unofficial user repos wiki check it out

sourc7 commented on 2015-08-29 15:46 (UTC)

I'm using KDE the megasync icon won't appear in the system tray

X1011 commented on 2015-08-12 11:23 (UTC)

@Jristz: I just tried that, but the packages don't actually have the built files in them; just .MTREE and .PKGINFO. You can see that just by looking at the size of the pkg files in the link you gave; they are all under 1K.

commented on 2015-08-04 23:43 (UTC)

https://mega.nz/linux/MEGAsync/Arch_Extra/i686/ Mega HAVE a package for Arch, why not use it?

liphvf commented on 2015-08-04 04:10 (UTC)

Only update PKGBUILD for new md5sum cee950ece38f6e920b919309806aa6c1 and new pkgver 2.1.1. It's fix all bug. son_link, update PKGBUILD in the future.

bluhue commented on 2015-08-03 08:42 (UTC)

The current md5sum for x86_64 is cee950ece38f6e920b919309806aa6c1 for those who are trying to install right now

dtschmitz commented on 2015-08-01 17:24 (UTC)

megasync bug reported yesterday: https://github.com/ValHue/AUR-PKGBUILDs/issues/2

inceptorus commented on 2015-08-01 14:40 (UTC)

Latest deb is 2.1.1 I changed version in PKGBUILD and it builds and installs perfectly.

z0mb1e_kgd commented on 2015-07-27 17:00 (UTC)

Same as for f3bruary and sistematico, though I can login. And the system tray icon in XFCE has a black background.

sistematico commented on 2015-07-09 06:25 (UTC)

Same here.

f3bruary commented on 2015-07-07 13:22 (UTC)

megasync: /usr/lib/libcrypto.so.1.0.0: no version information available (required by megasync) megasync: /usr/lib/libssl.so.1.0.0: no version information available (required by megasync) megasync: /usr/lib/libssl.so.1.0.0: no version information available (required by megasync) And I can't login either.

sl1pkn07 commented on 2015-05-23 14:55 (UTC)

pkgbuild sync with debian_8.0 repo and namcap http://sl1pkn07.wtf/paste/view/97399d7d

sl1pkn07 commented on 2015-05-23 14:43 (UTC)

mkdir -p ${pkgdir}/usr/lib ln -s /usr/lib/libcrypto++.so ${pkgdir}/usr/lib/libcrypto++.so.10 ln -s /usr/lib/libcryptopp.so ${pkgdir}/usr/lib/libcryptopp.so.6 ln -s /usr/lib/libcrypto.so ${pkgdir}/usr/lib/libcrypto.so.10 ln -s /usr/lib/libssl.so.1.0.0 ${pkgdir}/usr/lib/libssl.so.10 in the pkgbuild and rm /usr/lib/libcrypto++.so.10 rn /usr/lib/libcryptopp.so.6 rm /usr/lib/libcrypto.so.10 rm /usr/lib/libssl.so.10 in .install not need anymore greetings

yan12125 commented on 2015-05-15 08:22 (UTC)

In megasync.install there's a typo: rn => rm

eherranzr commented on 2015-05-09 08:43 (UTC)

Getting the following error: /tmp/yaourt-tmp-emilio/aur-megasync/src tar (child): data.tar.gz: No se puede open: No existe el fichero o el directorio tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now

xstefen commented on 2015-05-08 20:58 (UTC)

The current md5sum for x86_64 is a96197054f4c4a9fbc74185704a34c94 for those who are trying to install right now

eherranzr commented on 2015-05-07 15:37 (UTC)

MadCat_X I get the following error using your PKGBUILD: /tmp/yaourt-tmp-emilio/aur-megasync/pkg/megasync no package supplied

MadCat_X commented on 2015-05-06 17:31 (UTC)

It's not just Arch, Fedora repository is broken (again) too. I have no idea what level of incompetence this takes but as far as I can tell they keep signing their packages with a wrong key. The funniest part is that sometimes they get it right, sometimes I have to skip the signature check to get the update. I reported this a while back and although they acknowledged the problem it doesn't look like they have done much about it. FWIW, if anybody wants the latest update, here's my PKGBUILD that uses the Fedora binaries instead of Debian ones. http://pastebin.com/t4f2C20U

a172 commented on 2015-05-05 21:59 (UTC)

Update on MEGA's Arch repos. It is severely busted. 1) The packages provided are actually empty. 2) The Arch_Extra folder does not have the public key available, although, it does seem to be present in other folders. 3) There is a version mismatch between the database and the actual files. There is a public key for the Debian 7/8 repos, but the signatures are not for the actual packages we are downloading. It is for the 'Release' text file which contains the checksums for the 'Packages' files, which contains the descriptions (including checksums) of the files in the repo. Since the public key is coming from the same source as the signatures, there PGP is only acting as a super complicated checksum. Of another checksum. Of the original checksum. All from the same source. So PGP is useless here. It does look like we can pull the checksum dynamically via shell script magic, though. This is a bit of an ugly example (the | grep | tail | cut could probably be done with a single sed/awk), but it does work (I only tested x86_64). http://sprunge.us/HBOV tl;dr The MEGA Arch repo is busted. Don't use any part of it. The files (and therefore the checksums) look like they change a lot, even without a version bump. We can do an ugly workaround by pulling the checksum dynamically from the debian repo provided. EDIT: Merged my wall of comments into 1 comment with only the relevant info. Also, I will keep on MEGA to try and fix their Arch repo, although I don't expect anything to change.

hkn3000 commented on 2015-05-04 20:15 (UTC)

I'm also getting a checksum error on 2.0.0-3 on x86_64. I couldn't build during today.

a172 commented on 2015-05-04 13:19 (UTC)

I'm still getting a checksum error on 2.0.0-3 on x86_64. $ md5sum megasync*.deb a96197054f4c4a9fbc74185704a34c94 megasync_2.0.0_amd64.deb <-- Downloaded from URL in 2.0.0-3 PKGBUILD a96197054f4c4a9fbc74185704a34c94 megasync-Debian_7.0_amd64.deb <-- Downloaded manually from website This is different from what @padman posted in the PKGBUILD. I suspect that mega is pushing minor updates to the client without bumping the version. I don't know of a good way to fix this. A work around would be to put 'SKIP' in the PKGBUILD checksum. Another alternative would be to use PGP signatures, but it doesn't look like MEGA provides any for the Debian files. There does, however, seem to be a custom Arch repo available from MEGA, which has signatures. Unfortunately, I've been unable to locate the public key they use, so there is no way to verify the signatures. Link to MEGA's Arch repos: https://mega.nz/linux/MEGAsync/Arch_Extra/x86_64/ https://mega.nz/linux/MEGAsync/Arch_Extra/i686/

sarri-on commented on 2015-05-02 13:17 (UTC)

megasync 2.0.0-2 has some problem with the checksums. Solution: 1) Download only the PKGBUILD file. yaourt -G megasync 2) Instalar ignoring integrity checksum cd /tmp/yaourt-tmp-username/megasync makepkg -i --skipinteg PKGBUILD

padman commented on 2015-04-29 18:53 (UTC)

The PKGBUILD needs to be updated. md5sum has change. here is the updated PKGBUILD => http://pastebin.com/wTCm6QfZ

a172 commented on 2015-04-28 12:38 (UTC)

@humkas: Based off of google translate, it looks like you have a download error. You can download the file manually here (https://mega.co.nz/#sync). Use the Debian 7 file and select your architecture. You will need to update the checksum in the PKGBUILD.

MexicanoTerco commented on 2015-04-24 21:58 (UTC)

humkas: I don't know what the problem is, but you can always download the PKGBUILD and the source file. Then just follow the process described in https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_packages

humkas commented on 2015-04-23 03:58 (UTC)

I am trying to re-install the package and this is what yaourt gives me (sorry it is in spanish)(/usr/bin/makepkg:line 374: 10170 ilegal instruction ) : -> Descargando megasync_2.0.0_amd64.deb... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0/usr/bin/makepkg: línea 374: 10170 Instrucción ilegal (`core' generado) /usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o megasync_2.0.0_amd64.deb.part https://mega.co.nz/linux/MEGAsync/Debian_7.0/amd64/megasync_2.0.0_amd64.deb ==> ERROR: Hubo fallos durante la descarga de megasync_2.0.0_amd64.deb Cancelando... ==> ERROR: Makepkg no ha podido compilar megasync. Anyone knows why is this happening? What should I do? :/

dap1995 commented on 2015-03-10 16:50 (UTC)

elmumtaz ignore these errors If you use cinnamon, restore default conf of painel.

commented on 2015-03-09 07:55 (UTC)

Hi there ... after some upgrade, megasync not working anymore. My terminal outputs : megasync: /usr/lib/libcrypto.so.1.0.0: no version information available (required by megasync) megasync: /usr/lib/libssl.so.1.0.0: no version information available (required by megasync) megasync: /usr/lib/libssl.so.1.0.0: no version information available (required by megasync) what should i do?

dap1995 commented on 2015-03-05 02:16 (UTC)

Hi, modify in PKGBUILD pkgver=2.0.0 New version of package: https://mega.co.nz/linux/MEGAsync/Debian_7.0/amd64/megasync_2.0.0_amd64.deb i686 MD5sums: 161855aacbbf736791ad8a39a0d3c2d0 amd64 MD5sums: fd39456080e087cf1c46d91fb67fad13 dependencies are the same. Thanks! http://mega.nz/linux/MEGAsync/Debian_7.0/Packages

aremo12 commented on 2015-02-22 07:11 (UTC)

Just like kiritoxcii, I installed as Hermen suggested, and got the same error. MEGAprivate ERROR DUMP Application: MEGAsync Version code: 1039.1 Module name: megasync Operating system: Linux System version: #1 SMP PREEMPT Sat Feb 7 08:44:05 CET 2015 System release: 3.18.6-1-ARCH System arch: x86_64 Error info: Illegal instruction (4) at address 0x7f082c075f33 Stacktrace: ## /usr/lib/libcrypto.so.1.0.0(aesni_cbc_sha256_enc+0x68) [0x7f084109b128] #1 /usr/lib/libcrypto.so.1.0.0(aesni_cbc_sha256_enc+0x68) [0x7f084109b128]

kiritoxcii commented on 2015-02-17 02:59 (UTC)

I installed the packages like Hermen suggested but when I run Mega it gives this error: MEGAprivate ERROR DUMP Application: MEGAsync Version code: 1039.1 Module name: megasync Operating system: Linux System version: #1 SMP PREEMPT Sat Feb 7 08:44:05 CET 2015 System release: 3.18.6-1-ARCH System arch: x86_64 Error info: Illegal instruction (4) at address 0x7f3f000759a3 Stacktrace: ## /usr/lib/libcrypto.so.1.0.0(aesni_cbc_sha256_enc+0x68) [0x7f3f3089a128] #1 /usr/lib/libcrypto.so.1.0.0(aesni_cbc_sha256_enc+0x68) [0x7f3f3089a128] Has anyone the same problem? Or somebody knows how to fix this? Thank you for reading and helping.

Hermen commented on 2015-02-15 03:15 (UTC)

Just download and extract the tarball, download the .deb pakage directly from the mega site and put it in the same directory of PKGBUILD, finally edit PKGBUILD and replace the the path to .deb package with path to downloaded package. Just run makepkg -s and its done.

aremo12 commented on 2015-02-14 19:35 (UTC)

I have the same problem as kiritoxcii /usr/bin/makepkg: line 374: 1514 Illegal instruction (core dumped) /usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o megasync_1.0.39_amd64.deb.part https://mega.co.nz/linux/MEGAsync/Debian_7.0/amd64/megasync_1.0.39_amd64.deb ==> ERROR: Failure while downloading megasync_1.0.39_amd64.deb Aborting..

phongvcao commented on 2015-02-13 17:12 (UTC)

Thanks Zeben it works now. I think the md5 checksum has been recalculated somehow by the owner of this package :D > phongvcao, update md5 for amd64-package in PKGBUILD: > 26a84f077cd60f177ba3e0b2bef43141

kiritoxcii commented on 2015-02-12 16:36 (UTC)

Hello, synce January 30 I can't update nor reinstall megasync because of this error, Has anyone the same problem?: /usr/bin/makepkg: line 374: 564 Illegal instruction (core dumped) /usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o megasync_1.0.39_amd64.deb.part https://mega.co.nz/linux/MEGAsync/Debian_7.0/amd64/megasync_1.0.39_amd64.deb ==> ERROR: Failure while downloading megasync_1.0.39_amd64.deb Aborting... ==> ERROR: Makepkg was unable to build megasync.

Zeben commented on 2015-02-11 22:59 (UTC)

phongvcao, update md5 for amd64-package in PKGBUILD: 26a84f077cd60f177ba3e0b2bef43141

phongvcao commented on 2015-02-11 04:41 (UTC)

I am using Arch Linux x86_64 with all latest updates. Tried to install the package and yaourt gave me this error: ==> Validating source files with md5sums... megasync_1.0.39_amd64.deb ... FAILED ==> ERROR: One or more files did not pass the validity check! ==> ERROR: Makepkg was unable to build megasync. ==> Restart building megasync ? [y/N] ==> --------------------------------- ==> Anyone knows how to deal with this?

delaf commented on 2015-02-09 19:51 (UTC)

The md5sum for the two deb packages has changed. $ md5sum megasync_1.0.39_* 26a84f077cd60f177ba3e0b2bef43141 megasync_1.0.39_amd64.deb d58e1a400ece93b8e8214e606820e46e megasync_1.0.39_i386.deb

cdvr1993 commented on 2015-02-04 01:46 (UTC)

This script doesn't work for me, I had to change this: package (){ cd "${srcdir}" wget $([ $(uname -m) = "x86_64" ] \ && echo ${source_x86_64} \ || echo ${source_i686}) ar -vx * tar -xzf data.tar.gz -C ${pkgdir} rm -r ${pkgdir}/usr/share/doc mkdir -p ${pkgdir}/usr/lib ln -s /usr/lib/libcryptopp.so ${pkgdir}/usr/lib/libcrypto++.so.9 }

wifon commented on 2015-02-03 16:27 (UTC)

now it works.

wifon commented on 2015-02-01 13:07 (UTC)

there's 404 error on .deb download

jotamylogins commented on 2015-02-01 05:33 (UTC)

Updated Version Edit PKGBUILD pkgver=1.0.39 source_i686=("https://mega.co.nz/linux/MEGAsync/Debian_7.0/i386/${pkgname}_${pkgver}_i386.deb") source_x86_64=("https://mega.co.nz/linux/MEGAsync/Debian_7.0/amd64/${pkgname}_${pkgver}_amd64.deb") md5sums_i686=('e31e755cfa36998315bf34dacfbcfd22') md5sums_x86_64=('9c06fe45333162b811aabf89b68b2c0c') Visit: https://mega.co.nz/linux/MEGAsync/Debian_7.0/Packages

sl1pkn07 commented on 2015-01-27 15:24 (UTC)

please use new pacman 4.2 sources handler source_i686=("https://mega.co.nz/linux/MEGAsync/Debian_7.0/i386/${pkgname}_${pkgver}_i386.deb") source_x86_64=("https://mega.co.nz/linux/MEGAsync/Debian_7.0/amd64/${pkgname}_${pkgver}_amd64.deb") md5sums_i686=('08d5a39bf315aaedcf2784a6419b3fa4') md5sums_x86_64=('d53a8a3169b8873096a5d302b9936bd1')

Hermen commented on 2015-01-27 05:37 (UTC)

Now megasync is 1.0.38 on Debian, Just edit PKGBUILD and replace 1.0.37 with 1.0.38 and MD5sum: d53a8a3169b8873096a5d302b9936bd1 For AMD65 MD5sum: 08d5a39bf315aaedcf2784a6419b3fa4 For i386 it works

toketin commented on 2015-01-19 22:03 (UTC)

I can confirm md5sum fe55cadccd448572dce58e71c1d78597 works for amd64.

snvelichko commented on 2015-01-19 17:26 (UTC)

Please. Change in PKGBUILD. Architecture: i386 MD5sum: 4fb1d056439bcb0b15c4920353b7c9e5 Info: https://mega.co.nz/linux/MEGAsync/Debian_7.0/Packages

johnsmeeth commented on 2015-01-04 13:07 (UTC)

I just resolved my problem by, download direct this file https://mega.co.nz/linux/MEGAsync/Debian_7.0/amd64/megasync_1.0.37_amd64.deb to the same directory with PKGBUILD file. then run makepkg -s. But Please tell me what reason for my problem?

johnsmeeth commented on 2015-01-04 12:50 (UTC)

I got an error "Failed to connect to mega.co.nz port 443: Network is unreachable " when run command "makepkg -s". Please help me solve

mfucci commented on 2014-12-15 15:34 (UTC)

Anyone else have an issue with this never successfully syncing after waking from suspend? Seems okay if I restart the app after a suspend. If not, it indicates that it's scanning but never completes.

dlh commented on 2014-12-01 21:54 (UTC)

I have the same: megasync: /usr/lib/libcrypto.so.1.0.0: no version information available (required by megasync) megasync: /usr/lib/libssl.so.1.0.0: no version information available (required by megasync) megasync: /usr/lib/libssl.so.1.0.0: no version information available (required by megasync) and megasync stopped working

pepedopolous commented on 2014-11-23 23:37 (UTC)

What to do about this? megasync: /usr/lib/libcrypto.so.1.0.0: no version information available (required by megasync) P

CoderMonkey commented on 2014-10-28 11:54 (UTC)

Latest version as of 26 Oct is 1.0.35 md5sum ad0b2b79735482f316af15fa45c95038 for the 64bit

jotamylogins commented on 2014-10-15 06:57 (UTC)

Please. Change in PKGBUILD. Architecture: i386 MD5sum: fed8b949ad2de58777ed5815803b84b7 Info: https://mega.co.nz/linux/MEGAsync/Debian_7.0/Packages Thanks, great job. ----------------------------- Por favor. Rectificad el PKGBUILD. Architecture: i386 MD5sum: fed8b949ad2de58777ed5815803b84b7 Info: https://mega.co.nz/linux/MEGAsync/Debian_7.0/Packages Gracias, buen trabajo. Clerafel, edita el PKGBUILD durante la instalacion y cambia el valor MD5. Asi la verificacion del fichero no sera erronea.

clerafel commented on 2014-10-13 21:47 (UTC)

Hola, parece ser que la fuente del paquete esta caido

prakharsingh95 commented on 2014-10-13 05:44 (UTC)

Damn...love AUR. I was going to try to install but this...beautiful...just beautiful. Thanks man!

matthias.lisin commented on 2014-10-07 02:35 (UTC)

@jancici Rename the file and try uploading it again. Had such an issue months ago uploading images via Web (Chrome/Firefox with/without extension). Probably not client related.

jancici commented on 2014-10-06 20:45 (UTC)

if I am uploading one big file cca 200MB client is working okay if I am uploading cca 60photos total size cca 350MB client freez at photo 18, after restart app, again it freeze at 18. what do you think?

n1k9 commented on 2014-10-04 13:23 (UTC)

MEGAsync 1.0.33 is available now. Old versions are removed. The installer doesn't work.

hepha commented on 2014-09-28 06:51 (UTC)

Import the new link has BUG recommended to keep 1.0.30

matthias.lisin commented on 2014-09-20 00:15 (UTC)

MEGAsync 1.0.30 is available now. In case you always want to retrieve the latest available version, you can use this URL: https://mega.co.nz/linux/MEGAsync/Debian_7.0/amd64/megasync-Debian_7.0_amd64.deb

son_link commented on 2014-09-11 17:53 (UTC)

@ValHue a veces me pasa lo mismo, tengo que usar Google Translator XD

ValHue commented on 2014-09-11 17:48 (UTC)

@otto06217 When I have to use a package from another distro because I can not access the source, I usually look at her guts. And in the case of nautilus-megasync within deb file in control.tar.gz I find the control file with the following: Depends: libatk1.0-0 (> = 1.12.4), libc6 (> = 2.4), libcairo-gobject2 (> = 1.10.0), libcairo2 (> = 1.2.4), libgcc1 (> = 1: 4.1. 1) libgdk-pixbuf2.0-0 (> = 2.22.0), libglib2.0-0 (> = 2.16.0), libgtk-3-0 (> = 3.0.0), libnautilus-extension1a (> = 2.91), libpango1.0-0 (> = 1.14.0), libstdc ++ 6 (> = 4.1.1), megasync I think what, if debian have not been wrong, nautilus-megasync has megasync dependence. I like the irony, but "Something is rotten in the state of Denmark." I do not get it. Best regards from Spain. PD:sorry for my English, translated by google.

otto06217 commented on 2014-09-11 14:18 (UTC)

@ValHue You said: I propose another solution and not break anything, why not rename /usr/bin/megasync from megatools package to /usr/bin/megasync-cli I say to you this is not an option. And by the way: Regarding nautilus-megasync I couldn't after an exhaustive code review recognise any dependencies to megasync itself. Megasync consists of many of third software, e.g. curl 7.32 and sodium 0.5. I'm starting to worry. AFAIK nautilus-mega doesn't and megatools as well. Something is rotten in the state of Denmark. I'm not amused, trust me.

otto06217 commented on 2014-09-11 13:09 (UTC)

@ValHue Many thanks for your comment. :-) The problem is MEGA was drawing back the opportunity to obtain the sources without authentication. http://build.developers.mega.co.nz:82/MEGASync/Fedora_20/src/ IMHO That's a strange behavior.

ValHue commented on 2014-09-09 18:50 (UTC)

@otto06217: - Do that would break the dependency of nautilus-megasync. Son_link has already scored that conflicts with megatools. I propose another solution and not break anything, why not rename /usr/bin/megasync from megatools package to /usr/bin/megasync-cli? >>Why no source build? Sources are here: - Why is it necessary to authenticate? ;-) >>I'm a Ubuntu Packager, sorry for that. - Nobody is perfect.

otto06217 commented on 2014-09-08 19:26 (UTC)

Klenamenis said: This package conflicts with megatools as the file /usr/bin/megasync is already present: error: failed to commit transaction (conflicting files) megasync: /usr/bin/megasync exists in filesystem Errors occurred, no packages were upgraded. I tell you what I did: http://pastebin.com/S8Fz7nMJ In order to avoid this conflict with megatools I find the solution by simply change the target megasync to megasync-gui in the megasync package. The next thing I did was this: dh_install MEGASync/megasync-gui /usr/bin/ in the rules file of the package. I think it's possible to make it possible in AUR as well. I hope this helps.

otto06217 commented on 2014-09-08 19:07 (UTC)

Hi, I'm a Ubuntu Packager, sorry for that. Fatmike said: Why no source build? Sources are here: http://build.developers.mega.co.nz:82/MEGASync/xUbuntu_14.04/megasync_1.0.29.orig.tar.gz So far so good, but now the Mega developers want to have a username and a password in order to obtain this file. I have the orig.tar.gz but today I can't download it. I thought it's open source. Strange.

dare023 commented on 2014-09-07 16:53 (UTC)

Is there a way to change default sync folder? From ~/MEGA to something else?

ManuelFte commented on 2014-09-05 15:23 (UTC)

@sekret: Go to the gear icon > Settings > Proxy

sekret commented on 2014-09-05 08:25 (UTC)

It says that proxy support is built in. Does anyone of you know where to configure the proxy? The package doesn't provide a man page and there's no --help etc.

fatmike commented on 2014-09-04 08:10 (UTC)

Why no source build? Sources are here: http://build.developers.mega.co.nz:82/MEGASync/xUbuntu_14.04/megasync_1.0.29.orig.tar.gz

ManuelFte commented on 2014-09-04 00:25 (UTC)

Additionally to the comment of @marciocr, this is the new md5 sum for the 32 bits file: 4fef9db2128c15cf4dbea9b6bb5e579f

marciocr commented on 2014-09-04 00:14 (UTC)

The upstream file has been changed without a modification in version number. The new md5 of the file 922af79dd70c48207cd982895a064fa3 (64bits)

klenamenis commented on 2014-09-03 15:08 (UTC)

This package conflicts with megatools as the file /usr/bin/megasync is already present: error: failed to commit transaction (conflicting files) megasync: /usr/bin/megasync exists in filesystem Errors occurred, no packages were upgraded.

ValHue commented on 2014-09-03 07:11 (UTC)

@son_link: Thank you for your work. Now PKGBUILD looks better. Just one thing, I think rpmextract is not necessary. Best regards.

son_link commented on 2014-09-02 16:59 (UTC)

Yep, the source pakgage is removed. Sorry for not update before. ValHale, i added your megasync.install. Thanks ;)

ValHue commented on 2014-09-02 16:09 (UTC)

They have the file removed from your server. I have developed another way to install. https://github.com/ValHue/AUR-PKGBUILDs/tree/master/megasync

lw4z commented on 2014-09-01 20:45 (UTC)

returned error: 404 Not Found

son_link commented on 2014-09-01 20:31 (UTC)

Added qtchooser in dependecies. Thanks lw4z for the avisament

lw4z commented on 2014-09-01 20:04 (UTC)

lrelease: could not exec '/usr/lib/qt/bin/lrelease': No such file or directory