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

Launchpad Bug Tracker 1990578 at bugs.launchpad.net
Thu Sep 22 19:56:18 UTC 2022


You have been subscribed to a public bug by Nick Rosbrook (enr0n):

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: Medium
         Status: New


** Tags: ftbfs
-- 
FTBFS due to syntax error in test.sh
https://bugs.launchpad.net/bugs/1990578
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list