Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 544080 - =net-libs/libvncserver-0.9.9-r3 fails to build with ABI_X86="64 32"
Summary: =net-libs/libvncserver-0.9.9-r3 fails to build with ABI_X86="64 32"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alex Xu (Hello71)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-22 02:17 UTC by Olipro
Modified: 2018-09-27 14:44 UTC (History)
0 users

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


Attachments
Build log (net-libs:libvncserver-0.9.9-r3:20150325-215221.log,168.74 KB, text/plain)
2015-03-26 06:54 UTC, Tamas Jantvik
Details
LibVNCServer-0.9.9-abi_x86_32.x86/config.log (config.log,124.51 KB, text/srt)
2015-04-08 13:47 UTC, Robert Spillner
Details
LibVNCServer-0.9.9-abi_x86_64.amd64/config.log (config.log,109.21 KB, text/srt)
2015-04-08 13:49 UTC, Robert Spillner
Details
libvncserver-0.9.10-r1.ebuild (libvncserver-0.9.10-r1.ebuild,1.85 KB, text/plain)
2015-04-12 14:22 UTC, Alex Xu (Hello71)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olipro 2015-03-22 02:17:44 UTC
Attempting to build net-libs/libvncserver-0.9.9-r3 with the above ABI options results in a build failure.

Reproducible: Always
Comment 1 Rafał Mużyło 2015-03-22 14:34:15 UTC
(In reply to Olipro from comment #0)
> Attempting to build net-libs/libvncserver-0.9.9-r3 with the above ABI
> options results in a build failure.
> 

That's great !

...:roll:..and the failure is...?
Comment 2 Tamas Jantvik 2015-03-25 22:12:11 UTC
 * Header files have changed between ABIs.
 * --- /tmp/portage/net-libs/libvncserver-0.9.9-r3/temp/.multilib_header_cksum  2015-03-25 23:07:55.692971995 +0100
 * +++ /tmp/portage/net-libs/libvncserver-0.9.9-r3/temp/.multilib_header_cksum.new      2015-03-25 23:07:56.696972158 +0100
 * @@ -1,4 +1,4 @@
 * -2610499725 16357 /tmp/portage/net-libs/libvncserver-0.9.9-r3/image/usr/include/rfb/rfbconfig.h
 * +614158975 16394 /tmp/portage/net-libs/libvncserver-0.9.9-r3/image/usr/include/rfb/rfbconfig.h
 *  3455670311 1875 /tmp/portage/net-libs/libvncserver-0.9.9-r3/image/usr/include/rfb/rfbregion.h
 *  2337734471 25249 /tmp/portage/net-libs/libvncserver-0.9.9-r3/image/usr/include/rfb/rfbclient.h
 *  2164372230 49144 /tmp/portage/net-libs/libvncserver-0.9.9-r3/image/usr/include/rfb/rfb.h
 * ERROR: net-libs/libvncserver-0.9.9-r3::gentoo failed (install phase):
 *   Header checksum mismatch, aborting.
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_install
 *   environment, line 2859:  Called multilib-minimal_src_install
 *   environment, line 2184:  Called multilib_foreach_abi 'multilib-minimal_abi_src_install'
 *   environment, line 2371:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
 *   environment, line 2072:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
 *   environment, line 2070:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_install'
 *   environment, line  491:  Called multilib-minimal_abi_src_install
 *   environment, line 2181:  Called multilib_check_headers
 *   environment, line 2234:  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.9-r3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/libvncserver-0.9.9-r3::gentoo'`.
 * The complete build log is located at '/var/log/portage/net-libs:libvncserver-0.9.9-r3:20150325-220557.log'.
 * For convenience, a symlink to the build log is located at '/tmp/portage/net-libs/libvncserver-0.9.9-r3/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/net-libs/libvncserver-0.9.9-r3/temp/environment'.
 * Working directory: '/tmp/portage/net-libs/libvncserver-0.9.9-r3/work/LibVNCServer-0.9.9-abi_x86_64.amd64'
 * S: '/tmp/portage/net-libs/libvncserver-0.9.9-r3/work/LibVNCServer-0.9.9'
Comment 3 Tamas Jantvik 2015-03-25 22:17:58 UTC
I have USE="24bpp gcrypt gnutls ipv6 jpeg png ssl threads zlib", and the failure popped up during an "emerge -e world" with ABI_X86="64 32".
Comment 4 Rafał Mużyło 2015-03-26 05:09:25 UTC
For a start, attach full build log and 'emerge --info' for the package.

A diff between the two versions of rfb/rfbconfig.h wouldn't hurt either.
Comment 5 Tamas Jantvik 2015-03-26 06:54:00 UTC
Created attachment 399794 [details]
Build log
Comment 6 Tamas Jantvik 2015-03-26 06:55:24 UTC
# emerge --info
Portage 2.2.14 (python 2.7.9-final-0, default/linux/amd64/13.0, gcc-4.9.2, glibc-2.19-r1, 3.18.9-geek-20150312_1 x86_64)
=================================================================
System uname: Linux-3.18.9-geek-20150312_1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.2
KiB Mem:     8082140 total,    239040 free
KiB Swap:   16777212 total,  16561320 free
Timestamp of tree: Sat, 21 Mar 2015 02:45:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.4.1
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.11
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6-r1, 1.12.6, 1.13.4, 1.14.1, 1.15
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.4, 4.9.2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.4
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo local_overlay portage-crossdev bitcoin docker dotnet eroen flow foo-overlay fw-overlay gmt-vmware haskell init6 ixit java kde laurentb luman mistafunk mrueg nektoo netsurf-overlay pentoo poly-c portage-backup qt qt-yuri-sevatz quarks rebutia sabayon-distro seden stuff sublime-text sunrise tianon trash v-fox vmacs voyageur x11
Installed sets: @qt5-addons, @qt5-essentials, @qt5-tools
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -pipe -O2 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="${CONFIG_PROTECT} /etc /etc/idea/conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.1/conf /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0 /var/lib/hsqldb /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/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 -mtune=native -pipe -O2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs 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://mirror.mdfnet.se/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ http://mirror.leaseweb.com/gentoo/ http://ftp.df.lth.se/pub/gentoo/ http://gentoo.tiscali.nl/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-crossdev /var/lib/layman/bitcoin /var/lib/layman/docker /var/lib/layman/dotnet /var/lib/layman/eroen /var/lib/layman/flow /var/lib/layman/foo-overlay /var/lib/layman/fw-overlay /var/lib/layman/gmt-vmware /var/lib/layman/haskell /var/lib/layman/init6 /var/lib/layman/ixit /var/lib/layman/java /var/lib/layman/kde /var/lib/layman/laurentb /var/lib/layman/luman /var/lib/layman/mistafunk /var/lib/layman/mrueg /var/lib/layman/nektoo /var/lib/layman/netsurf-overlay /var/lib/layman/pentoo /var/lib/layman/poly-c /var/lib/layman/portage-backup /var/lib/layman/qt /var/lib/layman/qt-yuri-sevatz /var/lib/layman/quarks /var/lib/layman/rebutia /var/lib/layman/sabayon-distro /var/lib/layman/seden /var/lib/layman/stuff /var/lib/layman/sublime-text /var/lib/layman/sunrise /var/lib/layman/tianon /var/lib/layman/trash /var/lib/layman/v-fox /var/lib/layman/vmacs /var/lib/layman/voyageur /var/lib/layman/x11"
USE="24bpp X X509 Xaw3d a52 aac aacplus aacs aalib ace acl acpi ada addressbook admin adns ads aesicm afs aften aimodules akonadi allegro alsa alstream ambiance amd64 amqp amr amrenc anacron analitza ancient android ao aot aplaymidi apng archive armadillo asf aspell atasmart atmo attica audacious audiofile audit aufs aura auth auth-dns authdaemond auto-hinter babeltrace backtrace bash-completion bazaar bcmath bd-xlator beautifulsoup3 berkdb bidi binfilter bitmap bittorrent blas bluetooth bluray box branding broadway bs2b bsf btrfs bzip2 cairo calendar canusb caps cb cdb cdda cddb cdio cdparanoia cdr cdrom celt cg cgi cgmanager chm chromaprint city cjk clamdtop cli client clucene clutter coinmp collada colord colorpicker combination-explosion-check common-lisp compressed-lumas conntrack consolekit context contrast convert-mozilla-cookies corefonts coverage cpuload cpusets cracklib creds crnl-as-line-terminator cron crypt crypt-xlator cryptokit cryptsetup css cuda cue cups curl cvs cxx d3d9 dane darcs data dbi dbus dc1394 designer detex development devil dga dhcp-tools dia dirac direct2d directfb directx djvu dmraid dnd doc-pdf dom dos dot down-root dpi dri dri3 drm drmaa dropbox dshow dso dts dv dvd dvdnav dvi dxva2 ebook eclipse ecwj2k edd egl eigen emacs embed emf emovix enchant encode enscript eog epspdf epub equalizer evdev evo examples exif expat expoblending exporter extra-webapps extraengine f2fs faac faad facebook fam fancy fast-libs fastcgi fastscroll fat fbcon fbcon_frontend_linux fbcon_frontend_sdl fbcon_frontend_vnc fbcon_frontend_x fdk fdt ffmpeg fftw fingerprint firefox fits flac flash flatfile flite fltk fluidsynth fontconfig foomaticdb fortran fpm fpx freetds frei0r fribidi ftp fuse futures g-sorcery g3dvl g726 g729 gadu gallium gbm gcj gcrypt gd gda gdbm gdk-pixbuf geoip geos gfile ggz gif gimp git gjs glade glamor glep gles gles1 gles2 gles3 glew glib glpk gltf glupy glusterfs glut gme gml gmp gnome-keyring gnumeric gnuplot gnutls go google googledrive gost gpg gphoto2 gpm gpu granite graphite graphviz groovy groupwise growl gsettings gsl gsm gssapi gstreamer gtk gtk3 gtkstyle gts gudev gui guile gzip-el h323 harfbuzz hdaps hddtemp hdf hdf5 hdri helpers heterogeneous hfs hid2hci highlight hires-icons html http hunspell hwdb hyperestraier ical iconv icq icu id3 id3tag idl idn iec61883 ieee1394 ilbc imagemagick imap imlib import-filter infinality inifile inkjar inotify int-quality int64 intel_led intl introspection iodbc ios iplsrc iproute2 ipv6 irda irrlicht iso ithreads jabber jai java javascript jbig jbootstrap jemalloc jfs jimtcl jit jmf jpeg jpeg2k json justify kate kde kdenlive kdepim kdrive kernel-builtin keymap kipi kpathsea ktp ladspa lame lapack lash lastfm latex lcms ldap ldap-sasl ldapdb ldb led legacy-toolchains lensfun libass libatomic libcaca libcanberra libffi libgda libguess libkms libmpdclient libmpeg2 libmpv libnotify libopts libproxy libsamplerate libsecret libsoxr libssh2 libtar libtiger libv4l libv4l2 libvisual libwww libxml2 libyaml listen-queue live llvm lm_sensors logger logrotate logwatch lpsol lqr lttng lua luatex lvm lxc lxde lximage lyx lz4 lzma lzo m17n-lib mad man map mapimg marble masquerade math mathml matroska mbim md5sum mdadm mdb meanwhile mecab mediawiki melt mercurial metadata-analysis-api metalink metapost metis mhash midi mikmod mime minizip mixemu mjpeg mmap mms mmx mmxext mng mobi mod modemmanager modpack modplug modules mono moodbar motif mouse mozdom mozilla mp3 mp4 mp4v2 mpeg mpi mpi-threads mplayer msg msn mssql mtp mudflap mule multilib multimedia multinetwork multiuser mumps munge musepack musicbrainz mxit mysql mysqli nas natspec ncat ncurses ndiff neXt nepomuk net20 net35 net40 net45 netapi netcdf netlink netpbm network networking networkmanager networkmonitor new-clx new-login nfs nfsidmap nfsv3 nfsv4 nfsv41 nls nmap nmap-update nntp nokia normalize nping nptl nsplugin ntfs ntfsdecrypt ntfsprogs ntlm ntp ntp-timestamp nut nvidia nvtt oauth objc objc++ objc-gc ocaml odbc offensive offscreen ofx ogdi ogg ogg123 oidentd okteta omxil oom openal openconnect openctl openexr opengl opengtl openldap openmp openrc openssl openvpn openxml optimized-qmake opus orc oscar osd osmesa otr overlay overlays pam pam_ssh pango panorama pari parted passwordsave pbs pcap pch pci pcmcia pcntl pcre pcre16 pcre32 pdf pdfannotextractor pdo perl perl-geoipupdate pgf pgo phonon php physfs pipe pipelight pkcs11 places plasma plot plotutils plugin-checksum plugin-doat plugin-fishlim plugin-sysinfo png pnm policykit portaudio positioning posix postgres postproc postscript powermanagement ppds ppp pptx prediction printsupport prison profiler projectm pstricks pulseaudio pvr pyqt4 python qalculate qdbm qemu-block qml qq qt3support qt4 qthelp quad quicktime quotes quvi qwt racket radio radosgw ramfs rar raw rbd rcs rdesktop rdp readline realtime recode recorder redeyes redland reencrypt reiser4 reiserfs rememberthemilk reports resolvconf reviewboard right_timezone rle romio rpc rrdcgi rss rtaudio rtc rtf rtmp rtsp ruby rups samba sasl sbsms scanner schroedinger scim screensaver script scripting scripttools scrobbler sctp sdl sdl-image sdlgfx seed semantic-desktop sensord sensors session sexy sftp shapefile shine shout sid sift sigsegv silc skey skins skydrive slang slp smi smp smpeg sms snappy sndfile snmp soap sockets socks5 solver sound soundcloud soundex soundtouch soup sox spacenav sparse spatialite speex spell spice sql sqlite sqlite3 squashfs srp srt srtp sse sse2 sse3 sse4 sse4_1 ssh ssh-askpass ssl ssse3 startup-notification static-user stream subtitles subversion suexec suid supernodal svg swfdec swig switcher synctex syslog sysstat system-cairo system-ffmpeg system-icu system-jpeg system-wine sysvipc szip t1lib taamey taglib tagsoup target-32 target-64 tci tcl tcmalloc tcpd teatime telepathy templates texi2html tftp theme-manager themedesigner theora thin-splines threads tidy tiff timezone timidity tk tls toolame toolbar tools totem truetype tslib twolame ubuntu-one ucd-compat udev udisks udisks2 umfpack uml unicode unzip upcall upnp urandom usb usbredir utils uuid uvm v4l vaapi vamp vcd vcdx vde vdpau vdr verify-file vf-dlopen vga video videoslideshow virtfs virtualbox vmci vmware vmware-tools vnc vorbis vpx vsock watchdog wavpack wddx webdav webgl webkit webkit2 webm webp websockets wicd wide-int widevine widgets wifi wildmidi win32 win64 winbind wireshark-plugins wma wma-fixed wmf word-perfect wordperfect worldclock wpg wxwidgets x11extras x264 x265 xa xanim xattr xbase xcb xchatdccserver xcomposite xemacs xerces-c xetex xext xforward xfs xft xine xinerama xinetd xkb xlib-xcb xls xml xmlpatterns xmlreader xmlrpc xmlwriter xmp xmpp xnest xorg xorgmodule xosd xpm xps xscreensaver xslt xv xvfb xvid xvmc yuv4mpeg zenmap zephyr zip zlib zvbi" ABI_X86="64 32" ALSA_CARDS="hda-intel" APACHE2_MODULES="actions alias asis auth_basic auth_digest authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta cgi cgid charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache dumpio env expires ext_filter file_cache filter headers ident imagemap include info log_config log_forensic logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http proxy_scgi reqtimeout rewrite setenvif speling status substitute unique_id userdir usertrack version vhost_alias" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="*" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 ssse3" CURL_SSL="openssl" DRACUT_MODULES="biosdevname bootchart btrfs caps cifs crypt crypt-gpg crypt-loop crypt-ssh dash dmraid dmsquash-live gensplash iscsi livenet lvm mdraid multipath nbd nfs plymouth ssh-client syslog" 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" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="*" LINGUAS="de en en_US en_GB fr hu sv sv_SE" NETBEANS_MODULES="*" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="aarch64 alpha arm cris i386 lm32 m68k microblaze microblazeel mips mips64 mips64el mipsel moxie or32 ppc ppc64 ppcemb s390x sh4 sh4eb sparc sparc64 unicore32 x86_64 xtensa xtensaeb" QEMU_USER_TARGETS="aarch64 alpha arm armeb cris i386 m68k microblaze microblazeel mips mips64 mips64el mipsel mipsn32 mipsn32el or32 ppc ppc64 ppc64abi32 s390x sh4 sh4eb sparc sparc32plus sparc64 unicore32 x86_64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau vesa fbdev" 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"
USE_PYTHON="2.7 3.4"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
Comment 7 Tamas Jantvik 2015-03-26 07:01:12 UTC
# diff LibVNCServer-0.9.9-abi_x86_32.x86/rfb/rfbconfig.h  LibVNCServer-0.9.9-abi_x86_64.amd64/rfb/rfbconfig.h 
416c416,418
< /* #undef LIBVNCSERVER_HAVE_X11 */
---
> #ifndef LIBVNCSERVER_HAVE_X11 
> #define LIBVNCSERVER_HAVE_X11  1 
> #endif
Comment 8 Rafał Mużyło 2015-03-26 22:37:45 UTC
(In reply to Tamas Jantvik from comment #5)
> Created attachment 399794 [details]
> Build log

Something sees fishy about this log: why aren't econf lines echoed ?

Regardless, XGetImage tests positively on native, negatively on 32bit, so config.logs now.
Comment 9 Tamas Jantvik 2015-03-27 07:05:12 UTC
Well, I can't give you that. I deleted the old build area, and now when I tried to merge the package again, it bloody succeeded. I suspect a missing dep; now my "emerge -e world" has gone further and more packages with +abi_x86_32 have been installed, and hence the success.
Comment 10 Andrew Savchenko gentoo-dev 2015-03-27 07:44:33 UTC
There is no maintainer for this package, so patches or proxy maintaining are welcome.
Comment 11 VSC55 2015-03-30 08:26:30 UTC
Hello
I commented as I have solved.

# emerge --unmerge net-libs/libvncserver
# USE="-vnc" emerge -va --deep --newuse --update --with-bdeps=y world
# emerge -va --deep --newuse --update --with-bdeps=y world

With that the package is installed correctly.
Comment 12 Robert Spillner 2015-04-08 13:47:49 UTC
Created attachment 400840 [details]
LibVNCServer-0.9.9-abi_x86_32.x86/config.log
Comment 13 Robert Spillner 2015-04-08 13:49:07 UTC
Created attachment 400842 [details]
LibVNCServer-0.9.9-abi_x86_64.amd64/config.log

--> workaround doesn't work for me
Comment 14 Robert Spillner 2015-04-08 13:58:34 UTC
Could it be that this has something do to with running

emerge -C 'app-emulation/emul-linux-x86*'

before doing this update? configure doesn't detect x11 due to the
lack of the unmerged libs above (see config.log).
Comment 15 Rafał Mużyło 2015-04-08 15:01:39 UTC
(In reply to Robert Spillner from comment #14)
> Could it be that this has something do to with running
> 
> emerge -C 'app-emulation/emul-linux-x86*'
> 
> before doing this update?

Yes and no.
It's got more to do with a certain pitfall - what I suspect is happening here, is that libvncserver doesn't use libX11, only x11vnc does, yet 
rfb/rfbconfig.h still carries that define for the sake of a different component.

As such, the ebuild has no real need to pull libX11[abi_x86_32], yet it's presence results in a slightly different build. In a way you could call it an automagical dep, even though most likely nothing actually depends on libX11.

If that's the case, the most simple solution would be passing 'ac_cv_lib_X11_XGetImage=no' to configure, the same way as it's done in some ebuilds with crosscompile fixes.
Comment 16 Alex Xu (Hello71) 2015-04-08 15:54:12 UTC
please retest with 0.9.10.
Comment 17 Konstantin Münning 2015-04-12 08:57:36 UTC
(In reply to Alex Xu (Hello71) from comment #16)
> please retest with 0.9.10.

It does not work yet. With 0.9.10 there is still the header checksum mismatch, this time diff on the rfb/rfbconfig.h's shows:

17,19c17
< #ifndef LIBVNCSERVER_CONFIG_LIBVA
< #define LIBVNCSERVER_CONFIG_LIBVA 1
< #endif
---
> /* #undef CONFIG_LIBVA */

The result is the same with or without the vaapi use flag. I haven't looked why the generation of the rfb/rfbconfig.h differs like this on both ABI's but maybe that's where the problem comes from.
Comment 18 Alex Xu (Hello71) 2015-04-12 14:22:55 UTC
Created attachment 401102 [details]
libvncserver-0.9.10-r1.ebuild

wow, I !@#$ed up real hard. inserted "vaapi" USE flag but not $(use_with vaapi).

please retest with r1.
Comment 19 Alex Xu (Hello71) 2015-04-26 18:53:50 UTC
fixed in 0.9.10-r1.
Comment 20 Murilo Morais 2018-09-27 13:09:36 UTC
The same error occurred again in version 0.9.11-r1, but the same is corrected when recompiling the libnsl package with ABI_X86="64 32". Libvncserver should recompile libnsl first. When trying to configure the 32-bit version appears "checking for gethostbyname in -lnsl... no" and the 64-bit "checking for gethostbyname in -lnsl... yes", causing the files "*/rfb/rfbconfig.h "to be different.
Comment 21 Alex Xu (Hello71) 2018-09-27 14:44:21 UTC
(In reply to Murilo Morais from comment #20)
> The same error occurred again in version 0.9.11-r1, but the same is
> corrected when recompiling the libnsl package with ABI_X86="64 32".
> Libvncserver should recompile libnsl first. When trying to configure the
> 32-bit version appears "checking for gethostbyname in -lnsl... no" and the
> 64-bit "checking for gethostbyname in -lnsl... yes", causing the files
> "*/rfb/rfbconfig.h "to be different.

please file new bug