[Bug 1990578] Re: FTBFS due to syntax error in test.sh

Robie Basak 1990578 at bugs.launchpad.net
Fri Sep 23 15:47:26 UTC 2022


Sponsored, thanks. Looks like bash changed behaviour and now fails at
the time the function is defined, whereas previously that code path
never ran so it never failed.

** Changed in: socat (Ubuntu)
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1990578

Title:
  FTBFS due to syntax error in test.sh

Status in socat package in Ubuntu:
  Fix Committed

Bug description:
  Due to incorrect quoting in some awk statements in test.sh, socat
  FTBFS: https://launchpadlibrarian.net/624292174/buildlog_ubuntu-
  kinetic-amd64.socat_1.7.4.1-3ubuntu4_BUILDING.txt.gz. The relevant
  portion is this:

  make[2]: Entering directory '/<<PKGBUILDDIR>>'
  ./test.sh
  Using temp directory /tmp/buildd/7466
  testing if address array is sorted... ok
  testing if address options are sorted... ok
  ./test.sh: line 1924: syntax error near unexpected token `}'
  ./test.sh: line 1924: `    CYGWIN*)  l="$(ps -pafe |grep "^[^ ]*[ ][ ]*[^ ][^ ]*[ ][ ]*$1[ ]" |awk '{print($2)';})" ;;'
  make[2]: *** [Makefile:186: test] Error 2
  make[2]: Leaving directory '/<<PKGBUILDDIR>>'
  dh_auto_test: error: make -j4 test "TESTSUITEFLAGS=-j4 --verbose" VERBOSE=1 returned exit code 2
  make[1]: *** [debian/rules:19: override_dh_auto_test] Error 25
  make[1]: Leaving directory '/<<PKGBUILDDIR>>'
  make: *** [debian/rules:25: binary-arch] Error 2
  dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2

  This is fixed upstream by a larger commit
  (https://repo.or.cz/socat.git/commit/ff51262e). It would probably be
  best at this stage in the Kinetic cycle to add a patch just the
  quoting fix.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/socat/+bug/1990578/+subscriptions




More information about the Ubuntu-sponsors mailing list