Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 683406

Summary: net-analyzer/wireshark-3.0.1: CMake Error at cmake/modules/FindAsciidoctor.cmake:28
Product: Gentoo Linux Reporter: Gary E. Miller <gem>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: alexander, ansla80, gem
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Gary E. Miller 2019-04-15 17:01:15 UTC
[...]
-- Performing Test HAVE_NL80211_VHT_CAPABILITY - Success
CMake Error at cmake/modules/FindAsciidoctor.cmake:28 (list):
  list GET given empty list
Call Stack (most recent call first):
  docbook/CMakeLists.txt:15 (find_package)
[...]
Comment 1 Gary E. Miller 2019-04-15 17:01:54 UTC
Created attachment 572960 [details]
build.log

build.log
Comment 2 Gary E. Miller 2019-04-15 17:04:04 UTC
spidey /tmp # emerge --info '=net-analyzer/wireshark-3.0.1::gentoo'
Portage 2.3.62 (python 2.7.15-final-0, default/linux/amd64/17.1, gcc-8.3.0, glibc-2.28-r6, 5.0.5-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.0.5-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-1620_v3_@_3.50GHz-with-gentoo-2.6
KiB Mem:    16351296 total,  13539272 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Mon, 15 Apr 2019 16:00:01 +0000
Head commit of repository gentoo: cc874f53c43e37a295a3ec854e5c07f3519e82f2
Head commit of repository brother-overlay: 47f14e766fbbd0cf283c733b1501788eab5deba4

sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.30 p5) 2.30.0
distcc[1233] (dcc_trace_version) distcc 3.3.2 x86_64-pc-linux-gnu; built Mar 17 2019 20:14:55 [disabled]
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.4.5-r1::gentoo, 3.5.5::gentoo, 3.6.5::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.3-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.14.1::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r4::gentoo, 2.31.1-r4::gentoo
sys-devel/gcc:            8.3.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.0-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://backup.rellim.com/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: --exclude ChangeLog* --delete-excluded
    sync-rsync-verify-max-age: 24

brother-overlay
    location: /usr/local/overlay/brother-overlay
    sync-type: git
    sync-uri: https://github.com/stefan-langenmaier/brother-overlay.git
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=haswell"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/bind"
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.1/ext-active/ /etc/php/apache2-php7.2/ext-active/ /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=haswell"
DISTDIR="/mnt/backup/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y --backtrack=5"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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-docompress binpkg-dostrip binpkg-logs cgroup 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 sfperms splitdebug unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirrors.hoobly.com/ rsync://gentoo.gossamerhost.com/gentoo-distfiles/ ftp://mirror.datapipe.net/gentoo http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1,--hash-style=gnu,--enable-new-dtags"
LINGUAS="en en_US"
MAKEOPTS="-j1 -l3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude ChangeLog* --delete-excluded"
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 aacplus aacs aalib acl adns aesicm aften aio alsa amd64 amr ao apache2 archive ares aspell avahi avresample avx bash-completion bcmath berkdb binfilter bluray bzip2 cacert cairo calendar caps cdda cgi cgroup cli community corefonts crypt cscope cups curl cxx daap dane dbi dbus dirac dlna dri drm dvd ecwj2k egl enca encode examples exif exit extensions extraengine faac faad ffmpeg fftw firmware flac fontconfig fontforge foomaticdb fortran fping fpm fpx gbm gcrypt gd gdbm geoip geos gif gimp git glamor glib gml gmp gmplayer gnome-keyring gnuplot gnutls gpg gphoto2 gps gs gsm gtk gtk3 gui hardened harfbuzz hddtemp hdf hdf5 hdri highlight http2 hwdb iconv icu id3tag ilbc imagemagick imap infinality inifile inotify introspection ipmi iproute2 ipv6 jack java jbig jce jemalloc jpeg jpeg2k json lcms libass libedit libextractor liblockfile libnotify libsamplerate libsecret libsoxr libtirpc lmdb lxc lz4 lzma lzo mad managesieve mbox memcached mhash mjpeg mmap mmx mmxext mng mp3 mp4 mpeg mtp multilib mysql ncurses netcdf netlink network nfs nfsv4 nfsv41 nodrm nptl nsplugin offensive ogdi ogg openal openexr opengl openmp openssl openvg opus osmesa pam pango pcap pch pcntl pcre pdf pdfimport pdo perl plotutils plugins png policykit postproc ppds printsupport pth pulseaudio python q32 q8 qt4 qt5 rar raw readline realtime rle romio rpc rpz rrl rtmp scanner schroedinger scrypt sctp seccomp server sharedmem slp smi smime smp sndfile snmp sockets spamassassin speex spell sphinx sqlite sqlite3 sse sse2 sse3 sse4_1 ssh ssl ssse3 stats subtitles svg syslog szip t1lib tcpd theora thin-splines threads threadsafe thumbnail tiff tk tokudb tools truetype twolame udev unbound unicode upcall update_drivedb urandom usb utils v4l2 vaapi vhosts vim-syntax vlc vorbis vorbix vpx wavpack webkit webkit2 webp widgets wikipedia winbind wmf x264 xattr xcb xface xine xinerama xml xmp xorg xpm xslt xvfb xvid xvmc xz zeroconf zip 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="actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias http2 proxy proxy_fcgi" APACHE2_MPMS="worker" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 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="keyboard mouse" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_5 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="vesa" 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, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

spidey /tmp # emerge -pqv '=net-analyzer/wireshark-3.0.1::gentoo'
[ebuild     U ] net-analyzer/wireshark-3.0.1 [2.6.7] USE="adns capinfos captype dftest dumpcap editcap filecaps lz4 mergecap netlink pcap qt5 randpkt randpktdump reordercap sharkd smi ssl text2pcap tshark udpdump zlib -androiddump -bcg729 -ciscodump -doc -dpauxmon% -kerberos -libxml2 -lua -maxminddb -nghttp2 -sbc -sdjournal% (-selinux) -snappy -spandsp -sshdump -tfshark (-gtk%*) (-portaudio%)" PYTHON_TARGETS="python3_5%* python3_6%* (-python3_7)"
Comment 3 Alexander Tsoy 2019-04-15 17:36:29 UTC
(In reply to Gary E. Miller from comment #1)
> Created attachment 572960 [details]
> build.log
>
> -- Configuring incomplete, errors occurred!
> See also "/var/tmp/portage/net-analyzer/wireshark-3.0.1/work/wireshark-3.0.1_build/CMakeFiles/CMakeOutput.log".
> See also "/var/tmp/portage/net-analyzer/wireshark-3.0.1/work/wireshark-3.0.1_build/CMakeFiles/CMakeError.log".
Please attach these two files. Also check the output of `/usr/bin/asciidoctor --version`
Comment 4 Gary E. Miller 2019-04-15 18:58:31 UTC
spidey /tmp # /usr/bin/asciidoctor --version
-su: /usr/bin/asciidoctor: /usr/bin/ruby23: bad interpreter: No such file or directory
Comment 5 Gary E. Miller 2019-04-15 19:09:40 UTC
Odd, ruby23 is no longer on my system, but asciidoctor not being rebuilt for the new RUBY_TARGETS...

It was RUBY_TARGETS=ruby23, changed recently to ruby24

"emerge -uDN world" not updating asciidoctor for new RUBY_TARGETS..

I manually rebuilt asciidoctor: "emerge -1 asciidoctor", then built wireshark just fine.

So not a wireshark problem.  A problem with RUBY_TARGETS and emerge -u

You can either close this, or rename it to an asciidoctor or emerge issue.
Comment 6 Andrei Slavoiu 2019-04-15 19:56:14 UTC
Well, wireshark only depends on ascidoctor if USE=doc, and you build it with USE=-doc. The actual bug is that it tries to use it regardles of use flag.
As for why ascidoctor was not rebuilt with target_ruby24, that is most likely because nothing on your system requires it anymore. You can test this by doing an `emerge -pc` and it should be on the uninstall list.
Comment 7 Gary E. Miller 2019-04-15 20:06:46 UTC
(In reply to Andrei Slavoiu from comment #6)
> Well, wireshark only depends on ascidoctor if USE=doc, and you build it with
> USE=-doc. The actual bug is that it tries to use it regardles of use flag.

Yes, I had USE=-doc,  so that is a wireshark bug.

> As for why ascidoctor was not rebuilt with target_ruby24, that is most
> likely because nothing on your system requires it anymore. You can test this
> by doing an `emerge -pc` and it should be on the uninstall list.

I had several other packages depending on asciidoctor.  I guess emerge does not trigger on changed RUBY_TARGETS.  And yet eix said asciidoctor needed an update.

Easy solution: 

emerge -1 system; emerge -1 world

Thanks for the help.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2019-04-17 09:13:23 UTC

*** This bug has been marked as a duplicate of bug 656966 ***