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

Nick Rosbrook 1990578 at bugs.launchpad.net
Thu Sep 22 19:20:31 UTC 2022


Public bug reported:

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.

** Affects: socat (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ftbfs

** Tags added: ftbfs

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to socat in Ubuntu.
https://bugs.launchpad.net/bugs/1990578

Title:
  FTBFS due to syntax error in test.sh

Status in socat package in Ubuntu:
  New

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 foundations-bugs mailing list