BUILD-DEBUG-INFO(1)
π 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:
-Ppkgdir β 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 π
pkg_add(1)pkg_create(1)update-plist(1)bsd.port.mk(5)
π 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
- Copyright (c) 2019 Marc Espie <espie@openbsd.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms