πŸš€ Oh wow, #BuildKit is Docker's #secret #sauce that no one knew they neededβ€”except everyone uses it daily without a clue. 😲 It's like discovering your kitchen faucet is secretly Niagara Falls, but only if you’re into #overselling #plumbing #metaphors. πŸ’§ Who knew #compiling #C was so relatable? πŸ˜‚
https://tuananh.net/2026/02/25/buildkit-docker-hidden-gem/ #Docker #HackerNews #ngated
BuildKit: Docker's Hidden Gem That Can Build Almost Anything

Most people know BuildKit as the thing that makes docker build fast. But BuildKit is a general-purpose build framework with a programmable architecture that can produce any artifact, not just container images. Here's how it works and how I used it to build Alpine APK packages.

Tuan-Anh Tran

Roses are red
Violets are blue
Unexpected '{'
on line 32

#ValentinesDay #compiling #computers #software

After months of #compiling packages and their dependencies manually, I learnt that #gentoo's #portage can be used on other #linux distros ! So I spent the last few weeks letting it bootstrapping and installing everything. (it took that long cuz I could only run it during class, so it was 1h here, 2 other there...)
Today it finally finished the bootstrap, meaning I can now install almost everything I want without any hassles (except time of course πŸ˜†). Time for some #ricing now !

[lazy admin writings] Backporting a deb package with Debian Linux

More recent yt-dlp versions (direct download ones) are complaining about EJS and warn that the build-in solution in yt-dlp will be deprecated. I wanted to prepare for this future deprecation so I had looked at the options before. The recommended one is Deno but I prefer to install from deb packages as much as possible and Deno could not be found in the Debian packages repositories. Then I had noticed that QuickJS (by the software genius Fabrice Bellard) is in the repositories but only from Debian Trixie and newer. The computer I use yt-dlp has Debian Bookworm and I’m not yet ready or too lazy or some such to make the jump from Bookwork to Trixie now.

What to do ? First I thought about apt-pinning which worked nice many years ago but in more recent years my experience with it was a bit too messy or chaotic. Chaos is fine but not too often πŸ˜‰ So what then ?

Go Go Gadget! Backporting.

Years ago I had used backporting several times with Debian even for packages with a lot dependencies which meant backporting several other programs and libraries that the package depended on.

With QuickJS I expected things to be easy because Fabrice Bellard is a programmer which appears to avoid bloat and wants to use every bit as efficient as possible.

After a search engine search I quickly found what I needed, this page :

https://debian-handbook.info/browse/stable/debian-packaging.html

Let’s summarize how this backporting was a  success :

I made sure I had compile tools installed.

# apt install build-essential

(# implies sudo or su to temporary have root privileges $ implies regular user)

Then installed the devscripts deb and one of the suggestions (dh-make) which I am not sure that it was actually needed :

# apt install devscripts dh-make

In /etc/apt/sources.list I added one new line (without the #)  :

# deb-src http://deb.debian.org/debian/ trixie main contrib non-free

Then ran # apt update

As regular user :

$ apt source quickjs

After this command had downloaded the source, navigate into the new directory.

$ cd quickjs-2025.04.26/

Now an optional step which you can omit.

$ dch –local +falcot

Then the big moment. I still was not sure whether it needed more dependencies so this could fail.

$ dpkg-buildpackage -us -uc

And the compiling started and finished well.

The result were in the directory above (After compiling it will also mention that)

it resulted among other in two deb files : quickjs_2025.04.26-1_amd64.deb and libquickjs_2025.04.26-1_amd64.deb

The final step of backporting and installing :

# dpkg -i quickjs*deb libquickjs_2025.04.26-1_amd64.deb

That looked good, no errors.

Then the first new step with yt-dlp :

$ yt-dlp_linux –js-runtimes quickjs:/bin/qjs [and YouTube link here]

(Syntax following :  https://github.com/yt-dlp/yt-dlp/wiki/EJS)

And there it was in the yt-dlp output, the final verdict, it worked! :

[youtube] [jsc:quickjs] Solving JS challenges using quickjs

[info] [YT-link part]: Downloading 1 format(s): 135+251

Of course this will be more difficult or even very difficult or almost impossible if the package you’d like to backport has many dependencies but

you never know unless you try! πŸ™‚

 

 

#backporting #compiling #debian #linux #opensource #ytDlp
EJS

A feature-rich command-line audio/video downloader - yt-dlp/yt-dlp

GitHub

Tutorial: How to cross-compile for AmigaOS 4

George Sokianos provides a brief introduction to compiling OS4 code on alien platforms in a blog post.

https://www.amiga-news.de/en/news/AN-2025-12-00049-EN.html

#AmigaOS4 #tutorial #compiling

amiga-news.de - Tutorial: How to cross-compile for AmigaOS 4

Poor 8th-gen Intel. It’s doing its best.

Sadly, a 2018 laptop struggles to continually re-compile software for a β€œminimal” system… Hmm.

Compiling Ruby To Machine Language - Pat Shaughnessy

Playground: Checking build for KaiChat on Haiku, earlier added a fix for building with Qt 6.10.0 upstream.
Now I only need to figure out ollama? πŸ˜‡

#HaikuOS #haikuports #KDE #Qt #KaiChat #KTextAddons #opensource #compiling #scripting