Em 27-08-2013 00:08, Bruce Dubbs escreveu:
>
> All I can say is that there is a corrupted file on the system with an
> error (or, less likely, a hw problem).
>
> I Looked at the two files from the i686. The first thing I did was
> delete all those file-not-found lines. The files it is looking at are:
>
> Good:
> /opt/openjdk/bin/javac
> /opt/OpenJDK-1.7.0.40-2.4.1/bin/javac
> /opt/OpenJDK-1.7.0.40-2.4.1/bin/../jre/lib/i386/jli
> /opt/OpenJDK-1.7.0.40-2.4.1/bin/../jre/lib/i386
> /lib/libpthread.so.0
> /opt/OpenJDK-1.7.0.40-2.4.1/bin/../jre/lib/i386/jli/libjli.so
> /lib/libdl.so.2
> /lib/libc.so.6
> /opt/OpenJDK-1.7.0.40-2.4.1/bin/../jre/lib/i386/jli/..
> /lib/libz.so.1
> /opt/OpenJDK-1.7.0.40-2.4.1/bin/javac
> /opt/OpenJDK-1.7.0.40-2.4.1/jre/lib/i386/libjava.so
> /opt/OpenJDK-1.7.0.40-2.4.1/jre/lib/i386/jvm.cfg
> /opt/OpenJDK-1.7.0.40-2.4.1/jre/lib/i386/client/libjvm.so
> /opt/OpenJDK-1.7.0.40-2.4.1/jre/lib/i386/client/libjvm.so
> /etc/ld.so.cache
> /usr/lib/libstdc++.so.6
> /lib/libm.so.6
> /usr/lib/libgcc_s.so.1
>
> Bad:
> /opt/openjdk/bin/javac
> /opt/OpenJDK-1.7.0.40-2.4.1-i686
> /opt/OpenJDK-1.7.0.40-2.4.1-i686-bin/bin/../jre/lib/i386/jli
> /opt/OpenJDK-1.7.0.40-2.4.1-i686-bin/bin/../jre/lib/i386
> /etc/ld.so.cache
> /lib/libpthread.so.0
> /opt/OpenJDK-1.7.0.40-2.4.1-i686-bin/bin/../jre/lib/i386/jli/libjli.so
> /lib/libdl.so.2
> /lib/libc.so.6
> /opt/OpenJDK-1.7.0.40-2.4.1-i686-bin/bin/../jre/lib/i386/jli/..
> /lib/libz.so.1
> /opt/OpenJDK-1.7.0.40-2.4.1-i686
> /opt/OpenJDK-1.7.0.40-2.4.1-i686-bin/jre/lib/i386/libjava.so
> /opt/OpenJDK-1.7.0.40-2.4.1-i686-bin/jre/lib/i386/jvm.cfg
> /opt/OpenJDK-1.7.0.40-2.4.1-i686-bin/jre/lib/i386/client/libjvm.so
> /opt/OpenJDK-1.7.0.40-2.4.1-i686-bin/jre/lib/i386/client/libjvm.so
> /etc/ld.so.cache
> /usr/lib/libstdc++.so.6
> /lib/libm.so.6
> /usr/lib/libgcc_s.so.1
>
> It's doubtful that the files in /usr, /lib, or /etc are the problem.
>
> I'd rename the OpenJDK-1.7.0.40-2.4.1 directory on the bad system and
> then copy the OpenJDK-1.7.0.40-2.4.1-i686-bin on the good system to the
> bad one. Make sure the /opt links are still right and run ldconfig.
>
> Then run the test build again.
>
> Also, looking at the bad system, it's curious that it is doing a
> readlink on /opt/OpenJDK-1.7.0.40-2.4.1-i686. Is that a directory? It
> looks like it should be /opt/OpenJDK-1.7.0.40-2.4.1-i686-bin/. Look at
> the first readlink in each file:
>
> Good:
> readlink("/proc/self/exe", "/opt/OpenJDK-1.7.0.40-2.4.1/bin/javac",
> 4096) = 37
>
> bad:
> readlink("/proc/self/exe", "/opt/OpenJDK-1.7.0.40-2.4.1-i686"..., 4096) = 46
>
>
> -- Bruce
>
Thanks Bruce,
Only slept three hours.
Now I know better how to interpret strace results.
Done many things.
Have good and bad news: exactly the same problem with the new built
LFS-"7.4-svn". This and the previous LFS-7.4-rc1 built using jhalfs.
Arch is i686.
Why good news: have not installed anything else but LFS in
LFS-"7.4-svn", so, I did not eventually create a new problem, when
installing packages. Therefore, something that solves this problem will
rescue rc1.
Why bad news: obvious, what else can I do?
Have tried many binaries
1. the one that I name "old", which is good in this host.
2. the one that I name "downloaded", from anduin.
3. proprietary jdk-1.7.0.25
Another good news: easier test, just run /opt/..../java -version gives
the error.
Have used /opt/*JDK*/bin/java and /opt/*JDK*/jre/bin/java
Have changed hardware: from vm version 9 to a previous one that was
running ok, version 8, just changed the HDs. Still, same problem.
Splitting into good and bad news, because I am trying to hide from
myself how disappointed I am now. :-((
I would like to know if there is anybody with svn or rc1, i686, that
could download OpenJDK from anduin or jdk from oracle and tell me it
runs ok. Just the above command, ..../java -version.
Meanwhile, I will go on, searching for any clue in the web.
Thanks in advance,
--
[]s,
Fernando
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page