A month with LFS (Linux From Scrath) + musl + eudev + libressl + qi package builder helper. What a great experience.
from maduncle@lemmy.world to linux@lemmy.ml on 02 Apr 13:48
https://lemmy.world/post/27696620

LFS + Musl.

#linux

threaded - newest

eldavi@lemmy.ml on 02 Apr 14:17 next collapse

it’s nice to see people are still doing this; bravo!

i’ve also intended to try my hand at this, but my inner masochist is too lazy for it. lol

maduncle@lemmy.world on 02 Apr 14:38 next collapse

I’m not masochistic my self lol, I just tired with ordinary distro.

eldavi@lemmy.ml on 02 Apr 14:45 collapse

that part of my comment was meant to be a self indictment/reflection; i’m a bit of a linux cuck since i’ve adapted myself to fit ordinary distros’ designs instead of creating something that works for me. lol

that’s why i marvel at people who do the needful that i should be doing, like here.

HubertManne@piefed.social on 02 Apr 14:48 collapse

I do miss the way I used to be where I would get things exactly as I want and experiment with things. Now I just want to slap something on and be using it within the hour.

eldavi@lemmy.ml on 02 Apr 14:56 collapse

same here on both counts.

i created a convincing lcars interface based on enlightenment 20-ish years ago and it would take on a whole new level of enjoyment nowadays with a touchscreen laptop; i could pretend that i have a padd. lol

MonkderVierte@lemmy.ml on 02 Apr 15:41 next collapse

I’m currently trying seatd+turnstile+greetd on Artix-dinit and Void (Runit), so far everything stable. s6 usersv would be an alternative for turnstile+dinit but i see s6 more on server, personally.

This reminds me, i wanted to try mdev for a long time (there’s mdev like a boss).

LeFantome@programming.dev on 05 Apr 18:08 collapse

You are using Turnstile on Void? Cool.

Shimitar@downonthestreet.eu on 02 Apr 15:44 next collapse

LFS is great, I started with it 25 years ago (not joking, it was GCC 2.9 time)

But quickly discovered Gentoo and been there since that time. LFS is not maintainable, Gentoo is the good of LFS plus perfect maintainability.

bodaciousFern@lemmy.dbzer0.com on 02 Apr 21:26 collapse

Never actually tried LFS but I have done Gentoo from stage 1 (back when that was an option), so I’m going to use your statement as an indication I can skip LFS 😁

flubba86@lemmy.world on 03 Apr 21:06 collapse

I did Gentoo from stage 1 too back in the day, it’s was a valuable learning experience for me, and those skills helped me to fix things when they went wrong down the track.

GustavoM@lemmy.world on 02 Apr 16:37 next collapse

You will go back to your “usual” linux setup when you realize that most packages you set up with LFS are now broken and you’ll need to redo the whole process again.

t. arch linux minimal installation only master race

kylian0087@lemmy.dbzer0.com on 02 Apr 17:32 next collapse

If you still like some manual dependency control. Slackware is your friend 😁

bodaciousFern@lemmy.dbzer0.com on 02 Apr 22:08 collapse

Slackware taught me appreciation for apt/yum dependency resolution.

It was a great learning experience, but I doubt I’d ever go back

maduncle@lemmy.world on 03 Apr 01:46 next collapse

Meh, archlinux is overrated.

dino@discuss.tchncs.de on 03 Apr 13:45 collapse

I agree, AUR and pacman (syntax) suck. Apart from that Arch is one of the best.

LeFantome@programming.dev on 05 Apr 18:06 collapse

You don’t like the AUR? I have moved to Chimera Linux but I still use Distrobox just for the AUR.

dino@discuss.tchncs.de on 07 Apr 08:11 collapse

Its not about liking, its about how people use it and what for. AUR shouldn’t be used willynillyngly.

msage@programming.dev on 03 Apr 20:38 collapse

Gentoo is the only way.

spittingimage@lemmy.world on 02 Apr 19:12 next collapse

This is my next project for when I discover a reserve of time and energy I didn’t know I had.

jaypatelani@lemmy.ml on 02 Apr 19:46 next collapse

Now try BSD ;)

maduncle@lemmy.world on 02 Apr 23:06 collapse

Meh, laptop support is still mess.

dino@discuss.tchncs.de on 03 Apr 13:46 next collapse

Which model?

Abnorc@lemm.ee on 03 Apr 18:17 collapse

Yeah on my Dell laptop that I have lying around, the machine I use to demo distros before giving them a real try, the wifi card is just not supported. I tried GhostBSD and openBSD.

matcha_addict@lemy.lol on 02 Apr 20:16 next collapse

I tried LFS one time, and accidentally ran one or more of the commands on my host machine, rendering it unusable

merthyr1831@lemmy.ml on 02 Apr 20:22 next collapse

I’m curious, how well has Musl been for software compatibility? How did you resolve any that came up?

maduncle@lemmy.world on 02 Apr 23:05 next collapse

For musl, I’ve been actively using it for 7 months now and just encounter minor issue. Some packages need to be patched for musl compatibility (I borrow the patches from alpine linux).

LeFantome@programming.dev on 05 Apr 18:22 collapse

I use Chimera Linux which is musl based. Compatibility is great. If you have the source, you are probably fine.

It can be a pain for projects that ship binaries as part of the build. Two examples that I have run into:

  • The Ladybird browser uses vpkg and the version their scripts download assumes Glibc. You can build vpkg itself on musl but the whole process is a pain.
  • dotnet requires a binary build of dotnet to bootstrap from. There are musl builds available but they assume GCC and Chimera uses Clang. Not really a musl problem now that I think of it.

Anyway, I use a Distrobox of Arch on Chimera. If I do run into something (like the two above), I just pop into that and problem solved.

Flatpak is essentially the same solution as they run in a container and the freedesktop base is Glibc based.

Not only is musl not generally a problem but, these days, it is trivial to work around it.

Mwa@lemm.ee on 03 Apr 20:10 next collapse

Wonder how long it took to build the system and compile everything.

LeFantome@programming.dev on 05 Apr 18:30 collapse

The only issue with LFS is maintenance. It is one thing to set it up but having to manually keep it all up to date does not sound like fun.