Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 733132 - net-libs/neon-0.31.2[kerberos] for non-native ABI fails to build due to -L/usr/${native_ABI_libdir} from krb5-config
Summary: net-libs/neon-0.31.2[kerberos] for non-native ABI fails to build due to -L/us...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Arfrever Frehtes Taifersar Arahesis
URL:
Whiteboard:
Keywords:
: 766270 (view as bug list)
Depends on: 634126
Blocks: 764860
  Show dependency tree
 
Reported: 2020-07-18 11:11 UTC by Conrad Kostecki
Modified: 2021-01-31 22:03 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,37.13 KB, text/plain)
2020-07-18 11:12 UTC, Conrad Kostecki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Conrad Kostecki gentoo-dev 2020-07-18 11:11:58 UTC
I am not sure, but apparently during compilation of abi_x86_32.x86 it seems trying to use x86_64 of //usr/lib64/libpakchois.so, which is (of course) not compatible.

[ebuild     U  ] net-libs/neon-0.31.2:0/27::gentoo [0.31.1:0/27::gentoo] USE="gnutls kerberos libproxy nls pkcs11 ssl zlib -doc -expat -libressl -static-libs" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild   R    ] dev-libs/pakchois-0.4-r2::gentoo  USE="nls" ABI_X86="32 (64) (-x32)" 0 KiB

/bin/sh ../libtool --quiet --mode=link x86_64-pc-linux-gnu-gcc -m32 -no-undefined -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-z,now -rpath /usr/lib -version-info 31:2:4 -Wl,--version-script=../src/neon.vers -o libneon.la ne_request.lo ne_session.lo ne_basic.lo ne_string.lo ne_uri.lo ne_dates.lo ne_alloc.lo ne_md5.lo ne_utils.lo ne_socket.lo ne_auth.lo ne_redirect.lo ne_compress.lo ne_i18n.lo ne_pkcs11.lo ne_socks.lo ne_ntlm.lo ne_207.lo ne_xml.lo ne_props.lo ne_locks.lo ne_xmlreq.lo  ne_oldacl.lo ne_acl3744.lo ne_gnutls.lo -lz -lgnutls -lpakchois -L/usr/lib64 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lproxy -lxml2
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libz.so when searching for -lz
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libz.a when searching for -lz
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libgnutls.so when searching for -lgnutls
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: //usr/lib64/libpakchois.so: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:74: libneon.la] Fehler 1
make[1]: Verzeichnis „/var/tmp/portage/net-libs/neon-0.31.2/work/neon-0.31.2-abi_x86_32.x86/src“ wird verlassen
make: *** [Makefile:88: subdirs] Fehler 2
 * ERROR: net-libs/neon-0.31.2::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=net-libs/neon-0.31.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/neon-0.31.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-libs/neon-0.31.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/neon-0.31.2/temp/environment'.
 * Working directory: '/var/tmp/portage/net-libs/neon-0.31.2/work/neon-0.31.2-abi_x86_32.x86'
 * S: '/var/tmp/portage/net-libs/neon-0.31.2/work/neon-0.31.2'
Comment 1 Conrad Kostecki gentoo-dev 2020-07-18 11:12:15 UTC
Created attachment 649758 [details]
build.log
Comment 2 Conrad Kostecki gentoo-dev 2020-07-18 11:12:35 UTC
Portage 2.3.103 (python 3.8.4-final-0, default/linux/amd64/17.1, gcc-10.1.0, glibc-2.31-r5, 5.7.6-gentoo x86_64)
=================================================================
System uname: Linux-5.7.6-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E3-1275_v6_@_3.80GHz-with-glibc2.2.5
KiB Mem:    64007968 total,  42209480 free
KiB Swap:   67633148 total,  67633148 free
Timestamp of repository gentoo: Sat, 18 Jul 2020 11:00:01 +0000
Head commit of repository gentoo: 8b676f94c7c73d437fd30f21197ee4d3ec861c81
sh bash 5.0_p18
ld GNU ld (Gentoo 2.34 p4) 2.34.0
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
ccache version 3.7.10 [enabled]
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3-r1::gentoo
dev-lang/python:          2.7.18::gentoo, 3.6.11-r1::gentoo, 3.7.8-r1::gentoo, 3.8.4::gentoo, 3.9.0_beta4::gentoo
dev-util/ccache:          3.7.10::gentoo
dev-util/cmake:           3.17.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.15.1-r2::gentoo, 1.16.2::gentoo
sys-devel/binutils:       2.34-r1::gentoo
sys-devel/gcc:            10.1.0-r2::gentoo
sys-devel/gcc-config:     2.3.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.7::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: --exclude-from=/etc/portage/rsync_excludes
    sync-rsync-verify-max-age: 24

bl4ckb0x
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mfpmath=sse,387 -mtune=intel -O3 -frecord-gcc-switches -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/teamspeak3-server/ts3server.ini /etc/teamspeak3-server/ts3server_mariadb.ini /etc/teamspeak3-server/tsdns_settings.ini /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-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/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 -mfpmath=sse,387 -mtune=intel -O3 -frecord-gcc-switches -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe -fvisibility-inlines-hidden"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build=n --with-bdeps=y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FCFLAGS="-frecord-gcc-switches"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache 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 sign strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-frecord-gcc-switches"
GENTOO_MIRRORS="https://mirror.netcologne.de/gentoo/"
INSTALL_MASK="/etc/systemd/* /etc/xinetd.d/* /usr/lib/systemd/*"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-z,now"
LINGUAS="de de_DE"
MAKEOPTS="-j9 -l8"
PKGDIR="/var/cache/binpkgs"
PORTAGE_BUNZIP2_COMMAND="pbunzip2"
PORTAGE_BZIP2_COMMAND="pbzip2"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-9e"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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="X aalib accessibility acl alsa amd64 berkdb bzip2 cairo calendar caps cddb cgi cjk colord cracklib crypt cups curl cvs cxx dbus dga djvu dri elogind encode exif fbcon ffmpeg fftw flac fontconfig fortran ftp gd gdbm geolocation gif git gmp gnutls gphoto2 gpm graphviz gsm iconv icu idn ieee1394 imap imlib inotify introspection ipv6 java javascript jbig jemalloc jit joystick jpeg jpeg2k kerberos lcms ldap libass libcaca libnotify libsamplerate lm-sensors lua luajit lzma lzo maildir mbox mhash mikmod milter mmap modplug motif mp3 mysql mysqli ncurses nls nntp nptl nsplugin offensive ogg openal openexr opengl openmp opus orc oss pam pcre pdf perl pie png policykit posix postgres postscript pulseaudio python raw readline rtmp samba sasl scanner sdl seccomp session slang smartcard sndfile snmp soap sockets sound sox speex spell split-usr sqlite ssl startup-notification subversion suid svg symlink syslog tcl tcpd theora threads tiff truetype udev unicode usb v4l vaapi vdpau vhosts vim-syntax vnc vorbis wavpack wayland webkit webp wmf x264 xattr xcb xcomposite xface xft xinetd xml xmpp xpm xscreensaver xv xvid zeroconf zlib zsh-completion zstd" ABI_X86="32 64" COLLECTD_PLUGINS="apcups battery buddyinfo capabilities cgroups check_uptime connectivity conntrack contextswitch cpu cpufreq cpusleep df disk dns entropy ethstat exec fhcount filecount hddtemp hugepages interface ipc ipmi iptables irq load java mcelog md memory mysql netlink nfs nginx ntpd openldap openvpn pcie_errors ping postgresql processes procevent protocols rrdcached sensors serial smart snmp swap syslog tcpconns thermal turbostat unixsock uptime users wireless" CPU_FLAGS_X86="aes avx avx2 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="garmin garmintxt nmea0183" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de de_DE" LCD_DEVICES="cfontzpacket crystalfontz glcd2usb hd44780 lcd2usb" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" NGINX_MODULES_HTTP="access addition auth_basic autoindex brotli browser charset fancyindex fastcgi geo geoip geoip2 gunzip gzip gzip_static headers_more image_filter javascript limit_conn limit_req map metrics proxy realip referer rewrite secure_link sticky stub_status upload_progress upstream_keepalive vhost_traffic_status xslt" NGINX_MODULES_MAIL="imap pop3 smtp" NGINX_MODULES_STREAM="access geo geoip geoip2 javascript limit_conn map realip return ssl_preread" PHP_TARGETS="php7-4" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7 python3_8" RUBY_TARGETS="ruby26 ruby27" SANE_BACKENDS="hp net" USERLAND="GNU" VIDEO_CARDS="i965 intel iris"
Unset:  CC, CPPFLAGS, CTARGET, CXX, PORTAGE_BINHOST
Comment 3 Arfrever Frehtes Taifersar Arahesis 2020-09-16 08:08:06 UTC
USE="kerberos" depends on virtual/krb5 and another provider of this virtual is app-crypt/heimdal.

krb5-config from app-crypt/heimdal has the same problem:
$ krb5-config --libs gssapi
-Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/lib64 -L/usr/lib64 -lgssapi

(You can also file bug for app-crypt/heimdal.)


Build system of net-libs/neon seems to use KRB5_CONFIG variable, so maybe setting KRB5_CONFIG="${CHOST}-krb5-config" in net-libs/neon ebuilds would work around this problem.
Comment 4 Ionen Wolkens gentoo-dev 2021-01-20 13:45:20 UTC
*** Bug 766270 has been marked as a duplicate of this bug. ***
Comment 5 Conrad Kostecki gentoo-dev 2021-01-31 22:03:59 UTC
I stabilized now app-crypt/mit-krb5-1.18.2-r3, so this is fixed.