Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 572148

Summary: net-misc/unison-2.48.3 does not provide unison-fsmonitor
Product: Gentoo Linux Reporter: Phil Tooley <phil.tooley>
Component: Current packagesAssignee: Gentoo Team for the ML programming language family <ml>
Status: RESOLVED FIXED    
Severity: normal CC: burcheri.massimo+bugs-gentoo, phil.tooley, strider1551
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=578224
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: unison-fsmonitor ebuild patch

Description Phil Tooley 2016-01-16 23:38:43 UTC
Unison version 2.48.3 now provides a -repeat watch option, which uses an inotify based watcher process to perform new synchronisations as files are detected to have changed on disk.  This requires a separate binary (or python script) to be installed, which the current ebuild does not provide.

Reproducible: Always



Expected Results:  
unison-fsmonitor or fsmonitor.py installed to the appropriate location to provide support for inotify based monitoring
Comment 1 Benda Xu gentoo-dev 2017-04-12 02:16:18 UTC
I have updated unison-2.48.4.  Could you please give it a try?
Comment 2 Phil Tooley 2017-04-12 13:19:15 UTC
So since I posted (and subsequently forgot about) this bug, I learned how to write ebuilds.

The issue here is that the install is done manually rather than trying to use the makefile, so even though the unison-fsmonitor binary is built it never gets installed.

Adding a line:

newbin unison-fsmonitor unison-fsmonitor

is all that is needed.
Comment 3 Phil Tooley 2017-04-12 13:19:42 UTC
Created attachment 469804 [details, diff]
unison-fsmonitor ebuild patch
Comment 4 Phil Tooley 2017-04-12 13:22:13 UTC
Oops, nevermind.  I failed to get a suffiently recent snapshot of the portage tree before I commented.
Comment 5 Benda Xu gentoo-dev 2017-04-13 01:18:36 UTC
Thanks Phil! Yes, the build system of unison is a mess.  We decided to install manually.

Glad that you've also found the solution and the ebuild in tree works for you.
Comment 6 Benda Xu gentoo-dev 2017-12-01 09:50:30 UTC
*** Bug 639372 has been marked as a duplicate of this bug. ***