Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 752009 - 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)
Summary: net-analyzer/wireshark-3.4.0: cannot load such file -- /usr/lib64/ruby/gems/2...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard: Not a Wireshark issue. Please adjust ...
Keywords:
: 755671 758077 767979 795882 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-10-31 08:51 UTC by Toralf Förster
Modified: 2021-07-17 03:51 UTC (History)
5 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.89 KB, text/plain)
2020-10-31 08:51 UTC, Toralf Förster
Details
CMakeError.log (CMakeError.log,20.93 KB, text/plain)
2020-10-31 08:51 UTC, Toralf Förster
Details
CMakeOutput.log (CMakeOutput.log,83.28 KB, text/plain)
2020-10-31 08:51 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,174.47 KB, text/plain)
2020-10-31 08:51 UTC, Toralf Förster
Details
environment (environment,142.73 KB, text/plain)
2020-10-31 08:51 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,24.34 KB, application/x-bzip)
2020-10-31 08:51 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.05 KB, application/x-bzip)
2020-10-31 08:51 UTC, Toralf Förster
Details
net-analyzer:wireshark-3.4.0:20201030-220418.log (net-analyzer:wireshark-3.4.0:20201030-220418.log,21.40 KB, text/plain)
2020-10-31 08:51 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,37.02 KB, application/x-bzip)
2020-10-31 08:51 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***