Linux › Section P · Compiling software from source › Topic P.3

Applying patches and troubleshooting builds

Sooner or later a source build needs a fix that arrives as a patch, or stops with a wall of error messages. Applying patches correctly and reading build errors from the first real failure, not the last line, turn both situations into routine work.

In this topic

  • What a patch is
  • Reading the paths: the -p option
  • Worked example: applying and reversing a patch
  • When hunks do not apply
  • Patches in Git projects
  • Reading build output
  • Worked example: finding the real error
  • Fixing a missing declaration
  • Missing files and commands
  • Common mistakes to avoid
  • Key takeaways

This topic is part of Wuanberri Pro. Checking your access…

← Previous topicNext topic →