fresh install silently fails if bzr id not set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Undecided
|
Dick Hollenbeck |
Bug Description
On a linux machine where bzr has not previously been used (i.e. not a kicad developer box!)
1) Perform a fresh install using the script from here:
http://
2) Observe several thousands lines are output, ending with the following congratulatory output:
All KiCad "--install-
3) Search for the installed executables -- they aren't there. Although modules, templates, doc etc have appeared under /user/local)
Repetition has the same result.
DIAGNOSIS:
Way back around line 37 of the output is this:
bzr: ERROR: Unable to determine your name.
Please, set your name with the 'whoami' command.
E.g. bzr whoami "Your Name <email address hidden>"
make[2]: *** [../.downloads-
After setting bzr name & email with the suggested command, the build runs and installs successfully.
It appears that the incomplete bzr config breaks the build, but the script continues and does not inform the user at the end of the problem.
Note: the default scrollback on many terminals (certainly on mine) is 1000 lines, so the error is lost off the top of the screen. Even if you capture stdout/stderr, you still have to search through a lot of text to find out the problem.
SUGGESTION: abort the build when the error is detected. User can easily issue bzr whoami & reaunch. Or test it during the prerequisites check.
Aside: I'd prefer to use a repository, but the official ubuntu/mint one is 18months old, and the adamwolf PPA is a WIP off a testing branch.
Changed in kicad: | |
status: | Fix Committed → Fix Released |
Please submit a patch.
On 11/06/2013 10:52 AM, Colin Cooper wrote: bazaar. launchpad. net/~kicad- testing- committers/ kicad/testing/ view/head: /scripts/ kicad-install. sh or-update" steps completed, you are up to date. by-cmake/ boost_1_ 54_0/src/ boost-stamp/ boost-bzr_ commit_ boost] Error 3
> Public bug reported:
>
> On a linux machine where bzr has not previously been used (i.e. not a
> kicad developer box!)
>
> 1) Perform a fresh install using the script from here:
> http://
>
> 2) Observe several thousands lines are output, ending with the following congratulatory output:
> All KiCad "--install-
>
> 3) Search for the installed executables -- they aren't there. Although
> modules, templates, doc etc have appeared under /user/local)
>
> Repetition has the same result.
>
>
> DIAGNOSIS:
> Way back around line 37 of the output is this:
>
> bzr: ERROR: Unable to determine your name.
> Please, set your name with the 'whoami' command.
> E.g. bzr whoami "Your Name <email address hidden>"
> make[2]: *** [../.downloads-
>
> After setting bzr name & email with the suggested command, the build
> runs and installs successfully.
>
> It appears that the incomplete bzr config breaks the build, but the
> script continues and does not inform the user at the end of the problem.
>
> Note: the default scrollback on many terminals (certainly on mine) is
> 1000 lines, so the error is lost off the top of the screen. Even if you
> capture stdout/stderr, you still have to search through a lot of text to
> find out the problem.
>
>
> SUGGESTION: abort the build when the error is detected. User can easily issue bzr whoami & reaunch. Or test it during the prerequisites check.
>
> Aside: I'd prefer to use a repository, but the official ubuntu/mint one
> is 18months old, and the adamwolf PPA is a WIP off a testing branch.
>
> ** Affects: kicad
> Importance: Undecided
> Status: New
>