POedit freezes after pressing save buttton

RayCherng Yu raycherng at gmail.com
Mon Feb 8 14:42:48 UTC 2016


bash was not found in my system.

$ pkg info -ix bash
pkg: No package(s) matching bash


truss to trace msgfmt? Is this usage correct?

$truss msgfmt -o /dev/null -c
"/usr/home/raycherng/doc/zh_TW.UTF-8/books/porters-handbook/zh_TW.po"
mmap(0x0,32768,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =
34366226432 (0x800630000)
issetugid()                                      = 0 (0x0)
__sysctl(0x7fffffffdd58,0x2,0x8008302c8,0x7fffffffdd50,0x0,0x0) = 0 (0x0)
__sysctl(0x7fffffffdd58,0x2,0x8008303c8,0x7fffffffdd50,0x0,0x0) = 0 (0x0)
__sysctl(0x7fffffffdd58,0x2,0x8008304c8,0x7fffffffdd50,0x0,0x0) = 0 (0x0)
__sysctl(0x7fffffffdd58,0x2,0x8008305c8,0x7fffffffdd50,0x0,0x0) = 0 (0x0)
__sysctl(0x7fffffffdd58,0x2,0x8008306c8,0x7fffffffdd50,0x0,0x0) = 0 (0x0)
lstat("/etc",{ mode=drwxr-xr-x ,inode=21027072,size=2560,blksize=32768 }) =
0 (0x0)
lstat("/etc/libmap.conf",{ mode=-rw-r--r--
,inode=21027103,size=102,blksize=32768 }) = 0 (0x0)
openat(AT_FDCWD,"/etc/libmap.conf",O_CLOEXEC,00) = 3 (0x3)
fstat(3,{ mode=-rw-r--r-- ,inode=21027103,size=102,blksize=32768 }) = 0
(0x0)
mmap(0x0,102,PROT_READ,MAP_PRIVATE,3,0x0)        = 34366259200 (0x800638000)
close(3)                                         = 0 (0x0)
lstat("/usr",{ mode=drwxr-xr-x ,inode=10754304,size=512,blksize=32768 }) =
0 (0x0)
lstat("/usr/local",{ mode=drwxr-xr-x ,inode=10834561,size=512,blksize=32768
}) = 0 (0x0)
lstat("/usr/local/etc",{ mode=drwxr-xr-x
,inode=10916754,size=1536,blksize=32768 }) = 0 (0x0)
lstat("/usr/local/etc/libmap.d",0x7fffffffc408)  ERR#2 'No such file or
directory'
munmap(0x800638000,102)                          = 0 (0x0)
access("/usr/local/lib/libgettextsrc-0.19.6.so",F_OK) = 0 (0x0)
openat(AT_FDCWD,"/usr/local/lib/libgettextsrc-0.19.6.so",O_CLOEXEC|O_VERIFY,00)
= 3 (0x3)
fstat(3,{ mode=-rwxr-xr-x ,inode=10938702,size=291368,blksize=32768 }) = 0
(0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 34366259200
(0x800638000)
mmap(0x0,2387968,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) =
34368327680 (0x800831000)
mmap(0x800831000,282624,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0)
= 34368327680 (0x800831000)
mmap(0x800a76000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x45000)
= 34370707456 (0x800a76000)
munmap(0x800638000,4096)                         = 0 (0x0)
close(3)                                         = 0 (0x0)
access("/usr/local/lib/libgettextlib-0.19.6.so",F_OK) = 0 (0x0)
openat(AT_FDCWD,"/usr/local/lib/libgettextlib-0.19.6.so",O_CLOEXEC|O_VERIFY,00)
= 3 (0x3)
fstat(3,{ mode=-rwxr-xr-x ,inode=10938696,size=1498488,blksize=32768 }) = 0
(0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 34366259200
(0x800638000)
mmap(0x0,3604480,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) =
34370715648 (0x800a78000)
mmap(0x800a78000,1474560,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0)
= 34370715648 (0x800a78000)
mmap(0x800ddf000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x167000)
= 34374283264 (0x800ddf000)
mmap(0x800de6000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0)
= 34374311936 (0x800de6000)
munmap(0x800638000,4096)                         = 0 (0x0)
close(3)                                         = 0 (0x0)
access("/usr/local/lib/libexpat.so.1",F_OK)      = 0 (0x0)
openat(AT_FDCWD,"/usr/local/lib/libexpat.so.1",O_CLOEXEC|O_VERIFY,00) = 3
(0x3)
fstat(3,{ mode=-rwxr-xr-x ,inode=10920940,size=177811,blksize=32768 }) = 0
(0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 34366259200
(0x800638000)
mmap(0x0,2256896,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) =
34374320128 (0x800de8000)
mmap(0x800de8000,151552,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0)
= 34374320128 (0x800de8000)
mmap(0x80100d000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x25000)
= 34376568832 (0x80100d000)
munmap(0x800638000,4096)                         = 0 (0x0)
close(3)                                         = 0 (0x0)
access("/usr/local/lib/libintl.so.8",F_OK)       = 0 (0x0)
openat(AT_FDCWD,"/usr/local/lib/libintl.so.8",O_CLOEXEC|O_VERIFY,00) = 3
(0x3)
fstat(3,{ mode=-rw-r--r-- ,inode=10920795,size=51133,blksize=32768 }) = 0
(0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 34366259200
(0x800638000)
mmap(0x0,2138112,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) =
34376577024 (0x80100f000)
mmap(0x80100f000,36864,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0)
= 34376577024 (0x80100f000)
mmap(0x801218000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x9000)
= 34378711040 (0x801218000)
munmap(0x800638000,4096)                         = 0 (0x0)
close(3)                                         = 0 (0x0)
access("/usr/local/lib/libncurses.so.8",F_OK)    ERR#2 'No such file or
directory'
openat(AT_FDCWD,"/var/run/ld-elf.so.hints",O_CLOEXEC,00) = 3 (0x3)
read(3,"Ehnt\^A\0\0\0\M^@\0\0\0\M^S\0\0"...,128) = 128 (0x80)
lseek(3,0x80,SEEK_SET)                           = 128 (0x80)
read(3,"/lib:/usr/lib:/usr/lib/compat:/u"...,147) = 147 (0x93)
close(3)                                         = 0 (0x0)
access("/lib/libncurses.so.8",F_OK)              = 0 (0x0)
openat(AT_FDCWD,"/lib/libncurses.so.8",O_CLOEXEC|O_VERIFY,00) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=31861681,size=338656,blksize=32768 }) = 0
(0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 34366259200
(0x800638000)
mmap(0x0,2437120,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) =
34378715136 (0x801219000)
mmap(0x801219000,319488,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0)
= 34378715136 (0x801219000)
mmap(0x801467000,20480,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x4e000)
= 34381131776 (0x801467000)
munmap(0x800638000,4096)                         = 0 (0x0)
close(3)                                         = 0 (0x0)
access("/usr/local/lib/libc.so.7",F_OK)          ERR#2 'No such file or
directory'
access("/lib/libc.so.7",F_OK)                    = 0 (0x0)
openat(AT_FDCWD,"/lib/libc.so.7",O_CLOEXEC|O_VERIFY,00) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=31861669,size=1717416,blksize=32768 }) = 0
(0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 34366259200
(0x800638000)
mmap(0x0,3862528,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) =
34381152256 (0x80146c000)
mmap(0x80146c000,1609728,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0)
= 34381152256 (0x80146c000)
mmap(0x8017f5000,49152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x189000)
= 34384859136 (0x8017f5000)
mmap(0x801801000,106496,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0)
= 34384908288 (0x801801000)
munmap(0x800638000,4096)                         = 0 (0x0)
close(3)                                         = 0 (0x0)
mmap(0x0,40960,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =
34366259200 (0x800638000)
munmap(0x80063b000,28672)                        = 0 (0x0)
mmap(0x0,69632,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =
34366271488 (0x80063b000)
munmap(0x800648000,16384)                        = 0 (0x0)
mmap(0x0,102400,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =
34366324736 (0x800648000)
sysarch(AMD64_SET_FSBASE,0x7fffffffddd8)         = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
readlink("/etc/malloc.conf",0x7fffffffd4e0,1024) ERR#2 'No such file or
directory'
issetugid()                                      = 0 (0x0)
mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =
34385014784 (0x80181b000)
munmap(0x80181b000,2097152)                      = 0 (0x0)
mmap(0x0,4190208,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =
34385014784 (0x80181b000)
munmap(0x80181b000,1986560)                      = 0 (0x0)
munmap(0x801c00000,106496)                       = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =
34389098496 (0x801c00000)
open("/usr/share/locale/zh_TW.UTF-8/LC_COLLATE",O_RDONLY,037777756710) = 3
(0x3)
fstat(3,{ mode=-r--r--r-- ,inode=11637466,size=324384,blksize=32768 }) = 0
(0x0)
mmap(0x0,324384,PROT_READ,MAP_PRIVATE,3,0x0)     = 34366427136 (0x800661000)
close(3)                                         = 0 (0x0)
open("/usr/share/locale/zh_TW.UTF-8/LC_CTYPE",O_RDONLY,037777756650) = 3
(0x3)
fstat(3,{ mode=-r--r--r-- ,inode=11403837,size=37976,blksize=32768 }) = 0
(0x0)
mmap(0x0,37976,PROT_READ,MAP_PRIVATE,3,0x0)      = 34366754816 (0x8006b1000)
close(3)                                         = 0 (0x0)
munmap(0x8006b1000,37976)                        = 0 (0x0)
open("/usr/share/locale/zh_TW.UTF-8/LC_MONETARY",O_CLOEXEC,013720646000) =
3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=11637469,size=34,blksize=32768 }) = 0 (0x0)
read(3,"TWD \nNT$\n.\n,\n3\n\n-\n2\n2\n1"...,34) = 34 (0x22)
close(3)                                         = 0 (0x0)
open("/usr/share/locale/zh_TW.UTF-8/LC_NUMERIC",O_CLOEXEC,046000) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=11403834,size=6,blksize=32768 }) = 0 (0x0)
read(3,".\n,\n3\n",6)                            = 6 (0x6)
close(3)                                         = 0 (0x0)
open("/usr/share/locale/zh_TW.UTF-8/LC_TIME",O_CLOEXEC,00) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=11637467,size=428,blksize=32768 }) = 0
(0x0)
read(3," 1\M-f\M^\\M^H\n 2\M-f\M^\\M^H\n"...,428) = 428 (0x1ac)
close(3)                                         = 0 (0x0)
open("/usr/share/locale/zh_TW.UTF-8/LC_MESSAGES",O_CLOEXEC,057000) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=11637471,size=120,blksize=32768 }) = 0
(0x0)
read(3,"^((\M-f\M^X\M-/)|(\M-g\M-"\M-:"...,120)  = 120 (0x78)
close(3)                                         = 0 (0x0)
open("/usr/home/raycherng/doc/zh_TW.UTF-8/books/porters-handbook/zh_TW.po",O_RDONLY,0666)
= 3 (0x3)
fstat(3,{ mode=-rw-r--r-- ,inode=13724033,size=994488,blksize=32768 }) = 0
(0x0)
read(3,"#$FreeBSD$\nmsgid ""\nmsgstr """...,32768) = 32768 (0x8000)
issetugid()                                      = 0 (0x0)
open("/usr/lib/i18n",O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,020040100200) = 4
(0x4)
fstatfs(4,{ fstypename=ufs,mntonname=/,mntfromname=/dev/ada0p2,fsid= }) = 0
(0x0)
getdirentries(0x4,0x801c40000,0x1000,0x801c65028) = 1144 (0x478)
getdirentries(0x4,0x801c40000,0x1000,0x801c65028) = 0 (0x0)
close(4)                                         = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
openat(AT_FDCWD,"/usr/lib/i18n/libiconv_std.so.4",O_CLOEXEC|O_VERIFY,00) =
4 (0x4)
fstat(4,{ mode=-r--r--r-- ,inode=11396382,size=8864,blksize=32768 }) = 0
(0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,4,0x0) = 34366754816
(0x8006b1000)
mmap(0x0,2105344,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) =
34391195648 (0x801e00000)
mmap(0x801e00000,8192,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,4,0x0)
= 34391195648 (0x801e00000)
mmap(0x802001000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,4,0x1000)
= 34393296896 (0x802001000)
munmap(0x8006b1000,4096)                         = 0 (0x0)
close(4)                                         = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
open("/usr/share/i18n/esdb/esdb.alias.db",O_CLOEXEC,037777710210) = 4 (0x4)
fstat(4,{ mode=-r--r--r-- ,inode=11398461,size=29856,blksize=32768 }) = 0
(0x0)
mmap(0x0,29856,PROT_READ,MAP_PRIVATE,4,0x0)      = 34366754816 (0x8006b1000)
close(4)                                         = 0 (0x0)
munmap(0x8006b1000,29856)                        = 0 (0x0)
open("/usr/share/i18n/esdb/esdb.dir.db",O_CLOEXEC,037777710210) = 4 (0x4)
fstat(4,{ mode=-r--r--r-- ,inode=11398453,size=13440,blksize=32768 }) = 0
(0x0)
mmap(0x0,13440,PROT_READ,MAP_PRIVATE,4,0x0)      = 34366754816 (0x8006b1000)
close(4)                                         = 0 (0x0)
munmap(0x8006b1000,13440)                        = 0 (0x0)
open("/usr/share/i18n/esdb/UTF/UTF-8.esdb",O_CLOEXEC,037777712470) = 4 (0x4)
fstat(4,{ mode=-r--r--r-- ,inode=11398598,size=368,blksize=32768 }) = 0
(0x0)
mmap(0x0,368,PROT_READ,MAP_PRIVATE,4,0x0)        = 34366754816 (0x8006b1000)
close(4)                                         = 0 (0x0)
munmap(0x8006b1000,368)                          = 0 (0x0)
open("/usr/share/i18n/esdb/esdb.alias.db",O_CLOEXEC,037777710210) = 4 (0x4)
fstat(4,{ mode=-r--r--r-- ,inode=11398461,size=29856,blksize=32768 }) = 0
(0x0)
mmap(0x0,29856,PROT_READ,MAP_PRIVATE,4,0x0)      = 34366754816 (0x8006b1000)
close(4)                                         = 0 (0x0)
munmap(0x8006b1000,29856)                        = 0 (0x0)
open("/usr/share/i18n/esdb/esdb.dir.db",O_CLOEXEC,037777710210) = 4 (0x4)
fstat(4,{ mode=-r--r--r-- ,inode=11398453,size=13440,blksize=32768 }) = 0
(0x0)
mmap(0x0,13440,PROT_READ,MAP_PRIVATE,4,0x0)      = 34366754816 (0x8006b1000)
close(4)                                         = 0 (0x0)
munmap(0x8006b1000,13440)                        = 0 (0x0)
open("/usr/share/i18n/esdb/UTF/UTF-8.esdb",O_CLOEXEC,037777712470) = 4 (0x4)
fstat(4,{ mode=-r--r--r-- ,inode=11398598,size=368,blksize=32768 }) = 0
(0x0)
mmap(0x0,368,PROT_READ,MAP_PRIVATE,4,0x0)        = 34366754816 (0x8006b1000)
close(4)                                         = 0 (0x0)
munmap(0x8006b1000,368)                          = 0 (0x0)
open("/usr/lib/i18n",O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,025247313223) = 4
(0x4)
fstatfs(4,{ fstypename=ufs,mntonname=/,mntfromname=/dev/ada0p2,fsid= }) = 0
(0x0)
getdirentries(0x4,0x801c40000,0x1000,0x801c65028) = 1144 (0x478)
getdirentries(0x4,0x801c40000,0x1000,0x801c65028) = 0 (0x0)
close(4)                                         = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
openat(AT_FDCWD,"/usr/lib/i18n/libUTF8.so.4",O_CLOEXEC|O_VERIFY,00) = 4
(0x4)
fstat(4,{ mode=-r--r--r-- ,inode=11396364,size=7104,blksize=32768 }) = 0
(0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,4,0x0) = 34366754816
(0x8006b1000)
mmap(0x0,2105344,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) =
34393300992 (0x802002000)
mmap(0x802002000,8192,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,4,0x0)
= 34393300992 (0x802002000)
mmap(0x802203000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,4,0x1000)
= 34395402240 (0x802203000)
munmap(0x8006b1000,4096)                         = 0 (0x0)
close(4)                                         = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
open("/usr/lib/i18n",O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,025247313223) = 4
(0x4)
fstatfs(4,{ fstypename=ufs,mntonname=/,mntfromname=/dev/ada0p2,fsid= }) = 0
(0x0)
getdirentries(0x4,0x801c40000,0x1000,0x801c65028) = 1144 (0x478)
getdirentries(0x4,0x801c40000,0x1000,0x801c65028) = 0 (0x0)
close(4)                                         = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
stat("/usr/share/i18n/csmapper/mapper.dir",{ mode=-r--r--r--
,inode=11397992,size=46144,blksize=32768 }) = 0 (0x0)
open("/usr/share/i18n/csmapper/charset.alias.db",O_CLOEXEC,037777676230)
ERR#2 'No such file or directory'
open("/usr/share/i18n/csmapper/charset.alias",O_CLOEXEC,037777777777) ERR#2
'No such file or directory'
open("/usr/share/i18n/csmapper/charset.alias.db",O_CLOEXEC,037777676230)
ERR#2 'No such file or directory'
open("/usr/share/i18n/csmapper/charset.alias",O_CLOEXEC,037777777777) ERR#2
'No such file or directory'
open("/usr/lib/i18n",O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,020040100200) = 4
(0x4)
fstatfs(4,{ fstypename=ufs,mntonname=/,mntfromname=/dev/ada0p2,fsid= }) = 0
(0x0)
getdirentries(0x4,0x801c40000,0x1000,0x801c65028) = 1144 (0x478)
getdirentries(0x4,0x801c40000,0x1000,0x801c65028) = 0 (0x0)
close(4)                                         = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
openat(AT_FDCWD,"/usr/lib/i18n/libmapper_none.so.4",O_CLOEXEC|O_VERIFY,00)
= 4 (0x4)
fstat(4,{ mode=-r--r--r-- ,inode=11396373,size=4560,blksize=32768 }) = 0
(0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,4,0x0) = 34366754816
(0x8006b1000)
mmap(0x0,2101248,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) =
34395406336 (0x802204000)
mmap(0x802204000,4096,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,4,0x0)
= 34395406336 (0x802204000)
mmap(0x802404000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,4,0x0)
= 34397503488 (0x802404000)
munmap(0x8006b1000,4096)                         = 0 (0x0)
close(4)                                         = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
read(3,".mk</filename>. Please use these"...,32768) = 32768 (0x8000)
read(3,"eason for <varname>PORTNAME</var"...,32768) = 32768 (0x8000)
read(3,"k.translate.xml:2286\nmsgid "HTM"...,32768) = 32768 (0x8000)
read(3,"ks in a way very similar to <xre"...,32768) = 32768 (0x8000)
read(3,"ively. For instance, both <_:bui"...,32768) = 32768 (0x8000)
read(3,"e.xml:4615\nmsgid "The problem w"...,32768) = 32768 (0x8000)
read(3,"PT</replaceable>_PREVENTS</varna"...,32768) = 32768 (0x8000)
read(3,"re/examples/PORTNAME</filename>."...,32768) = 32768 (0x8000)
read(3,"LDING</varname> are set."\nmsgst"...,32768) = 32768 (0x8000)
read(3,"ependencies or the handling of s"...,32768) = 32768 (0x8000)
read(3,"row/entry\n#: book.translate.xml"...,32768) = 32768 (0x8000)
read(3,"90\nmsgid "Path to the <command>"...,32768) = 32768 (0x8000)
read(3,"name>USE_RUBY_EXTCONF</varname>""...,32768) = 32768 (0x8000)
mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =
34397507584 (0x802405000)
munmap(0x802405000,2097152)                      = 0 (0x0)
mmap(0x0,4190208,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =
34397507584 (0x802405000)
munmap(0x802405000,2076672)                      = 0 (0x0)
munmap(0x802800000,16384)                        = 0 (0x0)
read(3,"th: row/entry\n#: book.translate"...,32768) = 32768 (0x8000)
read(3,"dit the resulting file, do so in"...,32768) = 32768 (0x8000)
read(3,"str ""\n\n#. (itstool) path: exa"...,32768) = 32768 (0x8000)
read(3," -j <replaceable>JAILNAME</repla"...,32768) = 32768 (0x8000)
read(3,"ut>svn status</userinput>\\n"\n""...,32768) = 32768 (0x8000)
read(3,"str ""\n\n#. (itstool) path: sec"...,32768) = 32768 (0x8000)
read(3,":href=\\"http://www.FreshPorts.o"...,32768) = 32768 (0x8000)
read(3,"ml:16297\nmsgid "<varname>GSSAPI"...,32768) = 32768 (0x8000)
read(3,"GIN_DIR</varname>: The directory"...,32768) = 32768 (0x8000)
read(3,"r ""\n\n#. (itstool) path: row/e"...,32768) = 32768 (0x8000)
read(3,"path: row/entry\n#: book.transla"...,32768) = 32768 (0x8000)
read(3,"th: row/entry\n#: book.translate"...,32768) = 32768 (0x8000)
read(3,"d <citerefentry><refentrytitle>V"...,32768) = 32768 (0x8000)
read(3,""\nmsgstr ""\n\n#. (itstool) pat"...,32768) = 32768 (0x8000)
mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =
34401681408 (0x802800000)
read(3,"tool) path: row/entry\n#: book.t"...,32768) = 32768 (0x8000)
read(3,"ot <citerefentry><refentrytitle>"...,32768) = 32768 (0x8000)
read(3,"ry\n#: book.translate.xml:22948"...,32768) = 11448 (0x2cb8)
read(3,0x801c55600,32768)                        = 0 (0x0)
close(3)                                         = 0 (0x0)
getuid()                                         = 1001 (0x3e9)
geteuid()                                        = 1001 (0x3e9)
getgid()                                         = 1001 (0x3e9)
getegid()                                        = 1001 (0x3e9)
open("/usr/local/share/locale/locale.alias",O_RDONLY,0666) = 3 (0x3)
fstat(3,{ mode=-rw-r--r-- ,inode=10920878,size=3102,blksize=32768 }) = 0
(0x0)
read(3,"# Locale name alias data base.\n"...,32768) = 3102 (0xc1e)
read(3,0x801c55600,32768)                        = 0 (0x0)
close(3)                                         = 0 (0x0)
openat(AT_FDCWD,"/usr/local/share/locale/zh_TW.UTF-8/LC_MESSAGES/gettext-tools.mo",O_RDONLY,00)
ERR#2 'No such file or directory'
openat(AT_FDCWD,"/usr/local/share/locale/zh_TW.utf8/LC_MESSAGES/gettext-tools.mo",O_RDONLY,00)
ERR#2 'No such file or directory'
openat(AT_FDCWD,"/usr/local/share/locale/zh_TW/LC_MESSAGES/gettext-tools.mo",O_RDONLY,00)
= 3 (0x3)
fstat(3,{ mode=-rw-r--r-- ,inode=10938793,size=62576,blksize=32768 }) = 0
(0x0)
mmap(0x0,62576,PROT_READ,MAP_PRIVATE,3,0x0)      = 34366754816 (0x8006b1000)
close(3)                                         = 0 (0x0)
openat(AT_FDCWD,"/usr/local/share/locale/zh.UTF-8/LC_MESSAGES/gettext-tools.mo",O_RDONLY,00)
ERR#2 'No such file or directory'
openat(AT_FDCWD,"/usr/local/share/locale/zh.utf8/LC_MESSAGES/gettext-tools.mo",O_RDONLY,00)
ERR#2 'No such file or directory'
openat(AT_FDCWD,"/usr/local/share/locale/zh/LC_MESSAGES/gettext-tools.mo",O_RDONLY,00)
ERR#2 'No such file or directory'
openat(AT_FDCWD,"/usr/local/lib/charset.alias",O_NOFOLLOW,00) = 3 (0x3)
fcntl(3,F_GETFL,)                                = 0 (0x0)
fstat(3,{ mode=-rw-r--r-- ,inode=10926389,size=643,blksize=32768 }) = 0
(0x0)
read(3,"# This file contains a table of "...,32768) = 643 (0x283)
read(3,0x801c55600,32768)                        = 0 (0x0)
close(3)                                         = 0 (0x0)
/usr/home/raycherng/doc/zh_TW.UTF-8/books/porters-handbook/zh_TW.po:3:
警告:write(2,"/usr/home/raycherng/doc/zh_TW.UT"...,80) = 80 (0x50)
header field 'Project-Id-Version' still has the initial default value
write(2,"header field 'Project-Id-Version"...,70) = 70 (0x46)
/usr/home/raycherng/doc/zh_TW.UTF-8/books/porters-handbook/zh_TW.po:3:
警告:write(2,"/usr/home/raycherng/doc/zh_TW.UT"...,80) = 80 (0x50)
header field 'PO-Revision-Date' still has the initial default value
write(2,"header field 'PO-Revision-Date' "...,68) = 68 (0x44)
/usr/home/raycherng/doc/zh_TW.UTF-8/books/porters-handbook/zh_TW.po:3:
警告:write(2,"/usr/home/raycherng/doc/zh_TW.UT"...,80) = 80 (0x50)
header field 'Last-Translator' still has the initial default value
write(2,"header field 'Last-Translator' s"...,67) = 67 (0x43)
/usr/home/raycherng/doc/zh_TW.UTF-8/books/porters-handbook/zh_TW.po:3:
警告:write(2,"/usr/home/raycherng/doc/zh_TW.UT"...,80) = 80 (0x50)
header field 'Language-Team' still has the initial default value
write(2,"header field 'Language-Team' sti"...,65) = 65 (0x41)
open("/dev/null",O_WRONLY|O_CREAT|O_TRUNC,0666)  = 3 (0x3)
fstat(3,{ mode=crw-rw-rw- ,inode=23,size=0,blksize=4096 }) = 0 (0x0)
ioctl(3,TIOCGETA,0xffffdf60)                     ERR#25 'Inappropriate
ioctl for device'
write(3,"\M-^\^R\^D\M^U\0\0\0\0\^A\0\0\0"...,360) = 360 (0x168)
close(3)                                         = 0 (0x0)
close(1)                                         = 0 (0x0)
close(2)                                         = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
sigprocmask(SIG_BLOCK,{
SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)
process exit, rval = 0


2016-02-08 10:33 GMT+08:00 Warren Block <wblock at wonkity.com>:

> On Mon, 8 Feb 2016, RayCherng Yu wrote:
>
> I do have /tmp.
>> $ls -l /
>> total 73
>> drwxr-xr-x   2 root  wheel  1024  1月 28 00:19 bin
>> drwxr-xr-x   8 root  wheel  1536  2月  7 14:24 boot
>> drwxr-xr-x   3 root  wheel   512  2月  2 17:15 compat
>> -r--r--r--   1 root  wheel  6190  1月 28 00:21 COPYRIGHT
>> dr-xr-xr-x  11 root  wheel   512  2月  8 10:05 dev
>> -rw-r--r--   1 root  wheel  4096  2月  8 02:05 entropy
>> drwxr-xr-x  25 root  wheel  2560  2月  4 04:28 etc
>> lrwxr-xr-x   1 root  wheel     8  2月  1 14:16 home -> usr/home
>> drwxr-xr-x   3 root  wheel  1536  1月 28 00:20 lib
>> drwxr-xr-x   4 root  wheel   512  2月  1 22:05 libexec
>> drwxr-xr-x   2 root  wheel   512  1月 28 00:18 media
>> drwxr-xr-x   2 root  wheel   512  1月 28 00:18 mnt
>> dr-xr-xr-x   2 root  wheel   512  1月 28 00:18 proc
>> drwxr-xr-x   2 root  wheel  2560  1月 28 00:20 rescue
>> drwxr-xr-x   2 root  wheel   512  2月  7 14:20 root
>> drwxr-xr-x   2 root  wheel  2560  1月 28 00:21 sbin
>> lrwxr-xr-x   1 root  wheel    11  1月 28 00:21 sys -> usr/src/sys
>> drwxrwxrwt  11 root  wheel   512  2月  8 02:07 tmp
>> drwxr-xr-x  16 root  wheel   512  2月  4 15:16 usr
>> drwxr-xr-x  25 root  wheel   512  2月  8 10:05 var
>>
>>
>> Maybe I don't have bash. The shell I installed is tcsh. How can I check
>> if bash is installed?
>>
>
> I don't know if it needs bash, just trying to think of ways that it might
> fail to run an external program.  'pkg info -ix bash' will show if bash is
> installed.
>
> We can probably figure out what it is doing (or trying to do) with
> truss(1).
>
>
> 2016-02-08 8:38 GMT+08:00 Warren Block <wblock at wonkity.com>:
>>       On Sun, 7 Feb 2016, RayCherng Yu wrote:
>>
>>             $msgfmt -o /dev/null -c
>> "/usr/home/raycherng/doc/zh_TW.UTF-8/books/porters-handbook/zh_TW.po"
>>
>>
>> /usr/home/raycherng/doc/zh_TW.UTF-8/books/porters-handbook/zh_TW.po:3:
>> 警告:header field 'Project-Id-Version' still has the initial default value
>>
>> /usr/home/raycherng/doc/zh_TW.UTF-8/books/porters-handbook/zh_TW.po:3:
>> 警告:header field 'PO-Revision-Date' still has the initial default value
>>
>> /usr/home/raycherng/doc/zh_TW.UTF-8/books/porters-handbook/zh_TW.po:3:
>> 警告:header field 'Last-Translator' still has the initial default value
>>
>> /usr/home/raycherng/doc/zh_TW.UTF-8/books/porters-handbook/zh_TW.po:3:
>> 警告:header field 'Language-Team' still has the initial default value
>>
>>
>>
>>             "警告" means warning.
>>
>>
>>       Those are all warnings about the file content, which is fine, and
>> shows that msgfmt can actually run.
>>
>>       I can think of a few things that could be a problem.  Maybe the
>> temporary file that poedit tries to check can't be created.  This could be
>> due to permissions on /tmp (or
>>       maybe no /tmp).  Or maybe poedit is trying to run it with a shell
>> that is not installed (bash?)?
>>
>>             2016-02-07 7:23 GMT+08:00 Warren Block <wblock at wonkity.com>:
>>                   On Sun, 7 Feb 2016, RayCherng Yu wrote:
>>
>>                         Yes, /usr/local/bin/msgfmt is present.
>>
>>                         $ls -al /usr/local/bin/msgfmt
>>                         -rwxr-xr-x  1 root  wheel  73960  1月 29 13:16
>> /usr/local/bin/msgfmt
>>
>>                         gettexts-tools is installed.
>>
>>                         $pkg info|grep gettext-tools
>>                         gettext-tools-0.19.6           GNU gettext
>> development and translation tools
>>
>>
>>                   Can you run msgfmt manually?
>>
>>                     msgfmt -o /dev/null -c
>> "/usr/home/raycherng/doc/zh_TW.UTF-8/books/porters-handbook/zh_TW.po"
>>
>>                   Maybe this is due to a permissions problem or a
>> security setting?
>>
>>                         2016-02-05 1:09 GMT+08:00 Warren Block <
>> wblock at wonkity.com>:
>>                               On Fri, 5 Feb 2016, RayCherng Yu wrote:
>>
>>                                     My VM has 4gb RAM and 20gb hardisk.I
>> forgot how much swapspace it had. I think it has enough swap space because
>> I installed FreeBSD 10.2
>>             with
>>                         automatic disk
>>                                     allocation to entire disk
>>                                     space.
>>
>>
>>                                     I deleted that vm and created a new
>> one in order to test the xfce logout menu option but I have not installed
>> xwindow and xfce for that
>>             vm yet so I
>>                         can't test it
>>                                     now.
>>
>>                                     I tested poedit again 30 minute ago
>> on another machine(2008 macbook, FreeBSD 11-CURRENT with xwindow and KDE
>> installed). I make po to
>>             create a fresh
>>                         po file and
>>                                     translate the "FreeBSD
>>                                     Porter's Handbook" to "FreeBSD
>> Porter"(delete several).Then,pressed save button.I got this error message:
>>
>>                                     無法執行程式:msgfmt -o /dev/null -c
>> "/usr/home/raycherng/doc/zh_TW.UTF-8/books/porters-handbook/zh_TW.temp.po"
>>
>>                                     The Chinese message means "Cannot
>> run:"
>>
>>                                     My poedit version is:
>>
>>                                     poedit-1.8.4_1
>> Gettext catalogs (.po files) editor
>>
>>
>>                               It appears to be using msgfmt just to check
>> the output.  Is /usr/local/bin/msgfmt present?  It is part of the
>> devel/gettext-tools port.  Is
>>             that port or
>>                         package installed?
>>
>>
>>
>>
>>                         --
>>                         "Life is like a snowball. The important thing is
>> finding wet snow and a really long hill."
>>
>>                         "Price is what you pay. Value is what you get."
>>
>>                         "The first rule of Investing is don't lose money;
>> the second rule is don't forget rule #1..."
>>
>>                         "Wall Street is the only place that people ride
>> to work in a Rolls-Royce to get advice from those who take the subway..."
>>
>>
>>
>> — Warren Buffett.
>>
>>
>>
>>
>>             --
>>             "Life is like a snowball. The important thing is finding wet
>> snow and a really long hill."
>>
>>             "Price is what you pay. Value is what you get."
>>
>>             "The first rule of Investing is don't lose money; the second
>> rule is don't forget rule #1..."
>>
>>             "Wall Street is the only place that people ride to work in a
>> Rolls-Royce to get advice from those who take the subway..."
>>
>>
>>
>> — Warren Buffett.
>>
>>
>>
>>
>> --
>> "Life is like a snowball. The important thing is finding wet snow and a
>> really long hill."
>>
>> "Price is what you pay. Value is what you get."
>>
>> "The first rule of Investing is don't lose money; the second rule is
>> don't forget rule #1..."
>>
>> "Wall Street is the only place that people ride to work in a Rolls-Royce
>> to get advice from those who take the subway..."
>>
>>
>> — Warren Buffett.
>>
>>


-- 
"Life is like a snowball. The important thing is finding wet snow and a
really long hill."

"Price is what you pay. Value is what you get."

"The first rule of Investing is don't lose money; the second rule is don't
forget rule #1..."

"Wall Street is the only place that people ride to work in a Rolls-Royce to
get advice from those who take the subway..."


— Warren Buffett.


More information about the freebsd-translators mailing list