Search Criteria
Package Details: lsyncd 2.3.0-1
Package Actions
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: | 65 |
Popularity: | 0.168424 |
First Submitted: | 2009-03-25 20:03 (UTC) |
Last Updated: | 2022-07-10 16:21 (UTC) |
Latest Comments
Thermi commented on 2022-07-21 21:59 (UTC)
That is a problem with the luac5.4, compiler not with lsyncd.
njam commented on 2022-07-21 09:10 (UTC)
I get a similar error since 2.3.0:
I get this error when building this package in a CI pipeline running on a server. I don't get this error locally. Haven't figured out what is the difference though.
bighead commented on 2022-07-21 07:40 (UTC)
I get this for 2.3.0-1 update:
Thermi commented on 2022-02-12 23:47 (UTC)
I just found a hardcoded usage of luac5.3 in the cmake instructions. I patched that out. Please let me know if that works for you.
vgivanovic commented on 2022-02-12 18:30 (UTC)
Since it has been 518 days since the last AUR release, is it time to submit a request to mark this package as "orphaned"? I've never done this before, and I don't know what the rules or the customs are; I'm just asking.
vgivanovic commented on 2022-02-12 18:22 (UTC)
I could not get foobster's patch to work. I had to follow roks532's suggestions. Note that you have to change directories into the
build
directory after you create it.n-tchen commented on 2022-02-09 20:48 (UTC)
@foobster Also thanks from me, your simple addition works just fine.
niveus.corax commented on 2021-12-10 17:55 (UTC) (edited on 2021-12-11 12:14 (UTC) by niveus.corax)
@foobster thanks for the patch. It does work! Have to admit - took me a while to figure it out, though.
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:
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:
download and unpack lsyncd version 2.2.2 from github: https://github.com/axkibe/lsyncd/releases/tag/release-2.2.2
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.
njam commented on 2020-09-17 13:03 (UTC) (edited on 2020-09-17 13:09 (UTC) by njam)
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 (UTC)
I get this error after last update:
error loading precompiled runner: runner: bad binary format (version mismatch)
Any ideas?Thermi commented on 2020-09-12 13:04 (UTC)
Thank you for your work, I incorporated the changes made by wwwlea into the sources here.
luizribeiro commented on 2020-09-06 14:01 (UTC)
@wwwlea's patch worked perfectly for me. @Thermi, can you update the package so that it includes his patches?
wwwlea commented on 2020-08-26 08:30 (UTC)
I had some errors building with the newest version of Lua (5.4) that was released earlier this month. I resolved these with two changes:
A macro in lsyncd.h needs to be renamed from from "LUA_COMPAT_5_1" to "LUA_COMPAT_5_3"
The "FindLua.cmake.patch" needs to be updated so that it also finds version 5.4 and not just 5.3 and 5.2
I have put these changes on GitHub at https://github.com/HippocampusGirl/lsyncd-aur
klemens commented on 2020-08-18 21:36 (UTC)
I think this should now depend on lua53 instead of lua.
vamega commented on 2018-07-28 05:22 (UTC)
I updated the PKGBUILD and made a patch to have this build against lua5.3. Upstream prefers Lua5.2 because Debian doesn't have some lua libraries for 5.3 packaged.
Would you consider incorporating the latest commit from https://github.com/vamega/lsyncd-aur/ into this package.
neonardo commented on 2018-06-12 15:29 (UTC)
@Noeljunior it will build against lua 5.3 now. I was having trouble getting a working binary so I removed the 5.2 libs so it would stop building against them, modified pkgbuild so it would not require them, and it built successfully against 5.3.
As of lsyncd 2.2.3 it's supposed to be compatible with lua 5.3 moving forward so perhaps it's time to get this package updated to reflect that, and use it.
Good luck.
Noeljunior commented on 2018-06-08 08:08 (UTC)
@beac0n, @ArcCha you've managed how to install; could you run it standalone? I mean, by running lsyncd in terminal.
beac0n commented on 2018-05-05 10:07 (UTC) (edited on 2018-05-05 10:08 (UTC) by beac0n)
based on the comment from ArcCha, this oneliner installed the package successfully on my machine:
ArcCha commented on 2018-05-05 08:41 (UTC) (edited on 2018-05-05 08:42 (UTC) by ArcCha)
This package failed to install on my system with the following error - https://pastebin.com/6VYspd5H
I was able to successfully install this package by issuing
export LUA_DIR=/usr/include/lua5.2
before invoking the build itself usingyaourt -S lsyncd
.visibilityspots commented on 2017-09-15 07:51 (UTC)
Thermi commented on 2017-02-24 21:35 (UTC)
visibilityspots commented on 2017-02-24 21:05 (UTC)
Thermi commented on 2016-08-22 21:19 (UTC)
xrchz commented on 2016-08-19 21:57 (UTC)
xrchz commented on 2016-08-19 21:42 (UTC)
Thermi commented on 2016-08-09 11:25 (UTC)
visibilityspots commented on 2016-08-09 08:41 (UTC)
lucaswerkmeister commented on 2016-06-17 21:52 (UTC)
systemservers commented on 2016-02-16 18:06 (UTC)
Thermi commented on 2016-02-12 15:34 (UTC)
Thermi commented on 2016-02-11 15:37 (UTC) (edited on 2016-02-11 15:39 (UTC) by Thermi)
flaviut commented on 2016-01-03 20:59 (UTC) (edited on 2016-01-03 20:59 (UTC) by flaviut)
neonardo commented on 2015-09-23 17:43 (UTC)
SimFox3 commented on 2015-08-12 04:21 (UTC)
Thermi commented on 2015-08-09 12:25 (UTC)
Meltea commented on 2015-08-09 10:56 (UTC)
Thermi commented on 2015-07-29 18:38 (UTC)
neonardo commented on 2015-07-29 18:34 (UTC)
TamCore commented on 2014-10-11 22:08 (UTC)
nullie commented on 2014-03-04 07:39 (UTC)
myuhe commented on 2013-08-21 12:03 (UTC)
nagy commented on 2013-08-21 12:01 (UTC)
lahwaacz commented on 2013-06-09 11:42 (UTC)
thark commented on 2013-02-16 12:35 (UTC)
thark commented on 2012-11-11 14:09 (UTC)
bjo commented on 2012-04-26 18:09 (UTC)
c00kiemon5ter commented on 2010-12-05 05:20 (UTC)
commented on 2010-12-04 10:38 (UTC)