Project

General

Profile

Actions

Bug #415

open

Perhaps some typos in some system dependencies

Added by Gianluca Corsini 4 months ago. Updated 4 months ago.

Status:
New
Priority:
Low

Description

Hello,

I am performing a fresh installation of several packages (see robotpkg.conf attached) through robopkg on an Intel NUC i3 running Ubuntu 22.04.4.
During this operation, I noticed that several system dependencies that were suggested did not have a name matching the ones I found through apt.

Here, the list of those I noticed:

Suggested by robotpkg Found and installed with apt
liblog4cxx10-dev I found either liblog4cxx12-dev or liblog4cxx-dev, and I installed the latter
libX11-dev libx11-dev
python-numpy python3-numpy
python-empy python3-empy
python-nose python3-nose
python-setuptools python3-setuptools

Are these typos?

Thanks,
Gianluca


Files

robotpkg.conf (9.7 KB) robotpkg.conf Gianluca Corsini, 2024-06-19 19:10
Actions #1

Updated by Gianluca Corsini 4 months ago · Edited

Are the names of the python packages suggested according to the python version detected in the system or is the user required to use only python3?

Actions #2

Updated by Anthony Mallet 4 months ago

Not really a typo, but a best-effort to provide a useful hint.

Regarding python packages, the system usually provides only one
version for the one python interpreter available (since python2.7 is
usually not provided anymore), but you could manually install more and
depend on them. It is doable to suggest python3-stuff as an apt
package name depending if the selected python is >=3.0 or not, but it
must be done for every single dependency in mk/sysdep.

In any case, the system package names are really just a hint and
should not be fully trusted. What counts is the list of files reported
in the sysdep.log file (mentionned in the error message when a dependency
is not found). The version requirement is also printed and this is
what should drive your choice.

For liblog4cxx12-dev or liblog4cxx-dev, it also depends on what else
is installed on your system. Usually, the versionned packages (like
liblog4cxx12) are provided for backward compat with incomptible
programs.

Finally, it happens that the apt package name changes, and tracking
those changes is painful and error prone for litte benefit, as users
are usually able to figure it out, just as you did.

Anyway, if you have a concrete suggestion that would improve things,
just send a diff :)
I already updated the libx11-dev package name, it's probably one
example of an apt package renaming :)

Actions #3

Updated by Gianluca Corsini 4 months ago

  • Priority changed from Normal to Low

I see. Thanks for the insights. At this moment, I don't have a concrete suggestion to improve things :S

Actions

Also available in: Atom PDF