Project

General

Profile

Actions

Bug #7492

closed

incremental build fails in $SRC/cmd/localedef

Added by Gordon Ross almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
2016-10-22
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

An incremental build fails somewhat randomly like this:

usr/bin/rm -f 8859-1.cm
/usr/bin/perl data/convert_map.pl data/8859-1.TXT > 8859-1.cm
install -s -d -m 755 locale
mkdir native
mkdir: Failed to make directory "native"; File exists
*** Error code 2
dmake: Fatal error: Command failed for target `native'
Current working directory /tank/ws/gwr/illumos-gfx/usr/src/cmd/localedef
*** Error code 1
dmake: Fatal error: Command failed for target `localedef'
Current working directory /tank/ws/gwr/illumos-gfx/usr/src/cmd
Waiting for 13 jobs to finish

Actions #1

Updated by Gordon Ross almost 7 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Gordon Ross almost 7 years ago

The problem here is that the native directory may already exist, and
mkdir was invoked in a way that will fail the make job in that case.

Actions #3

Updated by Electric Monk almost 7 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

git commit 86cd95d530af3f6114d62965ed5d646783015345

commit  86cd95d530af3f6114d62965ed5d646783015345
Author: Gordon Ross <gwr@nexenta.com>
Date:   2016-10-28T18:16:10.000Z

    7492 incremental build fails in $SRC/cmd/localedef
    Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
    Reviewed by: Andy Stormont <astormont@racktopsystems.com>
    Approved by: Matthew Ahrens <mahrens@delphix.com>

Actions

Also available in: Atom PDF