Public bug reported: The procps build tests[1] fail against rust-coreutils, e.g.:
[ ... ] === w tests === Schedule of variations: unix Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using /<<PKGBUILDDIR>>/testsuite/config/unix.exp as tool-and-target-specific interface file. Running /<<PKGBUILDDIR>>/testsuite/w.test/w.exp ... FAIL: w with no arguments FAIL: w with -u flag FAIL: w with short output FAIL: w with from flag FAIL: w with from and short flags FAIL: w with short and from flags FAIL: w with pids display FAIL: w with terminal mode FAIL: w with terminal mode from and short flags === w Summary === # of expected passes 1 # of unexpected failures 9 /<<PKGBUILDDIR>>/src/w version 4.0.4 make[4]: *** [Makefile:528: check-DEJAGNU] Error 1 make[4]: Leaving directory '/<<PKGBUILDDIR>>/testsuite' make[3]: *** [Makefile:603: check-am] Error 2 make[3]: Leaving directory '/<<PKGBUILDDIR>>/testsuite' make[2]: *** [Makefile:2244: check-recursive] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: *** [Makefile:2775: check] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_test: error: make -j4 check "TESTSUITEFLAGS=-j4 --verbose" VERBOSE=1 returned exit code 2 make: *** [debian/rules:30: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- Investigating locally (sbuild -d questing-proposed --build-failed- commands=%SBUILD_SHELL), we see: root@sbuild:/build/reproducible-path/procps-4.0.4/testsuite# runtest -de -v w.test/w.exp [ ... ] target is unix Running target unix dirlist is /usr/share/dejagnu/baseboards/sbuild /usr/share/dejagnu/baseboards Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using /build/reproducible-path/procps-4.0.4/testsuite/config/unix.exp as tool-and-target-specific interface file. pushing config for target, name is unix Running /build/reproducible-path/procps-4.0.4/testsuite/w.test/w.exp ... FAIL: w with no arguments FAIL: w with -u flag FAIL: w with short output FAIL: w with from flag FAIL: w with from and short flags FAIL: w with short and from flags FAIL: w with pids display FAIL: w with terminal mode FAIL: w with terminal mode from and short flags === Summary === # of expected passes 1 # of unexpected failures 9 runtest completed at Wed Jun 18 13:47:29 2025 root@sbuild:/build/reproducible-path/procps-4.0.4/testsuite# cat testrun.log [ ... ] target is unix Running target unix dirlist is /usr/share/dejagnu/baseboards/sbuild /usr/share/dejagnu/baseboards Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using /build/reproducible-path/procps-4.0.4/testsuite/config/unix.exp as tool-and-target-specific interface file. pushing config for target, name is unix Running /build/reproducible-path/procps-4.0.4/testsuite/w.test/w.exp ... spawn /build/reproducible-path/procps-4.0.4/src/w /bin/stty: invalid argument 'sane' <-------------------- LOOK HERE 13:47:29 up 4 days, 19:57, 0 users, load average: 1.46, 1.62, 1.68 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT FAIL: w with no arguments spawn /build/reproducible-path/procps-4.0.4/src/w -h PASS: w with no headers spawn /build/reproducible-path/procps-4.0.4/src/w -u /bin/stty: invalid argument 'sane' <-------------------- LOOK HERE 13:47:29 up 4 days, 19:57, 0 users, load average: 1.46, 1.62, 1.68 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT FAIL: w with -u flag [ ... ] === Summary === # of expected passes 1 # of unexpected failures 9 runtest completed at Wed Jun 18 13:47:29 2025 root@sbuild:/build/reproducible-path/procps-4.0.4/testsuite# readlink /usr/bin/stty coreutils As annotated above, the important error is "/bin/stty: invalid argument 'sane'". Now, when I re-run the test with /usr/bin/stty -> /usr/bin/gnustty, the tests pass again: root@sbuild:/build/reproducible-path/procps-4.0.4/testsuite# rm /usr/bin/stty root@sbuild:/build/reproducible-path/procps-4.0.4/testsuite# ln -s /usr/bin/gnustty /usr/bin/stty root@sbuild:/build/reproducible-path/procps-4.0.4/testsuite# runtest -a -de w.test/w.exp WARNING: No tool specified Test run by root on Wed Jun 18 13:51:12 2025 Native configuration is x86_64-pc-linux-gnu === tests === Schedule of variations: unix Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using /build/reproducible-path/procps-4.0.4/testsuite/config/unix.exp as tool-and-target-specific interface file. Running /build/reproducible-path/procps-4.0.4/testsuite/w.test/w.exp ... PASS: w with no arguments PASS: w with no headers PASS: w with -u flag PASS: w with short output PASS: w with from flag PASS: w with from and short flags PASS: w with short and from flags PASS: w with pids display PASS: w with terminal mode PASS: w with terminal mode from and short flags === Summary === # of expected passes 10 ---------------------------------- The "/bin/stty: invalid argument 'sane'" error from rust-coreutils is due to the fact that coreutils does not support[2] "combination" options in general, and the "sane" option specifically. [1] https://launchpadlibrarian.net/800104690/buildlog_ubuntu-questing-amd64.procps_2%3A4.0.4-8ubuntu1_BUILDING.txt.gz [2] https://github.com/uutils/coreutils/issues/3860 ** Affects: procps (Ubuntu) Importance: High Assignee: Nick Rosbrook (enr0n) Status: Triaged ** Affects: rust-coreutils (Ubuntu) Importance: Undecided Status: New ** Tags: dcr-incoming ftbfs update-excuse ** Also affects: procps (Ubuntu) Importance: Undecided Status: New ** Changed in: procps (Ubuntu) Status: New => Triaged ** Changed in: procps (Ubuntu) Importance: Undecided => High ** Changed in: procps (Ubuntu) Assignee: (unassigned) => Nick Rosbrook (enr0n) ** Tags added: dcr-incoming ** Tags added: ftbfs update-excuse -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2114911 Title: procps FTBFS with rust-coreutils: stty does not support /bin/stty: invalid argument 'sane' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/procps/+bug/2114911/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs