Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 578500

Summary: net-libs/libssh-0.7.3:0/4::gentoo failes to compile (something with Kerberos?)
Product: Gentoo Linux Reporter: Uwe Sauter <uwe>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log

Description Uwe Sauter 2016-03-29 09:59:46 UTC
Created attachment 429214 [details]
build log

Trying to upgrade libssh from 0.6.5:0/4::gentoo to 0.7.3:0/4::gentoo failes with:


/usr/bin/x86_64-pc-linux-gnu-gcc -m32 -fPIC -O2 -pipe -march=native -fno-omit-frame-pointer  -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -fstack-protector  -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libssh.so.4 -o libssh.so.4.4.1 CMakeFiles/ssh_shared.dir/agent.c.o CMakeFiles/ssh_shared.dir/auth.c.o CMakeFiles/ssh_shared.dir/base64.c.o CMakeFiles/ssh_shared.dir/bignum.c.o CMakeFiles/ssh_shared.dir/buffer.c.o CMakeFiles/ssh_shared.dir/callbacks.c.o CMakeFiles/ssh_shared.dir/channels.c.o CMakeFiles/ssh_shared.dir/client.c.o CMakeFiles/ssh_shared.dir/config.c.o CMakeFiles/ssh_shared.dir/connect.c.o CMakeFiles/ssh_shared.dir/curve25519.c.o CMakeFiles/ssh_shared.dir/dh.c.o CMakeFiles/ssh_shared.dir/ecdh.c.o CMakeFiles/ssh_shared.dir/error.c.o CMakeFiles/ssh_shared.dir/getpass.c.o CMakeFiles/ssh_shared.dir/init.c.o CMakeFiles/ssh_shared.dir/kex.c.o CMakeFiles/ssh_shared.dir/known_hosts.c.o CMakeFiles/ssh_shared.dir/legacy.c.o CMakeFiles/ssh_shared.dir/libcrypto.c.o CMakeFiles/ssh_shared.dir/log.c.o CMakeFiles/ssh_shared.dir/match.c.o CMakeFiles/ssh_shared.dir/messages.c.o CMakeFiles/ssh_shared.dir/misc.c.o CMakeFiles/ssh_shared.dir/options.c.o CMakeFiles/ssh_shared.dir/packet.c.o CMakeFiles/ssh_shared.dir/packet_cb.c.o CMakeFiles/ssh_shared.dir/packet_crypt.c.o CMakeFiles/ssh_shared.dir/pcap.c.o CMakeFiles/ssh_shared.dir/pki.c.o CMakeFiles/ssh_shared.dir/pki_container_openssh.c.o CMakeFiles/ssh_shared.dir/pki_ed25519.c.o CMakeFiles/ssh_shared.dir/poll.c.o CMakeFiles/ssh_shared.dir/session.c.o CMakeFiles/ssh_shared.dir/scp.c.o CMakeFiles/ssh_shared.dir/socket.c.o CMakeFiles/ssh_shared.dir/string.c.o CMakeFiles/ssh_shared.dir/threads.c.o CMakeFiles/ssh_shared.dir/wrapper.c.o CMakeFiles/ssh_shared.dir/external/bcrypt_pbkdf.c.o CMakeFiles/ssh_shared.dir/external/blowfish.c.o CMakeFiles/ssh_shared.dir/external/ed25519.c.o CMakeFiles/ssh_shared.dir/external/fe25519.c.o CMakeFiles/ssh_shared.dir/external/ge25519.c.o CMakeFiles/ssh_shared.dir/external/sc25519.c.o CMakeFiles/ssh_shared.dir/pki_crypto.c.o CMakeFiles/ssh_shared.dir/sftp.c.o CMakeFiles/ssh_shared.dir/sftpserver.c.o CMakeFiles/ssh_shared.dir/server.c.o CMakeFiles/ssh_shared.dir/bind.c.o CMakeFiles/ssh_shared.dir/gzip.c.o CMakeFiles/ssh_shared.dir/gssapi.c.o CMakeFiles/ssh_shared.dir/external/curve25519_ref.c.o -lrt -lcrypto -lz -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libgssapi_krb5.so when searching for -lgssapi_krb5
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libgssapi_krb5.so when searching for -lgssapi_krb5
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgssapi_krb5
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libkrb5.so when searching for -lkrb5
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libkrb5.so when searching for -lkrb5
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lkrb5
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libk5crypto.so when searching for -lk5crypto
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libk5crypto.so when searching for -lk5crypto
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lk5crypto
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libcom_err.so when searching for -lcom_err
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libcom_err.so when searching for -lcom_err
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcom_err
collect2: error: ld returned 1 exit status
src/CMakeFiles/ssh_shared.dir/build.make:1452: recipe for target 'src/libssh.so.4.4.1' failed
make[2]: *** [src/libssh.so.4.4.1] Error 1
make[2]: Leaving directory '/var/tmp/portage/net-libs/libssh-0.7.3/work/libssh-0.7.3-abi_x86_32.x86'
CMakeFiles/Makefile2:141: recipe for target 'src/CMakeFiles/ssh_shared.dir/all' failed
make[1]: *** [src/CMakeFiles/ssh_shared.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/net-libs/libssh-0.7.3/work/libssh-0.7.3-abi_x86_32.x86'
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: net-libs/libssh-0.7.3::gentoo failed (compile phase):
 *   emake failed

Output of "emerge --info '=net-libs/libssh-0.7.3::gentoo'":
Portage 2.2.26 (python 3.4.3-final-0, default/linux/amd64/13.0, gcc-4.9.3, glibc-2.21-r2, 4.1.15-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.1.15-gentoo-r1-x86_64-Intel-R-_Xeon-R-_CPU_E3-1245_v3_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16133092 total,   1682672 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 29 Mar 2016 09:30:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

local-overlay
    location: /home/portage/local-overlay
    masters: gentoo
    priority: 0

nx
    location: /var/lib/layman/nx
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/nx.git
    masters: gentoo
    priority: 50

sunrise
    location: /var/lib/layman/sunrise
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/sunrise-reviewed.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fno-omit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/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="-O2 -pipe -march=native -fno-omit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg candy cgroup collision-protect compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo http://distfiles.gentoo.org"
LANG="de_DE.utf8"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="7zip X aac acl acpi aes aio alsa amd64 audit avx avx2 bash-completion berkdb bluetooth bluray bzip2 cairo caps cdda cddb cli consolekit cracklib crypt css cups curl cxx dbus dri dvb dvd dvdread encode exif flac fma3 fontconfig fortran fuse gdbm gif gmp gnuplot gnutls gtk gtk3 iconv icu imagemagick ipv6 jpeg latex lcms ldap libnotify libv4l lm_sensors logrotate lua lvm lzma lzo matplotlib matroska mime mmap mmx mmxext mng modules multilib ncurses netlink nfs nls nptl nsplugin ntp ogg openal opengl openmp oss pam pcap pch pcre pdf png policykit popcnt posix pulseaudio python rdesktop readline rrdtool samba sdl seccomp session sna spice sqlite sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification systemtap tcpd theora threads tiff tls truetype udev unicode upnp upower usb v4l vaapi vorbis vpx webgl wxwidgets x264 x265 xattr xcb xcomposite xft xinerama xml xv zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" NGINX_MODULES_HTTP="access" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="aarch64 arm x86_64" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="intel i965" XFCE_PLUGINS="logout menu trash" 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

Output of "emerge -pqv '=net-libs/libssh-0.7.3::gentoo'"
[ebuild     U ] net-libs/libssh-0.7.3 [0.6.5] USE="pcap server sftp zlib -debug -doc -examples -gcrypt -gssapi (-libressl) -ssh1 -static-libs {-test}" ABI_X86="32 (64) (-x32)"

Output of "equery u libssh"
 * Found these USE flags for net-libs/libssh-0.7.3:
 U I
 + - abi_x86_32  : 32-bit (x86) libraries
 - - debug       : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful
                   backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 - - doc         : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead
                   of globally
 - - examples    : Install examples, usually source code
 - - gcrypt      : Prefer dev-libs/libgcrypt over dev-libs/openssl for encryption
 - - gssapi      : Enable gssapi support
 + + pcap        : Build with PCAP output support
 + - server      : Build with SSH server support
 + - sftp        : Build with SFTP support
 - - ssh1        : Build with SSH1 support
 - - static-libs : Build static versions of dynamic libraries as well
 - - test        : Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles this
                   internally, so don't set it in make.conf/package.use anymore
 + + zlib        : Add support for zlib (de)compression
Comment 1 Felix Janda 2016-03-29 10:43:01 UTC
This looks like a duplicate of bug 576988.

Please report if upgrading to unstable net-libs/libssh-0.7.3-r1 fixes
the issue for you.
Comment 2 Uwe Sauter 2016-03-29 11:51:13 UTC
Yes, it does. Thanks.

*** This bug has been marked as a duplicate of bug 576988 ***