Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936901 - sci-libs/opencascade-7.8.1 - [perl-5.40] [ncurses-6.5] [icu-75.1] /.../ld: cannot find -lGL: No such file or directory
Summary: sci-libs/opencascade-7.8.1 - [perl-5.40] [ncurses-6.5] [icu-75.1] /.../ld: ca...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Paul Zander
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-07-29 17:35 UTC by Toralf Förster
Modified: 2024-08-25 15:44 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,22.35 KB, text/plain)
2024-07-29 17:35 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,125.66 KB, application/x-xz)
2024-07-29 17:35 UTC, Toralf Förster
Details
environment (environment,112.42 KB, text/plain)
2024-07-29 17:35 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,60.33 KB, application/x-xz)
2024-07-29 17:35 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,122.04 KB, application/x-xz)
2024-07-29 17:35 UTC, Toralf Förster
Details
sci-libs:opencascade-7.8.1:20240729-135015.log.xz (sci-libs:opencascade-7.8.1:20240729-135015.log.xz,73.43 KB, application/x-xz)
2024-07-29 17:35 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,28.10 KB, application/x-xz)
2024-07-29 17:35 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 2024-07-29 17:35:30 UTC
too long lines were shrinked:

[2732/5914] : && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -O2 -pipe -march=native -fno-diagnostics-color -fexceptions -fPIC -Wall -Wextra  -lm -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,-soname,libTKOffset.so.7.8 -o lin64/gcc/libi/libTKOffse
[2733/5914] : && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -O2 -pipe -march=native -fno-diagnostics-color -fexceptions -fPIC -Wall -Wextra  -lm -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,-soname,libTKFeat.so.7.8 -o lin64/gcc/libi/libTKFeat.so
[2734/5914] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_OPENGL_EXT -DOCC_CONVERT_SIGNALS -DTKDraw_EXPORTS -I/var/tmp/portage/sci-libs/opencascade-7.8.1/work/OCCT-7_8_1_build/include/opencascade  -O2 -pipe -march=native -fno-diagnostics-color -fexceptions -fPIC -Wall -Wextra -std=gnu++17 -fPIC -fno-diagn
[2735/5914] : && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -O2 -pipe -march=native -fno-diagnostics-color -fexceptions -fPIC -Wall -Wextra  -lm -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,-soname,libTKV3d.so.7.8 -o lin64/gcc/libi/libTKV3d.so.7
FAILED: lin64/gcc/libi/libTKV3d.so.7.8.1 
: && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -O2 -pipe -march=native -fno-diagnostics-color -fexceptions -fPIC -Wall -Wextra  -lm -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,-soname,libTKV3d.so.7.8 -o lin64/gcc/libi/libTKV3d.so.7.8.1 src/TKV
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lGL: No such file or directory
collect2: error: ld returned 1 exit status
[2736/5914] : && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -O2 -pipe -march=native -fno-diagnostics-color -fexceptions -fPIC -Wall -Wextra  -lm -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,-soname,libTKCAF.so.7.8 -o lin64/gcc/libi/libTKCAF.so.7

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_hardened_systemd-20240718-123502

  UNMASKED:
    Requested by sam
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1
    Requested by sam
  >=sys-libs/ncurses-6.5
  ~dev-lang/perl-5.40.0
  ~virtual/perl-Archive-Tar-3.20.10_rc
  ~virtual/perl-CPAN-Meta-Requirements-2.143.0
  ~virtual/perl-Compress-Raw-Bzip2-2.212.0
  ~virtual/perl-DB_File-1.859.0
  ~virtual/perl-Data-Dumper-2.189.0
  ~virtual/perl-Devel-PPPort-3.720.0
  ~virtual/perl-Exporter-5.780.0
  ~virtual/perl-ExtUtils-CBuilder-0.280.240
  ~virtual/perl-ExtUtils-Manifest-1.750.0
  ~virtual/perl-File-Spec-3.900.0
  ~virtual/perl-HTTP-Tiny-0.88.0
  ~virtual/perl-IO-1.550.0
  ~virtual/perl-IO-Compress-2.212.0
  ~virtual/perl-IO-Socket-IP-0.420.0
  ~virtual/perl-IO-Zlib-1.150.0
  ~virtual/perl-Math-BigInt-2.3.2
  ~virtual/perl-Math-BigInt-FastCalc-0.501.800
  ~virtual/perl-Math-BigRat-2.3.2
  ~virtual/perl-Module-CoreList-5.202.406.90
  ~virtual/perl-Module-Metadata-1.0.38
  ~virtual/perl-Pod-Simple-3.450.0
  ~virtual/perl-Safe-2.460.0
  ~virtual/perl-Socket-2.38.0
  ~virtual/perl-Test-Harness-3.480.0
  ~virtual/perl-Test-Simple-1.302.199
  ~virtual/perl-Text-Tabs+Wrap-2024.1.0
  ~virtual/perl-Time-HiRes-1.977.700
  ~virtual/perl-Time-Local-1.350.0
  ~virtual/perl-autodie-2.370.0
  ~virtual/perl-bignum-0.670.0
  ~virtual/perl-podlators-5.10.200_rc
  ~virtual/perl-threads-2.400.0
  ~virtual/perl-threads-shared-1.690.0
  ~virtual/perl-version-0.993.0

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
/usr/lib/llvm/18
18.1.8
Python 3.12.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.79.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.24_p8 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.2
  [2]   php8.3 *
go version go1.22.5 linux/amd64

  HEAD of ::gentoo
commit ed9e90e6470bd72827134f45a969423e632cb5f5
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Jul 29 11:34:13 2024 +0000

    2024-07-29 11:34:12 UTC

emerge -qpvO sci-libs/opencascade
[ebuild  N    ] sci-libs/opencascade-7.8.1  USE="opengl -X -debug -doc -examples -ffmpeg -freeimage -freetype -gles2-only -inspector -jemalloc -json -optimize -tbb -test -testprograms -tk -vtk"
Comment 1 Toralf Förster gentoo-dev 2024-07-29 17:35:31 UTC
Created attachment 898546 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-07-29 17:35:32 UTC
Created attachment 898547 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-07-29 17:35:33 UTC
Created attachment 898548 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-07-29 17:35:35 UTC
Created attachment 898549 [details]
etc.portage.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-07-29 17:35:36 UTC
Created attachment 898550 [details]
qlist-info.txt.xz
Comment 6 Toralf Förster gentoo-dev 2024-07-29 17:35:37 UTC
Created attachment 898551 [details]
sci-libs:opencascade-7.8.1:20240729-135015.log.xz
Comment 7 Toralf Förster gentoo-dev 2024-07-29 17:35:38 UTC
Created attachment 898552 [details]
temp.tar.xz
Comment 8 Larry the Git Cow gentoo-dev 2024-08-25 15:44:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2540b94573649e1086d476b528973012ba64e91a

commit 2540b94573649e1086d476b528973012ba64e91a
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2024-08-12 16:38:50 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-08-25 15:42:19 +0000

    sci-libs/opencascade: fix missing libGL
    
    This is a due-diligence update of the dependency on media-libs/libglvnd.
    There are no other known reports of this issue outside of automated testing.
    
    Given that this ebuild already fails on systems where media-libs/libglvnd[X]
    isn't already pulled by other packages it seems to be the better choice to avoid
    the huge rebuild and refrain from rev-bumping.
    
    Closes: https://bugs.gentoo.org/936901
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/38121
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-libs/opencascade/opencascade-7.7.2-r1.ebuild | 5 ++++-
 sci-libs/opencascade/opencascade-7.8.1.ebuild    | 5 ++++-
 sci-libs/opencascade/opencascade-9999.ebuild     | 5 ++++-
 3 files changed, 12 insertions(+), 3 deletions(-)