Recommended update for expect

Announcement ID: SUSE-RU-2021:1752-1
Rating: moderate
References:
Affected Products:
  • Basesystem Module 15-SP2
  • Basesystem Module 15-SP3
  • SUSE Linux Enterprise Desktop 15 SP2
  • SUSE Linux Enterprise Desktop 15 SP3
  • SUSE Linux Enterprise High Performance Computing 15 SP2
  • SUSE Linux Enterprise High Performance Computing 15 SP3
  • SUSE Linux Enterprise Real Time 15 SP2
  • SUSE Linux Enterprise Real Time 15 SP3
  • SUSE Linux Enterprise Server 15 SP2
  • SUSE Linux Enterprise Server 15 SP2 Business Critical Linux 15-SP2
  • SUSE Linux Enterprise Server 15 SP3
  • SUSE Linux Enterprise Server 15 SP3 Business Critical Linux 15-SP3
  • SUSE Linux Enterprise Server for SAP Applications 15 SP2
  • SUSE Linux Enterprise Server for SAP Applications 15 SP3
  • SUSE Manager Proxy 4.1
  • SUSE Manager Proxy 4.2
  • SUSE Manager Retail Branch Server 4.1
  • SUSE Manager Retail Branch Server 4.2
  • SUSE Manager Server 4.1
  • SUSE Manager Server 4.2

An update that has three fixes can now be installed.

Description:

This update for expect fixes the following issues:

  • Fixed an issue when expect in permanently open connection causes hanging for scripts. (bsc#1183904)
  • pass explicit -pie flag to CFLAGS and hack make invocation so that /usr/bin/expect actually becomes a PIE binary. This is especially awkard since the expect build system implicitly passes -fPIC which breaks our gcc-PIE package, but does not pass -pie while linking the executable. Shared libraries are also not linked with -shared so we need to explicitly pass this, too, to avoid build breakage. (bsc#1184122)
  • Add an unversioned symlink to make linking easier for applications that use libexpect without Tcl. (bsc#1172681)

Patch Instructions:

To install this SUSE update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  • Basesystem Module 15-SP2
    zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP2-2021-1752=1
  • Basesystem Module 15-SP3
    zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP3-2021-1752=1

Package List:

  • Basesystem Module 15-SP2 (aarch64 ppc64le s390x x86_64)
    • expect-devel-5.45.4-3.3.1
    • expect-debugsource-5.45.4-3.3.1
    • expect-5.45.4-3.3.1
    • expect-debuginfo-5.45.4-3.3.1
  • Basesystem Module 15-SP3 (aarch64 ppc64le s390x x86_64)
    • expect-devel-5.45.4-3.3.1
    • expect-debugsource-5.45.4-3.3.1
    • expect-5.45.4-3.3.1
    • expect-debuginfo-5.45.4-3.3.1

References: