On Fri, 2 Sep 2016 10:55:12 +0100, Stuart Henderson
<s...@spacehopper.org> wrote:

> On 2016/09/02 10:42, Daniel Jakots wrote:
> > On Fri, 2 Sep 2016 10:25:13 +0200, Giovanni Bechis
> > <giova...@paclan.it> wrote:
> >   
> > > > - Exception: Platform OpenBSD-6.0-amd64-64bit not supported by
> > > > tar/gtar.  
> > >
> > > what about this one that fixes tar usage ?
> > > (I am not sure if is gtar in Darwin is in /bin or somewhere
> > > else)  
> > 
> > I doubt upstream accepts the patch and I'd rather have a failing
> > test than maintaining the patch :)
> >   
> 
> How about adding a patch to use /usr/local/bin/gtar on
> (Open|Free|Net)BSD? I could understand upstream not wanting to change
> the tar flags, but I don't see why they would have an issue with a
> patch to use the correct path.
> 

I tried Giovanni's diff and even with it I have an error:
======================================================================
ERROR: test_ignore_double_snapshot 
(testing.functional.test_restart.RestartTestWithoutEncryption)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/usr/ports/pobj/duplicity-0.7.10/duplicity-0.7.10/testing/functional/test_restart.py",
 line 354, in test_ignore_double_snapshot
    self.backup("inc", "testfiles/blocktartest")
  File 
"/usr/ports/pobj/duplicity-0.7.10/duplicity-0.7.10/testing/functional/__init__.py",
 line 142, in backup
    result = self.run_duplicity(options=options, **kwargs)
  File 
"/usr/ports/pobj/duplicity-0.7.10/duplicity-0.7.10/testing/functional/__init__.py",
 line 129, in run_duplicity
    raise CmdError(return_val)
CmdError: 30

I also tried to change the tarcmd but it still fails because the return
code is never 0 (I don't have more time to look at it right now).

Reply via email to