SCONSIGN(1)
π NAME π
sconsign β bestie, this is the girl that prints SCons signature file information. That's the whole job. She reads the signature/dependency database and tells you what's inside. π
β¨ SYNOPSIS β¨
sconsign [options...] [file...]
π DESCRIPTION π
okay so. sconsign displays the contents of one or more sconsign files β that's the signature/dependency database that the SCons build tool uses. And that database? It contains all Nodes that are known to the build, whether they got there by declaration in the build configuration, by being produced as side effects, or by being detected through inspection. every single one. π
By default, sconsign dumps the entire contents of the sconsign file(s). And if you give her no options at all, each individual dependency entry comes out looking like this:
depfile: content-signature timestamp length
implicit-dependency-1: content-signature timestamp size
implicit-dependency-2: content-signature timestamp size
...
build-signature [action-string]
So real quick, the lore behind those fields π«:
content-signatureβ this is the hash of the file's contents. (Shows up ascsigwhen you're in verbose mode, iykyk.)build-signatureβ the hash of the command line, or of whatever other build action was used to build a target.action-stringβ if it's provided, this is the unexpanded string action or the function that got called.- The literal word
Nonegets printed in place of any missing timestamp or signature. that's your signal that something ain't there, bestie.
Also: if the entry has no implicit dependencies, or no build action, then the matching lines justβ¦ don't show up. omitted. not invited to the party. π
There's also an indicator line printed for each directory β because directories don't have signatures in the database, so they'd literally never show up otherwise. so she gives them their own little moment. π«Ά
Now, the format guessing, which is lowkey the messiest part:
By default, sconsign assumes any file argument ending in a .dblite suffix contains signature entries for more than one directory β meaning it was specified by the SCons SConsignFile SCons function. Any file argument with no suffix is assumed to be an old-style (deprecated) sconsign file holding the signature entries for a single directory. And if neither of those is true? She attempts to guess the format. If that doesn't work, you can just tell her explicitly with the -f or --format= options. no guessing games required. π
And if there are no file arguments at all, the name .sconsign.dblite is just assumed by default. periodt.
Deprecated since version 4.11.0: The old-style signature-file-per-directory mode is deprecated. β οΈ she still works but bestie she is on her way out, use accordingly.
π OPTIONS π
Various options control what information is printed and the format. let's go one by one, no skipping:
-a,--act,--actionβ prints only the build action information for all entries, or just for the entries you specified.-c,--csigβ prints only the content signature (csig) information for all entries, or just for the specified entries.-d DIRECTORY,--dir=DIRECTORYβ when the signatures are being read from a.dblitefile, or when the-f dbliteor--format=dbliteoptions are in play, this prints info about only the signatures for entries in the specifiedDIRECTORY. very "I only care about this one folder" of you. π-e ENTRY,--entry=ENTRYβ prints information about only the specifiedENTRY. and yes you can stack multiple-eoptions, in which case the info for eachENTRYis printed in the order in which the options are specified on the command line. order matters, bestie, she's not reorganizing your life for you.-f FORMAT,--format=FORMATβ tells her the file(s) to be printed are in the specifiedFORMAT. the legal values are:dbliteβ theSCons.dbliteformat, used by default, and also used when theSConsignFilefunction is called, except when a filename argument ofNoneis given.sconsignβ the format used for an individual.sconsignfile in each directory.
-h,--helpβ prints a help message and exits. the classic. π-i,--implicitβ prints the list of cached implicit dependencies for all entries, or for the specified entries.--rawβ prints a pretty-printed representation of the raw Python dictionary that holds build information about individual entries (both the entry itself and its implicit dependencies). and heads up: an entry's build action is still printed in its usual format either way. β¨-r,--readableβ prints timestamps as a human-readable string, wrapped up in single quotes. cute and legible. π-t,--timestampβ prints the timestamp information for all entries, or for the specified entries.-v,--verboseβ prints labels identifying each field being printed. so you actually know what you're looking at. highly recommend ngl.
πΈ ENVIRONMENT πΈ
SCONS_LIB_DIRβ specifies the directory that contains the SCons Python module directory (e.g./home/aroach/scons-src/SCons). that's where she goes looking. π¦
π SEE ALSO π
The SCons reference (manpage) at https://scons.org/doc/production/HTML/scons-man.html, the SCons User Guide at https://scons.org/doc/production/HTML/scons-user.html, and the SCons source code on GitHub[1]. go read, bestie, she's not gatekeeping. π«Ά
π AUTHORS π
Originally: Steven Knight knight@baldmt.com and Anthony Roach aroach@electriceyeball.com.
Since 2010: The SCons Development Team scons-dev@python.org. the icons who keep it running. β
π NOTES π
- on GitHub
https://github.com/SCons/scons
and that's the whole page, bestie β SCons 4.11.1, dated 08/26/2026. go forth and inspect your signatures, you absolute main character. π β¨π
π¦ where this page comes from
- arch rolling: scons 4.11.1-1 Β· MIT
- fedora 44: python3-scons 4.11.1-1.fc44 Β· MIT AND DocBook-Stylesheet
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms