version number breaks addversionno option

Bug #1988636 reported by Hadmut Danisch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
meta-unison (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi,

unison recently had some trouble with different ocaml compiler versions using different serializing protocols. Therefore, the ubuntu binary of unison got a double version number, one for the unison version, and one for the ocaml version. The binary is now named

/usr/bin/unison-2.51+4.13.1

where 2.51 is the unison version and 4.13.1 is the ocaml compiler version to precisely identify the protocol used for serialization.

Unfortunately, this breaks the addversionno option, which tells unison, to start the precise version on the peer site instead of just "unison", in order to avoid trouble e.g. when syncing to an older or newer ubuntu version or some different linux-distribution.

Now I do get the error message

command not found: unison-2.51

because the binary now is named /usr/bin/unison-2.51+4.13.1, but still tries to launch unison-2.51 on the peer.

So either the ubuntu package version of unison has to learn that the name is unison-2.51+4.13.1 now, or at least a link from unison-2.51 to unison-2.51+4.13.1 would be needed (which spoils the point of having the ocaml version in the binaries file name.

regards

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: unison 2.51.5+1
ProcVersionSignature: Ubuntu 5.15.0-46.49-generic 5.15.39
Uname: Linux 5.15.0-46-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: LXQt
Date: Sat Sep 3 16:18:26 2022
InstallationDate: Installed on 2020-06-12 (812 days ago)
InstallationMedia: Lubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
PackageArchitecture: all
SourcePackage: meta-unison
UpgradeStatus: Upgraded to jammy on 2022-05-28 (97 days ago)

Revision history for this message
Hadmut Danisch (hadmut) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.