borgbackup / borg

Deduplicating archiver with compression and authenticated encryption.
https://www.borgbackup.org/
Other
11.22k stars 743 forks source link

vagrant: freebsd14 box missing header file(s) (master) #8416

Closed ThomasWaldmann closed 1 month ago

ThomasWaldmann commented 1 month ago
Building wheels for collected packages: pyfuse3
  Building wheel for pyfuse3 (pyproject.toml) ... error
Failed to build pyfuse3
  error: subprocess-exited-with-error

  ? Building wheel for pyfuse3 (pyproject.toml) did not run successfully.
  ? exit code: 1
  ??> [22 lines of output]
     /tmp/pip-build-env-gf08agnq/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests__rquire'
        warnings.warn(msg)
      running bdist_wheel
      running build
      running build_py
      creating build/lib.freebsd-14.0-RELEASE-amd64-cpython-310
      copying src/_pyfuse3.py -> build/lib.freebsd-14.0-RELEASE-amd64-cpython-310
      copying src/pyfuse3_asyncio.py -> build/lib.freebsd-14.0-RELEASE-amd64-cpython-310
      creating build/lib.freebsd-14.0-RELEASE-amd64-cpython-310/pyfuse3
      copying src/pyfuse3/_pyfuse3.py -> build/lib.freebsd-14.0-RELEASE-amd64-cpython-310/pyfuse3
      copying src/pyfuse3/asyncio.py -> build/lib.freebsd-14.0-RELEASE-amd64-cpython-310/pyfuse3
      copying src/pyfuse3/__init__.pyi -> build/lib.freebsd-14.0-RELEASE-amd64-cpython-310/pyfuse3
      copying src/pyfuse3/py.typed -> build/lib.freebsd-14.0-RELEASE-amd64-cpython-310/pyfuse3
      running build_ext
      building 'pyfuse3.__init__' extension
      creating build/temp.freebsd-14.0-RELEASE-amd64-cpython-310/src/pyfuse3
      cc -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -I/vagrant/borg/borg/.tox/py310-fuse3/include -I/usr/local/include/python3.10 -c src/pyfuse3/__init__.c -o build/temp.freebsd-14.0-RELEASE-amd64-cpython-310/src/pyfuse3/__init__.o -I/usr/local/include/fuse3 -DFUSE_USE_VERSION=32 -Wall -Wextra -Wconversion -Wsign-compare -DPYFUSE3_VERSION=\"3.4.0\" -Wno-unused-function -Wno-implicit-fallthrough -Wno-unused-function -Wno-unused-parameter
      src/pyfuse3/__init__.c:1240:10: fatal error: 'linux/fs.h' file not found
      #include <linux/fs.h>
               ^~~~~~~~~~~~
      1 error generated.
      error: command '/usr/bin/cc' failed with exit code 1
      [end of output]
ThomasWaldmann commented 1 month ago

https://forums.freebsd.org/threads/how-to-find-which-package-provides-a-specific-file-or-library-in-freebsd-11-3.79983/#post-606661

ThomasWaldmann commented 1 month ago

Strange, can't reproduce.