BUILD-DEBUG-INFO(1)

πŸ“¦ in nixpkgs unstable

πŸ’… build-debug-info β€” the manual, but make it make sense πŸŽ€

okay so bestie, welcome to build-debug-info(1), a page from the General Commands Manual section. Sit down, grab a strawberry πŸ“, and let's get into it β€” because this little script is literally the backstage crew for your debug packages.


✨ NAME ✨

build-debug-info β€” generates packing-lists and Makefiles for debug packages 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

PORTSDIR=path
build-debug-info [-mnqvx] -P pkgdir -- pkg_create_args ...

🌸 DESCRIPTION 🌸

So build-debug-info is a helper script, right? It generates debug package info inside bsd.port.mk(5), and its calling conventions are basically twinsies with update-plist(1). Iconic behavior, no cap.

Along with options and environment variables, build-debug-info takes the exact same options and arguments you'd pass to pkg_create(1). And since pkg_create(1) normally only gets one single actual pkgname, there's zero ambiguity even in MULTI_PACKAGES situations. Periodt. πŸ’…

The first set of arguments corresponds to the β€˜default package’.

The options are as follows:

  • -P pkgdir β€” the directory used for generating output (mandatory). Like, you literally cannot skip this one, bestie. 🚨
  • -q β€” Quiet mode. Do not display status progress messages. Note that this is not the opposite of verbose mode. πŸ™ˆ
  • -v β€” Verbose mode. Explain about directories stripped from dependencies. Note that this is not the opposite of quiet mode. πŸ‘‘

πŸ’– THE GLOW-UP DETAILS πŸ’–

build-debug-info will read each packing-list list and generate a corresponding debug-list under pkgdir. Like, it goes through them one by one, bestie β€” every single one. ✨

The full list of Makefile rules needed to generate those files and directories will be written as pkgdir/Makefile. So cute, so organized, so main character energy. πŸŽ€


🌈 SEE ALSO 🌈


πŸ’œ lowkey reminder: those two mode flags are not opposites, okay? Quiet β‰  not-verbose and verbose β‰  not-quiet. They're doing their own thing. Let them live. πŸ¦‹

that's the whole page, bestie β€” sending you off with a little sign-off moment: this one comes from Debian, dated March 1, 2021 🌸✨ you're gonna slay those debug packages, i just know it πŸ’…πŸŽ€

πŸ“¦ where this page comes from
  • nixpkgs unstable: cvs-export
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms