Package Details: lsyncd 2.2.3-3

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/axkibe/lsyncd
Licenses: GPL2
Submitter: djgera
Maintainer: Thermi
Last Packager: Thermi
Votes: 63
Popularity: 0.107960
First Submitted: 2009-03-25 20:03
Last Updated: 2020-09-12 13:02

Latest Comments

1 2 3 4 5 6 Next › Last »

kepi commented on 2021-04-12 18:27

@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

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

@kepi Yes, it's true.

kepi commented on 2021-02-04 18:26

@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

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

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

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

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.

njam commented on 2020-09-17 13:03

I experience the same error ("bad binary format (version mismatch)").

Maybe caused by different lua versions installed (package "lua" (5.4), "lua53" (5.3) and "lua52" (5.2)), and then lsyncd picking the wrong one? See also https://github.com/axkibe/lsyncd/issues/413

bighead commented on 2020-09-16 14:40

I get this error after last update: error loading precompiled runner: runner: bad binary format (version mismatch) Any ideas?