emerge -1 =dev-libs/libgit2-0.24.6 : INFO: setup Package: dev-libs/libgit2-0.24.6 Repository: gentoo Maintainer: mrueg@gentoo.org USE: abi_x86_64 amd64 elibc_glibc kernel_linux libressl threads userland_GNU FEATURES: ccache preserve-libs sandbox userpriv usersandbox INFO: install Final size of build directory: 32848 KiB Final size of installed tree: 1780 KiB QA: other QA Notice: Package triggers severe warnings which indicate that it may exhibit random runtime failures. /var/tmp/portage/dev-libs/libgit2-0.24.6/work/libgit2-0.24.6/src/openssl_stream.c:85:3: warning: implicit declaration of function ‘BIO_meth_free’ [-Wimplicit-function-declaration] /var/tmp/portage/dev-libs/libgit2-0.24.6/work/libgit2-0.24.6/src/openssl_stream.c:175:2: warning: implicit declaration of function ‘BIO_set_init’ [-Wimplicit-function-declaration] /var/tmp/portage/dev-libs/libgit2-0.24.6/work/libgit2-0.24.6/src/openssl_stream.c:176:2: warning: implicit declaration of function ‘BIO_set_data’ [-Wimplicit-function-declaration] /var/tmp/portage/dev-libs/libgit2-0.24.6/work/libgit2-0.24.6/src/openssl_stream.c:193:34: warning: implicit declaration of function ‘BIO_get_data’ [-Wimplicit-function-declaration] /var/tmp/portage/dev-libs/libgit2-0.24.6/work/libgit2-0.24.6/src/openssl_stream.c:233:26: warning: implicit declaration of function ‘BIO_meth_new’ [-Wimplicit-function-declaration] /var/tmp/portage/dev-libs/libgit2-0.24.6/work/libgit2-0.24.6/src/openssl_stream.c:233:62: warning: implicit declaration of function ‘BIO_get_new_index’ [-Wimplicit-function-declaration] /var/tmp/portage/dev-libs/libgit2-0.24.6/work/libgit2-0.24.6/src/openssl_stream.c:236:2: warning: implicit declaration of function ‘BIO_meth_set_write’ [-Wimplicit-function-declaration] /var/tmp/portage/dev-libs/libgit2-0.24.6/work/libgit2-0.24.6/src/openssl_stream.c:237:2: warning: implicit declaration of function ‘BIO_meth_set_read’ [-Wimplicit-function-declaration] /var/tmp/portage/dev-libs/libgit2-0.24.6/work/libgit2-0.24.6/src/openssl_stream.c:238:2: warning: implicit declaration of function ‘BIO_meth_set_puts’ [-Wimplicit-function-declaration] /var/tmp/portage/dev-libs/libgit2-0.24.6/work/libgit2-0.24.6/src/openssl_stream.c:239:2: warning: implicit declaration of function ‘BIO_meth_set_gets’ [-Wimplicit-function-declaration] /var/tmp/portage/dev-libs/libgit2-0.24.6/work/libgit2-0.24.6/src/openssl_stream.c:240:2: warning: implicit declaration of function ‘BIO_meth_set_ctrl’ [-Wimplicit-function-declaration] /var/tmp/portage/dev-libs/libgit2-0.24.6/work/libgit2-0.24.6/src/openssl_stream.c:241:2: warning: implicit declaration of function ‘BIO_meth_set_create’ [-Wimplicit-function-declaration] /var/tmp/portage/dev-libs/libgit2-0.24.6/work/libgit2-0.24.6/src/openssl_stream.c:242:2: warning: implicit declaration of function ‘BIO_meth_set_destroy’ [-Wimplicit-function-declaration] /var/tmp/portage/dev-libs/libgit2-0.24.6/work/libgit2-0.24.6/src/openssl_stream.c:360:32: warning: implicit declaration of function ‘ASN1_STRING_get0_data’ [-Wimplicit-function-declaration] Please do not file a Gentoo bug and instead report the above QA issues directly to the upstream developers of this software. Homepage: https://libgit2.github.com/ emerge kde-apps/kate-16.12.1: INFO: setup Package: kde-apps/kate-16.12.1 Repository: gentoo Maintainer: kde@gentoo.org USE: abi_x86_64 addons amd64 elibc_glibc kernel_linux userland_GNU FEATURES: ccache preserve-libs sandbox userpriv usersandbox ERROR: compile ERROR: kde-apps/kate-16.12.1::gentoo failed (compile phase): emake failed If you need support, post the output of `emerge --info '=kde-apps/kate-16.12.1::gentoo'`, the complete build log and the output of `emerge -pqv '=kde-apps/kate-16.12.1::gentoo'`. The complete build log is located at '/var/tmp/portage/kde-apps/kate-16.12.1/temp/build.log'. The ebuild environment file is located at '/var/tmp/portage/kde-apps/kate-16.12.1/temp/environment'. Working directory: '/var/tmp/portage/kde-apps/kate-16.12.1/work/kate-16.12.1_build' S: '/var/tmp/portage/kde-apps/kate-16.12.1/work/kate-16.12.1' log build: /usr/lib64/libgit2.so.24: undefined reference to `BIO_meth_new' /usr/lib64/libgit2.so.24: undefined reference to `ASN1_STRING_get0_data' /usr/lib64/libgit2.so.24: undefined reference to `BIO_meth_set_write' /usr/lib64/libgit2.so.24: undefined reference to `BIO_set_data' /usr/lib64/libgit2.so.24: undefined reference to `BIO_meth_set_ctrl' /usr/lib64/libgit2.so.24: undefined reference to `BIO_meth_set_gets' /usr/lib64/libgit2.so.24: undefined reference to `BIO_meth_set_puts' /usr/lib64/libgit2.so.24: undefined reference to `BIO_get_data' /usr/lib64/libgit2.so.24: undefined reference to `BIO_set_init' /usr/lib64/libgit2.so.24: undefined reference to `BIO_meth_set_create' /usr/lib64/libgit2.so.24: undefined reference to `BIO_meth_set_destroy' /usr/lib64/libgit2.so.24: undefined reference to `BIO_meth_free' /usr/lib64/libgit2.so.24: undefined reference to `BIO_get_new_index' /usr/lib64/libgit2.so.24: undefined reference to `BIO_meth_set_read' collect2: error: ld returned 1 exit status Reproducible: Always Steps to Reproduce: 1. update to dev-libs/libgit2-0.24.6 Actual Results: 1. $ kate kate: symbol lookup error: /usr/lib64/libgit2.so.24: undefined symbol: BIO_get_new_index (crush) 2. emerge kate - failed Expected Results: run kate emerge --info Portage 2.3.3 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-5.4.0, glibc-2.23-r3, 4.9.4-gentoo-liva x86_64) ================================================================= System uname: Linux-4.9.4-gentoo-liva-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-gentoo-2.3 KiB Mem: 16367624 total, 4489664 free KiB Swap: 22847484 total, 22847484 free Timestamp of repository gentoo: Thu, 19 Jan 2017 19:30:01 +0000 sh bash 4.4_p5-r1 ld GNU ld (Gentoo 2.27 p1.0) 2.27 ccache version 3.3.3 [enabled] app-shells/bash: 4.4_p5-r1::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.24.1_rc4::gentoo dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo dev-util/ccache: 3.3.3::gentoo dev-util/cmake: 3.7.2::gentoo dev-util/pkgconfig: 0.29.1::gentoo sys-apps/baselayout: 2.3::gentoo sys-apps/openrc: 0.23.1::gentoo sys-apps/sandbox: 2.10-r3::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r2::gentoo sys-devel/automake: 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.27::gentoo sys-devel/gcc: 5.4.0-r2::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r2::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.9::gentoo (virtual/os-headers) sys-libs/glibc: 2.23-r3::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 hossie location: /var/lib/layman/hossie sync-type: laymansync sync-uri: https://git.hossie.de/scm/gen/gentoo-overlay.git masters: gentoo priority: 50 kde location: /var/lib/layman/kde sync-type: laymansync sync-uri: git://anongit.gentoo.org/proj/kde.git masters: gentoo priority: 50 nightmare location: /var/lib/layman/nightmare sync-type: laymansync sync-uri: https://gitlab.com/r3lgar/nightmare.git masters: gentoo priority: 50 torbrowser location: /var/lib/layman/torbrowser sync-type: laymansync sync-uri: git://github.com/MeisterP/torbrowser-overlay.git masters: gentoo priority: 50 libressl location: /var/lib/layman/libressl sync-type: laymansync sync-uri: https://github.com/gentoo/libressl.git masters: gentoo priority: 60 liva location: /usr/local/portage masters: gentoo priority: 100 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=bdver2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/genkernel.conf /etc/ppp/ip-down /etc/ppp/ip-up /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/genkernel /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.0/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=bdver2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --jobs 3 --load-average 7.2" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="ru_RU.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" 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" USE="3dnow X a52 aac acl acpi alsa amd64 ao apache2 apparmor bash-completion berkdb branding bzip2 cairo caps cdda cdr cli cracklib crypt cryptsetup css cups custom-optimization cxx dbus declarative dga djvu dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fontconfig fortran ftp gd gdbm gif git glamor gpm gtk gzip hddtemp iconv icu idn imagemagick imap ipv6 jpeg jpeg2k kde kipi lame lcms libnotify libressl lm_sensors lz4 lzo mad matroska mime mmap mmx mmxext mng modules mp3 mp4 mpeg multilib musepack musicbrainz ncurses nls nocd nptl ogg openal opengl openmp pam pango pcre pdf phonon php plasma png policykit ppds pulseaudio qml qt3support qt5 raw rdesktop readline rss samba sdl seccomp semantic-desktop session smp sound speex spell sse sse2 ssl startup-notification svg systemd tcpd theora threads tiff truetype udev udisks unicode upower usb v4l vcd vdpau video videos virtualbox vnc vorbis wavpack widgets wifi wmf wxwidgets x264 xattr xcb xcomposite xinerama xml xmpp xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" CURL_SSL="libressl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en en-US ru ru-RU" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US ru ru_RU" NETBEANS_MODULES="*" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm" RUBY_TARGETS="ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
solves the problem: echo "=dev-libs/libgit2-9999 **" >> package.keywords
Upstream fix: https://github.com/libgit2/libgit2/commit/567b83de5434abcc40eeeabb8167979240f27a8f @ liva: Just wait until a version containing upstream's fix appears in the repository or put the patch into /etc/portage/patches/dev-libs/libgit2, rebuild libgit2 and then rebuild kate which should now succeed.
They broke it again: /var/tmp/portage/dev-libs/libgit2-9999/work/libgit2-9999/src/openssl_stream.c:110:2: warning: implicit declaration of function ‘OPENSSL_init_ssl’ [-Wimplicit-function-declaration] and kate says: /usr/lib64/libgit2.so.25: undefined reference to `OPENSSL_init_ssl' collect2: error: ld returned 1 exit status make[2]: *** [kate/CMakeFiles/kate.dir/build.make:122: kate/kate] Error 1 make[2]: Leaving directory '/var/tmp/portage/kde-apps/kate-9999/work/kate-9999_build'
(In reply to jospezial from comment #3) > They broke it again: > > /var/tmp/portage/dev-libs/libgit2-9999/work/libgit2-9999/src/openssl_stream. > c:110:2: warning: implicit declaration of function ‘OPENSSL_init_ssl’ > [-Wimplicit-function-declaration] > > > and kate says: > > /usr/lib64/libgit2.so.25: undefined reference to `OPENSSL_init_ssl' > collect2: error: ld returned 1 exit status > make[2]: *** [kate/CMakeFiles/kate.dir/build.make:122: kate/kate] Error 1 > make[2]: Leaving directory > '/var/tmp/portage/kde-apps/kate-9999/work/kate-9999_build' fixed upstream in https://github.com/libgit2/libgit2/commit/f28744a5a3b11e05d64c4696ad5e9399d0b23b96 There is 0.26.0-rc1 and 0.26.0-rc2 (not yet in gentoo tree) which should fix this bug.
commit 3e66d1c5e00ea2a84c8a2cc79ca0b31cac59f6af (HEAD -> master, origin/master, origin/HEAD) Author: Manuel Rüger <mrueg@gentoo.org> Date: Sun Jul 2 22:15:14 2017 +0200 dev-libs/libgit2: Version bump to 0.26.0 Gentoo-Bug: #623238 Package-Manager: Portage-2.3.6, Repoman-2.3.2 Please test against libgit2-0.26.0
https://cgit.kde.org/kate.git/commit/?id=f3d9558b69adee563590255c23e3fa689fb12703 "remove libgit2 usage and always use the alternative fallback that uses git command line client" doublefix
As libressl is not used anymore in Gentoo the status can be set to fixed or obsolete.
(In reply to jospezial from comment #7) > As libressl is not used anymore in Gentoo the status can be set to fixed or > obsolete. Sure, although it is already closed anyway.