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

Bug 752009

Summary: net-analyzer/wireshark-3.4.0: cannot load such file -- /usr/lib64/ruby/gems/2.7.0/gems/asciidoctor-2.0.10/bin/asciidoctor (LoadError)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Mikle Kolyada (RETIRED) <zlogene>
Status: RESOLVED INVALID    
Severity: normal CC: bman, leonchik1976, ruby, sam, soap
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=752048
Whiteboard: Not a Wireshark issue. Please adjust your Ruby preference with 'eselect ruby set'.
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
CMakeError.log
CMakeOutput.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-analyzer:wireshark-3.4.0:20201030-220418.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-10-31 08:51:17 UTC
-- Found POD: /usr/bin/pod2man  
-- Found DOXYGEN: /usr/bin/doxygen  
-- Could NOT find SpeexDSP (missing: SPEEXDSP_LIBRARY SPEEXDSP_INCLUDE_DIR) (found version "")
-- Looking for gnutls_pkcs11_obj_list_import_url4
-- Looking for gnutls_pkcs11_obj_list_import_url4 - not found
-- Looking for arpa/inet.h

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-abi32+64-20201024-180552

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems)
  [2]   ruby26 (with Rubygems)
  [3]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.47.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.272_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri Oct 30 08:13:01 PM UTC 2020

emerge -qpvO net-analyzer/wireshark
[ebuild  N    ] net-analyzer/wireshark-3.4.0  USE="capinfos captype dftest dumpcap editcap filecaps mergecap minizip netlink pcap plugins qt5 randpkt randpktdump reordercap sharkd ssl text2pcap tshark udpdump zlib zstd -androiddump -bcg729 -brotli -ciscodump -doc -dpauxmon -http2 -ilbc -kerberos -libxml2 -lto -lua -lz4 -maxminddb -opus -plugin-ifdemo -sbc -sdjournal (-selinux) -smi -snappy -spandsp -sshdump -test -tfshark"
Comment 1 Toralf Förster gentoo-dev 2020-10-31 08:51:19 UTC
Created attachment 669392 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-10-31 08:51:20 UTC
Created attachment 669395 [details]
CMakeError.log
Comment 3 Toralf Förster gentoo-dev 2020-10-31 08:51:21 UTC
Created attachment 669398 [details]
CMakeOutput.log
Comment 4 Toralf Förster gentoo-dev 2020-10-31 08:51:23 UTC
Created attachment 669401 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2020-10-31 08:51:25 UTC
Created attachment 669404 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2020-10-31 08:51:26 UTC
Created attachment 669407 [details]
etc.portage.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-10-31 08:51:28 UTC
Created attachment 669410 [details]
logs.tbz2
Comment 8 Toralf Förster gentoo-dev 2020-10-31 08:51:29 UTC
Created attachment 669413 [details]
net-analyzer:wireshark-3.4.0:20201030-220418.log
Comment 9 Toralf Förster gentoo-dev 2020-10-31 08:51:31 UTC
Created attachment 669416 [details]
temp.tbz2
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-11-01 00:14:56 UTC
Oh (finally realised), Speex isn't the real issue, although it does reveal we're using a bundled copy of it.

It's this!

/usr/bin/asciidoctor:9:in `load': cannot load such file -- /usr/lib64/ruby/gems/2.7.0/gems/asciidoctor-2.0.10/bin/asciidoctor (LoadError)
	from /usr/bin/asciidoctor:9:in `<main>'
CMake Error at cmake/modules/FindAsciidoctor.cmake:28 (list):
  list GET given empty list
Call Stack (most recent call first):
  docbook/CMakeLists.txt:14 (find_package)
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-11-20 10:36:00 UTC
*** Bug 755671 has been marked as a duplicate of this bug. ***
Comment 12 Hans de Graaff gentoo-dev Security 2020-11-21 08:36:39 UTC
There is no ruby27 version of asciidoctor but you do seem to have this version eselected. Unfortunately the ruby infrastructure cannot handle this gracefully at the moment.
Comment 13 Toralf Förster gentoo-dev 2020-11-21 13:39:28 UTC
(In reply to Hans de Graaff from comment #12)
> There is no ruby27 version of asciidoctor but you do seem to have this
> version eselected. Unfortunately the ruby infrastructure cannot handle this
> gracefully at the moment.

Ick , yes.

I do indeed eselect the latest ruby version at the tinderbox https://github.com/toralf/tinderbox/blob/master/bin/job.sh#L1042 as soon as it was installed.
Maybe I should not do that and do live just with that what a ruby ebuild does ?
Usually a tinderbox lives for about 1-2 weeks.

ANd for now I should ignore asciidoctor issues at the tinderbox, or ?
Comment 14 Leonid Kopylov 2020-12-24 21:03:32 UTC
same with net-analyzer/wireshark-3.4.2
Comment 15 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-24 21:11:50 UTC
(In reply to Leonid Kopylov from comment #14)
> same with net-analyzer/wireshark-3.4.2

Please see graffs’ comment, this isn’t a Wireshark problem but Ruby related.
Comment 16 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-29 23:38:43 UTC
*** Bug 758077 has been marked as a duplicate of this bug. ***
Comment 17 Leonid Kopylov 2020-12-30 06:26:31 UTC
i tried to eselect both ruby27 and ruby30 - but it still fails, what should i choose?
Comment 18 Hans de Graaff gentoo-dev Security 2020-12-31 09:13:49 UTC
(In reply to Leonid Kopylov from comment #17)
> i tried to eselect both ruby27 and ruby30 - but it still fails, what should
> i choose?

You need one that matches your RUBY_TARGETS and is supported by asciidoctor. Currently asciidoctor only supports ruby25 and ruby26.
Comment 19 Leonid Kopylov 2020-12-31 09:52:46 UTC
After eselect ruby to ruby26, i successfully installed wireshark, thanks!
Comment 20 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-01-30 11:53:25 UTC
*** Bug 767979 has been marked as a duplicate of this bug. ***
Comment 21 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-07-17 03:51:26 UTC
*** Bug 795882 has been marked as a duplicate of this bug. ***