Ran into an issue with libvncserver not compiling: ------------ * Messages for package net-libs/libvncserver-0.9.11-r1: * Header files have changed between ABIs. * --- /var/tmp/portage/net-libs/libvncserver-0.9.11-r1/temp/.multilib_header_cksum 2018-11-15 11:58:29.482884267 -0800 * +++ /var/tmp/portage/net-libs/libvncserver-0.9.11-r1/temp/.multilib_header_cksum.new 2018-11-15 11:58:29.842889981 -0800 * @@ -1,4 +1,4 @@ * -788707363 11488 /var/tmp/portage/net-libs/libvncserver-0.9.11-r1/image/usr/include/rfb/rfbconfig.h * +2672095885 11538 /var/tmp/portage/net-libs/libvncserver-0.9.11-r1/image/usr/include/rfb/rfbconfig.h * 3455670311 1875 /var/tmp/portage/net-libs/libvncserver-0.9.11-r1/image/usr/include/rfb/rfbregion.h * 3435760702 26548 /var/tmp/portage/net-libs/libvncserver-0.9.11-r1/image/usr/include/rfb/rfbclient.h * 544222073 49225 /var/tmp/portage/net-libs/libvncserver-0.9.11-r1/image/usr/include/rfb/rfb.h * ERROR: net-libs/libvncserver-0.9.11-r1::gentoo failed (install phase): * Header checksum mismatch, aborting. * * Call stack: * ebuild.sh, line 124: Called src_install * environment, line 2806: Called multilib-minimal_src_install * environment, line 2139: Called multilib_foreach_abi 'multilib-minimal_abi_src_install' * environment, line 2334: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install' * environment, line 2026: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install' * environment, line 2024: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_install' * environment, line 449: Called multilib-minimal_abi_src_install * environment, line 2136: Called multilib_check_headers * environment, line 2195: Called die * The specific snippet of code: * die "Header checksum mismatch, aborting."; * * If you need support, post the output of `emerge --info '=net-libs/libvncserver-0.9.11-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-libs/libvncserver-0.9.11-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-libs/libvncserver-0.9.11-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/libvncserver-0.9.11-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11-abi_x86_64.amd64' * S: '/var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11' ------------- I have ABI_X86="64 32" set as I have some 300+ packages that want this on. emerge --info: Portage 2.3.49 (python 2.7.15-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-7.3.0, glibc-2.27-r6, 4.14.78-gentoo x86_64) ================================================================= System uname: Linux-4.14.78-gentoo-x86_64-Intel-R-_Core-TM-2_Extreme_CPU_X9650_@_3.00GHz-with-gentoo-2.4.1 KiB Mem: 8152776 total, 3975164 free KiB Swap: 16777212 total, 16757756 free Timestamp of repository gentoo: Sat, 03 Nov 2018 14:30:01 +0000 Head commit of repository gentoo: 944606cce697022863886a3048135fcc02174088 sh bash 4.4_p12 ld GNU ld (Gentoo 2.30 p5) 2.30.0 distcc 3.2rc1 x86_64-pc-linux-gnu [enabled] app-shells/bash: 4.4_p12::gentoo dev-lang/perl: 5.24.3-r1::gentoo dev-lang/python: 2.7.15::gentoo, 3.4.8::gentoo, 3.6.5::gentoo dev-util/cmake: 3.9.6::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/openrc: 0.38.3::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.15.1-r2::gentoo sys-devel/binutils: 2.30-r4::gentoo sys-devel/gcc: 7.3.0-r3::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers) sys-libs/glibc: 2.27-r6::gentoo Repositories: vmware location: /var/lib/layman/vmware masters: gentoo priority: 50 gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://192.168.247.70/gentoo-portage priority: 100 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 local location: /usr/local/portage masters: gentoo priority: 9999999 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=core2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY 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="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync multilib-strict 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="en_CA.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_CA en-CA" MAKEOPTS="-j17 -l4" 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="X a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cleartype cli consolekit corefonts crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam ffmpeg flac fortran gdbm gif glamor gphoto2 gpm gtk iconv jpeg kde kerberos kipi kwallet lcms libnotify libtirpc mad mng mp3 mp4 mpeg mtp multilib multimedia ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt5 readline scanner sdl seccomp spell ssl startup-notification svg tcpd tiff truetype type1 udev udisks unicode upower usb vaapi vorbis widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xv xvid zlib" ABI_X86="64 32" 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="krita" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="en en-CA en_CA" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23" SANE_BACKENDS="genesys" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Thanks to this comment on this bug: https://bugs.gentoo.org/544080#c20 I used --keep-going and when libvncserver failed it kept going. After it finished, I saw libnsl was recompiled... I then remerged libvncserver and it was able to compile and install. So it looks like, net-libs/libvncserver[abi_x86_32] requires net-libs/libnsl[abi_x86_32].
I wonder why multilib support was added to libvncserver. I don't see any reverse dependency that require it.
(In reply to Daniel Frey from comment #1) > So it looks like, net-libs/libvncserver[abi_x86_32] requires > net-libs/libnsl[abi_x86_32]. No, it looks like some automagic dependency due to missing configure options, like "--{with,without}-client-gcrypt". If you have dev-libs/libgcrypt[-abi_x86_32] installed and try to build net-libs/libvncserver[abi_x86_32,-gcrypt], then you will have different defines for WITH_CLIENT_GCRYPT in the rfbconfig.h for different ABIs. I strongly suspect that was fixed in 0.9.12.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cac1f94c485fb245f537530cc8dd74d883f9b58 commit 1cac1f94c485fb245f537530cc8dd74d883f9b58 Author: Alexander Tsoy <alexander@tsoy.me> AuthorDate: 2019-05-23 15:56:27 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2019-07-06 07:02:51 +0000 net-libs/libvncserver: drop multilib support Multilib support was added for dev-libs/libnsfb. There are no packages left in the gentoo repo that require it. Closes: https://bugs.gentoo.org/671232 Package-Manager: Portage-2.3.62, Repoman-2.3.11 Signed-off-by: Alexander Tsoy <alexander@tsoy.me> Signed-off-by: Michał Górny <mgorny@gentoo.org> .../libvncserver/libvncserver-0.9.12-r1.ebuild | 69 ++++++++++++++++++++++ 1 file changed, 69 insertions(+)