Your message dated Mon, 03 Aug 2026 13:34:20 +0000
with message-id <[email protected]>
and subject line Bug#1143513: fixed in expect 5.45.4-8
has caused the Debian Bug report #1143513,
regarding expect lookahead matching problem on ppc64-linux
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 [email protected]
immediately.)


-- 
1143513: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1143513
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: expect
Version: 5.45.4-7
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

* What led up to the situation?

I ran the gdb testsuite on a ppc64-linux machine, and ran into a failure in
a test-case.  For more details, see
https://sourceware.org/bugzilla/show_bug.cgi?id=34471.  I manage to minimize
the behaviour to a standalone expect script:
...
$ cat test.exp
exp_internal 1

set str "all"

set re {(?=a)all}

# Matches here:
puts [regexp $re $str]

spawn sh -c "cat <<'EOF'
$str
EOF"

# But not here:
expect {
    -re $re {
        puts "PASS"
    }
}
...

* What exactly did you do (or not do) that was effective (or
ineffective)?

I ran the script:
...
$ expect test.exp
1
spawn sh -c cat <<'EOF'
all
EOF
parent: waiting for sync byte
parent: telling child to go ahead
parent: now unsynchronized from child
spawn: returns {2779718}
Gate keeper glob pattern for '(?=a)all' is 'aall'. Activating booster.

expect: does "" (spawn_id exp4) match regular expression "(?=a)all"? Gate 
"aall"? gate=no
all

expect: does "all\r\n" (spawn_id exp4) match regular expression "(?=a)all"? 
Gate "aall"? gate=no
expect: read eof
expect: set expect_out(spawn_id) "exp4"
expect: set expect_out(buffer) "all\r\n"
...

* What was the outcome of this action?

- Gate keeper glob pattern for '(?=a)all' is 'aall'.
- no PASS in the output

* What outcome did you expect instead?

- Gate keeper glob pattern for '(?=a)all' is 'all'.
- PASS in the output

-- System Information:
Debian Release: forky/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: ppc64

Kernel: Linux 7.1.3+deb14-powerpc64 (SMP w/64 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages expect depends on:
ii  libc6       2.42-17
ii  libtcl8.6   8.6.18+dfsg-1
ii  libtcl9.0   9.0.4+dfsg-1
ii  tcl-expect  5.45.4-7
ii  tcl8.6      8.6.18+dfsg-1
ii  tcl9.0      9.0.4+dfsg-1

expect recommends no packages.

Versions of packages expect suggests:
ii  tk8.6  8.6.18-1

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: expect
Source-Version: 5.45.4-8
Done: Sergei Golovan <[email protected]>

We believe that the bug you reported is fixed in the latest version of
expect, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sergei Golovan <[email protected]> (supplier of updated expect 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 [email protected])


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

Format: 1.8
Date: Mon, 03 Aug 2026 16:15:20 +0300
Source: expect
Architecture: source
Version: 5.45.4-8
Distribution: unstable
Urgency: medium
Maintainer: Sergei Golovan <[email protected]>
Changed-By: Sergei Golovan <[email protected]>
Closes: 1143513
Changes:
 expect (5.45.4-8) unstable; urgency=medium
 .
   * Fix a bug introduced by porting to Tcl 9 with comparing literals when
     converting regular expressions into glob patterns (closes: #1143513).
Checksums-Sha1:
 a5c5fd3edf2c9c3be81d03054f24702b6938a170 2027 expect_5.45.4-8.dsc
 f079ab7ae01fb5927abd1c9607fda5c692dca996 37668 expect_5.45.4-8.debian.tar.xz
 24c43e074a013e7165249a0da343aa76464b7dac 6843 expect_5.45.4-8_amd64.buildinfo
Checksums-Sha256:
 a4c181e3c7c6934526775ed5a08dfb86ca38bf2d8392c84ebf07701a39bcac54 2027 
expect_5.45.4-8.dsc
 6588d57422e17456758bb3fe0df6a6125fc4fe05f41795ad1f7b8f4fd18e1cee 37668 
expect_5.45.4-8.debian.tar.xz
 4a35c49d931fdd2ffe1655578b3362a5beb13a237047e38ebf4bf2cc90219aec 6843 
expect_5.45.4-8_amd64.buildinfo
Files:
 801938f67c986b150f1682fe6b1a0435 2027 interpreters optional expect_5.45.4-8.dsc
 f71a07bb7b77aa09f1590f429377113a 37668 interpreters optional 
expect_5.45.4-8.debian.tar.xz
 5d454208c1c6e6849ccf5ce9881acecb 6843 interpreters optional 
expect_5.45.4-8_amd64.buildinfo

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

iQIzBAEBCgAdFiEE/SYPsyDB+ShSnvc4Tyrk60tj54cFAmpwlQsACgkQTyrk60tj
54drGxAArqcR8AkbjBTeKznSnwzGFE1ZNj8EWfwETO9nG1JcXRKCt+PRiuqvIY8v
O7J48C79l9OoSkG3A7V+kzw/Cxo/byVk0vqMK/PNc9s8ogWvCoOwQikqojotISm/
DvSul128Klz84A4Qm9Wol5BnKYwZPewrHhYDoZx6Nx6GfKLHzavIqfZYrlN99rQD
n67SsqmtWok1o05N7tLuIeR21mKrjixpyaulCvikFF6Z7rlR83uKD0N6eHIIR32J
DuT/5DQcItGYTU1ibJVq2JJ877sgs1l6Qx+ktIvGpmec8k+dOennm54aCYw+N+td
/pg+DfjZUAISP25M1zqmOUUsRtpfFNNW//lSfqyc8IB3rAVROOc3D7CrfJD2Cas9
SWN38NRCw13nc/dw9NXp4sdX2UmUmo70glqakF6pbpZAolCQVtpPv3N4t77XRojq
TG3rFU5zlG9kXTfix/jSQXSIO1McQFwgxK3O9qiJr3Y6HBGqa0yATibKp9PjMn/f
78QFyG6eYQMErlYL/8843vG4nAbYHFcv71sevxXAd0x+wCo+lyd1xJY0g+cJWiyy
6qvrMOpBUQDXMtGMYX5CxppmIwwNk2c+DQmKkEQF/jbX9KCZwCuP4kJZMD/qq//J
lZK0lDb+7kSaqakkdwWMTL4hMwHbrm0MgLN/7Z0M6sDxpUJS3pY=
=dv/a
-----END PGP SIGNATURE-----

Attachment: pgpGoqXvEl7gr.pgp
Description: PGP signature


--- End Message ---

Reply via email to