Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 865263 - sys-apps/kmscon-9.0.0 - uterm_drm3d_render.c:(<snip>) undefined reference to gl_shader_new
Summary: sys-apps/kmscon-9.0.0 - uterm_drm3d_render.c:(<snip>) undefined reference to ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ben Kohler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-15 18:10 UTC by Toralf Förster
Modified: 2022-08-15 18:18 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.87 KB, text/plain)
2022-08-15 18:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,44.37 KB, text/plain)
2022-08-15 18:10 UTC, Toralf Förster
Details
environment (environment,117.23 KB, text/plain)
2022-08-15 18:10 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,36.54 KB, application/x-bzip)
2022-08-15 18:10 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,3.04 KB, application/x-bzip)
2022-08-15 18:10 UTC, Toralf Förster
Details
sys-apps:kmscon-9.0.0:20220815-180604.log (sys-apps:kmscon-9.0.0:20220815-180604.log,43.11 KB, text/plain)
2022-08-15 18:10 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,31.09 KB, application/x-bzip)
2022-08-15 18:10 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 2022-08-15 18:10:21 UTC
too long lines were shrinked:

[55/69] x86_64-pc-linux-gnu-gcc  -o tests/test_output tests/test_output.p/test_output.c.o -Wl,--as-needed -Wl,--no-undefined -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--start-group src/libuterm.a src/libsh
FAILED: tests/test_output 
x86_64-pc-linux-gnu-gcc  -o tests/test_output tests/test_output.p/test_output.c.o -Wl,--as-needed -Wl,--no-undefined -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--start-group src/libuterm.a src/libshl.a exte
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: src/libuterm.a.p/uterm_drm3d_render.c.o: in function `init_shaders.isra.0':
uterm_drm3d_render.c:(.text.init_shaders.isra.0+0x107): undefined reference to `gl_shader_new'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: uterm_drm3d_render.c:(.text.init_shaders.isra.0+0x13c): undefined reference to `gl_shader_get_uniform'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: uterm_drm3d_render.c:(.text.init_shaders.isra.0+0x167): undefined reference to `gl_shader_new'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20220815-120009

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
/usr/lib/llvm/14
14.0.6
Python 3.10.6
Available Rust versions:
  [1]   rust-bin-1.62.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JRE 17.0.3_p7 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli:

  HEAD of ::gentoo
commit 4a253e5ea022672b1a2ed37a78c90a4bbdc74a37
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Aug 15 17:01:57 2022 +0000

    2022-08-15 17:01:56 UTC

emerge -qpvO sys-apps/kmscon
[ebuild  N    ] sys-apps/kmscon-9.0.0  USE="drm pixman unicode -debug -doc -fbdev -gles2 -pango -systemd"
Comment 1 Toralf Förster gentoo-dev 2022-08-15 18:10:22 UTC
Created attachment 799743 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-08-15 18:10:23 UTC
Created attachment 799745 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-08-15 18:10:24 UTC
Created attachment 799747 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-08-15 18:10:26 UTC
Created attachment 799749 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-08-15 18:10:27 UTC
Created attachment 799751 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-08-15 18:10:28 UTC
Created attachment 799753 [details]
sys-apps:kmscon-9.0.0:20220815-180604.log
Comment 7 Toralf Förster gentoo-dev 2022-08-15 18:10:29 UTC
Created attachment 799755 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-08-15 18:18:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b8933e81119dd931290f245d3fcbb928b495107

commit 6b8933e81119dd931290f245d3fcbb928b495107
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2022-08-15 18:17:40 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2022-08-15 18:18:32 +0000

    sys-apps/kmscon: reverse REQUIRED_USE
    
    Apparently it's been wrong for years.
    
    Closes: https://bugs.gentoo.org/865263
    
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 sys-apps/kmscon/kmscon-9.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)