Skip to content

Commit

Permalink
Add missing dependencies to Debian custom packages instructions
Browse files Browse the repository at this point in the history
`gdebi-core` is needed and without `dh-dkms` installed I get this error:

```
ago@ares:~/src/zfs$ make native-deb-utils
cp contrib/debian/control debian/control; \
dpkg-buildpackage -b -rfakeroot -us -uc;
dpkg-buildpackage: info: source package openzfs-linux
dpkg-buildpackage: info: source version 2.1.99-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Umer Saleem <[email protected]>
dpkg-buildpackage: info: host architecture amd64
 dpkg-source --before-build .
 debian/rules clean
make[1]: Entering directory '/home/ago/src/zfs'
dh clean --with autoreconf,dkms,python3,sphinxdoc
dh: error: unable to load addon dkms: Can't locate Debian/Debhelper/Sequence/dkms.pm in @inc (you may need to install the Debian::Debhelper::Sequence::dkms module) (@inc contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.36.0 /usr/local/share/perl/5.36.0 /usr/lib/x86_64-linux-gnu/perl5/5.36 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.36 /usr/share/perl/5.36 /usr/local/lib/site_perl) at (eval 13) line 1.
BEGIN failed--compilation aborted at (eval 13) line 1.

make[1]: *** [debian/rules:28: clean] Error 255
make[1]: Leaving directory '/home/ago/src/zfs'
dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2
make: *** [Makefile:14320: native-deb-utils] Error 2
```
  • Loading branch information
EchterAgo committed Oct 14, 2023
1 parent 483ff1c commit a5013ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/Developer Resources/Custom Packages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ follows:

.. code:: sh
$ sudo apt-get install dkms
$ sudo apt-get install dkms gdebi-core
$ cd zfs
$ ./configure --enable-systemd
$ make -j1 deb-utils deb-dkms
Expand All @@ -207,7 +207,7 @@ packages can be built as follows:

.. code:: sh
$ sudo apt-get install dkms
$ sudo apt-get install dkms gdebi-core dh-dkms
$ cd zfs
$ ./configure
$ make native-deb-utils
Expand Down

0 comments on commit a5013ed

Please sign in to comment.