Summary: | net-libs/libssh-0.10.6 failed to build with USE=gcrypt | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Leonid Kopylov <leonchik1976> |
Component: | Current packages | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PATCH, UPSTREAM |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://gitlab.com/libssh/libssh-mirror/-/issues/196 | ||
Whiteboard: | fixed in 0.10.6-r1 | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: | build.log |
Description
Leonid Kopylov
2024-05-25 07:33:46 UTC
Created attachment 894326 [details]
build.log
FAILED: src/CMakeFiles/ssh.dir/libgcrypt.c.o /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse -DLIBSSH_EXPORTS -I/var/tmp/portage/net-libs/libssh-0.10.6/work/libssh-0.10.6_build-abi_x86_32.x86/src -I/var/tmp/portage/net-libs/libssh-0.10.6/work/libssh-0.10.6/src -I/var/tmp/portage/net-libs/libssh-0.10.6/work/libssh-0.10.6/include -I/var/tmp/portage/net-libs/libssh-0.10.6/work/libssh-0.10.6_build-abi_x86_32.x86/include -I/var/tmp/portage/net-libs/libssh-0.10.6/work/libssh-0.10.6_build-abi_x86_32.x86 -march=native -O2 -pipe -fomit-frame-pointer -fPIC -fvisibility=hidden -std=gnu99 -Wpedantic -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wmissing-field-initializers -Wsign-compare -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-clash-protection -MD -MT src/CMakeFiles/ssh.dir/libgcrypt.c.o -MF src/CMakeFiles/ssh.dir/libgcrypt.c.o.d -o src/CMakeFiles/ssh.dir/libgcrypt.c.o -c /var/tmp/portage/net-libs/libssh-0.10.6/work/libssh-0.10.6/src/libgcrypt.c /var/tmp/portage/net-libs/libssh-0.10.6/work/libssh-0.10.6/src/libgcrypt.c:850:20: error: initialization of ‘void (*)(struct ssh_cipher_struct *, void *, void *, size_t)’ {aka ‘void (*)(struct ssh_cipher_struct *, void *, void *, unsigned int)’} from incompatible pointer type ‘void (*)(struct ssh_cipher_struct *, void *, void *, long unsigned int)’ [-Wincompatible-pointer-types] 850 | .encrypt = des3_encrypt, | ^~~~~~~~~~~~ /var/tmp/portage/net-libs/libssh-0.10.6/work/libssh-0.10.6/src/libgcrypt.c:850:20: note: (near initialization for ‘ssh_ciphertab[8].encrypt’) /var/tmp/portage/net-libs/libssh-0.10.6/work/libssh-0.10.6/src/libgcrypt.c:851:20: error: initialization of ‘void (*)(struct ssh_cipher_struct *, void *, void *, size_t)’ {aka ‘void (*)(struct ssh_cipher_struct *, void *, void *, unsigned int)’} from incompatible pointer type ‘void (*)(struct ssh_cipher_struct *, void *, void *, long unsigned int)’ [-Wincompatible-pointer-types] 851 | .decrypt = des3_decrypt | ^~~~~~~~~~~~ The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6283f9180d0c4b97ebafe3676c0a23be23889391 commit 6283f9180d0c4b97ebafe3676c0a23be23889391 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2024-06-07 18:03:58 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2024-06-07 18:10:38 +0000 net-libs/libssh: Fix build w/ modern C, fix IPv6 regression Closes: https://bugs.gentoo.org/932715 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../libssh-0.10.6-ipv6-hostname-parsing.patch | 135 ++++++++++++++++++++ .../libssh-0.10.6-libgcrypt-type-mismatches.patch | 60 +++++++++ net-libs/libssh/libssh-0.10.6-r1.ebuild | 140 +++++++++++++++++++++ 3 files changed, 335 insertions(+) |