#1111093 gsocket: Switch away from depending on dpkg-dev

Package:
gsocket
Source:
gsocket
Description:
Allows two machines on different networks to communicate with each other
Submitter:
Guillem Jover
Date:
2026-08-15 18:51:02 UTC
Severity:
normal
#1111093#5
Date:
2025-08-14 16:35:51 UTC
From:
To:
Hi!

This package depends on dpkg-dev, due to its dependency on
dpkg-architecture. This implies that a user that wants to use gsocket,
will get all of build-essential pulled in. The other problem is that
dpkg-architecture will honor architectures set in the environment, so
it might end up giving the wrong pathname (that would not match the
current .deb arch)!

Checking the source it seems it only wants to know where to find the
shared object to use in LD_PRELOAD. But there should be no need for
that, as LD_PRELOAD can work with just a filename (not the entire
pathname), and it will look for it in the system configured library
paths. This would avoid both the dpkg-architecture call and the
dpkg-dev dependency.

If for some reason there was still a need for an absolute pathname,
then I'd recommend instead to get that at build time, and then replace
it in the shell script, so that the pathname always matches the
expected pathname for that .deb arch. This would also remove the need
for dpkg-architecture at run-time and the dpkg-dev dependency.

Thanks,
Guillem

#1111093#10
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 1111093@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-----