build-debug-info(1)

build-debug-info1

Generate packing-lists and makefiles for debug packages

Usage

build-debug-info [-mnqvx] -P pkgdir -- pkg_create_args ...

Overview

build-debug-info is a helper script for generating debug package information in bsd.port.mk(5), with similar calling conventions to update-plist(1).

Along with options and environment variables, build-debug-info uses the exact same options and arguments that would be passed to pkg_create(1). Since pkg_create(1) normally takes one single actual pkgname, there is no ambiguity in MULTI_PACKAGES situations.

The first set of arguments correspond to the ‘default package’.

The options are as follows:

-P pkgdir

directory used for generating output (mandatory).

-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.

build-debug-info will read each packing-list list and generate a corresponding debug-list under pkgdir.

The full list of Makefile rules needed to generate those files and directories will be written as pkgdir/Makefile.

Releases

15 releases since OpenBSD 6.7; the text changed 1 time.

  1. 6.7–6.8
  2. 6.9–8.0

From man 8.0-current-20261101 in OpenBSD 8.0-current (2026-11-01). Parsed by carta from the page's mdoc source.