Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jul 2009 22:49:41 -0700
From:      Alfred Perlstein <alfred@freebsd.org>
To:        current@freebsd.org
Subject:   weird world break in mklocale
Message-ID:  <20090725054941.GB21885@elvis.mu.org>

next in thread | raw e-mail | index | archive | help
Hey guys,

Anyone see a build break in mklocale? 

===> share/mk (all)
===> share/mklocale (all)
mklocale -o am_ET.UTF-8.out /vol/mac/src/share/mklocale/am_ET.UTF-8.src
am_ET.UTF-8.out: Inappropriate ioctl for device
*** Error code 1

Stop in /vol/mac/src/share/mklocale.
*** Error code 1

Running truss shows:
munmap(0x800786000,499712)                       = 0 (0x0)
ioctl(0,TIOCGETA,0xffffe7a0)                     ERR#25 'Inappropriate ioctl for device'
fstat(0,{ mode=-rw-r--r-- ,inode=1700562,size=1092,blksize=4096 }) = 0 (0x0)
read(0,"/*\n * Amharic Language (Ethiopi"...,4096) = 1092 (0x444)
read(0,0x80081b000,4096)                         = 0 (0x0)
ioctl(0,TIOCGETA,0xffffe780)                     ERR#25 'Inappropriate ioctl for device'
fstat(3,{ mode=-rw-r--r-- ,inode=12007044,size=0,blksize=4096 }) = 0 (0x0)
stat("/usr/share/nls/C/libc.cat",0x7fffffffdaa0) ERR#2 'No such file or directory'
stat("/usr/share/nls/libc/C",0x7fffffffdaa0)     ERR#2 'No such file or directory'
stat("/usr/local/share/nls/C/libc.cat",0x7fffffffdaa0) ERR#2 'No such file or directory'
stat("/usr/local/share/nls/libc/C",0x7fffffffdaa0) ERR#2 'No such file or directory'
am_ET.UTF-8.out: Inappropriate ioctl for device
writev(0x2,0x7fffffffdfe0,0x4,0x1e,0x0,0x800800458) = 48 (0x30)
unlink("am_ET.UTF-8.out")                        = 0 (0x0)

Should the build be calling mklocale from /usr/bin?  Or calling it out of the
object tree?  If I use the mklocale binary from /usr/obj/... it works fine.

Am I missing something?


-- 
- Alfred Perlstein
VMOA #5191, 03 vmax, 92 gs500, ch250 - FreeBSD



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090725054941.GB21885>