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

error installation this package on debian 12 #32

Open
zizitizi opened this issue May 6, 2024 · 2 comments
Open

error installation this package on debian 12 #32

zizitizi opened this issue May 6, 2024 · 2 comments

Comments

@zizitizi
Copy link

zizitizi commented May 6, 2024

hello

I assumed to install this package on Debian 12 but , I encountered a error :

dpkg-buildpackage -rfakeroot -uc -b
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: info: source package mysql-snmp
dpkg-buildpackage: info: source version 1.2-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by brice [email protected]
dpkg-buildpackage: info: host architecture amd64
dpkg-source --before-build .
fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp

Add here commands to clean up after the build process.

/usr/bin/make DESTDIR=/root/mysql-snmp/debian/mysql-snmp clean
make[1]: Entering directory '/root/mysql-snmp'
rm /root/mysql-snmp/debian/mysql-snmp/usr/sbin/mysql-snmp
rm: cannot remove '/root/mysql-snmp/debian/mysql-snmp/usr/sbin/mysql-snmp': No such file or directory
make[1]: [Makefile:23: clean] Error 1 (ignored)
make[1]: Leaving directory '/root/mysql-snmp'
dh_clean
dh_clean: error: Compatibility levels before 7 are no longer supported (level 5 requested)
make: *** [debian/rules:46: clean] Error 255
dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned exit status 2

is there any help tp solve my problem?

@masterzen
Copy link
Owner

Hi,
I'm not surprised it doesn't work anymore since this project hasn't been touched in years :)
You might want to change debian/compat (replace the 5 in this file to 7). That increases the compatibility but doesn't mean that it will make the package actually compatible.
To properly update you need to use https://manpages.debian.org/testing/debhelper/debhelper-obsolete-compat.7.en.html to bring the compatibility to level 7, then from there use https://manpages.debian.org/testing/debhelper/debhelper-compat-upgrade-checklist.7.en.html to upgrade to level 8.
I don't have any debian systems anymore to be able to do that by myself, but I'm open to any PR you'd want to send me.

@zizitizi
Copy link
Author

zizitizi commented May 6, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants