Bug 94944 - build-webkit --gtk fails with Can't exec ""
Summary: build-webkit --gtk fails with Can't exec ""
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: arno.
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-24 09:27 PDT by arno.
Modified: 2012-08-24 10:20 PDT (History)
5 users (show)

See Also:


Attachments
patch proposal (1.44 KB, patch)
2012-08-24 09:33 PDT, arno.
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description arno. 2012-08-24 09:27:56 PDT
Hi,

when trying to build webkit with build-webkit --gtk on a clean repository (for example, just cloned), it fails with 

 % ./Tools/Scripts/build-webkit --gtk
Calling autogen.sh in /home/arno/webkit/WebKit.upstream/WebKitBuild/Release

grep: /home/arno/webkit/WebKit.upstream/WebKitBuild/Release/GNUmakefile: No such file or directory
Can't exec "": No such file or directory at /home/arno/webkit/WebKit.upstream/Tools/Scripts/webkitdirs.pm line 1941.
Calling autogen.sh failed!
Comment 1 arno. 2012-08-24 09:33:59 PDT
Created attachment 160437 [details]
patch proposal

This happens because of unshift(@buildArgs, jhbuildWrapperPrefixIfNeeded()); which adds an empty string as a first argument of @buildArgs. Then, system call tries to execute empty command and fails.
Comment 2 WebKit Review Bot 2012-08-24 10:20:44 PDT
Comment on attachment 160437 [details]
patch proposal

Clearing flags on attachment: 160437

Committed r126597: <http://trac.webkit.org/changeset/126597>
Comment 3 WebKit Review Bot 2012-08-24 10:20:47 PDT
All reviewed patches have been landed.  Closing bug.