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

Bug 831622

Summary: dev-lang/cxprolog-0.98.2 - /.../ld: cannot find -ljvm
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Prolog project <prolog>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-lang:cxprolog-0.98.2:20220120-162328.log
emerge-history.txt
environment
etc.portage.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-01-20 16:36:22 UTC
too long lines were shrinked:

src/Term.h:124:28: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
  124 | Pt DrfChecked2(register Pt t, Hdl limA, Hdl limB) ;
      |                            ^
x86_64-pc-linux-gnu-g++  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-rpath,/opt/openjdk-bin-11.0.13_p8/jre/lib/amd64/server -shared -Wl,-soname,libcxprolog.so -o libcxprolog.so src/obj/Alias.o src/obj/Array.o src/obj/Arith.o src/obj/Atom.o src/obj/Attention.o src/obj/Boot.o 
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ljvm
collect2: error: ld returned 1 exit status
make: *** [Makefile:343: libcxprolog.so] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-j4-20220116-180004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.1 *
clang/llvm (if any):
clang version 13.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.58.0 *
GENTOO_VM=openjdk-bin-11  CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-11.0.13_p8"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""
The following VMs are available for generation-2:
*)	AdoptOpenJDK 11.0.13_p8 [openjdk-bin-11]
2)	AdoptOpenJDK 8.312_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php7.3
  [2]   php7.4
  [3]   php8.1 *

  HEAD of ::gentoo
commit 8a6cb5a7f8be26ebb557939cf80026de4c20aabb
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Jan 20 15:36:54 2022 +0000

    2022-01-20 15:36:53 UTC

emerge -qpvO dev-lang/cxprolog
[ebuild  N    ] dev-lang/cxprolog-0.98.2  USE="java readline wxwidgets -examples -test"
Comment 1 Toralf Förster gentoo-dev 2022-01-20 16:36:23 UTC
Created attachment 762872 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-01-20 16:36:24 UTC
Created attachment 762873 [details]
dev-lang:cxprolog-0.98.2:20220120-162328.log
Comment 3 Toralf Förster gentoo-dev 2022-01-20 16:36:26 UTC
Created attachment 762874 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-01-20 16:36:27 UTC
Created attachment 762875 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-01-20 16:36:28 UTC
Created attachment 762876 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-01-20 16:36:30 UTC
Created attachment 762877 [details]
temp.tar.bz2