On 2025/07/22 09:10:05 -0400, Chet Ramey wrote: > On 7/22/25 8:12 AM, Dr. Werner Fink wrote: > > On 2025/07/22 13:15:38 +0200, Dr. Werner Fink wrote: > > [...] > > > > found a not expanded m4 autoconf macro GL_MDA_DEFINES in m4/fcntl-o.m4 > > Good catch. What happens if you take that macro out and re-run autoconf > and configure?
As I do autoconfig by default for bash it shows
bash/bash> grep fcntl.h /abuild/oscbuild/openSUSE_Tumbleweed/.build.log
[ 19s] checking for working fcntl.h... yes
[ 41s] checking for fcntl.h... yes
nevertheless in the KVM (due to have network) build environment after
changing the bash
abuild@noether:~/rpmbuild/BUILD/libssh-test-0.11.2-build/libssh-0.11.2/build>
ll /bin/bash*
-rwxr-xr-x 1 root root 3675848 Jul 22 13:24 /bin/bash
-rwxr-xr-x 1 root root 891944 Apr 20 20:27 /bin/bash.bak
-r-xr-xr-x 1 root root 7244 Apr 20 20:27 /bin/bashbug
abuild@noether:~/rpmbuild/BUILD/libssh-test-0.11.2-build/libssh-0.11.2/build>
set | grep BASH_VERSION
BASH_VERSION='5.3.0(1)-release'
abuild@noether:~/rpmbuild/BUILD/libssh-test-0.11.2-build/libssh-0.11.2/build>
ctest --output-on-failure --force-new-ctest-process -R torture_algorithms
Test project
/home/abuild/rpmbuild/BUILD/libssh-test-0.11.2-build/libssh-0.11.2/build
Start 37: torture_algorithms
1/1 Test #37: torture_algorithms ...............***Failed 15.20 sec
[==========] tests: Running 59 test(s).
Connection failed : Failed to connect: No route to host
[...]
Connection failed : Failed to connect: No route to host
[ ERROR ] --- 0x1 != 0
[ LINE ] ---
/home/abuild/rpmbuild/BUILD/libssh-test-0.11.2-build/libssh-0.11.2/tests/torture.c:1189:
error: Failure!
[ FAILED ] GROUP SETUP
[ ERROR ] tests
Failed to read PID file /tmp/test_socket_wrapper_d5cB52/sshd/sshd.pid
[==========] tests: 0 test(s) run.
[ PASSED ] 0 test(s).
0% tests passed, 1 tests failed out of 1
Total Test time (real) = 15.21 sec
The following tests FAILED:
37 - torture_algorithms (Failed)
Errors while running CTest
...
it works again if I link /bin/sh back to bash.bak
abuild@noether:~/rpmbuild/BUILD/libssh-test-0.11.2-build/libssh-0.11.2/build>
ctest --output-on-failure --force-new-ctest-process -R torture_algorithms
Test project
/home/abuild/rpmbuild/BUILD/libssh-test-0.11.2-build/libssh-0.11.2/build
Start 37: torture_algorithms
1/1 Test #37: torture_algorithms ............... Passed 73.10 sec
100% tests passed, 0 tests failed out of 1
Total Test time (real) = 73.11 sec
abuild@noether:~/rpmbuild/BUILD/libssh-test-0.11.2-build/libssh-0.11.2/build>
ll /bin/sh
lrwxrwxrwx 1 root root 8 Jul 22 13:41 /bin/sh -> bash.bak
--
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr
signature.asc
Description: PGP signature
