Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 952962 - dev-java/jna-5.16.0 - [gcc-15] ld: cannot find ../.../libtestlib.so: No such file or directory
Summary: dev-java/jna-5.16.0 - [gcc-15] ld: cannot find ../.../libtestlib.so: No such ...
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Java team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: parallel-make
  Show dependency tree
 
Reported: 2025-03-31 18:04 UTC by Toralf Förster
Modified: 2025-04-01 11:45 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.77 KB, text/plain)
2025-03-31 18:04 UTC, Toralf Förster
Details
dev-java:jna-5.16.0:20250331-021745.log (dev-java:jna-5.16.0:20250331-021745.log,12.02 KB, text/plain)
2025-03-31 18:04 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,50.58 KB, text/plain)
2025-03-31 18:04 UTC, Toralf Förster
Details
environment (environment,119.65 KB, text/plain)
2025-03-31 18:04 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2025-03-31 18:04 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,17.22 KB, application/x-xz)
2025-03-31 18:04 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,832 bytes, application/x-xz)
2025-03-31 18:04 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,128.73 KB, text/plain)
2025-03-31 18:04 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 2025-03-31 18:04:22 UTC
too long lines were shrinked:

Note: Recompile with -Xlint:unchecked for details.
9 warnings
 * Building native library
make -O -j4 -j1 CC=x86_64-pc-linux-gnu-gcc STRIP=true DYNAMIC_LIBFFI=true 
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wno-unused -Wno-parentheses -fPIC  -O2 -fno-omit-frame-pointer -fno-strict-aliasing -Wno-implicit-function-declaration  -D_REENTRANT -DHAVE_PROTECTION -I"/opt/openjdk-bin-21.0.6_p7/include" -I"/opt/openjdk-bin-21.0.6_p7/in
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -o ../build/native/libtestlib2.so -shared -Wl,-soname,../build/native/libtestlib2.so ../build/native/testlib2.o ../build/native/libtestlib.so -lffi
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find ../build/native/libtestlib.so: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile:513: ../build/native/libtestlib2.so] Error 1 shuffle=1302502744

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_systemd-20250330-011002

  KEYWORDED/UNMASKED

  [gcc-15] Requested by sam
  <sys-devel/gcc-15.0.9999:15

  Block bug #351559 if this looks like a parallel build issue.
  Possible reproducer: MAKEOPTS='...  shuffle=1302502744'

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
GENTOO_VM=openjdk-bin-21  CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-21.0.6_p7"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""
gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 20.1.1
llvm-config: 20.1.1
Python 3.12.9
go version go1.24.1 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.85.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21]
2)	Eclipse Temurin JDK 8.442_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit fc4d81dd3ec4c087b5655be1015040c3d02120bd
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Mar 30 23:07:36 2025 +0000

    2025-03-30 23:07:36 UTC

emerge -qpvO =dev-java/jna-5.16.0
[ebuild  N    ] dev-java/jna-5.16.0  USE="-doc -source -test"
Comment 1 Toralf Förster gentoo-dev 2025-03-31 18:04:23 UTC
Created attachment 923318 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-03-31 18:04:24 UTC
Created attachment 923319 [details]
dev-java:jna-5.16.0:20250331-021745.log
Comment 3 Toralf Förster gentoo-dev 2025-03-31 18:04:25 UTC
Created attachment 923320 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2025-03-31 18:04:26 UTC
Created attachment 923321 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2025-03-31 18:04:27 UTC
Created attachment 923322 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-03-31 18:04:28 UTC
Created attachment 923323 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-03-31 18:04:29 UTC
Created attachment 923324 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2025-03-31 18:04:30 UTC
Created attachment 923325 [details]
qlist-info.txt
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-03-31 23:03:40 UTC
I suspect --shuffle=none or whatever it is will work.
Comment 10 Volkmar W. Pogatzki 2025-04-01 11:44:36 UTC
(In reply to Sam James from comment #9)
> I suspect --shuffle=none or whatever it is will work.

Thanks. Trying it in https://github.com/gentoo/gentoo/pull/41413