Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911279 - net-libs/libssh2-1.11.0: conflicting types for ‘_libssh2_mbedtls_rsa_sha1_verify’
Summary: net-libs/libssh2-1.11.0: conflicting types for ‘_libssh2_mbedtls_rsa_sha1_ver...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 909341
  Show dependency tree
 
Reported: 2023-07-27 06:44 UTC by mario.haustein
Modified: 2023-08-29 23:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log.xz,3.14 KB, application/x-xz)
2023-07-27 06:44 UTC, mario.haustein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mario.haustein 2023-07-27 06:44:49 UTC
Created attachment 866349 [details]
build.log

Portage 3.0.49 (python 3.11.4-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-12, glibc-2.37-r3, 6.1.38-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.1.38-gentoo-x86_64-Intel-R-_Core-TM-_i7-7500U_CPU_@_2.70GHz-with-glibc2.37
KiB Mem:    16270272 total,   2925664 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 25 Jul 2023 16:00:01 +0000
Head commit of repository gentoo: 7dace51478c43fe05f2d43cc4c2edcdc3564d30f
Timestamp of repository hamari: Tue, 25 Jul 2023 15:31:35 +0000
Head commit of repository hamari: 9d414da88fead667818a006f6bb8bc045d49e2d3

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.40 p5) 2.40.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-java/java-config:      2.3.1-r1::gentoo
dev-lang/perl:             5.36.1-r3::gentoo
dev-lang/python:           3.11.4::gentoo
dev-lang/rust:             1.69.0-r1::gentoo
dev-util/cmake:            3.26.4-r1::gentoo
dev-util/meson:            1.1.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.47.1::gentoo
sys-apps/sandbox:          2.37::gentoo
sys-devel/autoconf:        2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r1::gentoo, 16.0.6::gentoo
sys-devel/gcc:             12.3.1_p20230526::gentoo, 13.1.1_p20230527::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r3::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 

crossdev
    location: /usr/local/portage-crossdev
    masters: gentoo
    volatile: True

hamari
    location: /var/db/repos/hamari
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/hamari.git
    masters: gentoo
    volatile: False

hamari-dev
    location: /home/hamari/gentoo/hamari-overlay
    masters: gentoo
    priority: 100
    volatile: True

local
    location: /usr/local/portage
    masters: gentoo
    priority: 200
    volatile: True

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL-11 Aseprite-EULA baudline ms-teams-pre"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ rsync://mirror.eu.oneandone.net/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.halifax.rwth-aachen.de/gentoo/ rsync://ftp.halifax.rwth-aachen.de/gentoo/ ftp://ftp.halifax.rwth-aachen.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.osuosl.org/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="de en"
MAKEOPTS="-j5"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="3d X a52 aac aalib acl acpi activities afs alsa amd64 atsc avr bash-completion bluetooth boost branding bzip2 cairo capstone cdda cdr cli conntrack crypt cryptsetup cscope cups cutter cxx dbus declarative designer device-mapper digikam disasm display-manager doc dot dri dri3 dts dtv dvd dvdr dvipdfm elogind encode eselect-ldso exif extra extras fcd fec fftw firmware fits flac fontconfig fortran fuse games gd gdal gdbm geoclue geolocation georeferencer geos gif gimp glamor glut gmp gmttria gnuplot gphoto2 gpm gps graph graphics graphicsmagick graphviz grass grc grub gssapi gtk gui hackrf hamlib handbook harfbuzz heif hires humanities iaito iconv icu iio indi introspection ipv6 iqbalance jadetex jpeg jsonschema jumbo-build kde kerberos kpathsea krita kwallet lapack lapacke las latex latex3 lcms ldap libass libcaca libnotify libtirpc lm_sensors location lua luatex lvm lzma mad markdown mbedtls messages midi mmap mng mp3 mp4 mpeg multilib multimedia ncat ncurses netlink networking nftables ngspice nls noaa nping nptl ntp objc objc++ objc-gc ogdi ogg omega openexr opengl openmp openssl osmesa pam pango pcap pcre pcsc-lite pdal pdf pgf pim pipewire plasma plotutils plplot plutosdr png pnm policykit portaudio positioning postgres postscript ppds printsupport pstricks publishers pygments python qml qt5 quick raw readline rss rtlsdr sasl scanner schematics science screencast script scripts sddm sdl seccomp secure-messaging semantic-desktop serialport sgp4 smartcard smi smp sna soapy sound spatialite spell split-usr sql sqlite sqlite3 ssh sshdump ssl stars startup-notification svg test-rust testlib text2pcap tfshark theora threads tiff timidity tofu tools trellis truetype uberooth udev udisks unicode upower usb uxa v4l v4l2 verilog vim-syntax virtfs vocoder vorbis vpx vulkan wallpapers waveform wavelet wayland wcs webchannel webengine webkit webp widgets wifi wks-server wxwidgets x264 x265 xattr xcb xcomposite xetex xft xinerama xml xplanet xrandr xv xvfb xvid yara z3 zeromq zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="synaptics evdev libinput" KERNEL="linux" L10N="de en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_SOFTMMU_TARGETS="aarch64 arm avr i386 m68k ppc ppc64 x86_64" QEMU_USER_TARGETS="aarch64 aarch64_be arm armeb i386 m68k ppc ppc64 ppc64le x86_64" RUBY_TARGETS="ruby31" SANE_BACKENDS="hp" VIDEO_CARDS="fbdev vesa intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

net-libs/libssh2-1.10.0::gentoo was built with the following:
USE="mbedtls userland_GNU zlib -gcrypt" ABI_X86="32 (64) (-x32)"
CXXFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-27 06:46:24 UTC
https://github.com/libssh2/libssh2/issues/1053
Comment 2 mario.haustein 2023-07-27 06:46:53 UTC
The patch in https://github.com/libssh2/libssh2/commit/1153ebdeba563ac657b525edd6bf6da68b1fe5e2 fixes the bug
Comment 3 Larry the Git Cow gentoo-dev 2023-08-29 23:21:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b31e7e4664d8f8c61fb4fd6443b29d70702663f7

commit b31e7e4664d8f8c61fb4fd6443b29d70702663f7
Author:     Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
AuthorDate: 2023-08-29 16:42:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-08-29 23:20:59 +0000

    net-libs/libssh2: fix conflicting types (32-bit build)
    
    Closes: https://bugs.gentoo.org/911279
    Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
    Closes: https://github.com/gentoo/gentoo/pull/32510
    Signed-off-by: Sam James <sam@gentoo.org>

 net-libs/libssh2/files/libssh2-1.11.0-size_t.patch | 95 ++++++++++++++++++++++
 net-libs/libssh2/libssh2-1.11.0-r2.ebuild          | 66 +++++++++++++++
 2 files changed, 161 insertions(+)