andrewuzilov | 2 Feb 01:50 2011
Picon

Re: [PATCH] Fix build error with unison 2.40.61

I'm having the same issue on both Mac OS X 10.6.5 and CentOS Linux, so let me add some info about it.

Specifically, the error trace is:

% cd ~/local/x86_64/src/unison-2.40.61
% make UISTYLE=text
./mkProjectInfo > Makefile.ProjectInfo
/bin/sh: ./mkProjectInfo: No such file or directory
make: *** Deleting file `Makefile.ProjectInfo'
UISTYLE = text
Building for Unix
NATIVE = true
THREADS = false
STATIC = false
OSTYPE = linux-gnu
OSARCH =
make tags
make[1]: Entering directory
`/projects/lowelab/users/auzilov/local/x86_64/src/unison-2.40.61'
./mkProjectInfo > Makefile.ProjectInfo
/bin/sh: ./mkProjectInfo: No such file or directory
make[1]: *** Deleting file `Makefile.ProjectInfo'
if [ -f `which etags` ]; then \
           etags *.mli */*.mli *.ml */*.ml */*.m *.c */*.c *.txt \
         ; fi
make[1]: Leaving directory
`/projects/lowelab/users/auzilov/local/x86_64/src/unison-2.40.61'

So it looks like "mkProjectInfo" is missing, and we need it to make "Makefile.ProjectInfo".  The
workaround is to make it manually:
(Continue reading)

Marco Poletti | 2 Feb 07:38 2011
Picon

Re: Re: [PATCH] Fix build error with unison 2.40.61

2011/2/2 andrewuzilov <andrew.uzilov <at> gmail.com>
>
> I'm having the same issue on both Mac OS X 10.6.5 and CentOS Linux, so let me add some info about it.
>
> Specifically, the error trace is:
>
> % cd ~/local/x86_64/src/unison-2.40.61
> % make UISTYLE=text
> ./mkProjectInfo > Makefile.ProjectInfo
> /bin/sh: ./mkProjectInfo: No such file or directory
> make: *** Deleting file `Makefile.ProjectInfo'
> UISTYLE = text
> Building for Unix
> NATIVE = true
> THREADS = false
> STATIC = false
> OSTYPE = linux-gnu
> OSARCH =
> make tags
> make[1]: Entering directory
> `/projects/lowelab/users/auzilov/local/x86_64/src/unison-2.40.61'
> ./mkProjectInfo > Makefile.ProjectInfo
> /bin/sh: ./mkProjectInfo: No such file or directory

Note the last message: the rule has been executed, but mkProjectInfo
hasn't been created yet.
So the rule fails.

>
> make[1]: *** Deleting file `Makefile.ProjectInfo'
(Continue reading)

Remy Blank | 2 Feb 14:26 2011
Picon

Re: [PATCH] Fix build error with unison 2.40.61

Marco Poletti wrote:
> The rule *is* executed, but it lists `mkProjectInfo.ml' instead of
> `mkProjectInfo' as dependency, so `make'  thinks it can be executed
> right away.
> If you replace `mkProjectInfo.ml' with `mkProjectInfo' in the rule
> right-hand-side, then `make' will be aware of this dependency and will
> build mkProjectInfo before executing this rule.
> This fix is exactly what my patch does.

FWIW, I came up with the same patch while updating my Unison ebuild for
Gentoo Linux, and it fixes the issue.

-- Remy

Andrew V. Uzilov | 3 Feb 18:55 2011
Picon

Re: Re: [PATCH] Fix build error with unison 2.40.61

Hi Marco....

I think you and I are saying the same thing, but in different ways.  ;-)

It turns out this bug has also been described by Ron Isaacson in
Message #9550, so it is quite widespread.... hope the gods are
listening and will add the patch to the next release!

Cheers,
Andrew U.

On Tue, Feb 1, 2011 at 10:38 PM, Marco Poletti <poletti.marco <at> gmail.com> wrote:
> 2011/2/2 andrewuzilov <andrew.uzilov <at> gmail.com>
>>
>> I'm having the same issue on both Mac OS X 10.6.5 and CentOS Linux, so let me add some info about it.
>>
>> Specifically, the error trace is:
>>
>> % cd ~/local/x86_64/src/unison-2.40.61
>> % make UISTYLE=text
>> ./mkProjectInfo > Makefile.ProjectInfo
>> /bin/sh: ./mkProjectInfo: No such file or directory
>> make: *** Deleting file `Makefile.ProjectInfo'
>> UISTYLE = text
>> Building for Unix
>> NATIVE = true
>> THREADS = false
>> STATIC = false
>> OSTYPE = linux-gnu
>> OSARCH =
(Continue reading)

Andrew V. Uzilov | 3 Feb 19:44 2011
Picon

keep getting "Failed: Error in renaming" on unison 2.40.61

Hi all....
(sorry if this is a dup, sent from wrong email last time)

I just got started on unison a few days ago and it seems like a great
tool for what I need!  However, I keep running into weird issues
syncing my collection of ~190,000 files between local and remote --- a
measly 38 files refuse to sync.  I am having difficulty reproducing
the problem, so I was wondering if someone has any advice for what I
could look at to fix or reproduce it.

I am syncing between:

local: Mac OS X 10.6.5 (MacBook Pro laptop)
remote: CentOS Linux 2.6, synced dir is on NFS version 3 filesystem

My unison setup: unison 2.40.61 manually compiled on both machines, I
have UNISONLOCALHOSTNAME set on local host, I do not have any profiles
set up (all command-line), and I am invoking like this:

% cd ~/Research/FragSeq/
% unison . ssh://USERNAME <at> HOSTNAME//path/to/my/home/dir/FragSeq/ -times

I begin with the files on local and remote being identical, so that on
the first pass unison just builds the data structures storing the
state --- no content should be different.  Unfortunately, for some
files, unison thinks they are different (although their md5 hashes are
the same).  A subset of these are the 38 problem files.

Here is the error trace for a sample file:

(Continue reading)

andrewuzilov | 3 Feb 20:19 2011
Picon

Re: keep getting "Failed: Error in renaming" on unison 2.40.61

Upon some searching, it looks like Message #9576 is having a very similar issue (also unresolved):

http://tech.groups.yahoo.com/group/unison-users/message/9576

Cheers,
Andrew U.

--- In unison-users <at> yahoogroups.com, "Andrew V. Uzilov" <andrew.uzilov <at> ...> wrote:
>
> Hi all....
> (sorry if this is a dup, sent from wrong email last time)
> 
> I just got started on unison a few days ago and it seems like a great
> tool for what I need!  However, I keep running into weird issues
> syncing my collection of ~190,000 files between local and remote --- a
> measly 38 files refuse to sync.  I am having difficulty reproducing
> the problem, so I was wondering if someone has any advice for what I
> could look at to fix or reproduce it.
> 
> I am syncing between:
> 
> local: Mac OS X 10.6.5 (MacBook Pro laptop)
> remote: CentOS Linux 2.6, synced dir is on NFS version 3 filesystem
> 
> My unison setup: unison 2.40.61 manually compiled on both machines, I
> have UNISONLOCALHOSTNAME set on local host, I do not have any profiles
> set up (all command-line), and I am invoking like this:
> 
> % cd ~/Research/FragSeq/
> % unison . ssh://USERNAME <at> HOSTNAME//path/to/my/home/dir/FragSeq/ -times
(Continue reading)

Urbaniak, Sebastian | 4 Feb 16:00 2011

Win32 drive not found problem

 

Does this happen to anyone else using Win32 Unison ?

Unison claims that it can’t find  drive  S:    but it’s plainly visible in WinExplorer.

Normally this profile works just fine,  it only did it now after a reboot.



__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___
Adrian Klaver | 3 Feb 20:03 2011
Picon

GUI issue [1 Attachment]

<*>[Attachment(s) from Adrian Klaver included below]

Kubuntu 10.04
Unison version 2.40.61
Ocaml version 3.11.2
lablgtk2-ocaml 2.14

I built the latest stable version of Unison from source. Other than the Makefile 
problem discussed in other thread there where no issues with the build. When I 
work with the GUI interface there is no Quit button on the toolbar. Typing q 
works to exit though. See attached screenshot. 

-- 
Adrian Klaver
adrian.klaver <at> gmail.com

<*>Attachment(s) from Adrian Klaver:

<*> 1 of 1 File(s)
http://groups.yahoo.com/group/unison-users/attachments/folder/806239389/item/list 
  <*> unison.jpg

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    unison-users-digest <at> yahoogroups.com 
    unison-users-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    unison-users-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Picon

Re: Win32 drive not found problem

Is this external USB-connected HDD? If so, I often met situation when
Windows promptly (2-5 sec) disconnect and reconnect such HDD on access
after long idle (5 minutes). I believe this is due to powersave/sleep
mode of HDD itself.

Try "chkdsk s:" (in command prompt) also. If any error found, "chkdsk
s: /f /x" (both without quotes).

2011/2/4 Urbaniak, Sebastian <surbaniak <at> brocksolutions.com>
>
> Does this happen to anyone else using Win32 Unison ?
>
> Unison claims that it can’t find  drive  S:    but it’s plainly visible in WinExplorer.
>
> Normally this profile works just fine,  it only did it now after a reboot.

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    unison-users-digest <at> yahoogroups.com 
    unison-users-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    unison-users-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Ruslan Nabioullin | 7 Feb 01:27 2011
Picon

etags dependency

It appears that etags is required for building unison-2.40.61 under UNIX:

[rrn <at> rrn-laptop unison-2.40.61]$ make UISTYLE=text                              
UISTYLE = text
Building for Unix
NATIVE = true
THREADS = false
STATIC = false
OSTYPE =
OSARCH =
make tags
make[1]: Entering directory `/home/rrn/unison-2.40.61'
if [ -f `which etags` ]; then \
            etags *.mli */*.mli *.ml */*.ml */*.m *.c */*.c *.txt \
          ; fi 
which: no etags in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/java/bin:/opt/java/db/bin:/opt/java/jre/bin:/opt/jruby/bin:/usr/lib/perl5/core_perl/bin)
/bin/sh: line 1: etags: command not found
make[1]: [tags] Error 127 (ignored)
make[1]: Leaving directory `/home/rrn/unison-2.40.61'

Any ideas on how to run the expected etags executable outside of emacs?


__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Gmane