grahamperrin

zfs-mon forked and installed on Kubuntu

Jul 6th, 2025
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.73 KB | Software | 0 0
  1. grahamperrin@mowa219-gjp4 ~> cd dev/mbottini/zfs-mon
  2. grahamperrin@mowa219-gjp4 ~/d/m/zfs-mon (master)> git pull --ff-only
  3. remote: Enumerating objects: 7, done.
  4. remote: Counting objects: 100% (7/7), done.
  5. remote: Compressing objects: 100% (1/1), done.
  6. remote: Total 4 (delta 3), reused 4 (delta 3), pack-reused 0 (from 0)
  7. Unpacking objects: 100% (4/4), 1.03 KiB | 527.00 KiB/s, done.
  8. From https://github.com/mbottini/zfs-mon
  9. d0b4ffc..658693a master -> origin/master
  10. Updating d0b4ffc..658693a
  11. Fast-forward
  12. debian/control | 4 ++--
  13. 1 file changed, 2 insertions(+), 2 deletions(-)
  14. grahamperrin@mowa219-gjp4 ~/d/m/zfs-mon (master)> dpkg-buildpackage -us -uc
  15. dpkg-buildpackage: info: source package python3-zfs-mon
  16. dpkg-buildpackage: info: source version 1.0.0
  17. dpkg-buildpackage: info: source distribution plucky
  18. dpkg-buildpackage: info: source changed by Michael Bottini <[email protected]>
  19. dpkg-buildpackage: info: host architecture amd64
  20. dpkg-source --before-build .
  21. dpkg-checkbuilddeps: error: unmet build dependencies: pybuild-plugin-pyproject
  22. dpkg-buildpackage: error: build dependencies/conflicts unsatisfied; aborting
  23. dpkg-buildpackage: hint: satisfy build dependencies with your package manager frontend
  24. grahamperrin@mowa219-gjp4 ~/d/m/zfs-mon (master) [3]> sudo apt install pybuild-plugin-pyproject
  25. [sudo] password for grahamperrin:
  26. Installing:
  27. pybuild-plugin-pyproject
  28.  
  29. Installing dependencies:
  30. python3-installer
  31.  
  32. Suggested packages:
  33. python-installer-doc
  34.  
  35. Summary:
  36. Upgrading: 0, Installing: 2, Removing: 0, Not Upgrading: 0
  37. Download size: 19.1 kB
  38. Space needed: 94.2 kB / 923 GB available
  39.  
  40. Continue? [Y/n]
  41. Get:1 http://archive.ubuntu.com/ubuntu plucky/universe amd64 python3-installer all 0.7.0+dfsg1-3 [17.4 kB]
  42. Get:2 http://archive.ubuntu.com/ubuntu plucky/universe amd64 pybuild-plugin-pyproject all 6.20250308 [1,726 B]
  43. Fetched 19.1 kB in 0s (60.1 kB/s)
  44. Selecting previously unselected package python3-installer.
  45. (Reading database ... 331597 files and directories currently installed.)
  46. Preparing to unpack .../python3-installer_0.7.0+dfsg1-3_all.deb ...
  47. Unpacking python3-installer (0.7.0+dfsg1-3) ...
  48. Selecting previously unselected package pybuild-plugin-pyproject.
  49. Preparing to unpack .../pybuild-plugin-pyproject_6.20250308_all.deb ...
  50. Unpacking pybuild-plugin-pyproject (6.20250308) ...
  51. Setting up python3-installer (0.7.0+dfsg1-3) ...
  52. Setting up pybuild-plugin-pyproject (6.20250308) ...
  53. grahamperrin@mowa219-gjp4 ~/d/m/zfs-mon (master)> dpkg-buildpackage -us -uc
  54. dpkg-buildpackage: info: source package python3-zfs-mon
  55. dpkg-buildpackage: info: source version 1.0.0
  56. dpkg-buildpackage: info: source distribution plucky
  57. dpkg-buildpackage: info: source changed by Michael Bottini <[email protected]>
  58. dpkg-buildpackage: info: host architecture amd64
  59. dpkg-source --before-build .
  60. debian/rules clean
  61. dh clean --with python3 --buildsystem=pybuild
  62. dh_auto_clean -O--buildsystem=pybuild
  63. dh_autoreconf_clean -O--buildsystem=pybuild
  64. dh_clean -O--buildsystem=pybuild
  65. dpkg-source -b .
  66. dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)
  67. dpkg-source: info: using source format '1.0'
  68. dpkg-source: warning: source directory 'zfs-mon' is not <sourcepackage>-<upstreamversion> 'python3-zfs-mon-1.0.0'
  69. dpkg-source: info: building python3-zfs-mon in python3-zfs-mon_1.0.0.tar.gz
  70. dpkg-source: info: building python3-zfs-mon in python3-zfs-mon_1.0.0.dsc
  71. debian/rules binary
  72. dh binary --with python3 --buildsystem=pybuild
  73. dh_update_autotools_config -O--buildsystem=pybuild
  74. dh_autoreconf -O--buildsystem=pybuild
  75. dh_auto_configure -O--buildsystem=pybuild
  76. dh_auto_build -O--buildsystem=pybuild
  77. I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" module
  78. I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /home/grahamperrin/dev/mbottini/zfs-mon/.pybuild/cpython3_3.13
  79. * Building wheel...
  80. running bdist_wheel
  81. running build
  82. running build_py
  83. creating build/lib/zfs_monitor
  84. copying src/zfs_monitor/__init__.py -> build/lib/zfs_monitor
  85. copying src/zfs_monitor/collect_daemon.py -> build/lib/zfs_monitor
  86. copying src/zfs_monitor/zfs_mon.py -> build/lib/zfs_monitor
  87. running egg_info
  88. creating src/zfs_mon.egg-info
  89. writing src/zfs_mon.egg-info/PKG-INFO
  90. writing dependency_links to src/zfs_mon.egg-info/dependency_links.txt
  91. writing entry points to src/zfs_mon.egg-info/entry_points.txt
  92. writing requirements to src/zfs_mon.egg-info/requires.txt
  93. writing top-level names to src/zfs_mon.egg-info/top_level.txt
  94. writing manifest file 'src/zfs_mon.egg-info/SOURCES.txt'
  95. reading manifest file 'src/zfs_mon.egg-info/SOURCES.txt'
  96. writing manifest file 'src/zfs_mon.egg-info/SOURCES.txt'
  97. installing to build/bdist.linux-x86_64/wheel
  98. running install
  99. running install_lib
  100. creating build/bdist.linux-x86_64/wheel
  101. creating build/bdist.linux-x86_64/wheel/zfs_monitor
  102. copying build/lib/zfs_monitor/collect_daemon.py -> build/bdist.linux-x86_64/wheel/./zfs_monitor
  103. copying build/lib/zfs_monitor/__init__.py -> build/bdist.linux-x86_64/wheel/./zfs_monitor
  104. copying build/lib/zfs_monitor/zfs_mon.py -> build/bdist.linux-x86_64/wheel/./zfs_monitor
  105. running install_egg_info
  106. Copying src/zfs_mon.egg-info to build/bdist.linux-x86_64/wheel/./zfs_mon-1.0.egg-info
  107. running install_scripts
  108. creating build/bdist.linux-x86_64/wheel/zfs_mon-1.0.dist-info/WHEEL
  109. creating '/home/grahamperrin/dev/mbottini/zfs-mon/.pybuild/cpython3_3.13/.tmp-4pmryha0/zfs_mon-1.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
  110. adding 'zfs_monitor/__init__.py'
  111. adding 'zfs_monitor/collect_daemon.py'
  112. adding 'zfs_monitor/zfs_mon.py'
  113. adding 'zfs_mon-1.0.dist-info/METADATA'
  114. adding 'zfs_mon-1.0.dist-info/WHEEL'
  115. adding 'zfs_mon-1.0.dist-info/entry_points.txt'
  116. adding 'zfs_mon-1.0.dist-info/top_level.txt'
  117. adding 'zfs_mon-1.0.dist-info/RECORD'
  118. removing build/bdist.linux-x86_64/wheel
  119. Successfully built zfs_mon-1.0-py3-none-any.whl
  120. I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module
  121. dh_auto_test -O--buildsystem=pybuild
  122. I: pybuild base:311: cd /home/grahamperrin/dev/mbottini/zfs-mon/.pybuild/cpython3_3.13/build; python3.13 -m unittest discover -v
  123.  
  124. ----------------------------------------------------------------------
  125. Ran 0 tests in 0.000s
  126.  
  127. NO TESTS RAN
  128. create-stamp debian/debhelper-build-stamp
  129. dh_testroot -O--buildsystem=pybuild
  130. dh_prep -O--buildsystem=pybuild
  131. dh_auto_install --destdir=debian/python3-zfs-mon/ -O--buildsystem=pybuild
  132. I: pybuild plugin_pyproject:178: Copying package built for python3.13 to destdir
  133. dh_installdocs -O--buildsystem=pybuild
  134. dh_installchangelogs -O--buildsystem=pybuild
  135. dh_systemd_enable -O--buildsystem=pybuild
  136. dh_python3 -O--buildsystem=pybuild
  137. dh_installinit -O--buildsystem=pybuild
  138. dh_systemd_start -O--buildsystem=pybuild
  139. dh_perl -O--buildsystem=pybuild
  140. dh_link -O--buildsystem=pybuild
  141. dh_strip_nondeterminism -O--buildsystem=pybuild
  142. dh_compress -O--buildsystem=pybuild
  143. dh_fixperms -O--buildsystem=pybuild
  144. dh_missing -O--buildsystem=pybuild
  145. dh_installdeb -O--buildsystem=pybuild
  146. dh_gencontrol -O--buildsystem=pybuild
  147. dpkg-gencontrol: warning: package python3-zfs-mon: substitution variable ${python3:Depends} unused, but is defined
  148. dh_md5sums -O--buildsystem=pybuild
  149. dh_builddeb -O--buildsystem=pybuild
  150. dpkg-deb: building package 'python3-zfs-mon' in '../python3-zfs-mon_1.0.0_all.deb'.
  151. dpkg-genbuildinfo -O../python3-zfs-mon_1.0.0_amd64.buildinfo
  152. dpkg-genchanges -O../python3-zfs-mon_1.0.0_amd64.changes
  153. dpkg-genchanges: info: including full source code in upload
  154. dpkg-source --after-build .
  155. dpkg-buildpackage: info: full upload; Debian-native package (full source is included)
  156. grahamperrin@mowa219-gjp4 ~/d/m/zfs-mon (master)> apt install ../python3-zfs-mon_1.0.0_all.deb
  157. Error: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
  158. Error: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
  159. grahamperrin@mowa219-gjp4 ~/d/m/zfs-mon (master) [100]> sudo apt install ../python3-zfs-mon_1.0.0_all.deb
  160. Note, selecting 'python3-zfs-mon' instead of '../python3-zfs-mon_1.0.0_all.deb'
  161. Installing:
  162. python3-zfs-mon
  163.  
  164. Installing dependencies:
  165. python3-ujson
  166.  
  167. Summary:
  168. Upgrading: 0, Installing: 2, Removing: 0, Not Upgrading: 0
  169. Download size: 28.0 kB / 32.1 kB
  170. Space needed: 117 kB / 923 GB available
  171.  
  172. Continue? [Y/n]
  173. Get:1 /home/grahamperrin/dev/mbottini/python3-zfs-mon_1.0.0_all.deb python3-zfs-mon all 1.0.0 [4,088 B]
  174. Get:2 http://archive.ubuntu.com/ubuntu plucky/universe amd64 python3-ujson amd64 5.10.0-1build2 [28.0 kB]
  175. Fetched 28.0 kB in 0s (99.0 kB/s)
  176. Selecting previously unselected package python3-ujson:amd64.
  177. (Reading database ... 331620 files and directories currently installed.)
  178. Preparing to unpack .../python3-ujson_5.10.0-1build2_amd64.deb ...
  179. Unpacking python3-ujson:amd64 (5.10.0-1build2) ...
  180. Selecting previously unselected package python3-zfs-mon.
  181. Preparing to unpack .../python3-zfs-mon_1.0.0_all.deb ...
  182. Unpacking python3-zfs-mon (1.0.0) ...
  183. Setting up python3-ujson:amd64 (5.10.0-1build2) ...
  184. Setting up python3-zfs-mon (1.0.0) ...
  185. Notice: Download is performed unsandboxed as root as file '/home/grahamperrin/dev/mbottini/python3-zfs-mon_1.0.0_all.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
  186. grahamperrin@mowa219-gjp4 ~/d/m/zfs-mon (master)> cd
  187. grahamperrin@mowa219-gjp4 ~> zfs-mon
  188. /usr/local/bin/zfs-mon:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  189. __import__('pkg_resources').run_script('zfs-mon==1.0', 'zfs-mon')
  190. grahamperrin@mowa219-gjp4 ~>
Advertisement
Add Comment
Please, Sign In to add comment