[Nix-dev] Strange build errors

Eelco Dolstra eelco.dolstra at logicblox.com
Wed Jan 30 15:26:22 CET 2013


Hi,

On 30/01/13 15:01, Vladimír Čunát wrote:

> On 01/30/2013 02:46 PM, Peter Simons wrote:
>> yes, this is a bug in Make. For some reason, these kind of errors
>> occur every now and then. I don't know what triggers it either. The
>> only way I know to avoid this issue is to disable parallel building.
> 
> Wouldn't this patch fix it?
> 
> http://old.nabble.com/fix-for-make-gaining-jobserver-tokens-td32720569.html

If I understand it correctly, this only improves the error message from Make, it
doesn't fix the underlying problem.  In the build in question, the actual
problem occurs a bit earlier:

> In file included from /tmp/nix-build-kde-workspace-4.8.4.drv-0/kde-workspace-4.8.4/plasma/generic/runners/kill/killrunner.h:28:0,
>                  from /tmp/nix-build-kde-workspace-4.8.4.drv-0/kde-workspace-4.8.4/plasma/generic/runners/kill/killrunner.cpp:20:
> /tmp/nix-build-kde-workspace-4.8.4.drv-0/kde-workspace-4.8.4/plasma/generic/runners/kill/killrunner_config.h:24:34: fatal error: ui_killrunner_config.h: No such file or directory
> compilation terminated.

BTW, I've seen this error before in KDE.  I disabled parallel building for
kde-workspace-4.7 a while back:

https://github.com/NixOS/nixpkgs/commit/7bfdeb102bdeadb683e583275a9c71b7bc13d936

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list