Bug#1143309: fssync: FTBFS: dh_auto_test: error: make -j2 test returned exit code 2

Julien Muchembled <[email protected]> Sun, 2 Aug 2026 04:18:44 +0200
Newsgroups gmane.linux.debian.devel.bugs.rc
Message-ID <d5793600-7ee4-7738-c3b6-379a0098bb28__47281.566976902$1785637754$gmane$org@jmuchemb.eu>
Le 02/08/2026 à 00:35, Santiago Vila a écrit :
> Traceback (most recent call last):
>    File "/<<PKGBUILDDIR>>/./test", line 356, in test2
>      os.link('c', 'd')
>      ~~~~~~~^^^^^^^^^^
> PermissionError: [Errno 1] Operation not permitted: 'c' -> 'd'

If you look at the context:

    353      for x in 'a/c', 'c', 'd':
    354        remove(x)
    355      os.symlink('.', 'c')
    356      os.link('c', 'd')

d does not exist, and c has just been created.

It's a mono-thread process with current directory being a temporary one that was created at the test case setup.

So I don't see how it can be a bug in fssync nor even in its deps. For me, there's something wrong at the kernel level. What FS is it ? Is it random ? Does adding a sleep and/or sync between 355 & 356 help ?

Julien