Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921175 - app-misc/fastfetch-2.5.0 - [slibtool] <artificial>:(.text+<snip>): undefined reference to ffDetectNvidiaGpuInfo
Summary: app-misc/fastfetch-2.5.0 - [slibtool] <artificial>:(.text+<snip>): undefined ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Viorel Munteanu
URL:
Whiteboard: fixed in 2.5.0
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-01-01 20:53 UTC by Toralf Förster
Modified: 2024-10-31 21:25 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.30 KB, text/plain)
2024-01-01 20:53 UTC, Toralf Förster
Details
app-misc:fastfetch-2.5.0:20240101-205225.log.xz (app-misc:fastfetch-2.5.0:20240101-205225.log.xz,7.03 KB, application/x-xz)
2024-01-01 20:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,218.20 KB, text/plain)
2024-01-01 20:53 UTC, Toralf Förster
Details
environment (environment,101.77 KB, text/plain)
2024-01-01 20:54 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.13 KB, application/x-xz)
2024-01-01 20:54 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,23.82 KB, application/x-xz)
2024-01-01 20:54 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,60.20 KB, application/x-xz)
2024-01-01 20:54 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,29.98 KB, application/x-xz)
2024-01-01 20:54 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-01-01 20:53:55 UTC
too long lines were shrinked:

[167/170] /usr/bin/x86_64-pc-linux-gnu-gcc -DFASTFETCH_TARGET_BINARY_NAME=fastfetch -D_GNU_SOURCE -D_XOPEN_SOURCE -D__STDC_WANT_LIB_EXT1__=1 -I/var/tmp/portage/app-misc/fastfetch-2.5.0/work/fastfetch-2.5.0_build -I/var/tmp/portage/app-misc/fastfetch-2.5.0/work/fastfetch-2.5.0/src  -DNDEBUG -O3 -pipe
[168/170] /usr/bin/x86_64-pc-linux-gnu-g++ -DFF_HAVE_DBUS=1 -DFF_HAVE_DIRECTX_HEADERS=1 -DFF_HAVE_EGL=1 -DFF_HAVE_GLX=1 -DFF_HAVE_LIBNM=1 -DFF_HAVE_PULSE=1 -DFF_HAVE_THREADS -DFF_HAVE_VULKAN=1 -DFF_HAVE_WAYLAND=1 -DFF_HAVE_WCWIDTH -DFF_HAVE_X11=1 -DFF_HAVE_XCB=1 -DFF_HAVE_XCB_RANDR=1 -DFF_USE_SYSTEM
[169/170] : && /usr/bin/x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -Wextra -Wconversion -Werror=uninitialized -Werror=return-type -Werror=incompatible-pointer-types -Werror=implicit-function-declaration -Werror=int-conversion -flto=auto -fno-fat-lto-objects -Wl,-O1 
FAILED: flashfetch 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -Wextra -Wconversion -Werror=uninitialized -Werror=return-type -Werror=incompatible-pointer-types -Werror=implicit-function-declaration -Werror=int-conversion -flto=auto -fno-fat-lto-objects -Wl,-O1 -Wl,--as-n
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: /var/tmp/portage/app-misc/fastfetch-2.5.0/temp/ccdhTS0A.ltrans12.ltrans.o: in function `ffGPUDetectByDirectX':
<artificial>:(.text+0x7bb4): undefined reference to `ffDetectNvidiaGpuInfo'
collect2: error: ld returned 1 exit status
[170/170] : && /usr/bin/x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -Wextra -Wconversion -Werror=uninitialized -Werror=return-type -Werror=incompatible-pointer-types -Werror=implicit-function-declaration -Werror=int-conversion -flto=auto -fno-fat-lto-objects -Wl,-O1 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd_merged_usr-20231230-060045

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.74.1
  [2]   rust-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_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.1
  [2]   php8.3 *
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit a38610798e32ca15011f8cbc66d766e6543cb122
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Jan 1 20:47:04 2024 +0000

    2024-01-01 20:47:03 UTC

emerge -qpvO app-misc/fastfetch
[ebuild  N    ] app-misc/fastfetch-2.5.0  USE="X dbus networkmanager opengl pulseaudio vulkan wayland xcb -chafa -ddcutil -drm -gnome -imagemagick -nvidia-gpu -opencl -osmesa -pci -sqlite -test -xfce -xrandr"
Comment 1 Toralf Förster gentoo-dev 2024-01-01 20:53:56 UTC
Created attachment 881237 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-01-01 20:53:57 UTC
Created attachment 881238 [details]
app-misc:fastfetch-2.5.0:20240101-205225.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-01-01 20:53:59 UTC
Created attachment 881239 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-01-01 20:54:00 UTC
Created attachment 881240 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-01-01 20:54:01 UTC
Created attachment 881241 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-01-01 20:54:02 UTC
Created attachment 881242 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-01-01 20:54:03 UTC
Created attachment 881243 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-01-01 20:54:04 UTC
Created attachment 881244 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2024-01-02 08:49:45 UTC
The bug has been closed via the following commit(s):

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

commit f9a5b8125cc689047173ab1015e57b50dfb07e56
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2024-01-02 08:46:57 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2024-01-02 08:49:32 +0000

    app-misc/fastfetch: Fix compilation with direct X headers
    
    Closes: https://bugs.gentoo.org/921175
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 app-misc/fastfetch/fastfetch-2.5.0.ebuild            |  1 +
 .../fastfetch/files/fastfetch-2.5.0-nvidia2.patch    | 20 ++++++++++++++++++++
 2 files changed, 21 insertions(+)