Your message dated Tue, 22 Apr 2025 12:52:30 +0000
with message-id <[email protected]>
and subject line Bug#1103224: fixed in libssh 0.11.1-2
has caused the Debian Bug report #1103224,
regarding libssh: FTBFS:
/<<PKGBUILDDIR>>/build-openssl/tests/tests_config.h:3:41: error: missing binary
operator before token ".0p2"
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1103224: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103224
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:libssh
Version: 0.11.1-1
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
[ 47%] Building C object examples/CMakeFiles/libssh_scp.dir/libssh_scp.c.o
cd /<<PKGBUILDDIR>>/build-openssl/examples && /usr/bin/cc -
[too-long-redacted] UILDDIR>>/examples/libssh_scp.c
In file included from /<<PKGBUILDDIR>>/tests/torture.h:40,
from /<<PKGBUILDDIR>>/tests/torture.c:46:
/<<PKGBUILDDIR>>/tests/torture.c: In function
âtorture_setup_create_sshd_configâ:
/<<PKGBUILDDIR>>/build-openssl/tests/tests_config.h:3:41: error: missing binary
operator before token ".0p2"
3 | #define OPENSSH_VERSION_MAJOR OpenSSH_10.0p2 Debian-1, OpenSSL 3.5.0 8
Apr 2025
| ^~~~
/<<PKGBUILDDIR>>/tests/torture.c:760:5: note: in expansion of macro
âOPENSSH_VERSION_MAJORâ
760 | #if OPENSSH_VERSION_MAJOR == 8 && OPENSSH_VERSION_MINOR >= 2
| ^~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-openssl/tests/tests_config.h:3:41: error: missing binary
operator before token ".0p2"
3 | #define OPENSSH_VERSION_MAJOR OpenSSH_10.0p2 Debian-1, OpenSSL 3.5.0 8
Apr 2025
| ^~~~
/<<PKGBUILDDIR>>/tests/torture.c:763:6: note: in expansion of macro
âOPENSSH_VERSION_MAJORâ
763 | #if (OPENSSH_VERSION_MAJOR == 9 && OPENSSH_VERSION_MINOR >= 8) ||
OPENSSH_VERSION_MAJOR > 9
| ^~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-openssl/tests/tests_config.h:3:41: error: missing binary
operator before token ".0p2"
3 | #define OPENSSH_VERSION_MAJOR OpenSSH_10.0p2 Debian-1, OpenSSL 3.5.0 8
Apr 2025
| ^~~~
/<<PKGBUILDDIR>>/tests/torture.c:796:6: note: in expansion of macro
âOPENSSH_VERSION_MAJORâ
796 | #if (OPENSSH_VERSION_MAJOR == 9 && OPENSSH_VERSION_MINOR >= 8) ||
OPENSSH_VERSION_MAJOR > 9
| ^~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/examples/libssh_scp.c: In function âclose_locationâ:
/<<PKGBUILDDIR>>/examples/libssh_scp.c:156:17: warning: âssh_scp_closeâ is
deprecated [-Wdeprecated-declarations]
156 | rc = ssh_scp_close(loc->scp);
| ^~
In file included from /<<PKGBUILDDIR>>/examples/libssh_scp.c:22:
/<<PKGBUILDDIR>>/include/libssh/libssh.h:588:31: note: declared here
588 | SSH_DEPRECATED LIBSSH_API int ssh_scp_close(ssh_scp scp);
| ^~~~~~~~~~~~~
/<<PKGBUILDDIR>>/examples/libssh_scp.c:162:17: warning: âssh_scp_freeâ is
deprecated [-Wdeprecated-declarations]
162 | ssh_scp_free(loc->scp);
| ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/include/libssh/libssh.h:590:32: note: declared here
590 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp);
| ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/examples/libssh_scp.c: In function âopen_locationâ:
/<<PKGBUILDDIR>>/examples/libssh_scp.c:187:9: warning: âssh_scp_newâ is
deprecated [-Wdeprecated-declarations]
187 | loc->scp = ssh_scp_new(loc->session, SSH_SCP_WRITE, loc->path);
| ^~~
/<<PKGBUILDDIR>>/include/libssh/libssh.h:593:35: note: declared here
593 | SSH_DEPRECATED LIBSSH_API ssh_scp ssh_scp_new(ssh_session session, int
mode, const char *location);
| ^~~~~~~~~~~
/<<PKGBUILDDIR>>/examples/libssh_scp.c:196:9: warning: âssh_scp_initâ is
deprecated [-Wdeprecated-declarations]
196 | if (ssh_scp_init(loc->scp) == SSH_ERROR) {
| ^~
/<<PKGBUILDDIR>>/include/libssh/libssh.h:591:31: note: declared here
591 | SSH_DEPRECATED LIBSSH_API int ssh_scp_init(ssh_scp scp);
| ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/examples/libssh_scp.c:198:13: warning: âssh_scp_freeâ is
deprecated [-Wdeprecated-declarations]
198 | ssh_scp_free(loc->scp);
| ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/include/libssh/libssh.h:590:32: note: declared here
590 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp);
| ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/examples/libssh_scp.c:213:9: warning: âssh_scp_newâ is
deprecated [-Wdeprecated-declarations]
213 | loc->scp = ssh_scp_new(loc->session, SSH_SCP_READ, loc->path);
| ^~~
/<<PKGBUILDDIR>>/include/libssh/libssh.h:593:35: note: declared here
593 | SSH_DEPRECATED LIBSSH_API ssh_scp ssh_scp_new(ssh_session session, int
mode, const char *location);
| ^~~~~~~~~~~
/<<PKGBUILDDIR>>/examples/libssh_scp.c:222:9: warning: âssh_scp_initâ is
deprecated [-Wdeprecated-declarations]
222 | if (ssh_scp_init(loc->scp) == SSH_ERROR) {
| ^~
/<<PKGBUILDDIR>>/include/libssh/libssh.h:591:31: note: declared here
591 | SSH_DEPRECATED LIBSSH_API int ssh_scp_init(ssh_scp scp);
| ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/examples/libssh_scp.c:224:13: warning: âssh_scp_freeâ is
deprecated [-Wdeprecated-declarations]
224 | ssh_scp_free(loc->scp);
| ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/include/libssh/libssh.h:590:32: note: declared here
590 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp);
| ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/examples/libssh_scp.c: In function âdo_copyâ:
/<<PKGBUILDDIR>>/examples/libssh_scp.c:290:13: warning:
âssh_scp_pull_requestâ is deprecated [-Wdeprecated-declarations]
290 | r = ssh_scp_pull_request(src->scp);
| ^
/<<PKGBUILDDIR>>/include/libssh/libssh.h:594:31: note: declared here
594 | SSH_DEPRECATED LIBSSH_API int ssh_scp_pull_request(ssh_scp scp);
| ^~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/examples/libssh_scp.c:292:17: warning:
âssh_scp_deny_requestâ is deprecated [-Wdeprecated-declarations]
292 | ssh_scp_deny_request(src->scp, "Not in recursive mode");
| ^~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/include/libssh/libssh.h:589:31: note: declared here
589 | SSH_DEPRECATED LIBSSH_API int ssh_scp_deny_request(ssh_scp scp, const
char *reason);
| ^~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/examples/libssh_scp.c:296:17: warning:
âssh_scp_request_get_sizeâ is deprecated [-Wdeprecated-declarations]
296 | size = ssh_scp_request_get_size(src->scp);
| ^~~~
/<<PKGBUILDDIR>>/include/libssh/libssh.h:601:34: note: declared here
601 | SSH_DEPRECATED LIBSSH_API size_t ssh_scp_request_get_size(ssh_scp scp);
| ^~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/examples/libssh_scp.c:297:17: warning:
âssh_scp_request_get_filenameâ is deprecated [-Wdeprecated-declarations]
297 | filename =
strdup(ssh_scp_request_get_filename(src->scp));
| ^~~~~~~~
/<<PKGBUILDDIR>>/include/libssh/libssh.h:599:39: note: declared here
599 | SSH_DEPRECATED LIBSSH_API const char
*ssh_scp_request_get_filename(ssh_scp scp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/examples/libssh_scp.c:298:17: warning:
âssh_scp_request_get_permissionsâ is deprecated [-Wdeprecated-declarations]
298 | mode = ssh_scp_request_get_permissions(src->scp);
| ^~~~
/<<PKGBUILDDIR>>/include/libssh/libssh.h:600:31: note: declared here
600 | SSH_DEPRECATED LIBSSH_API int ssh_scp_request_get_permissions(ssh_scp
scp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/examples/libssh_scp.c:313:9: warning: âssh_scp_push_fileâ
is deprecated [-Wdeprecated-declarations]
313 | r = ssh_scp_push_file(dest->scp, src->path, size, mode);
| ^
/<<PKGBUILDDIR>>/include/libssh/libssh.h:596:31: note: declared here
596 | SSH_DEPRECATED LIBSSH_API int ssh_scp_push_file(ssh_scp scp, const char
*filename, size_t size, int perms);
| ^~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/examples/libssh_scp.c:320:13: warning: âssh_scp_freeâ is
deprecated [-Wdeprecated-declarations]
320 | ssh_scp_free(dest->scp);
| ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/include/libssh/libssh.h:590:32: note: declared here
590 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp);
| ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/examples/libssh_scp.c:332:21: warning:
âssh_scp_deny_requestâ is deprecated [-Wdeprecated-declarations]
332 | ssh_scp_deny_request(src->scp, "Cannot open local
file");
| ^~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/include/libssh/libssh.h:589:31: note: declared here
589 | SSH_DEPRECATED LIBSSH_API int ssh_scp_deny_request(ssh_scp scp, const
char *reason);
| ^~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/examples/libssh_scp.c:339:13: warning:
âssh_scp_accept_requestâ is deprecated [-Wdeprecated-declarations]
339 | ssh_scp_accept_request(src->scp);
| ^~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/include/libssh/libssh.h:587:31: note: declared here
587 | SSH_DEPRECATED LIBSSH_API int ssh_scp_accept_request(ssh_scp scp);
| ^~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/examples/libssh_scp.c:345:13: warning: âssh_scp_readâ is
deprecated [-Wdeprecated-declarations]
345 | r = ssh_scp_read(src->scp, buffer, sizeof(buffer));
| ^
/<<PKGBUILDDIR>>/include/libssh/libssh.h:598:31: note: declared here
598 | SSH_DEPRECATED LIBSSH_API int ssh_scp_read(ssh_scp scp, void *buffer,
size_t size);
| ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/examples/libssh_scp.c:373:13: warning: âssh_scp_writeâ is
deprecated [-Wdeprecated-declarations]
373 | w = ssh_scp_write(dest->scp, buffer, r);
| ^
/<<PKGBUILDDIR>>/include/libssh/libssh.h:604:31: note: declared here
604 | SSH_DEPRECATED LIBSSH_API int ssh_scp_write(ssh_scp scp, const void
*buffer, size_t len);
| ^~~~~~~~~~~~~
/<<PKGBUILDDIR>>/examples/libssh_scp.c:378:17: warning: âssh_scp_freeâ is
deprecated [-Wdeprecated-declarations]
378 | ssh_scp_free(dest->scp);
| ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/include/libssh/libssh.h:590:32: note: declared here
590 | SSH_DEPRECATED LIBSSH_API void ssh_scp_free(ssh_scp scp);
| ^~~~~~~~~~~~
make[4]: *** [tests/CMakeFiles/torture.dir/build.make:96:
tests/CMakeFiles/torture.dir/torture.c.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-openssl'
make[3]: *** [CMakeFiles/Makefile2:2100: tests/CMakeFiles/torture.dir/all]
Error 2
make[3]: *** Waiting for unfinished jobs....
[ 48%] Building C object examples/CMakeFiles/libssh_scp.dir/authentication.c.o
cd /<<PKGBUILDDIR>>/build-openssl/examples && /usr/bin/cc -
[too-long-redacted] DIR>>/examples/authentication.c
[ 48%] Building C object examples/CMakeFiles/libssh_scp.dir/knownhosts.c.o
cd /<<PKGBUILDDIR>>/build-openssl/examples && /usr/bin/cc -
[too-long-redacted] UILDDIR>>/examples/knownhosts.c
[ 49%] Building C object examples/CMakeFiles/libssh_scp.dir/connect_ssh.c.o
cd /<<PKGBUILDDIR>>/build-openssl/examples && /usr/bin/cc -
[too-long-redacted] ILDDIR>>/examples/connect_ssh.c
[ 49%] Linking C executable libssh_scp
cd /<<PKGBUILDDIR>>/build-openssl/examples && /usr/bin/cmake -E
cmake_link_script CMakeFiles/libssh_scp.dir/link.txt --verbose=1
/usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ff
[too-long-redacted] ssl/lib ../lib/libssh.so.4.10.1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-openssl'
[ 49%] Built target libssh_scp
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-openssl'
make[2]: *** [Makefile:169: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-openssl'
dh_auto_build: error: cd build-openssl && make -j2 "INSTALL=install
--strip-program=true" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:23: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202504/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:libssh, so that this is still
visible in the BTS web page for this package.
Thanks.
--- End Message ---
--- Begin Message ---
Source: libssh
Source-Version: 0.11.1-2
Done: Martin Pitt <[email protected]>
We believe that the bug you reported is fixed in the latest version of
libssh, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Martin Pitt <[email protected]> (supplier of updated libssh 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 22 Apr 2025 12:21:58 +0000
Source: libssh
Architecture: source
Version: 0.11.1-2
Distribution: unstable
Urgency: medium
Maintainer: Laurent Bigonville <[email protected]>
Changed-By: Martin Pitt <[email protected]>
Closes: 1103224
Changes:
libssh (0.11.1-2) unstable; urgency=medium
.
* Fix multiple digit major version for OpenSSH.
Patch cherry-picked from upstream master. (Closes: #1103224)
* Update Standards-Version to 4.7.2. No changes necessary.
* debian/copyright: Move to FSF URL.
Fixes "old-fsf-address-in-copyright-file" lintian warning.
Checksums-Sha1:
5b33aed8b861fddba15a610b0f7b8c31ae606bde 2583 libssh_0.11.1-2.dsc
fee2da9062c3ad1e1271abbbd3052a05df4cd3df 31748 libssh_0.11.1-2.debian.tar.xz
6355896ea6ec2bdb4547416df85a831d3fc45299 7666 libssh_0.11.1-2_source.buildinfo
Checksums-Sha256:
86fa94a872453bb436c5840d46fbf282560af85256f54e5ae7be16c5ad6327dc 2583
libssh_0.11.1-2.dsc
82b4181738f29feb0aa9a564824fc6c27b6a5716ac8bcd007e17b82e2414fc68 31748
libssh_0.11.1-2.debian.tar.xz
9528c829b8268561692d6010d626fec8cddb514f28058ab042a9c3a17bfcd7c9 7666
libssh_0.11.1-2_source.buildinfo
Files:
e15d957271970ecbd4895be1d7d9f636 2583 libs optional libssh_0.11.1-2.dsc
0016d842ae62885c6153efe60813e23f 31748 libs optional
libssh_0.11.1-2.debian.tar.xz
6b4dd4d3b68f9d061910dff8976cb7d9 7666 libs optional
libssh_0.11.1-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEbEuHi35jHxYFV8PN7nvd5LhrVxMFAmgHii4ACgkQ7nvd5Lhr
VxOaRxAAhA1LL9hruV9QYQYOx2QH9yNBTIfiINtMLWZhRoQs1eSqo1XMFbnTQVyh
sm3u9nwhHkZjI2egGveZO5SXqvU6FFW+TdCYxqQtbvB0QgKb/j1ZRgvA4piitpsQ
wBTHjTfY2wzZImhC9bbVMTFN4L1guXunzwdZEVvJUYUsR8pRdNK/MUZVnls91rfR
zCtjUCZh2o2tnWoiX47os4nY75UeG3pbF8YHEXD2Pwk6Tidkw3Zn+1hAxQPywLOM
UDmJ2tS1xRemNstO2vmw/qbNlGtEPWfw6OI2jxFAYWFKCRQAKLLUEEiREK5dozmQ
DvzBzFECGuDygic/n+zvWr8uvU2bx6WKW6rkbnctCcpzvQhSZGKCc4DNK5DH+z8G
Ji05it8XnpgzPPwlycqiI2/1XgtknVH7b86a1jyAi23XraTA3gEv3Rh5s9YhDLvw
mMGLU1HF0eccANFRjM8r3NNXzsJgPoaUvpjW/spTz/voGNm1eT6xp29UasxOQPU9
T5cJuz7fISC8DxyF+43JpFSZlnbByX5nK6vEUbQOIWiEEqX7YguKmItcOheErV3H
U6KeeSl97+J584WvInqmehhMiCTDQ3qiCDOjaWdpNUZZahAtqK6/21GOXSMOf1yP
+8W2G6ZBKGbQaFgbKb2NHG2clNnJrk7WFNXoiVnqLu9DSaW8Zqo=
=D+kk
-----END PGP SIGNATURE-----
pgpjebM1yBHit.pgp
Description: PGP signature
--- End Message ---