You are not logged in.

#1 2010-12-06 12:46:31

beroal
Member
From: Ukraine
Registered: 2009-06-07
Posts: 384
Website

"make --jobs=2", an error is lost

Probably as many others I use "makepkg" with "make -j2" to speed up the process. But then error messages are not shown, just "Aborting...". Then I need to switch to "make -j1" in order to see an error. I stumbled upon it 2 times until I realized that an error message is not omitted, but is hidden in the output. Suppose that "make" starts 2 processes, P0 and P1. P0 completes with an error, earlier than P1. So P0 prints the error, then P1 prints a lot of text and the error message is far far away.

This is manageable, but not good. Does anyone have a solution other then to store output and filter it by the word "error"?


we are not condemned to write ugly code

Offline

#2 2010-12-06 12:52:59

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,652
Website

Re: "make --jobs=2", an error is lost

Just go into the build directory and manually run "make -j1" again to get just the error printed out.

Offline

Board footer

Powered by FluxBB