Package Details: lsyncd 2.3.1-9

Git Clone URL: https://aur.archlinux.org/lsyncd.git (read-only, click to copy)
Package Base: lsyncd
Description: Live Syncing (Mirror) Daemon
Upstream URL: https://github.com/lsyncd/lsyncd
Licenses: GPL-2.0-or-later
Submitter: djgera
Maintainer: None
Last Packager: carsme
Votes: 68
Popularity: 0.120820
First Submitted: 2009-03-25 20:03 (UTC)
Last Updated: 2024-03-03 16:48 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

kepi commented on 2021-04-12 18:27 (UTC)

@foobster Huge thanks! This one finally works, I have lsyncd back. And now I can work comfortably too :)

foobster commented on 2021-04-12 18:21 (UTC) (edited on 2021-04-12 18:22 (UTC) by foobster)

The problem is that the generated make files end up referencing a mix of lua versions. The build itself works fine with lua 5.4 as long as it's used consistently. Fixing the CMake config would be preferable, but this is a quick and dirty fix that gets the job done:

diff --git a/PKGBUILD b/PKGBUILD
index eb03747..d25a424 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -29,6 +29,7 @@ build() {
     cd ${srcdir}/${pkgname}-release-${pkgver}
     mkdir -p build
     cd build
     cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+    grep -E -rl 'luac?5\.[1-4]' . | xargs sed -i 's/\(luac\?5\.\)[1-4]/\14/g'
     make
 }

dpvpro commented on 2021-02-07 11:48 (UTC)

@kepi Yes, it's true.

kepi commented on 2021-02-04 18:26 (UTC)

@dpvpro unfortunately it doesn't help. It builds without any problem, but same error during runtime.

To be clear, I'm not able to remove lua package, as I had three more packages depending on it.

roks531 commented on 2021-01-09 01:21 (UTC) (edited on 2021-01-09 10:25 (UTC) by roks531)

I didn't manage to get the last version working because of the lua version mismatch not with pacaur and also not from github directly. However I did manage to get the version 2.2.2 from github working on manjaro

the procedure to make it work:

  pacaur -Rs lsyncd  #remove lsyncd
  pacman -Rdd lua    #remove latest lua

download and unpack lsyncd version 2.2.2 from github: https://github.com/axkibe/lsyncd/releases/tag/release-2.2.2

 mkdir build #inside the unpacked directory
 cmake ..
 make
 sudo make install

Lsyncd should now work, for the config you should create /etc/lsyncd/lsyncd.conf.lua. I also created a service in /usr/lib/systemd/system/lsyncd.service

Now all works as it should

kepi commented on 2020-11-07 21:28 (UTC)

Same problem, unfortunately I'm not able to remove older luas myself but still need lsyncd badly :(

I opened issue in lsyncd (not sure if it helps as there is not much activity in repo): https://github.com/axkibe/lsyncd/issues/622

If you found another workaround but removing other luas, let me know please.

Thermi commented on 2020-09-18 15:54 (UTC)

I'll add a workaround/fix once one becomes available. I myself don't use lsyncd anymore, so it's not a priority.

bighead commented on 2020-09-17 14:10 (UTC)

I removed lua53 and lua52 (losing VLC and GIMP as they had to go along with them), reinstalled lsyncd and now it works. Not optimal but I need lsyncd more than those two. Thanks njam for the tip.