Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: Custom Package Howto does not contain build dependencies for pyzfs #8322

Closed
jwittlincohen opened this issue Jan 21, 2019 · 4 comments

Comments

@jwittlincohen
Copy link
Contributor

commented Jan 21, 2019

Distribution Name | Debian
Distribution Version | 9.6
Linux Kernel | 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux
Architecture | x64
ZFS Version | 0.8.0-rc3
SPL Version | 0.8.0-rc3

Describe the problem you're observing

Despite installing all the build dependencies listed in the ZFS Custom Package Howto, make -j1 deb fails with the following error:

configure: error: "Python >= '3.4.0' development library is not installed

This appears to be due to the fact that the Howto has not been updated to reflect the requirements of pyzfs, a feature that was added in 0.8.0-rc3. The Howto also does not mention that 0.8.0 does not have separate SPL packages.

I'm quite confident the issue is caused by pyzfs because: 1) I was able to build the 0.8.0-rc2 source without issue, and 2) 0.8.0-rc3 can be built with ./configure --disable-pyzfs without failure.

Describe how to reproduce the problem

  1. Install a fresh Debian Stretch (9.6) VM
  2. Install all build dependencies listed at ZFS Custom Package Howto
  3. Follow instructions to build kmod packages for Debian. The failure occurs at the make -j1 deb step.

Workaround

Use ./configure --disable-pyzfs

@gmelikov

This comment has been minimized.

Copy link
Member

commented Jan 22, 2019

Updated, thank you!

@gmelikov gmelikov closed this Jan 22, 2019

@geppi

This comment has been minimized.

Copy link

commented Jan 29, 2019

On debian just "sudo apt-get install python3" is not sufficient.
You also need to install: python3-dev python3-setuptools python3-cffi
Please update the Howto.

@jwittlincohen

This comment has been minimized.

Copy link
Contributor Author

commented Feb 7, 2019

@gmelikov Would you mind updating the Howto to add the additional dependencies noted by @geppi? I attempted a fresh install with python3 installed and it gives the same error. When I installed the additional dependencies, the build process completed successfully.

@gmelikov

This comment has been minimized.

Copy link
Member

commented Feb 9, 2019

@geppi @jwittlincohen sorry for late response, thank you, I've updated the wiki for Debian and Centos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.