why are you using three different distros to build a single application?

unalivejoy
link
fedilink
English
227M

Probably nixos to run distrobox with fedora, then using podman to run debian to compile the C application.

Ephera
creator
link
fedilink
67M

Well, first I tried compiling it on my own distro (which isn’t listed in the image). Then I tried compiling it with the help of nix-shell (that’s the NixOS logo).

Then I figured, fuck it, let’s just launch a whole container for compiling, so I tried the distros listed in the official documentation (Debian and Fedora), which, you guessed it, didn’t work either.

This is a hobby project that I’m trying to compile, so this definitely won’t be the best showing of C, but still just astronomically more painful than it should be…

The why is a good question, but I’d also like to know “How?”

I’d assume virtual machines - as for why, just checking their program works on different systems I guess

according to the meme it’s just compiling, no other build steps… suspicious

Yeah, probably more boring than I assumed; podman with 1 apt based distro, one rpm based distro, and Nixos. Each doing an independent build and packaging in their respective builds systems.

I was hoping for some rube Goldberg’s machine of compilation, but that’s probably not the case.

Zuberi 👀
link
fedilink
177M

What does this mean exactly?

The gophers are https://podman.io/ which builds and runs containers. My guess is they are building the same application in multiple distros for their one application

Like

my-app-nix my-app-fedora my-app-alpine

It’s a common practice so users can choose the distro they prefer when launching your container in their stack.

Ephera
creator
link
fedilink
37M

In this case, it’s not my program, it’s an open-source project I’m trying to compile, and I actually can’t get the program to compile on any of these distros.
I tried nix-shell at first, then I tried launching containers of Debian and Fedora, which have official build instructions, and yeah, nothing has truly worked so far.

I do have a working setup on openSUSE, but it involves half-compiling it in nix-shell and then compiling the rest with whatever magical combination of openSUSE packages I have on there. This setup also happens to be on my old laptop…

Pretty sure they are seals, not gophers.

A group of seals is a pod!

Elsie
link
fedilink
57M

Containers maybe?

Ephera
creator
link
fedilink
27M

This game: http://crawl.develz.org/

It’s packaged for my distro, but I’d like to play Nightly builds.

The game is developed for fun by a community, so I don’t want to claim that this is peak documentation or build logic for a C application, but simultaneously, there’s not many programming languages where I would have the thought to launch a different operating system just to compile…

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 61 users / day
  • 247 users / week
  • 417 users / month
  • 2.88K users / 6 months
  • 1 subscriber
  • 1.53K Posts
  • 33.9K Comments
  • Modlog