On 07/02/2013 09:40 PM, Alain Kalker wrote:
For debugging PKGBUILDs, and for reporting build failures upstream,
it is very important to know the exact commands that are executed
leading up to a problem.
By using `set -x` and an appropriate value for PS4, commands are
logged before they are executed.
An example logfile snippet which hopefully shows the usefulness of this patch:

---[file: libxcb-1.9.1-1-x86_64-build.log]---
$ cd /home/miki/pkg/abs/extra/libxcb/src/libxcb-1.9.1
$ patch -Np1 -i /home/miki/pkg/abs/extra/libxcb/src/libxcb-1.1-no-pthread-stubs.patch
patching file configure.ac
Hunk #1 succeeded at 42 (offset 7 lines).
$ patch -Np1 -i /home/miki/pkg/abs/extra/libxcb/src/libxcb-1.9.1-configure-ac-reorder.patch
patching file configure.ac
$ ./autogen.sh --prefix=/usr --enable-xinput --enable-xkb --disable-static
autoreconf: Entering directory `.'
[...]
---[end: libxcb-1.9.1-1-x86_64-build.log]---

Kind regards,

Alain Kalker

Reply via email to