#1138380 gsocket: FTBFS with openssl 4.0

Package:
gsocket
Source:
gsocket
Description:
Allows two machines on different networks to communicate with each other
Submitter:
Sebastian Andrzej Siewior
Date:
2026-08-15 18:51:02 UTC
Severity:
normal
Tags:
#1138380#5
Date:
2026-05-30 16:04:06 UTC
From:
To:
OpenSSL 4.0 is in experimental. This package fails to build against it:

| checking for dlopen in -ldl... (cached) yes
| checking for procstat_close in -lprocstat... no
| checking for ENGINE_init in -lcrypto... no
| configure: error: libcrypto not found
| 	tail -v -n \+0 config.log
| ==> config.log <==
| This file contains any messages produced by compilers while
| running configure, to aid debugging if configure makes a mistake.
|
| It was created by gsocket configure 1.4.42, which was
| generated by GNU Autoconf 2.72.  Invocation command line was
|
|   $ ./configure --build=x86_64-linux-gnu --prefix=/usr '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules '--libdir=${prefix}/lib/x86_64-linux-gnu' --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking
|
…
| configure:7011: checking for ENGINE_init in -lcrypto
| configure:7040: gcc -o conftest -O2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gsocket-1.4.43=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I./../include  -Wdate-time -D_FORTIFY_SOURCE=2  -Wl,-z,relro -Wl,-z,now conftest.c -lcrypto  -ldl -lutil  >&5
| /usr/bin/x86_64-linux-gnu-ld.bfd: /tmp/ccDFJnei.o: in function `main':
| ././conftest.c:49:(.text.startup+0x9): undefined reference to `ENGINE_init'
| collect2: error: ld returned 1 exit status
| configure:7040: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "gsocket"
| | #define PACKAGE_TARNAME "gsocket"
| | #define PACKAGE_VERSION "1.4.42"
| | #define PACKAGE_STRING "gsocket 1.4.42"
| | #define PACKAGE_BUGREPORT ""
| | #define PACKAGE_URL ""
| | #define PACKAGE "gsocket"
| | #define VERSION "1.4.42"
| | #define HAVE_SYS_WAIT_H 1
| | #define HAVE_STDIO_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_UNISTD_H 1
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TIME_H 1
| | #define HAVE_SYS_PARAM_H 1
| | #define HAVE_UNISTD_H 1
| | #define HAVE_FNMATCH_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_UTMP_H 1
| | #define HAVE_UTMPX_H 1
| | #define HAVE_PTY_H 1
| | #define HAVE_OPENSSL_SRP_H 1
| | #define HAVE_NETINET_IN_SYSTM_H 1
| | #define HAVE_WORDEXP_H 1
| | #define HAVE_LIBUTIL 1
| | #define HAVE_LIBDL 1
| | /* end confdefs.h.  */
| |
| | /* Override any GCC internal prototype to avoid an error.
| |    Use char because int might match the return type of a GCC
| |    builtin and then its argument prototype would still apply.
| |    The 'extern "C"' is for builds by C++ compilers;
| |    although this is not generally supported in C code supporting it here
| |    has little cost and some practical benefit (sr 110532).  */
| | #ifdef __cplusplus
| | extern "C"
| | #endif
| | char ENGINE_init (void);
| | int
| | main (void)
| | {
| | return ENGINE_init ();
| |   ;
| |   return 0;
| | }
| configure:7052: result: no
| configure:7061: error: libcrypto not found

Full buildlog
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/gsocket_1.4.43-4_amd64-2026-04-19T11:37:03Z

Sebastian

#1138380#12
Date:
2026-08-15 18:49:50 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
gsocket, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1138380@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Echeverri <epsilon@debian.org> (supplier of updated gsocket package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 15 Aug 2026 12:28:47 -0500
Source: gsocket
Architecture: source
Version: 1.4.43-5
Distribution: unstable
Urgency: medium
Maintainer: Daniel Echeverri <epsilon@debian.org>
Changed-By: Daniel Echeverri <epsilon@debian.org>
Closes: 1111093 1138380
Changes:
 gsocket (1.4.43-5) unstable; urgency=medium
 .
   * debian/control
     + Remove dpkg-dev from B-D
     + Remove redundant Priority and Rules-Requires-Root fields
     + Bump Standards-Version to 4.7.4
   * debian/patches
     + Add 01_fix_ftbfs_with_libssl4.diff patch
       + Fix FTBFS with libssl4 (Closes: #1138380)
         + Thanks to logs for the patch!
     + Add 02_remove_dpkg-architecture.diff patch
       + Resolve the multiarch path at build time. (Closes: #1111093)
   * debian/rules
     + Replace multiarch path at build time
   * debian/watch
     + Update to Version 5
Checksums-Sha1:
 aac9b21f0a968b1670c6a7b3a1e1ea30711f740d 1985 gsocket_1.4.43-5.dsc
 3eeb3705f89d674a1e71619c89dc0cd2d0abadd6 5212 gsocket_1.4.43-5.debian.tar.xz
 aca0ffeac4e9206d7f363256b80e98cb344b8d68 6018 gsocket_1.4.43-5_amd64.buildinfo
Checksums-Sha256:
 91460d89515490705ac5deb9f126fcaa3ef2f67641f2d36156f1ddf9cb92709d 1985 gsocket_1.4.43-5.dsc
 78d2d08ac2b6d932832fdd162dd6f1671575eb6d516afb392acbfd8fe1cab210 5212 gsocket_1.4.43-5.debian.tar.xz
 6a8bdaef17ad2be4bf176f41b3ad0bfc6e5594c31767dd7ae29fffd0a553e57d 6018 gsocket_1.4.43-5_amd64.buildinfo
Files:
 72534268e6bac1f09c5fdf4e685f05ae 1985 net optional gsocket_1.4.43-5.dsc
 fb5a67c77dda263f92bbbf00e16f460c 5212 net optional gsocket_1.4.43-5.debian.tar.xz
 459fe13758354b8e526055c18aecdb10 6018 net optional gsocket_1.4.43-5_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEE0NCFsWnDv9lASFj6IfwpUEtSMNsFAmqArucTHGVwc2lsb25A
ZGViaWFuLm9yZwAKCRAh/ClQS1Iw23YUEADX5dKv2rFfbW2BX8gsPiM4zJa77Eh+
t9Kk/cS2JoT8jiMeNBE1VtnaEZWETLc84T7v/HxZBnYDRDxETQlYaDPIWQPoidho
1RLbRN5lEmdP7E4zcyzicGTqBDuBhGlKF7yb2i6ahUF6K7X5ARafN84Z8c4NFowt
WjjWygOS8Hp+kS1MQNCscT9vh8kgfPmOwDnmJOlU+Uue5qEQsH3pyfBDfX0n8c78
eQa30284RwsL5BFKadVt9fRIZRk/qPd4kx6fo0uPFMsZH17Es0i+CYAzVFNJ4hRb
tKIC7555dWDFSm6jX+okhUioOkjMbb6h98fpOaLnTZmsm3LUI2dswG2zNvlOermn
50aCj4QGrbwPpVQq4K1OMvaZ+cyEMIVHQs9XkIOdOQ2/3wS06pImApXWy/Pe42/+
GNy77YiLmRGkEkB/OlFqeGIEUPnEItmdKgeo+j4nkipkGhSFyPKZ9y4Q7pQ01H7Y
LweLgP1nklSkQq//pP3x8JKWsUnPgLOUQiqFyfbEGiASceJJ5H0xrHsAJ8oLLxl/
wJmV6wOkPmKIqyxslCYU9XdsqgPUjP2Rzxu0oHr6mNBNBR4YzKHT/SjK8LMJRKMX
ylcM7b2v0vegyiyN6wHJwKZ0U5ebv7I3QBvkOSNHcQp1MXA4bB1e5LO/64pL2T2J
g13KtvoK2eWDvg==
=5zhu
-----END PGP SIGNATURE-----