Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- grahamperrin@mowa219-gjp4 ~> cd dev/mbottini/zfs-mon
- grahamperrin@mowa219-gjp4 ~/d/m/zfs-mon (master)> git pull --ff-only
- remote: Enumerating objects: 7, done.
- remote: Counting objects: 100% (7/7), done.
- remote: Compressing objects: 100% (1/1), done.
- remote: Total 4 (delta 3), reused 4 (delta 3), pack-reused 0 (from 0)
- Unpacking objects: 100% (4/4), 1.03 KiB | 527.00 KiB/s, done.
- From https://github.com/mbottini/zfs-mon
- d0b4ffc..658693a master -> origin/master
- Updating d0b4ffc..658693a
- Fast-forward
- debian/control | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
- grahamperrin@mowa219-gjp4 ~/d/m/zfs-mon (master)> dpkg-buildpackage -us -uc
- dpkg-buildpackage: info: source package python3-zfs-mon
- dpkg-buildpackage: info: source version 1.0.0
- dpkg-buildpackage: info: source distribution plucky
- dpkg-buildpackage: info: source changed by Michael Bottini <[email protected]>
- dpkg-buildpackage: info: host architecture amd64
- dpkg-source --before-build .
- dpkg-checkbuilddeps: error: unmet build dependencies: pybuild-plugin-pyproject
- dpkg-buildpackage: error: build dependencies/conflicts unsatisfied; aborting
- dpkg-buildpackage: hint: satisfy build dependencies with your package manager frontend
- grahamperrin@mowa219-gjp4 ~/d/m/zfs-mon (master) [3]> sudo apt install pybuild-plugin-pyproject
- [sudo] password for grahamperrin:
- Installing:
- pybuild-plugin-pyproject
- Installing dependencies:
- python3-installer
- Suggested packages:
- python-installer-doc
- Summary:
- Upgrading: 0, Installing: 2, Removing: 0, Not Upgrading: 0
- Download size: 19.1 kB
- Space needed: 94.2 kB / 923 GB available
- Continue? [Y/n]
- Get:1 http://archive.ubuntu.com/ubuntu plucky/universe amd64 python3-installer all 0.7.0+dfsg1-3 [17.4 kB]
- Get:2 http://archive.ubuntu.com/ubuntu plucky/universe amd64 pybuild-plugin-pyproject all 6.20250308 [1,726 B]
- Fetched 19.1 kB in 0s (60.1 kB/s)
- Selecting previously unselected package python3-installer.
- (Reading database ... 331597 files and directories currently installed.)
- Preparing to unpack .../python3-installer_0.7.0+dfsg1-3_all.deb ...
- Unpacking python3-installer (0.7.0+dfsg1-3) ...
- Selecting previously unselected package pybuild-plugin-pyproject.
- Preparing to unpack .../pybuild-plugin-pyproject_6.20250308_all.deb ...
- Unpacking pybuild-plugin-pyproject (6.20250308) ...
- Setting up python3-installer (0.7.0+dfsg1-3) ...
- Setting up pybuild-plugin-pyproject (6.20250308) ...
- grahamperrin@mowa219-gjp4 ~/d/m/zfs-mon (master)> dpkg-buildpackage -us -uc
- dpkg-buildpackage: info: source package python3-zfs-mon
- dpkg-buildpackage: info: source version 1.0.0
- dpkg-buildpackage: info: source distribution plucky
- dpkg-buildpackage: info: source changed by Michael Bottini <[email protected]>
- dpkg-buildpackage: info: host architecture amd64
- dpkg-source --before-build .
- debian/rules clean
- dh clean --with python3 --buildsystem=pybuild
- dh_auto_clean -O--buildsystem=pybuild
- dh_autoreconf_clean -O--buildsystem=pybuild
- dh_clean -O--buildsystem=pybuild
- dpkg-source -b .
- dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)
- dpkg-source: info: using source format '1.0'
- dpkg-source: warning: source directory 'zfs-mon' is not <sourcepackage>-<upstreamversion> 'python3-zfs-mon-1.0.0'
- dpkg-source: info: building python3-zfs-mon in python3-zfs-mon_1.0.0.tar.gz
- dpkg-source: info: building python3-zfs-mon in python3-zfs-mon_1.0.0.dsc
- debian/rules binary
- dh binary --with python3 --buildsystem=pybuild
- dh_update_autotools_config -O--buildsystem=pybuild
- dh_autoreconf -O--buildsystem=pybuild
- dh_auto_configure -O--buildsystem=pybuild
- dh_auto_build -O--buildsystem=pybuild
- I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" module
- 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
- * Building wheel...
- running bdist_wheel
- running build
- running build_py
- creating build/lib/zfs_monitor
- copying src/zfs_monitor/__init__.py -> build/lib/zfs_monitor
- copying src/zfs_monitor/collect_daemon.py -> build/lib/zfs_monitor
- copying src/zfs_monitor/zfs_mon.py -> build/lib/zfs_monitor
- running egg_info
- creating src/zfs_mon.egg-info
- writing src/zfs_mon.egg-info/PKG-INFO
- writing dependency_links to src/zfs_mon.egg-info/dependency_links.txt
- writing entry points to src/zfs_mon.egg-info/entry_points.txt
- writing requirements to src/zfs_mon.egg-info/requires.txt
- writing top-level names to src/zfs_mon.egg-info/top_level.txt
- writing manifest file 'src/zfs_mon.egg-info/SOURCES.txt'
- reading manifest file 'src/zfs_mon.egg-info/SOURCES.txt'
- writing manifest file 'src/zfs_mon.egg-info/SOURCES.txt'
- installing to build/bdist.linux-x86_64/wheel
- running install
- running install_lib
- creating build/bdist.linux-x86_64/wheel
- creating build/bdist.linux-x86_64/wheel/zfs_monitor
- copying build/lib/zfs_monitor/collect_daemon.py -> build/bdist.linux-x86_64/wheel/./zfs_monitor
- copying build/lib/zfs_monitor/__init__.py -> build/bdist.linux-x86_64/wheel/./zfs_monitor
- copying build/lib/zfs_monitor/zfs_mon.py -> build/bdist.linux-x86_64/wheel/./zfs_monitor
- running install_egg_info
- Copying src/zfs_mon.egg-info to build/bdist.linux-x86_64/wheel/./zfs_mon-1.0.egg-info
- running install_scripts
- creating build/bdist.linux-x86_64/wheel/zfs_mon-1.0.dist-info/WHEEL
- 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
- adding 'zfs_monitor/__init__.py'
- adding 'zfs_monitor/collect_daemon.py'
- adding 'zfs_monitor/zfs_mon.py'
- adding 'zfs_mon-1.0.dist-info/METADATA'
- adding 'zfs_mon-1.0.dist-info/WHEEL'
- adding 'zfs_mon-1.0.dist-info/entry_points.txt'
- adding 'zfs_mon-1.0.dist-info/top_level.txt'
- adding 'zfs_mon-1.0.dist-info/RECORD'
- removing build/bdist.linux-x86_64/wheel
- Successfully built zfs_mon-1.0-py3-none-any.whl
- I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module
- dh_auto_test -O--buildsystem=pybuild
- I: pybuild base:311: cd /home/grahamperrin/dev/mbottini/zfs-mon/.pybuild/cpython3_3.13/build; python3.13 -m unittest discover -v
- ----------------------------------------------------------------------
- Ran 0 tests in 0.000s
- NO TESTS RAN
- create-stamp debian/debhelper-build-stamp
- dh_testroot -O--buildsystem=pybuild
- dh_prep -O--buildsystem=pybuild
- dh_auto_install --destdir=debian/python3-zfs-mon/ -O--buildsystem=pybuild
- I: pybuild plugin_pyproject:178: Copying package built for python3.13 to destdir
- dh_installdocs -O--buildsystem=pybuild
- dh_installchangelogs -O--buildsystem=pybuild
- dh_systemd_enable -O--buildsystem=pybuild
- dh_python3 -O--buildsystem=pybuild
- dh_installinit -O--buildsystem=pybuild
- dh_systemd_start -O--buildsystem=pybuild
- dh_perl -O--buildsystem=pybuild
- dh_link -O--buildsystem=pybuild
- dh_strip_nondeterminism -O--buildsystem=pybuild
- dh_compress -O--buildsystem=pybuild
- dh_fixperms -O--buildsystem=pybuild
- dh_missing -O--buildsystem=pybuild
- dh_installdeb -O--buildsystem=pybuild
- dh_gencontrol -O--buildsystem=pybuild
- dpkg-gencontrol: warning: package python3-zfs-mon: substitution variable ${python3:Depends} unused, but is defined
- dh_md5sums -O--buildsystem=pybuild
- dh_builddeb -O--buildsystem=pybuild
- dpkg-deb: building package 'python3-zfs-mon' in '../python3-zfs-mon_1.0.0_all.deb'.
- dpkg-genbuildinfo -O../python3-zfs-mon_1.0.0_amd64.buildinfo
- dpkg-genchanges -O../python3-zfs-mon_1.0.0_amd64.changes
- dpkg-genchanges: info: including full source code in upload
- dpkg-source --after-build .
- dpkg-buildpackage: info: full upload; Debian-native package (full source is included)
- grahamperrin@mowa219-gjp4 ~/d/m/zfs-mon (master)> apt install ../python3-zfs-mon_1.0.0_all.deb
- Error: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
- Error: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
- grahamperrin@mowa219-gjp4 ~/d/m/zfs-mon (master) [100]> sudo apt install ../python3-zfs-mon_1.0.0_all.deb
- Note, selecting 'python3-zfs-mon' instead of '../python3-zfs-mon_1.0.0_all.deb'
- Installing:
- python3-zfs-mon
- Installing dependencies:
- python3-ujson
- Summary:
- Upgrading: 0, Installing: 2, Removing: 0, Not Upgrading: 0
- Download size: 28.0 kB / 32.1 kB
- Space needed: 117 kB / 923 GB available
- Continue? [Y/n]
- Get:1 /home/grahamperrin/dev/mbottini/python3-zfs-mon_1.0.0_all.deb python3-zfs-mon all 1.0.0 [4,088 B]
- Get:2 http://archive.ubuntu.com/ubuntu plucky/universe amd64 python3-ujson amd64 5.10.0-1build2 [28.0 kB]
- Fetched 28.0 kB in 0s (99.0 kB/s)
- Selecting previously unselected package python3-ujson:amd64.
- (Reading database ... 331620 files and directories currently installed.)
- Preparing to unpack .../python3-ujson_5.10.0-1build2_amd64.deb ...
- Unpacking python3-ujson:amd64 (5.10.0-1build2) ...
- Selecting previously unselected package python3-zfs-mon.
- Preparing to unpack .../python3-zfs-mon_1.0.0_all.deb ...
- Unpacking python3-zfs-mon (1.0.0) ...
- Setting up python3-ujson:amd64 (5.10.0-1build2) ...
- Setting up python3-zfs-mon (1.0.0) ...
- 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)
- grahamperrin@mowa219-gjp4 ~/d/m/zfs-mon (master)> cd
- grahamperrin@mowa219-gjp4 ~> zfs-mon
- /usr/local/bin/zfs-mon:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
- __import__('pkg_resources').run_script('zfs-mon==1.0', 'zfs-mon')
- grahamperrin@mowa219-gjp4 ~>
Advertisement
Add Comment
Please, Sign In to add comment