Package fails on configure Reproducible: Always Steps to Reproduce: 1. emerge x11vnc 2. 3. Actual Results: >>> Emerging (1 of 1) x11-misc/x11vnc-0.9.13_p20150111::gentoo * 82eb9752485db87c9c6d3d6bb4aa1ae7ac81174a.zip SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * Setting default linker to ld.gold for x86_64-pc-linux-gnu-2.25 ... [ ok ] >>> Unpacking source... >>> Unpacking 82eb9752485db87c9c6d3d6bb4aa1ae7ac81174a.zip to /var/tmp/portage/x11-misc/x11vnc-0.9.13_p20150111/work >>> Source unpacked in /var/tmp/portage/x11-misc/x11vnc-0.9.13_p20150111/work /var/tmp/portage/x11-misc/x11vnc-0.9.13_p20150111/work/x11vnc-82eb9752485db87c9c6d3d6bb4aa1ae7ac81174a /var/tmp/portage/x11-misc/x11vnc-0.9.13_p20150111/work /var/tmp/portage/x11-misc/x11vnc-0.9.13_p20150111/work >>> Preparing source in /var/tmp/portage/x11-misc/x11vnc-0.9.13_p20150111/work/x11vnc-82eb9752485db87c9c6d3d6bb4aa1ae7ac81174a ... * Running eautoreconf in '/var/tmp/portage/x11-misc/x11vnc-0.9.13_p20150111/work/x11vnc-82eb9752485db87c9c6d3d6bb4aa1ae7ac81174a' ... * 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-82eb9752485db87c9c6d3d6bb4aa1ae7ac81174a/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-misc/x11vnc-0.9.13_p20150111/work/x11vnc-82eb9752485db87c9c6d3d6bb4aa1ae7ac81174a ... * econf: updating x11vnc-82eb9752485db87c9c6d3d6bb4aa1ae7ac81174a/config.guess with /usr/share/gnuconfig/config.guess * econf: updating x11vnc-82eb9752485db87c9c6d3d6bb4aa1ae7ac81174a/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/bin/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 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. ========================================================================== !!! Please attach the following file when seeking support: !!! /var/tmp/portage/x11-misc/x11vnc-0.9.13_p20150111/work/x11vnc-82eb9752485db87c9c6d3d6bb4aa1ae7ac81174a/config.log * ERROR: x11-misc/x11vnc-0.9.13_p20150111::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 2663: Called econf '--without-avahi' '--without-crypt' '--without-fbdev' '--without-ssl' '--without-crypto' '--without-v4l' '--without-xinerama' * phase-helpers.sh, line 662: Called __helpers_die 'econf failed' * isolated-functions.sh, line 117: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=x11-misc/x11vnc-0.9.13_p20150111::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-misc/x11vnc-0.9.13_p20150111::gentoo'`. * The complete build log is located at '/var/tmp/portage/x11-misc/x11vnc-0.9.13_p20150111/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-misc/x11vnc-0.9.13_p20150111/temp/environment'. * Working directory: '/var/tmp/portage/x11-misc/x11vnc-0.9.13_p20150111/work/x11vnc-82eb9752485db87c9c6d3d6bb4aa1ae7ac81174a' * S: '/var/tmp/portage/x11-misc/x11vnc-0.9.13_p20150111/work/x11vnc-82eb9752485db87c9c6d3d6bb4aa1ae7ac81174a' >>> Failed to emerge x11-misc/x11vnc-0.9.13_p20150111, Log file: >>> '/var/tmp/portage/x11-misc/x11vnc-0.9.13_p20150111/temp/build.log' * Messages for package x11-misc/x11vnc-0.9.13_p20150111: * ERROR: x11-misc/x11vnc-0.9.13_p20150111::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 2663: Called econf '--without-avahi' '--without-crypt' '--without-fbdev' '--without-ssl' '--without-crypto' '--without-v4l' '--without-xinerama' * phase-helpers.sh, line 662: Called __helpers_die 'econf failed' * isolated-functions.sh, line 117: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=x11-misc/x11vnc-0.9.13_p20150111::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-misc/x11vnc-0.9.13_p20150111::gentoo'`. * The complete build log is located at '/var/tmp/portage/x11-misc/x11vnc-0.9.13_p20150111/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-misc/x11vnc-0.9.13_p20150111/temp/environment'. * Working directory: '/var/tmp/portage/x11-misc/x11vnc-0.9.13_p20150111/work/x11vnc-82eb9752485db87c9c6d3d6bb4aa1ae7ac81174a' * S: '/var/tmp/portage/x11-misc/x11vnc-0.9.13_p20150111/work/x11vnc-82eb9752485db87c9c6d3d6bb4aa1ae7ac81174a' Expected Results: It should emerge without problems. The configure script seems to be missing gcc when compiling and running each test. The older package x11-misc/x11vnc-0.9.13-r1 compiles fine.
Created attachment 402460 [details, diff] config.log
Created attachment 402462 [details] emerge --info
ugh. i ran into this, now I can't reproduce it.
strange. the crypt block needs to be placed *after* the openssl block, or else autoconf gets very confused.
it's 'caused' by --disable-crypt. it's got something to do with the order of the checks in the configure.ac.
I can confirm that adding crypt to x11-misc/x11vnc in package.use got rid of the problem.
i can confirm.
I also added the crypt use flag, and x11vnc compiled.
Created attachment 406174 [details, diff] x11vnc-0.9.13_p20150111-0.9.13_p20150627.ebuild.patch
checking for cairo... yes checking for LIBVNCSERVER... no configure: error: Package requirements (libvncserver >= 0.9.8) were not met: No package 'libvncserver' found ~/github/gentoo/x11-misc/x11vnc $ eix net-libs/libvncserver * net-libs/libvncserver Available versions: 0.9.10-r3 (~)0.9.10-r4 {+24bpp gcrypt gnutls ipv6 +jpeg libressl +png ssl static-libs test threads +zlib ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"} Homepage: http://libvncserver.sourceforge.net/ - >=net-libs/libvncserver-0.9.8 The patch hence the revbump fails because the dep ^^ has been made absent for RDEPEND.
Firstly it's worth noting that the patch does not apply cleanly to x11vnc-0.9.13_p20150111.ebuild as it is in the tree at present - there appears to be a difference KEYWORDS between the version in the tree and the one that was used to generate the patch. ❯ patch -i x11vnc-0.9.13_p20150111-0.9.13_p20150627.ebuild.patch -o x11vnc-0.9.13_p20150627.ebuild 18:29:55 patching file x11vnc-0.9.13_p20150627.ebuild (read from x11vnc-0.9.13_p20150111.ebuild) Hunk #1 FAILED at 4. 1 out of 3 hunks FAILED -- saving rejects to file x11vnc-0.9.13_p20150627.ebuild.rej That being said, I altered the patch locally (fixed KEYWORDS) to get it to apply and was able to get this to build with both USE=-crypt and USE=crypt.
I cannot establish if i am to patch the 0.9.13_p20150111 or what. commit c4f275036fdd549d63e536c30dd1f927a98efce3 Author: Ian Delaney <idella4@gentoo.org> Date: Sun Oct 18 17:33:52 2015 +0800 x11-misc/x11vnc: bump to -0.9.13_p20150627 via the gentoo bug disable the option --disable-crypt in new snapshot, ebuild submitted by proxy maintainer Gentoo bug: #548434
fixed in tree after only 5 months of wait. sorry guys.