-
ominous_anonymou
midfavila acheam Rio6 wttr.in has a few options for better output: oneliners (
github.com/chubin/wttr.in#one-line-output), JSON output (
github.com/chubin/wttr.in#json-output), and an experimental inline images format (
github.com/chubin/wttr.in#map-view-v3)
-
ominous_anonymou
I use that one-liner output formatting and shove it in my bar
-
acheam
Thanks ominous_anonymou!
-
ominous_anonymou
midfavila golem required, at least on my system, libXpm, gettext, libX11, libXext, libXt, libtool, gcc, ncurses. However, I had to build golem itself from source (I used
sourceforge.net/projects/golem/files/golem/0.0.5/golem-0.0.5.tar.gz) because there were a couple modifications that needed to be made to get it to compile.
-
ominous_anonymou
shit i deleted the source that compiled and now I can't remember what i did
-
ominous_anonymou
sigh
-
testuser[m]
oof
-
ominous_anonymou
ok i think these were the changes needed:
ix.io/2Ga8
-
dilyn
anybody have ideas on how to build cmake with a statically built curl/libressl?
-
dilyn
get a bunch of symbol errors :S ix.io/2Gac
-
dilyn
tried to pass OPENSSL_USE_STATIC_LIBS to cmake during the bootstrap step but it doesn't seem to work
-
ominous_anonymou
set to TRUE?
-
dilyn
I had ./bootstrap -- -DOPENSSL_USE_STATIC_LIBS:BOOL=ON
-
dilyn
analogous to how they suggest building a Release build
-
ominous_anonymou
what options does bootstrap --help give you?
-
dilyn
nothing useful for passing options to cmake unfortunately
-
dilyn
looking over the CMakeCache.txt I get, it seems to find libcurl.a and *ssl.a just fine, and adds the libs to ldflags... could it be that they're in the wrong order??
-
dilyn
that would be irritating
-
ominous_anonymou
-
dilyn
yeah that's why I thought of it xD
-
ominous_anonymou
would passing --system-curl work?
-
dilyn
I also pass --system-curl yeah
-
ominous_anonymou
hm, i'm all out of ideas! haha
-
dilyn
xD yeah linker errors do my head in
-
ominous_anonymou
i wonder if you're right about the .a ordering, do the ssl ones get added to ldflags after the curl ones?
-
dilyn
yeah -lcurl is the first one and then the rest follow
-
micr0
dilyn libbytesize in dilyn-kde has a tpyo
-
dilyn
:o
-
micr0
also congrats on having pam accept so many patches that must feel good
-
dilyn
they weren't mine xD
-
dilyn
what's the typo?
-
dilyn
is it in the sed
-
micr0
checking my local fork now
-
micr0
--witk-gtk-doc=no => --with-gtk-doc=no
-
micr0
in the build
-
micr0
your fingers too fast you were already on the next work
-
micr0
*word xD
-
dilyn
lol yeah
-
dilyn
what a silly mistake smh
-
dilyn
tyty
-
micr0
i really wanna create a github action that would build whatever package was updated post-commit that would at least catch build failures
-
dilyn
isn't that what traverse is for
-
dilyn
travis* w/e
-
dilyn
the build never failed for me, hence not noticing haha
-
micr0
yeah i mean i dont care what CI
-
micr0
the logic should be 99% contained in regular old sh scripts and just configure the ci to call said script so its platform agnostic
-
sh4rm4^bnc
imagine if you make travis build a package like firefox once its updated... travis will take hours just to compile rust and the other prereqs
-
sh4rm4^bnc
i wonder if they have a limit on CPU time spent per CI job
-
micr0
different CIs have different limits
-
micr0
and many will not share the exact limits because a) they change as the infra gets better or worse and b) knowing the exact limits allow people to get around them
-
sh4rm4^bnc
my CI is manual, i build all stuff on a build server before i commit
-
dilyn
same here
-
dilyn
where the server is my own laptop that i use daily
-
dilyn
lmao
-
sh4rm4^bnc
:>
-
micr0
same dilyn
-
micr0
ideally there would be three things coming out of a little CI automation
-
dilyn
it's unclear to me that CI could properly test KDE lmao
-
micr0
1. build failures. 2. missing deps 3. automatic creation of binary packages
-
micr0
i mean 3 happens when building, but would require a bit of glue to make it easy for people or processes to use
-
sh4rm4^bnc
and optimally 3 would produce reproducible binaries
-
micr0
sh4rm4^bnc yeah hopefully we can stand on the shoulders of other giants
-
micr0
but I bet it would require some auditing of each package and enabling
-
micr0
(i think there was previous discussion in here as an example, re: timestamps)
-
sh4rm4^bnc
yeah, it's not trivial...
-
sh4rm4^bnc
also when you have split debug info builds, the usual way to do it is with a build-id
-
micr0
if we were running something like urbit and not linux it *might* be easier
-
micr0
or if we were running an oooooold linux userspace it would be easier
-
micr0
just like, less lines of code xD
-
sh4rm4^bnc
actually some packages in my distro are quite old
-
sh4rm4^bnc
but they are stable and work well, so why update
-
sh4rm4^bnc
i *think* it was void linux who started the trend that every package must be bleeding edge
-
sh4rm4^bnc
usually the package in void repo is bumped already like 4 hours after a release came out...
-
ominous_anonymou
yeah i got screwed by that once
-
dilyn
bleeding edge qt5 is bae
-
ominous_anonymou
-
ominous_anonymou
on my home systems i rarely update packages unless there's a bug that hits or there's a security issue that comes up. i'm on 1.5Mbps DSL so I gotta be judicious in my downloads...
-
sad_plan[m]
Press arrowkey up in the terminal, and see if you cant find it C:
-
dilyn
adding --verbose to cmake bootstrap, it would appear that the linking step doesn't actually call the ssl libs.
ix.io/2GaF
-
dilyn
I think I'm being trolled
-
ominous_anonymou
if libcurl was built statically, wouldn't it already include the links to libressl?
-
dilyn
wouldn't that be the other way around?
-
dilyn
jk
-
dilyn
hm one would think
-
ominous_anonymou
i have no idea how it works, i was just wondering
-
dilyn
i've never identified so much with a sentence before
-
midfavila
mood
-
dilyn
well what do you know, libressl wasn't actually static
-
dilyn
wtf
-
dilyn
eat my shorts ld
-
midfavila
:thonk:
-
dilyn
rebuilt libressl, rebuilt curl. libcurl.a grew 80kb that day
-
dilyn
presumably, my missing ssl symbols
-
ominous_anonymou
welcome to ld where the linking is made up and the libraries don't matter
-
midfavila
are you building an entire static KISS system, dilyn, or just libressl and friends?
-
dilyn
static kiss
-
midfavila
Very cool. I think I'm going to try that on my new laptop when it arrives
-
dilyn
everything in core builds pretty fine with minimal changes
-
dilyn
I fear I am far too dumb to be trying this, however
-
midfavila
you'll never become slightly less dumb without doing something dumb and learning from it
-
dilyn
:v
-
midfavila
it's true tho
-
dilyn
ld-musl-x86_64.so.1 is v important for a properly functioning system
-
dilyn
don't not build it
-
midfavila
yeah I would imagine so
-
dilyn
something something c compiler doesn't work something something get rekt
-
midfavila
god that's such a useless error
-
midfavila
could be literally anything that causes it
-
dilyn
like an 0 instead of an O
-
dilyn
or a broken libc!
-
dilyn
or a nonexistant $PATH!
-
dilyn
or or or
-
midfavila
or an awk failure, or sed failure, or cat failure in a configure script
-
midfavila
or a malfuncting shell
-
dilyn
or the dir isn't writeable lmao
-
midfavila
or a broken implementation of shell testing functions
-
midfavila
(thanks again suckless)
-
dilyn
f
-
midfavila
yeah
-
dilyn
i spent all my morning meetings troubleshooting this problem instead of paying attention. ope
-
midfavila
relatable
-
midfavila
most of the time I'm messing around with KISS instead of actually paying attention to my classes
-
midfavila
dylan has unleashed a monster none of us can control
-
dilyn
this work is #valuable. suck it, school
-
midfavila
basically
-
midfavila
yeah
-
midfavila
yesterday it took my class collectively an hour to install packet tracer on their winshit machines
-
midfavila
so I was like...
-
midfavila
"yeah fuck this. I'm leaving"
-
testuser[m]
One time i set my CFLAGS with `-0s`, set ff to build, and went to attend my class (about 40 min), came back, "C compiler doesn't work"
-
midfavila
rip
-
midfavila
that's why I kinda want to set up a VPN so that I can ssh into my machine from pretty much anywhere. no need to worry about skids that way either
-
dilyn
ack that is fucking triggering
-
midfavila
mfw my smal brane can't debug a simple C program
-
midfavila
I can't even say that I have morning brain or some shit, because it's 1PM
-
dilyn
grah. still getting the same linker error
-
dilyn
so via nm i have divined that MD5_Init is undefined. so where should it be defined...
-
dilyn
md5.h certainly exists, so i can only assume...
-
ominous_anonymou
it's defined in libressl, i wonder if you've graduated to the linking order problem now?
-
ominous_anonymou
although that still wouldn't make sense to me since the curl libraries should already know about it
-
dilyn
nm says that it's also undefined in (at least one of) the libressl libs (libcrypto.a)
-
dilyn
something dastardly is happening
-
dilyn
thanks to stackexchange i now have a rudimentary understanding of nm output. huzzah. for some reason, libressl is not including md5 (and a few other symbols relevant for libcurl->cmake). I wonder why...
-
midfavila
stupid question but
-
midfavila
did you check that there was an include statement?
-
dilyn
included where?
-
midfavila
in main.c or whatever, I guess. I'm not really a developer so it was just an idea
-
» midfavila shrugs
-
dilyn
i'm building someone else's thing
-
dilyn
but yes md5.h is include in at least the relevant crypto/*.c files in libressl
-
dilyn
we'll see what ld is up to when it links libcrypto I guess
-
midfavila
oh, also
-
midfavila
totally unrelated
-
Rio6
sometimes you'd think "how did they even get this thing to build on their own machine!?"
-
midfavila
but hardware scalpers need to be themselves scalped
-
dilyn
abolish currency
-
midfavila
all the good PSUs were bought out and are being resold at 3x the price
-
midfavila
at least on newegg
-
midfavila
:/
-
dilyn
maybe there's another supply chain issue like there was earlier this summer?
-
midfavila
I suppose it's possible
-
ominous_anonymou
that's one benefit to not having any current hardware! i don't have to deal with that
-
midfavila
Hah, fair
-
midfavila
I've been putting together a new rig for a couple months now though
-
midfavila
PSU is the last component and I was waiting for Black Friday to get an RM850x
-
midfavila
but then the RM850xes sold out
-
midfavila
and the 750xes got their price hiked
-
ominous_anonymou
oh damn you weren't kidding
-
midfavila
No, I wasn't :v
-
midfavila
850xes are like 300$ now
-
ominous_anonymou
$288 cheapest for a $150 PSU
-
midfavila
they were 180$ a week ago
-
ominous_anonymou
i knew about the whole graphics cards hullabaloo lately but not PSUs
-
midfavila
PSUs have been a problem for years believe it or not
-
ominous_anonymou
and RAM
-
ominous_anonymou
nah i had no clue, is it to power their cryptomining rigs?
-
midfavila
Afaik it's something to do with a shortage of rare earth metals
-
ominous_anonymou
i could see that -- China has kind of cornered the market on a lot of them:
defensenews.com/opinion/commentary/…-china-cuts-off-rare-earth-supplies
-
midfavila
that's called foreshadowing
-
midfavila
sometimes it can be subtle
-
ominous_anonymou
yeah it's certainly something to worry about. oil isn't the only nonrenewable resource being abused right now
-
» midfavila shrugs
-
midfavila
I wouldn't be surprised if China replaces the USA in terms of global power
-
midfavila
just based on their economic position
-
Rio6
I feel there's little recycling of electronic devices currently
-
midfavila
oh, absolutely
-
midfavila
it's cheaper to just throw it away and replace it than actually fix or recycle shit
-
Rio6
at least for me, I see lots of people tossing them right into trash
-
midfavila
Same.
-
Rio6
heh, even for those with recycle bins like cans and paper, people still throw everything in the trash can right beside
-
ominous_anonymou
you guys'll like this, it's in the spirit of KISS -- John Deere locked down their tractor computer systems so farmers couldn't repair anything themselves
-
midfavila
yeah, I heard about that a while ago
-
midfavila
it's bullshit
-
midfavila
even if it's just a mechanical problem you still need a tech to check it out
-
ominous_anonymou
wideopencountry.com/john-deere-tractor-hack so some Ukrainians started making firmware the farmers could use instead
-
dilyn
re PSUs: get a seasonic
-
midfavila
aren't seasonics supposed to be kind of mediocre?
-
dilyn
they'll always be cheaper than most other brands because most other brands are just rebranded seasonics
-
midfavila
oh, really?
-
dilyn
they're the best psu manufacturer for the last like, fifteen years
-
dilyn
yarly
-
dilyn
also, not only do we have to worry about the scarcity of rare earth metals; the amount of hydrogen in the atmosphere is nonrenewable (naturally, at least) and we're slowly running out :v
-
ominous_anonymou
what do you guys use to buy computer stuff nowadays? are newegg and tigerdirect still good?
-
midfavila
I just use ebay
-
midfavila
go on newegg, look for what I want, look up prices on ebay, order whichever is cheaper
-
ominous_anonymou
one of my last purchases through newegg was an EVGA 500W PSU and a "Replace Power" slimline 420W PSU
-
ominous_anonymou
$50 and $40 respectively lol
-
Rio6
hydrogen can still be extracted from water, though in a higher cost. Helium is getting delpleted more
-
dilyn
pcpartpicker will show you what the prices are for most things at many major retailers and outlets
-
dilyn
in addition to ebay, you can source parts from places like overclock.net and other enthusiast forums
-
ominous_anonymou
merci
-
renami
Hi there!
-
renami
I'mjust getting started with this OS, but I've ran into a roadblock. I can't build GCC -- it errors out.
-
midfavila
With what error?
-
renami
I'll upload the log somewhere if anyone would like me to (just a bit awkward getting it off from my testing vm).
-
renami
Oh sorry I didn't see your message
-
renami
It says Error 2, which is obviously undescriptive
-
renami
It's best for me to upload the log to pastebin. I'm doing that rn
-
midfavila
you can upload the logs to ix.io by cat'ing the log into this curl command
-
midfavila
| curl -F '1:1=<-' ix.io
-
renami
Oh thank you! That'll speed things up a lot for me
-
midfavila
er, replace that first 1 with a lowercase f
-
midfavila
-
micr0
you can 'curl ix.io' to get instructions on how to use it
-
micr0
also i think ix.io has a cli you can download to use it
-
micr0
yeah `curl ix.io/client > ix`
-
renami
-
renami
Thank you both for your help so far :)
-
renami
I think it may be to do with this line:
-
renami
checking whether objcopy supports debuglink... objcopy: /tmp/ls195000: cannot fill debug link section `x': No such file or directory
-
renami
Oddly, I have managed to set up this OS before -- same VM settings, same setup proceedure, and it worked fine, so something must be going on.
-
midfavila
yash, that's weird
-
midfavila
I've never run into that error before
-
midfavila
like, ever.
-
midfavila
my only suggestion would be to rebuild binutils with sane cflags and then try gcc again with sane cflags, if you're setting any
-
renami
I'll try that now!
-
midfavila
no promises it'll work
-
renami
If it doesn't solve it, I'll try installing Kiss again from nothing, and see if it reoccurs.
-
renami
Ofc
-
Rio6
just a guess, maybe there's problem writing file to /tmp
-
midfavila
that's the other thing
-
midfavila
if it's mounted with ro or just like
-
midfavila
not mounted
-
midfavila
then that'd do it
-
renami
It is chrooted.
-
midfavila
yeah, that's what I figured.
-
dilyn
what does df -h say about /tmp's size?
-
dilyn
and ls -l /, tmp's perms should probably be 1777
-
renami
give me one sec, i'm just waiting for it to build binutils :)
-
dilyn
ofc
-
renami
tmp perms are drwxrwxrwt -- that's 1777 iirc?
-
dilyn
mmhm
-
renami
df -h gives me nothing helpful -- just the size of my root
-
renami
probably because I'm chrooted?
-
renami
Anyway, I'm trying to build GCC again - wish me luck...
-
renami
Same error, will just reinstall kiss...
-
renami
Thank you all for trying!
-
midfavila
hopefully you can get it running
-
midfavila
i had weird problems with KISS in a VM too, fwiw
-
renami
I did earlier on a different VM with exactly the same setup and proceedure. Perhaps it is just VMs being unreliable. I did have to rebuild GRUB multiple times to get it to boot then
-
dilyn
sometimes it just be like that
-
renami
:(
-
micr0
sooo...a bit late to the convo, but one thing that confused the hell out of me with linux and now i just take as granted
-
micr0
if you try and do something, and it says 'file not found', but you can see the file... it could me a bunch of different things. the most common i see is the executable file format is 'wrong' for your system - either a different architecture or missing libraries sometimes even.
-
micr0
kinda like 'the printer says paper jam but there is no paper jam'
-
renami
Yeah igy. It's odd though, since it seems that it is writing to that file in tmp, and also that the same install procedure worked fine before
-
ominous_anonymou
this is a strange line too: configure: error: C++ compiler missing or inoperational
-
Rio6
yeah, file not found can be just the file doesn't exist, missing shared library, symbolic link pointing to non existing file, typo in file...
-
renami
Nothing to concern ourselves about though, since I'm reinstalling (so the data is gone, sorry).
-
Rio6
I'm going to try setup a kiss chroot without having root myself
-
Rio6
so I can hopefully compile some packages on a remote server than on my laptop
-
renami
Not to jinx it, but it seems like GCC is compiling this time :D
-
dilyn
vms are so unreliable lmfao
-
renami
ikr
-
renami
If I can get this working in a VM though, then I'll be happy to install this normally on my system (probably in dual boot for now though)
-
sh4rm4^bnc
<dilyn> [19:05:37] also, not only do we have to worry about the scarcity of rare earth metals
-
sh4rm4^bnc
maybe they aren't that scarce, but scarcity is advertised to keep prices high
-
sh4rm4^bnc
just like the oh-so-scarce "fossil" oil
-
dilyn
The amount present in the earth is inferrable if our cosmological models are sufficiently accurate, but i would certainly call those a rough-lower-bound rather than a defacto truth
-
dilyn
oil scarcity is a good point, i'm unsure of exactly what data went into that. but the generation of oil is vastly different from that of rare-earth metals, so this evaluation is a bit more concrete and obvious
-
sh4rm4^bnc
-
dilyn
i understand how manufactured scarcity works
-
dilyn
debiers has been doing it for forever
-
dilyn
s/debiers/de beers/
-
E5ten
must've been disappointing for openbsd when they forked openssl and couldn't use their usual "open" prefix cuz it already had one lol
-
dilyn
i feel like *bsd gets frustrated by many things lmao
-
Rio6
openopenssl
-
E5ten
mmmmm perfect
-
ominous_anonymou
so are any of you guys XLFD gurus
-
ominous_anonymou
0x0.st/i7LQ.png can't get the fonts to display correctly. I've verified that the fonts are selectable by XLFD (using st -f "-*-blahh") but when golem tries to use them they're not found
-
ominous_anonymou
well, to be more specific, the title bar font
-
deltab
is the title bar meant to be less tall than the buttons?
-
ominous_anonymou
yeah. the font that the theme uses is small enough that it should appear correctly in the titlebar.
-
ominous_anonymou
you can see the intended font here: golem.sourceforge.net/themes/AlbertoDark.png
-
renami
Hi there! It's me again.
-
renami
I'm trying to get Kiss working with an LVM root partition.
-
renami
But I get a kernel panic
-
renami
Which says: not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
-
renami
Which evidently shows that the kernel isn't able to recognise the LVM partition
-
dilyn
dylanaraps: the `invalid KISS_SU` issue is still present in kiss 5.2.3?
-
renami
I've installed the lvm2 package, but I don't know what else I could do to get it woking
-
renami
Oh... so it seems I need an initrd?
-
renami
Guess I'll have to work that out
-
dilyn
tinyramfs is the most 'kiss' option
-
dilyn
although last i checked the documentation was relatively sparse, mostly a trial-and-error thing
-
renami
Okay. I'll look into that now
-
renami
It's getting late though, so I'll have a proper stab at it tomorrow.
-
renami
Once I have a working method this should get easy.
-
renami
Is there a community package for it by the way?
-
dilyn
i don't think so
-
renami
Okay -- that's fine!
-
renami
Thank you again for your help :3
-
dilyn
wouldn't be hard to make one tho!
-
dilyn
kiss-new tinyramfs git git+https://github.com/illiliti/tinyramfs; echo 'make DESTDIR="$1" install" >> tinyramfs/build; kiss c tinyramfs
-
micr0
anyone have weechat packaged?
-
dilyn
iirc it used to be in community
-
dilyn
fda6ddba98878891a5a84d3ed4d6b19ccefb3aeb
-
dilyn
or just checkout 0573b7c1dd4ed2eb933ac4d7501c5d1f2e5dfc6b
-
renami
I am back
-
renami
Still getting kernel panics, but the initramfs did build, so I think I am getting there.
-
renami
I'll probably make and push packages for things I use and can maintain at some point.
-
micr0
thanks dilyn. i stole it now: cd /var/db/kiss/repos/jedahan && patch -p2 < $(git -C ../community format-patch -1 0573b7c1dd4ed2eb933ac4d7501c5d1f2e5dfc6b)
-
renami
Hmm so I managed to get the kernel to panic differently. It wants me to pass an init= option to the kernel. Is there a wiki page or something about the kernel options?
-
micr0
renami i just searched kiss help, kiss help install, and kiss wiki/kernel/config and didnt see anything specific
-
micr0
maybe it would be good to update install or wiki/kernel/config with whatever information you find
-
renami
Yeah I'll look into writing a wiki page for LVM configuration
-
renami
Since it involves setting up an initramfs, which may be difficult for new users to set up (including me)
-
dilyn
so it sounds to me like the kernel finds the disk but either can't read it or it's not a disk containing /bin/init
-
dilyn
but I *think* that this work comes down to configuring tinyramfs properly
-
renami
Oh that was me being an idiot and having my efi partition as the root XD
-
renami
Sorry i forgot to update on that
-
renami
I'm still having trouble getting Kiss to recognise the LV on boot...
-
renami
Glad this is in a VM