[Bug 1990578] Re: FTBFS due to syntax error in test.sh
Launchpad Bug Tracker
1990578 at bugs.launchpad.net
Sun Sep 25 10:00:38 UTC 2022
This bug was fixed in the package socat - 1.7.4.1-3ubuntu5
---------------
socat (1.7.4.1-3ubuntu5) kinetic; urgency=medium
* debian/patches/09-test.sh-fix-awk-statement-quoting.sh: Fix FTBFS by using
correct quoting around awk statements in test.sh (LP: #1990578).
-- Nick Rosbrook <nick.rosbrook at canonical.com> Thu, 22 Sep 2022
15:26:22 -0400
** Changed in: socat (Ubuntu)
Status: Fix Committed => Fix Released
--
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:
Fix Released
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