Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 572148 - net-misc/unison-2.48.3 does not provide unison-fsmonitor
Summary: net-misc/unison-2.48.3 does not provide unison-fsmonitor
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
: 639372 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-01-16 23:38 UTC by Phil Tooley
Modified: 2017-12-01 09:50 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
unison-fsmonitor ebuild patch (unison-fsmonitor.patch,622 bytes, patch)
2017-04-12 13:19 UTC, Phil Tooley
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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. ***