[Bug 2058944] Re: [UBUNTU 24.04] dbginfo.sh: updates required for /bin/dash shell

Frank Heimes 2058944 at bugs.launchpad.net
Tue Mar 26 08:15:42 UTC 2024


I've noticed that two no-change rebuilds (against libcurl4t64 and libssl3t64) were triggered, which obviously increased the version of the s390-tools. But at the same time s390-tools-signed version stayed the same, hence the s390-tools would have become uninstallable without a proper s390-tools-signed with the same version).
With this fix I aligned the two package versions again (which is also the reason why the debdiff for s390-tools-signed is between 2.31.0-0ubuntu1 and 2.31.0-0ubuntu4, since there were no 0ubuntu2 nor 0ubuntu3.)

** Also affects: s390-tools-signed (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: s390-tools-signed (Ubuntu)
       Status: New => In Progress

** Changed in: s390-tools-signed (Ubuntu)
     Assignee: (unassigned) => Frank Heimes (fheimes)

-- 
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/2058944

Title:
  [UBUNTU 24.04] dbginfo.sh: updates required for /bin/dash shell

Status in Ubuntu on IBM z Systems:
  In Progress
Status in s390-tools package in Ubuntu:
  In Progress
Status in s390-tools-signed package in Ubuntu:
  In Progress

Bug description:
  == <SIGLEN at de.ibm.com> - 2024-03-25 05:51:16 ==
  ---Description---
  Description:   dbginfo.sh: incompatible commands with /bin/dash shell
  Symptom:       script brakes on file copy
  Problem:       unpacked data collection
  Solution:      rewrite in compatible way
  Component:     s390-tools

  the master commit in s390tools:
  https://github.com/ibm-s390-linux/s390-tools/commit/1c128c0d11f23f9cf4bb9f4cf89a48b3011c4a99

  backport required for all unbuntu using s390-tools v2.31.0 
   
  ---uname output---
  Linux <..>  5.15.0-83-generic #92-Ubuntu SMP Mon Aug 14 09:30:48 UTC 2023 s390x s390x s390x GNU/Linux
   
  Contact Information = siglen at de.ibm.com 
   
  ---Debugger---
  A debugger is not configured
   
  ---Steps to Reproduce---
   run dbginfo.sh (as root)

  script will fail in last step "Finalizing: Creating archive with
  collected data"

  check /tnp/DBG*/dbginfo.log of the running script, it shows the error
  "Bad substitution"  for the line

     cp -p "${BASH_SOURCE[0]}" "${WORKPATH}"

  Problem: dash does not support array function

  array function was addd by commit https://github.com/ibm-s390-linux/s390-tools/commit/58ef99f76b0765f88b270b003bc7a516e5b36ec4 as part of s390-tools v2.31.0
   
  Machine Type = indipendent 
   
  Userspace tool common name: dbginfo.sh 
   
  The userspace tool has the following bit modes: na 

  Userspace tool obtained from project website:  na

  Userspace rpm: s390-tools

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/2058944/+subscriptions




More information about the Ubuntu-sponsors mailing list