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

libmariadbclient-dev dependency broken in recent debian/ubuntu releases #555

Open
georgedorn opened this issue Jan 16, 2023 · 7 comments
Open

Comments

@georgedorn
Copy link

libmariadbclient-dev has been removed, so releases can't be installed on anything that ships with mariadb more recent than 10.4. It should be replaced with libmariadb-dev or libmariadb-dev-compat depending on what it actually needs.

@georgedorn
Copy link
Author

Similarly, libhamlib2 is now libhamlib4.

@georgedorn
Copy link
Author

georgedorn commented Jan 16, 2023

I can confirm that by replacing libmariadbclient-dev and libmariadbclient-dev-compat with libmariadb-dev and libmariadb-dev-compat in the DEBIAN/control file (along with swapping out libhamlib2 for libhamlib4), I can install and run the latest release.

I don't quite know how to test whether libhamlib is still behaving as I'm still quite new to cqrlog, but I will be attempting to use it as my logging software in the very near future and will report back.

@OH1KH
Copy link
Contributor

OH1KH commented Jan 17, 2023

Thanks for reporting!

I think there will be no problems with libhamlib as Cqrlog uses only rigctld and rotctld via telnet connections.
Of course the libhamlib must be same version as those two. Otherwise problems will arise.

That can happen if Hamlib is installed from package and uses /usr/bin for binary files and the user upgrades
Hamlib by self compile and uses /usr/local/bin without removing package installed Hamlib (also some Ubuntus seems to do upgrade to /usr/local/bin leaving old binary to /usr/bin)
Then it might be that binary and library file versions get mixed while in use and it can make strange things (I have experience)

IMHO I think that there should be a script that would install all dependencies for Cqrlog.
It could be fitted for different Linux brands so that it could find right names for packages.

That way we could get rid of 10^n version of older packages than the Cqrlog current source is, and there would be no need to wait for new ones to come.

After dependencies are installed from script then Cqrlog install is just a copy of few files (included in tgz file from download page).
Doing so also upgrade of dependency, like Hamlib, could be done without effect to Cqrlog.
(Try to remove old Hamlib if it is installed with Cqrlog package, it removes also Cqrlog.)
Bad.

Once Cqrlog is installed upgrading it is just simply copying new /usr/bin/cqrlog and possible /usr/share/cqrlog/help contents.
No need for packages with that.

@NipponBill
Copy link

How can the .deb CQRLOG 2.5.2 be installed on Debian 11 or 12? This error prevents an install.

Is it recommended to move to the beta?

@OH1KH
Copy link
Contributor

OH1KH commented Sep 25, 2023

That begins to be a real problem as packages of Cqrlog are so old compared to latest Linux releases that depended package list names do not fit to today's naming.

Most recommended way is to compile Cqrlog from source in same version of Linux than it is going to be used.
To manage with compile some tools should be installed. Most important is Lazarus that installs also lots of other stuff needed.
With Lazarus it is also best to check latest package from their web lazarus-ide.org as packages from Linux distribution can be far behind.

@jbdubbs
Copy link

jbdubbs commented Nov 13, 2023

I solved this dependency issue by adding the MariaDB repo to Debian 12.

curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | sudo bash

@AsciiWolf
Copy link
Contributor

AsciiWolf commented Sep 16, 2024

Since version 2.5, CQRLOG depends on mariadb and does not work properly with original mysqld. There was no problem in Debian because it uses mariadb as its default mysql server, however it is broken in Ubuntu, (I believe) since 20.04, because Ubuntu uses mysqld as the default one.

It recently got changed in Debian to hard-depend on mariadb and a Stable Release Update for supported Ubuntu LTS releases was prepared.

However, Ubuntu developers have rejected the update and are not happy about it so it is possible that CQRLOG in Ubuntu (and its derivatives like Linux Mint) will sadly remain broken in future releases.

If you have any questions or comments, please, consider discussing them in the original Ubuntu ticket instead of this upstream one:

https://bugs.launchpad.net/ubuntu/+source/cqrlog/+bug/1872002

Thanks!

edit: Oops, I have noticed that this ticket is about a slightly different dependency problem. But this is still related so I am keeping this comment here.

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

5 participants