Your message dated Wed, 20 Jul 2022 13:04:32 +0000
with message-id <e1oe9nq-0005wa...@fasolo.debian.org>
and subject line Bug#1014849: fixed in openocd 0.11.0-2
has caused the Debian Bug report #1014849,
regarding Newer jimtcl (>= 0.81) requires fix to scripts
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1014849: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014849
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: openocd
Version: 0.11.0-1+b1
Severity: serious

Hello,

After I upgraded to libjim0.81, OpenOCD started to emit errors like:
==================
Error executing event examine-end on target stm32f0x.cpu:
/usr/bin/../share/openocd/scripts/mem_helper.tcl:37: Error: wrong # args: 
should be "expr expression"
in procedure 'program' 
in procedure 'stm32f0x_default_examine_end' called at file 
"/usr/bin/../share/openocd/scripts/target/stm32f0x.cfg", line 93
in procedure 'mmw' called at file 
"/usr/bin/../share/openocd/scripts/target/stm32f0x.cfg", line 74
at file "/usr/bin/../share/openocd/scripts/mem_helper.tcl", line 37
==================

I think that this is due to the change in expr command of jimtcl.
(IIUC, OpenOCD in Debian uses shared library in system for libjim.)

We can see the changes in upstream.

startup.tcl: prepare for jimtcl 0.81 'expr' syntax change:
https://repo.or.cz/openocd.git/commit/82b6a41117fa99e760681d9f31163e7b68357e71

tcl: [1/3] prepare for jimtcl 0.81 'expr' syntax change:
https://repo.or.cz/openocd.git/commit/f5657aa76e795e4ed5b13a9f5df943181a123e49

tcl: [2/3] prepare for jimtcl 0.81 'expr' syntax change:
https://repo.or.cz/openocd.git/commit/f855fdcf0d95ff9ba18a83f9a97d5368844d4f2c

tcl: [3/3] prepare for jimtcl 0.81 'expr' syntax change:
https://repo.or.cz/openocd.git/commit/64d89d5ee1a554fbae8eb0a7231ccb2dc4428c1a

openocd: prepare for jimtcl 0.81 'expr' syntax change
https://repo.or.cz/openocd.git/commit/c7eaaf620488c3268d02313dd5a30101d7aff37b


I confirmed that the error above is fixed by the patch to mem_helper.tcl,
adding quotation by { }.

-- System Information:
Debian Release: 11.4

Versions of packages openocd depends on:
ii  libc6              2.33-7
ii  libcapstone4       4.0.2-3
ii  libftdi1-2         1.5-5+b1
ii  libgpiod2          1.6.2-1
ii  libhidapi-hidraw0  0.10.1+dfsg-1
ii  libjaylink0        0.2.0-1
ii  libjim0.81         0.81+dfsg0-2
ii  libusb-0.1-4       2:0.1.12-32
ii  libusb-1.0-0       2:1.0.26-1

openocd recommends no packages.

openocd suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: openocd
Source-Version: 0.11.0-2
Done: Jonathan McDowell <nood...@earth.li>

We believe that the bug you reported is fixed in the latest version of
openocd, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1014...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonathan McDowell <nood...@earth.li> (supplier of updated openocd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 20 Jul 2022 13:45:35 +0100
Source: openocd
Architecture: source
Version: 0.11.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Electronics Packaging Team 
<pkg-electronics-de...@lists.alioth.debian.org>
Changed-By: Jonathan McDowell <nood...@earth.li>
Closes: 1008870 1014849 1014922
Changes:
 openocd (0.11.0-2) unstable; urgency=medium
 .
   * Enable rshim support (Closes: #1014922)
   * Fix operation with libusb-1.0.25 onwards (Closes: #1008870)
   * Fix Tcl scripts for operation with jimtcl 0.81+ (Closes: #1014849)
   * Lintian cleanups:
     * Add missing licence in debian/copyright for Synopsys files.
Checksums-Sha1:
 c0fe1a6813425baa4fb52b722309c55d3e4f4c42 2139 openocd_0.11.0-2.dsc
 59ddd5b44236fab8bcba701b0831c19e63b938c3 51312 openocd_0.11.0-2.debian.tar.xz
 08fac877d0ca2eee5a70ab371d085cdaf62fa706 8413 openocd_0.11.0-2_amd64.buildinfo
Checksums-Sha256:
 1cd20e78d3f1f18c127af02b7562c0717c9fab1229a37e7f26ac384589d55aa3 2139 
openocd_0.11.0-2.dsc
 d87f523b3264efcfa653231126ae274cf8245ef9e42879c81f6988abc8e1911a 51312 
openocd_0.11.0-2.debian.tar.xz
 c37de76db58dffd26d7d22c3d765f1dca0a2b11a5cb75d72568eb57b5aa2f407 8413 
openocd_0.11.0-2_amd64.buildinfo
Files:
 f6fb7c1b12bdbff3498dc75ed6999964 2139 embedded optional openocd_0.11.0-2.dsc
 794f748c0ea62af9499671d7b29b13b0 51312 embedded optional 
openocd_0.11.0-2.debian.tar.xz
 42d0955dba9ef38e717c48eebab5e7a9 8413 embedded optional 
openocd_0.11.0-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEERUuPEyEc/2gMWDpQ/xYvxc8/utEFAmLX+h0ACgkQ/xYvxc8/
utFIWxAAtrBdEBjlA/xF9CjHb79sftx40mTuTol+2FP+E9OCk02fJlYsns25nl8y
GGzdV/IpbR7edoWYQg1EiOhfKmMjOlmvcSEHZF1MHzn/NfDemJgSYUUTsGNvZazJ
Fh+YlqjLXJf0w1hwdn64R/ldVx8VEcxbXLcMog1VqK5bmujuZTKgJPgYxUg3B7Jn
vo5SURWqZtBhqV1aPUZeWVpB/xy/c5gUYyMn8esVcF8vs/jgHup3hZ2zCB3v+M9P
mSRaFyCOptH1JfS8HFWeJhQL6lueN61C+sUEeRZwgvUcv/p2KWMWqqiay8fsi0jJ
BAVgPm52BNnHJfBo1FNYVwdMdZ6AKPfrB8RHUNR0qJS+Yr1pb+ZSB+S/MgaAY9DR
oiyGdd0N5aAPuOQJFeAAoMqjNBNPkVH84tmx7FIlRnkK7nNjuTaU3HsdMAHr0Ut2
zc82MWxxEj3uEhobfib6EPG5FfUeSmJOrbSyqLfpiwdZTt5F0rlN4C4MD0n8mydh
YeAqVLNHIyoYlBCNYIr8u/YzwiQSvOEsjhJh+bTr3S5PLEO/bcjsdRQGRVMYzKqg
GrsE2WVTyiAhhiy4j9S1mPCw3MBcRphBnDeRj+mguSQwnuZBBf78+r8j6nbEzfMO
V1H77Rrg9wRdCP89GK+0+/MvkKuArhLU+jcjbHbCfUq/psezZL4=
=C07o
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to