Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 584968 - x11-misc/x11vnc-0.9.14[-*]: no XGetImage in -lX11
Summary: x11-misc/x11vnc-0.9.14[-*]: no XGetImage in -lX11
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Alex Xu (Hello71)
URL:
Whiteboard:
Keywords:
: 587978 (view as bug list)
Depends on:
Blocks: 589164
  Show dependency tree
 
Reported: 2016-06-03 23:10 UTC by gentoo_bugzilla
Modified: 2016-10-13 21:12 UTC (History)
1 user (show)

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


Attachments
config.log (config.log,30.03 KB, text/x-log)
2016-06-03 23:10 UTC, gentoo_bugzilla
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gentoo_bugzilla 2016-06-03 23:10:50 UTC
Created attachment 436354 [details]
config.log

Emerge without any useflags set:
>>> Emerging (1 of 1) x11-misc/x11vnc-0.9.14::gentoo
 * x11vnc-0.9.14.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                  [ ok ]
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/x11-misc/x11vnc-0.9.14/work
>>> Preparing source in /var/tmp/portage/x11-misc/x11vnc-0.9.14/work/x11vnc-0.9.14 ...
 * Running eautoreconf in '/var/tmp/portage/x11-misc/x11vnc-0.9.14/work/x11vnc-0.9.14' ...
 * Running aclocal -I m4 ...                                                                                                                                                                                  [ ok ]
 * Running autoconf --force ...                                                                                                                                                                               [ ok ]
 * Running autoheader ...                                                                                                                                                                                     [ ok ]
 * Running automake --add-missing --copy --foreign --force-missing ...                                                                                                                                        [ ok ]
 * Running elibtoolize in: x11vnc-0.9.14/
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-misc/x11vnc-0.9.14/work/x11vnc-0.9.14 ...
 * econf: updating x11vnc-0.9.14/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating x11vnc-0.9.14/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib64 --without-avahi --without-crypt --without-fbdev --without-ssl --without-crypto --without-v4l --without-xinerama
checking for a BSD-compatible install... /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for a sed that does not truncate output... /bin/sed
checking how to run the C preprocessor... /lib/cpp
checking for X... libraries /usr/lib, headers 
checking whether -R must be followed by a space... neither works
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... no
checking for gethostbyname in -lnsl... no
checking for gethostbyname in -lbsd... no
checking for connect... no
checking for connect in -lsocket... no
checking for remove... no
checking for remove in -lposix... no
checking for shmat... no
checking for shmat in -lipc... no
checking for IceConnectionNumber in -lICE... no
checking for XGetImage in -lX11... no
configure: error: 
==========================================================================
*** A working X window system build environment is required to build ***
x11vnc.  Make sure any required X development packages are installed.
If they are installed in non-standard locations, one can use the
--x-includes=DIR and --x-libraries=DIR configure options or set the
CPPFLAGS and LDFLAGS environment variables to indicate where the X
window system header files and libraries may be found.  On 64+32 bit
machines you may need to point to lib64 or lib32 directories to pick up
the correct word size.

If you want to build x11vnc without X support (e.g. for -rawfb use only
or for native Mac OS X), specify the --without-x configure option.
==========================================================================

$ emerge --info x11vnc
Portage 2.3.0_rc1 (python 2.7.11-final-0, default/linux/amd64/13.0/systemd, gcc-5.3.0, glibc-2.23-r2, 4.6.1-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.6.1-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_660_@_3.33GHz-with-gentoo-2.2
KiB Mem:     7976224 total,   1355624 free
KiB Swap:    8885588 total,   8860544 free
Timestamp of repository gentoo: Fri, 03 Jun 2016 16:21:10 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r2::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.0::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.5.1-r2::gentoo
dev-util/cmake:           3.5.2-r1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.21::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.69-r2::gentoo
sys-devel/automake:       1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2-r2::gentoo
sys-kernel/linux-headers: 4.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

java
    location: /var/lib/layman/java
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/java.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: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
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://distfiles.gentoo.org"
LANG="pl_PL.utf8"
LC_ALL="pl_PL.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="acl aes amd64 bash-completion berkdb bzip2 cli cracklib crypt cxx dri dri3 fortran gdbm iconv icu libressl mmx mmxext modules multilib ncurses nptl openmp pam pcre popcnt readline seccomp session sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 symlink systemd tcpd udev unicode vdpau xattr 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 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" INPUT_DEVICES="void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="intel" 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="3.5"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

x11-misc/x11vnc-0.9.14::gentoo was built with the following:
USE="crypt libressl ssl -avahi -fbcon -xinerama" ABI_X86="64"

Note that package is already installed but cannot be reemerged anymore due to bug 584788 (with default useflags +libressl) or this one (without useflags).
Comment 1 Alex Xu (Hello71) 2016-06-06 15:13:16 UTC
not this shit again
Comment 2 Alex Xu (Hello71) 2016-07-04 13:21:12 UTC
*** Bug 587978 has been marked as a duplicate of this bug. ***
Comment 3 Patrice Clement gentoo-dev 2016-10-13 21:12:05 UTC
commit ac9d99001ff403466ad56287e2afaba08fd2e165 (HEAD -> master, origin/master, origin/HEAD)
Author:     Michał Kępień <github@kempniu.pl>
AuthorDate: Thu Oct 13 09:54:26 2016 +0200
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: Thu Oct 13 23:11:01 2016 +0200

x11-misc/x11vnc: fix compiler detection.

Closes: https://github.com/gentoo/gentoo/pull/2549

Gentoo-Bug: https://bugs.gentoo.org/584968
Gentoo-Bug: https://bugs.gentoo.org/596138

Signed-off-by: Patrice Clement <monsieurp@gentoo.org>

x11-misc/x11vnc/files/x11vnc-0.9.13-fix-compiler-detection.patch | 6 ++++++
x11-misc/x11vnc/x11vnc-0.9.13_p20150111-r1.ebuild                | 1 +
x11-misc/x11vnc/x11vnc-0.9.13_p20150111.ebuild                   | 1 +
x11-misc/x11vnc/x11vnc-0.9.13_p20150627.ebuild                   | 1 +
x11-misc/x11vnc/x11vnc-0.9.14.ebuild                             | 1 +
5 files changed, 10 insertions(+)
create mode 100644 x11-misc/x11vnc/files/x11vnc-0.9.13-fix-compiler-detection.patch

Merged, thanks!