mbarbar has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
mbarbar has joined #crux
mbarbar has quit [Ping timeout: 252 seconds]
mbarbar has joined #crux
<cruxbot>
[core.git/3.7]: python3: update to 3.10.8
<cruxbot>
[core.git/3.7]: openssl: update to 3.0.6
<cruxbot>
[core.git/3.7]: tzdata: update to 2022e
guido_rokepo has joined #crux
<cruxbot>
[xorg.git/3.7]: mesa: 22.2.0 -> 22.2.1
guido_rokepo has quit [Quit: guido_rokepo]
guido_rokepo has joined #crux
SiFuh_ has joined #crux
SiFuh_ has quit [Read error: Connection reset by peer]
SiFuh has quit [Ping timeout: 260 seconds]
SiFuh has joined #crux
guido_rokepo has quit [Quit: guido_rokepo]
Guest17 has joined #crux
Guest17 has quit [Client Quit]
<ahmadraniri[m]>
<cruxbot> "[xorg.git/3.7]: mesa: 22.2.0 ->..." <- is it fine to set galium-drivers option to `i915` only ? since I just have an intel GPU. Thanks
<GazL>
xorg-xdm appears to have a missing dependency on libbsd.
<SiFuh>
HAHAHA
<GazL>
it fails to build with a bsd/stdlib.h not found
<GazL>
Works once libbsd and libmd are built/added.
<SiFuh>
GazL: libbsd has been quite the topic lately
<jaeger>
It's not a real dependency, something else on the system linked with libbsd and then autotools pulled it in as a greedy dep
<GazL>
Ahh, I see. Is this some sort of libtool .la file issue?
<jaeger>
If you wanted to you could remove libbsd and then rebuild everything that linked against it, or as you discovered, install libbsd and move on
<jaeger>
It's not the same (not caused by libtool as far as I know) but similar, yeah
<GazL>
How would I identfy what's built against it?
<jaeger>
You could run ldd against everything in your bin and lib dirs, or remove libbsd and run revdep
<cruxbot>
[contrib.git/3.6]: postfix-pgsql: updated to version 3.7.3
<cruxbot>
[contrib.git/3.7]: postfix-pgsql: updated to version 3.7.3
<GazL>
Hmm.. the thing is I only just installed libbsd and revdep wasn't reporting anything missing before hand.
<jaeger>
I guess alternatively, wait until something breaks
<jaeger>
I'd recommend NOT keeping libbsd unless you need it, just because it does this
<GazL>
To be honest I don't mind having libbsd on the system, so I'll just live with it.
<jaeger>
fair
<SiFuh>
But do you need it GazL ?
<jaeger>
As far as I know it won't cause problems if it's not removed
<GazL>
well, I needed it to build xdm, that all.
<SiFuh>
You mean it was pulled unintentionally?
<SiFuh>
GazL: I use xdm and I don't have libbsd
<GazL>
no, I mean xorg-xdm failed to build with a missing bsd/stdlib.h, so I intentionally added libbsd
<GazL>
this is on a new 3.7, I'm just putting the finishing touches to.
<jaeger>
The only thing in the official repos that actually depends on libbsd is bumblebee
<SiFuh>
What jaeger was saying is that you don't need it, unless you had it installed and a another port that built against it pulled it in as a dep for xdm
<GazL>
Yeah, but I'm not sure how anything could pull it in, if it wasn't installed, IFSWIM.
<SiFuh>
jaeger: Is bumblebee that Nvidia to intel switch thing?
<jaeger>
yes
<GazL>
ok, just pkgrm'd libbsd and then revdep'd and xorg-xdm is the only thing that flagged.
<jaeger>
Interesting... I wonder where autotools would find it, then
<SiFuh>
That's not how it works
<jaeger>
generally I'd agree but others who looked into this more than I said it was a bug in autotools pulling it in
<GazL>
I might try adding an autoreconf to the Pkgfile and see if that fixes it.
<jaeger>
http://ix.io/4cXn <-- here's a log, for reference, can reproduce it in a 3.7 container
<jaeger>
#ifdef HAVE_ARC4RANDOM
<jaeger>
# include <bsd/stdlib.h>
<jaeger>
# ifdef __linux__
<jaeger>
interesting
<jaeger>
ARC4RANDOM shows up in gcc 12.2 headers in 3.7, not in gcc 10.4 headers in 3.6
<GazL>
hmmm, that does look odd.
<SiFuh>
I saw this before
<SiFuh>
I can't remember. I just grepped the logs but I did see it sometime in the last few weeks
<jaeger>
could also dig through glibc etc. but it might just be easier to patch it out
<GazL>
@jaeger, yep, that's just what I was thinking. I'll give that a shot.
<GazL>
thanks.
<SiFuh>
Ahhh I know where. Kernel 5.15.55 CONFIG_CRYPTO_ARC4 and CONFIG_CRYPTO_LIB_ARC4