Public bug reported:

# description
I'm on "18.04.2 LTS (Bionic Beaver)" with kernel "Linux ubuntu 
4.18.0-15-generic #16~18.04.1-Ubuntu SMP Thu Feb 7 14:06:04 UTC 2019 x86_64 
x86_64 x86_64 GNU/Linux" and I wanted to backport "fuse3-3.4.1" from Disco.

# how to reproduce
1. l you need to be root for some tests...
2. dget -x 
https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/fuse3/3.4.1-1/fuse3_3.4.1-1.dsc
3. cd fuse3-3.4.1/
4. mk-build-deps --install --remove
5. dch --local ~ubuntu18.04+ --distribution bionic-backports "Rebuild for 
bionic-backports (local only)."
6. DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -b -us -uc
7. dpkg-buildpackage -b -us -uc

# errors & fixes
## libfuse3-dev.install
dh_install: Cannot find (any matches for) "usr/lib/*/*.a" (tried in ., 
debian/tmp)
dh_install: libfuse3-dev missing files: usr/lib/*/*.a
Fix: "libfuse3-dev.install" -> comment out the last line: "# usr/lib/*/*.a"

## fuse3.manpages
dh_installman: Cannot find (any matches for) "usr/share/man/man1/fusermount3.1" 
(tried in ., debian/tmp)
dh_installman: Aborting due to earlier error
Fix: "fuse3.manpages" -> add ".gz" as extension (or unzip): 
"usr/share/man/man1/fusermount3.1.gz"
Fix: "fuse3.manpages" -> add ".gz" as extension (or unzip): 
"usr/share/man/man8/mount.fuse3.8.gz"

## tests
When running the tests manually, about anything is fine (after step 6):
cd /opt/build/fuse3-3.4.1/obj-x86_64-linux-gnu/ && python3 -m pytest test/
# 37 passed, 4 skipped in 40.22 seconds

When running them in the normal build process (step 7), anything is baaad:
test/test_examples.py::test_hello[hello-options0-cmdline_builder0] FAILED       
                                                                      [ 23%]
================================================================== short test 
summary info ==================================================================
FAIL test/test_examples.py::test_hello[hello-options0-cmdline_builder0]
SKIP [2] test_ctests.py:21: not supported by running kernel
SKIP [4] test_ctests.py:42: not supported by running kernel
SKIP [2] test_ctests.py:72: not supported by running kernel

========================================================================= 
FAILURES 
==========================================================================
________________________________________________________ 
test_hello[hello-options0-cmdline_builder0] 
________________________________________________________
Traceback (most recent call last):
  File "/opt/build/fuse3-3.4.1/test/test_examples.py", line 65, in test_hello
    mount_process = subprocess.Popen(cmdline_builder(mnt_dir, name, options))
  File "/usr/lib/python3.6/subprocess.py", line 709, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.6/subprocess.py", line 1344, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 
'/opt/build/fuse3-3.4.1/test/../example/hello': 
'/opt/build/fuse3-3.4.1/test/../example/hello'
============================================================ 1 failed, 8 
skipped in 1.12 seconds 
============================================================
debian/rules:51: recipe for target 'override_dh_auto_test' failed

** Affects: fuse3 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1817437

Title:
  several problems while backporting

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fuse3/+bug/1817437/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to