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

Bug 832478

Summary: xfce-extra/xfce4-sensors-plugin-1.4.2 fails to compile: ld.lld: error: undefined symbol: gtk_sensorstacho_get_type()
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: XFCE Team <xfce>
Status: CONFIRMED ---    
Severity: normal CC: canarauc, erhard_f, juippis
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/issues/48
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 731004    
Attachments: build.log
build.log (amd64, 1.4.4)

Description Agostino Sarubbo gentoo-dev 2022-02-01 07:29:58 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: xfce-extra/xfce4-sensors-plugin-1.4.2 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses CLANG as a compiler and LLD as a linker
Comment 1 Agostino Sarubbo gentoo-dev 2022-02-01 07:30:00 UTC
Created attachment 764071 [details]
build.log

build log and emerge --info
Comment 2 Cănărău Constantin 2023-05-17 13:07:38 UTC
Finished to build today a clang system and hit this error, also. xfce4-sensors-plugin didn't want to compile with gcc, either, the errors were pretty much the same. 
To be able to build with gcc, at least, I had to add LDFLAGS="${LDFLAGS} -lc -lstdc++".
Comment 3 ernsteiswuerfel archtester 2023-11-18 22:22:23 UTC
Created attachment 875160 [details]
build.log (amd64, 1.4.4)
Comment 4 ernsteiswuerfel archtester 2024-06-18 20:05:44 UTC
According to upstream the fix would be: https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/commit/37037b2ac949d73746195c8ce9c13e6d28ff5b86

But putting that in user-patches does net fix Gentoos xfce4-sensors-plugin-1.4.4.

On the other hand building from git works just fine:
git clone https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin
cd xfce4-sensors-plugin/
git checkout xfce4-sensors-plugin-1.4.4
./autogen.sh && ./configure && make && make install