[Bug 2053256] Re: [FFe] Update lcm to 1.5 for Noble
Andreas Hasenack
2053256 at bugs.launchpad.net
Fri Mar 22 20:48:24 UTC 2024
> I did that and published
https://code.launchpad.net/~j-rivero/ubuntu/+source/lcm/+git/lcm/+ref/ubuntu/devel
Please create a merge proposal against pkg/ubuntu/devel, and there has been a new upload to noble since you pushed. It will be easier to review in an MP.
I started a quick review, here are some notes:
- I ran uscan --download-current-version, that produced ../lcm_1.5.0+repack.orig.tar.xz. But d/changelog is expecting the name 1.5.0+repack1 (note the "1").
- d/changelog still has UNRELEASED as the ubuntu name, it should be noble
- new version should have suffix 0ubuntu1, not 0ubuntu2
- you need to run update-maintainer, to update the maintainer in d/control
- the source package still doesn't build, there is a mismatch between the git tree and the orig tarball produced by uscan:
dpkg-source: info: local changes detected, the modified files are:
lcm/NEWS.md
lcm/docs/Doxyfile.in
lcm/docs/content/lcm-type-ref.md
lcm/docs/content/lua-api.md
lcm/docs/content/multicast-setup.md
lcm/docs/content/tutorial-c.md
lcm/docs/content/tutorial-cpp.md
lcm/docs/content/tutorial-dotnet.md
lcm/docs/content/tutorial-go.md
lcm/docs/content/tutorial-java.md
lcm/docs/content/tutorial-lua.md
lcm/docs/content/tutorial-matlab.md
lcm/docs/content/tutorial-python.md
lcm/docs/make.bat
lcm/examples/cpp/lcm_log_writer/pronto_joint_state_t.lcm
lcm/lcm-cmake/lcmUtilities.cmake
lcm/lcm-java/lcm/lcm/LCM.java
lcm/lcm-java/lcm/logging/LogPlayer.java
lcm/lcm-java/lcm/spy/Spy.java
lcm/lcm/dbg.h
lcm/lcm/windows/WinLCM.cpp
dpkg-source: info: Hint: make sure the version in debian/changelog matches the unpacked source tree
dpkg-source: info: you can integrate the local changes with dpkg-source --commit
dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/lcm_1.5.0+repack1-0ubuntu2.diff.KA4DhE
dpkg-buildpackage: error: dpkg-source -I -i -b . subprocess returned exit status 2
- in this commit, do you state that you verified you could to the standards bump without any other changes? Usually when that's the case we see something like "Bump standard to 4.6.2 (no changes needed)". Or, if there are changes needed, in a follow-up commit, they would be grouped together in this commit:
commit 5e06aefc24b36cbbbd5d8f5a9bdd2b94ee705694
Author: Jose Luis Rivero <jrivero at osrfoundation.org>
Date: Tue Jan 23 19:33:46 2024 +0100
Bump standards to 4.6.2
- d/changelog could use some changes. You should try to group the
changes to the same file that go together, mentioning the files that you
changed. And no need to document in d/changelog that d/changelog was
updated, for example :). It's hard to mention it all here, and it will
be better in the MP when it's done.
--
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2053256
Title:
[FFe] Update lcm to 1.5 for Noble
Status in lcm package in Ubuntu:
Triaged
Status in lcm package in Debian:
New
Bug description:
Version bump for the lcm package to latest version
1.5.0+repack-0ubuntu1
Git changes and Package PPA:
- Ubuntu/devel git fork:
https://code.launchpad.net/~j-rivero/ubuntu/+source/lcm/+git/lcm/+ref/ubuntu/devel
- PPA
https://launchpad.net/~j-rivero/+archive/ubuntu/lcm-1.5
1.5.0+repack1-0ubuntu1
- Debian Git Merge request
https://salsa.debian.org/debian/lcm/-/merge_requests/1
Build logs for all architectures are available in the PPA.
[Justification]
Current lcm version 1.3.1 comes from 2016 and is quite broken for
different use cases when using the tools provided by the package with
modern versions of java and/or python, see
https://bugs.launchpad.net/ubuntu/+source/lcm/+bug/1956368 as an
example.
Running a quick test for lcm-logplayer-gui in a Noble docker container:
--------------------- 8< ----------------------------------------
jrivero at 86d205b40951:~$ lcm-logplayer-gui
Unrecognized option: -Xincgc
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
--------------------- 8< ----------------------------------------
[Other info]
I have the version bump ready on Debian but the 64bit_time transition[1] is preventing the
packages to go through the lib transition since two weeks before the Import Freeze.
https://salsa.debian.org/debian/lcm/-/merge_requests/1
Changes done in the packaging:
* New upstream version 1.5.0+repack
* Formatter changes
* Bump standards to 4.6.2
* Use default-jdk package for java support
* Bump version to 1.5.0+repack1
* Rediff patches:
* PATCH: use gnuinstalldirs in CMake
* PATCH: use gtest from system
* PATCH: use java system dependencies instead of embedded files
* PATCH: Encode utf8 characters to fix the java build
* PATCH: fix manpages name to make lintian happy
* Add CMake to d/control
* Use --no-parallel for testing
* Cleanup d/rules
* Update liblcm-doc.docs for new paths
* Generalize d/liblcm-dev.install
* Convert package to use pybuild. Change d/rules heavily.
* Update java dependencies in d/control
* Update d/copyright file
* Keep lcm-java.pc only in the java package
* Remove .doctrees from the -docs package
* Add bindnow to DEB_BUILD_MAINT_OPTIONS
* Replace embedded fonts and jquery with system dependencies
* Remove .gitignore from liblcm-doc installation
* Update existing patch for javadoc generation
* Update d/changelog
* Rework java patch to use offline generation
* Reorder java dependencies: in -bin and -java
* Adding Section: to packages
* Added autotest: install and build-cpp
[Risk analysis - Library transition]
There is no package depending on lcm currently in the Ubuntu repository. No library transition needs to performed.
[Testing done]
In the same Noble container I added the PPA and check the upgrade:
------- 8< -----------------------------
The following additional packages will be installed:
libapache-pom-java libcommons-io-java libcommons-logging-java libcommons-parent-java libhamcrest-java libjchart2d-java libjide-oss-java liblcm-bin liblcm-java liblcm1
libxmlgraphics-commons-java
Suggested packages:
libcommons-io-java-doc libavalon-framework-java libexcalibur-logkit-java liblog4j1.2-java libjchart2d-java-doc libjide-oss-java-doc libxmlgraphics-commons-java-doc
The following NEW packages will be installed:
libapache-pom-java libcommons-io-java libcommons-logging-java libcommons-parent-java libhamcrest-java libjchart2d-java libjide-oss-java liblcm-dev liblcm-java libxmlgraphics-commons-java
The following packages will be upgraded:
liblcm-bin liblcm1
2 upgraded, 10 newly installed, 0 to remove and 5 not upgraded.
28 not fully installed or removed.
Need to get 3283 kB of archives.
After this operation, 4298 kB of additional disk space will be used.
Do you want to continue? [Y/n]
------- 8< -----------------------------
Run fine and now I can execute the binaries:
------- 8< -----------------------------
jrivero at 86d205b40951:~$ lcm-logplayer-gui
LC: Disabling IPV6 support
LCM: Disabling IPV6 support
LCM: TTL set to zero, traffic will not leave localhost.
------- 8< -----------------------------
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lcm/+bug/2053256/+subscriptions
More information about the Ubuntu-sponsors
mailing list