Project

General

Profile

Bug #7492

incremental build fails in $SRC/cmd/localedef

Added by Gordon Ross about 4 years ago. Updated about 4 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:

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

#1

Updated by Gordon Ross about 4 years ago

  • Status changed from New to In Progress
#2

Updated by Gordon Ross about 4 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.

#3

Updated by Electric Monk about 4 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>

Also available in: Atom PDF