-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
APT improvements: dependencies #17161
Comments
Additional |
Relates: RobotLocomotion#17161. If consumers do a tar or deb install with --no-install-recommends they will not be able to run the python code without libpython.
* [workspace] Install libpython for consumers Relates: #17161. If consumers do a tar or deb install with --no-install-recommends they will not be able to run the python code without libpython.
* [workspace] Install libpython for consumers Relates: RobotLocomotion#17161. If consumers do a tar or deb install with --no-install-recommends they will not be able to run the python code without libpython.
* [workspace] Install libpython for consumers Relates: RobotLocomotion#17161. If consumers do a tar or deb install with --no-install-recommends they will not be able to run the python code without libpython.
I skimmed through the list above; all of it seems on point.
I think it was probably an accident when we added #12072, and has never been used. From suitesparse we only use |
We do? Where? (Did this get addressed but not checked off?) |
See #17830 re: tinyxml2. |
"Drop tinyxml2 as of the deprecation 2023-01-01" Okay, it's 2023-02-02 🙂 . So the action item for tinyxml is to remove |
Yes. In general, any shared libraries that we don't dynamically load anymore in the current release shouldn't be part of |
Ugh. |
The general idea is to match the Depends list (which is specified by |
Since I can't find any evidence that "we install |
In order to evaluate the differences between what our
To compare, you have to overwrite it with --- a/tools/release_engineering/repack_deb.py
+++ b/tools/release_engineering/repack_deb.py
@@ -72,6 +72,7 @@ def _run(args):
# NOTE: rstrip is required here so that the last line does *NOT* have a
# comma (otherwise debian/rules will crash).
depends = packages_txt.rstrip().replace('\n', ',\n ')
+ depends = "${shlibs:Depends}"
with open(deb_control_in, encoding='utf-8') as f:
deb_control_contents = f.read().format(depends=depends) What this does is in the resultant # extract archives
$ ar x drake-dev_0.0.20230207185335-1_amd64.deb
# extract control file, focal: control.tar.xz, jammy: control.tar.zst
$ tar -xf control.tar.xz
# Dump the dependencies to a text file
$ cat control | /bin/grep Depends: | sed 's/Depends: //g' | tr ',' $'\n' | sed 's/^ //g' | sort > packages-focal.txt When reviewing the contents of a PR, you can run a sample deb packaging job:
When the job is complete search the logs (go to I will now include the analysis after comparing the results using PR #18734 to look at the remaining / new items that have come up. The last time we went through this there were some packages already cleared via #17058 (review) and the related google doc. Summary at the end of this comment with potential action items. focalFound in
|
Our packages.text lists
This is |
For the same reason, these are fine already (no need to list them). Our txt file says |
Already fixed by #19080.
Not a shared library, so would not be a part of shlibdeps output. We need this for
Not a shared library, so would not be a part of shlibdeps output. We need this for the tutorials. No changes necessary.
Looks like #18532 forgot to clean this up. I'll open a PR. That's everything, so just that one change and I'll close this. |
Merged! |
Sub-component of #16448. Relates: #17058 (review) and https://docs.google.com/document/d/1ZFq8EWLAVKHoUpJaf-Qx1AWzXllmVYCB_W1JOi-TnCQ
The
.tar.gz
archives should have their setup installation scripts allow for:apt-get satisfy
now that bionic is gone?shlibs:Depends
haslibblas3 | libblas.so.3
, we havelibblas3
.shlibs:Depends
installslibglu1-mesa | libglu1
, we installlibglu1-mesa
.shlibs:Depends
installsliblapack3 | liblapack.so.3
, we installliblapack3
.We install
libldl2
,shlibs:Depends
does not. (Remove unused libyaml and libdl2 dependencies #18734)shlibs:Depends
installslibstdc++6 (>= 9)
, we do not.shlibs:Depends
installslibtinyxml2-6a (>= 6.0.0)
, we installlibtinyxml2-dev
andlibtinyxml2.6.2v5
.libtinyxml2.6.2v5
is probably wrong.We install
libyaml-cpp-dev
,shlibs:Depends
does not. (Remove unused libyaml and libdl2 dependencies #18734)shlibs:Depends installs libpython3.8 (>= 3.8.2), we do not. ([workspace] Install libpython for consumers #17294)
The text was updated successfully, but these errors were encountered: