On Feb 27 2017, Greg Ward
I can easily reproduce the error if I enter the build chroot myself:
$ sudo chroot /data/obs/build/root_3 /bin/bash bash-4.1# alternatives --install /usr/bin/java java /usr/lib/jvm/jre-1.6.0-openjdk/bin/java 16000 altdir /etc/alternatives invalid
strace output is ... unhelpful. I see no obviously failing system calls. I see a *successful* "stat64("/etc/alternatives", {st_mode=S_IFDIR|0755, st_size=10, ...}) = 0", FWIW.
Any clues?
Most likely the caller was not compiled with _FILE_OFFSET_BITS=64, and some of the values returned by the kernel in struct stat64 are not representable by struct stat (perhaps the inode number). Try running strace with `-e verbose=all' to see the full struct contents. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org