pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: java on current?



In article <20061218125929.3d826e89%garlique.algebras.org@localhost>,
George Michaelson  <ggm%apnic.net@localhost> wrote:
>
>sure. this is the ktruss on java -jar
>
>Error: could not find libjava.so
>Error: could not find Java 2 Runtime Environment.
>  9496      1 ktruss   emul(netbsd)
>  9496      1 ktruss   fcntl(0x4, 0x3, 0)          = 1
>  9496      1 ktruss   fcntl(0x4, 0x4, 0x1)        = 0
>  9496      1 ktruss   execve("/home/ggm/bin/java", 0xbfbfe8b4,
>0xbfbfe8c0) Err#2 ENOENT 9496      1 ktruss   execve("/usr/games/java",
>0xbfbfe8b4, 0xbfbfe8c0) Err#2 ENOENT 9496      1 ktruss
>execve("/home/ggm/bin/java", 0xbfbfe8b4, 0xbfbfe8c0) Err#2 ENOENT
>9496      1 ktruss   execve("/usr/games/java", 0xbfbfe8b4, 0xbfbfe8c0)
>Err#2 ENOENT 9496      1 ktruss   execve("/usr/pkg/xorg/bin/java",
>0xbfbfe8b4, 0xbfbfe8c0) Err#2 ENOENT 9496      1 ktruss
>execve("/sbin/java", 0xbfbfe8b4, 0xbfbfe8c0) Err#2 ENOENT 9496      1
>ktruss   execve("/usr/sbin/java", 0xbfbfe8b4, 0xbfbfe8c0) Err#2 ENOENT
>9496      1 ktruss   execve("/usr/pkg/bin/java", 0xbfbfe8b4,
>0xbfbfe8c0) Err#2 ENOENT 9496      1 ktruss
>execve("/usr/pkg/sbin/java", 0xbfbfe8b4, 0xbfbfe8c0) Err#2 ENOENT
>9496      1 java     emul(linux) 9496      1 java
>oldolduname("/usr/pkg/java/sun-1.5/bin/java", 0xbfbfe8b4, 0xbfbfe8c0)
>JUSTRETURN 9496      1 java     uname(0xbfbfe64e)           = 0
>9496      1 java     brk(0)                      = 134582272 9496
>1 java     access("/emul/linux/etc/ld.so.preload", 0x4) JUSTRETURN
>9496      1 java     open("/emul/linux/etc/ld.so.cache", 0, 0) = 3
>9496      1 java     fstat64(0x3, 0xbfbfdecc)    = 0x0 9496      1
>java     old_mmap(0xbfbfdeac)        = -1145159680 9496      1 java
>close(0x3)                  = 0 9496      1 java
>open("/emul/linux/lib/libpthread.so.0", 0, 0x8048949) = 3 9496      1
>java     read(0x3, 0xbfbfe034, 0x200) = 512
>"\^?ELF\^A\^A\^A\0\0\0\0\0\0\0\0\0\^C\0\^C\0\^A\0\0\0P@\0\0004\0\0\0"
>9496      1 java     fstat64(0x3, 0xbfbfdf48)    = 0x0 9496      1
>java     old_mmap(0xbfbfdd98)        = -1145499648 9496      1 java
>madvise(0xbbb91000, 0x52ca4, 0x3) = 0 9496      1 java
>old_mmap(0xbfbfdd98)        = -1145438208 9496      1 java
>old_mmap(0xbfbfdd98)        = -1145430016 9496      1 java
>close(0x3)                  = 0 9496      1 java
>open("/emul/linux/lib/libdl.so.2", 0, 0x804897d) = 3 9496      1
>java     read(0x3, 0xbfbfe018, 0x200) = 512
>"\^?ELF\^A\^A\^A\0\0\0\0\0\0\0\0\0\^C\0\^C\0\^A\0\0\0P\f\0\0004\0\0\0"
>9496      1 java     fstat64(0x3, 0xbfbfdf2c)    = 0x0 9496      1
>java     old_mmap(0xbfbfdd94)        = -1145516032 9496      1 java
>madvise(0xbbb8d000, 0x3074, 0x3) = 0 9496      1 java
>old_mmap(0xbfbfdd94)        = -1145507840 9496      1 java
>close(0x3)                  = 0 9496      1 java
>open("/emul/linux/lib/libc.so.6", 0, 0x80489a4) = 3 9496      1
>java     read(0x3, 0xbfbfdffc, 0x200) = 512
>"\^?ELF\^A\^A\^A\0\0\0\0\0\0\0\0\0\^C\0\^C\0\^A\0\0\0\M-0T\^A\0004\0\0"
>9496      1 java     fstat64(0x3, 0xbfbfdf10)    = 0x0 9496      1
>java     old_mmap(0xbfbfddcc)        = -1145520128 9496      1 java
>old_mmap(0xbfbfdd60)        = -1146703872 9496      1 java
>madvise(0xbba6b000, 0x120c94, 0x3) = 0 9496      1 java
>old_mmap(0xbfbfdd60)        = -1145544704 9496      1 java
>old_mmap(0xbfbfdd60)        = -1145528320 9496      1 java
>close(0x3)                  = 0 9496      1 java
>mprotect(0xbbb86000, 0x1000, 0x1) = 0 9496      1 java
>munmap(0xbbbe4000, 0x32bc)  = 0 9496      1 java     ugetrlimit(0x3,
>0xbfbfe46c) = 0 9496      1 java     setrlimit(0x3, 0xbfbfe46c)  = 0
>9496      1 java     getpid()                    = 9496 9496      1
>java     rt_sigaction(0x20, 0xbfbfe3e8, 0, 0x8) = 0 9496      1
>java     rt_sigaction(0x21, 0xbfbfe3e8, 0, 0x8) = 0 9496      1
>java     rt_sigaction(0x22, 0xbfbfe3e8, 0, 0x8) = 0 9496      1
>java     rt_sigprocmask(0, 0xbfbfe740, 0, 0x8) = 0 9496      1 java
>rt_sigprocmask(0x1, 0xbfbfe740, 0, 0x8) = 0 9496      1 java
>__sysctl(0xbfbfe454)        = 0 9496      1 java
>brk(0)                      = 134582272 9496      1 java
>brk(0x807a000)              = 134717440 9496      1 java
>readlink(0x80555e1, 0xbfbfb720, 0xfff) = 1 9496      1 java
>write(0x2, 0x80558c0, 0x21) = 33 "Error: could not find libjava.so\n"
>9496      1 java     write(0x2, 0x8055840, 0x32) = 50 "Error: could not
>find Java 2 Runtime Environment.\n"

Try ktrace/kdump because it appears that ktruss does not do readlink right?

christos




Home | Main Index | Thread Index | Old Index