Package Details: megasync-git 5.7.0.0.502.g499ca1353-2

Git Clone URL: https://aur.archlinux.org/megasync-git.git (read-only, click to copy)
Package Base: megasync-git
Description: MEGASync Desktop App. (GIT Version)
Upstream URL: https://mega.co.nz/#sync
Licenses: custom:MEGA
Conflicts: megasync
Provides: megasync
Submitter: sl1pkn07
Maintainer: sl1pkn07
Last Packager: sl1pkn07
Votes: 28
Popularity: 0.000002
First Submitted: 2016-03-12 18:32 (UTC)
Last Updated: 2025-01-12 00:32 (UTC)

Dependencies (34)

Required by (4)

Sources (7)

Latest Comments

1 2 3 4 Next › Last »

dreieck commented on 2025-03-12 12:57 (UTC) (edited on 2025-03-12 12:57 (UTC) by dreieck)

Trying to build this fails for me with

CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:67 (message):
  The C compiler

    "/usr/bin/cc"

  is not able to compile a simple test program.

:

==> Starting build()...
-- Using system dependencies
-- The C compiler identification is GNU 14.21
-- The CXX compiler identification is GNU 14.21
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - broken
CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:67 (message):
  The C compiler

    "/usr/bin/cc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: '/var/cache/makepkg/build/megasync-git/src/build/CMakeFiles/CMakeScratch/TryCompile-5p3qei'

    Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_e8e5a/fast
    /usr/bin/make  -f CMakeFiles/cmTC_e8e5a.dir/build.make CMakeFiles/cmTC_e8e5a.dir/build
    make[1]: Entering directory '/var/cache/makepkg/build/megasync-git/src/build/CMakeFiles/CMakeScratch/TryCompile-5p3qei'
    Building C object CMakeFiles/cmTC_e8e5a.dir/testCCompiler.c.o
    /usr/bin/cc   -march=native -mtune=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -fstack-clash-protection -fcf-protection -w -Og -fno-lto -gdwarf-5 -ggdb3 -gno-strict-dwarf -g3 -gpubnames -grecord-gcc-switches -fno-eliminate-unused-debug-symbols -fvar-tracking -fvar-tracking-assignments -fdebug-types-section -fno-stack-protector -fno-omit-frame-pointer -D_FORTIFY_SOURCE=0 -DDEBUG -ffile-prefix-map=/var/cache/makepkg/build/megasync-git/src=/usr/src/debug/megasync-git -flto=auto  -o CMakeFiles/cmTC_e8e5a.dir/testCCompiler.c.o -c /var/cache/makepkg/build/megasync-git/src/build/CMakeFiles/CMakeScratch/TryCompile-5p3qei/testCCompiler.c
    Linking C executable cmTC_e8e5a
    /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e8e5a.dir/link.txt --verbose=1
    /usr/bin/ld: CMakeFiles/cmTC_e8e5a.dir/testCCompiler.c.o: plugin needed to handle lto object
    /usr/bin/ld: CMakeFiles/cmTC_e8e5a.dir/testCCompiler.c.o: plugin needed to handle lto object
    /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/Scrt1.o: in function `_start':
    (.text+0x1b): undefined reference to `main'
    collect2: error: ld returned 1 exit status
    /usr/bin/cc -march=native -mtune=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -fstack-clash-protection -fcf-protection -w -Og -fno-lto -gdwarf-5 -ggdb3 -gno-strict-dwarf -g3 -gpubnames -grecord-gcc-switches -fno-eliminate-unused-debug-symbols -fvar-tracking -fvar-tracking-assignments -fdebug-types-section -fno-stack-protector -fno-omit-frame-pointer -D_FORTIFY_SOURCE=0 -DDEBUG -ffile-prefix-map=/var/cache/makepkg/build/megasync-git/src=/usr/src/debug/megasync-git -flto=auto  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto  CMakeFiles/cmTC_e8e5a.dir/testCCompiler.c.o -o cmTC_e8e5a
    make[1]: *** [CMakeFiles/cmTC_e8e5a.dir/build.make:102: cmTC_e8e5a] Error 1
    make[1]: Leaving directory '/var/cache/makepkg/build/megasync-git/src/build/CMakeFiles/CMakeScratch/TryCompile-5p3qei'
    make: *** [Makefile:134: cmTC_e8e5a/fast] Error 2





  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:36 (project)


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().

Regards!

Alkaris commented on 2025-03-10 05:06 (UTC)

It's easily fixed just by adding icu>=76 in the depends check, or by removing megasync-git first then update icu after

sl1pkn07 commented on 2025-03-08 22:20 (UTC)

force install icu and then reinstall megasync-git

Alkaris commented on 2025-03-08 12:12 (UTC)

Outdated icu package requirement for megasync. Update the libicudata package for megasync-git with the current version 76.1-1 it's holding back updates because it's using older version requirement.

:: installing icu (76.1-1) breaks dependency 'libicuuc.so=75-64' required by megasync-git

roper commented on 2025-01-16 09:48 (UTC) (edited on 2025-01-16 15:59 (UTC) by roper)

==> Starting prepare()...
Cloning into '/home/rob/.cache/yay/megasync-git/src/MEGAsync/src/MEGASync/mega'...
done.
fatal: git upload-pack: not our ref d6a5d2078d1e51394dab205a48bff58d2b130d6b
fatal: remote error: upload-pack: not our ref d6a5d2078d1e51394dab205a48bff58d2b130d6b
fatal: Fetched in submodule path 'src/MEGASync/mega', but it did not contain d6a5d2078d1e51394dab205a48bff58d2b130d6b. Direct fetching of that commit failed.

dbermond commented on 2025-01-02 20:36 (UTC)

@sl1pkn07 the package does not build anymore and needs to be updated. Out of date.

sl1pkn07 commented on 2023-07-15 12:49 (UTC)

yep. seems applied in https://github.com/meganz/sdk/commit/1a1b4a8c24099d7cf69fb7754966aed4507d727e

tnx. updated

aggraef commented on 2023-07-15 06:03 (UTC)

It seems that 2614.diff isn't needed any more, as the changeset is already in the upstream git. This causes an issue when the patch is applied:

==> Starting prepare()...
Cloning into '/home/ag/Sources/aur4/others/megasync-git/src/MEGAsync/src/MEGASync/mega'...
done.
Submodule path 'src/MEGASync/mega': checked out '0f6531827ff7b15d1955f2e5843d44f90efd6f8d'
patching file src/gfx/freeimage.cpp
Reversed (or previously applied) patch detected!  Assume -R? [n]

dreieck commented on 2023-05-31 14:54 (UTC)

Can you please add =${pkgver} to the provides entry?

nautilus-megasync and thunar-megasync have a versioned dependency on megasync, which would not be fulfilled by megasync-git if =${pkgver} is not added:

:: unable to satisfy dependency 'megasync>=3.5' required by dolphin-megasync-bin
:: removing megasync breaks dependency 'megasync>=3.5' required by nautilus-megasync
:: removing megasync breaks dependency 'megasync>=3.5' required by thunar-megasync

Thanks for maintaining!

sinayion commented on 2023-01-17 07:54 (UTC) (edited on 2023-01-17 07:57 (UTC) by sinayion)

Error when building, shown below:

==> Starting prepare()...
Cloning into '/home/sinayion/.cache/yay/megasync-git/src/MEGAsync/src/MEGASync/mega'...
fatal: transport 'file' not allowed
fatal: clone of '/home/sinayion/.cache/yay/megasync-git/src/sdk' into submodule path '/home/sinayion/.cache/yay/megasync-git/src/MEGAsync/src/MEGASync/mega' failed
Failed to clone 'src/MEGASync/mega'. Retry scheduled
Cloning into '/home/sinayion/.cache/yay/megasync-git/src/MEGAsync/src/MEGASync/mega'...
fatal: transport 'file' not allowed
fatal: clone of '/home/sinayion/.cache/yay/megasync-git/src/sdk' into submodule path '/home/sinayion/.cache/yay/megasync-git/src/MEGAsync/src/MEGASync/mega' failed
Failed to clone 'src/MEGASync/mega' a second time, aborting
==> ERROR: A failure occurred in prepare().

Most likely the relevant bug report: https://bugs.archlinux.org/task/76255