Mailinglist Archive: opensuse-buildservice (90 mails)

< Previous Next >
[opensuse-buildservice] Re: Mysterious build failures: i586 chroot on CentOS 7 host
On Feb 27 2017, Greg Ward <greg@xxxxxxx> wrote:

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@xxxxxxxxxxxxxx
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@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups
References