Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832478 - xfce-extra/xfce4-sensors-plugin-1.4.2 fails to compile: ld.lld: error: undefined symbol: gtk_sensorstacho_get_type()
Summary: xfce-extra/xfce4-sensors-plugin-1.4.2 fails to compile: ld.lld: error: undefi...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: XFCE Team
URL: https://gitlab.xfce.org/panel-plugins...
Whiteboard:
Keywords:
Depends on:
Blocks: LD-is-lld, systemwide-lld
  Show dependency tree
 
Reported: 2022-02-01 07:29 UTC by Agostino Sarubbo
Modified: 2024-06-18 20:05 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,140.12 KB, text/plain)
2022-02-01 07:30 UTC, Agostino Sarubbo
Details
build.log (amd64, 1.4.4) (xfce4-sensors-plugin-1.4.4:20231118-210027.log,102.24 KB, text/plain)
2023-11-18 22:22 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
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