[opensuse-buildservice] OSC configure fails on every package
Hi together, I have a problem with osc on openSUSE 13.1 x86_64. When I do a localbuild (f. e. osc build openSUSE_xx.x xARCH) it fails everytime with the same error message when configure is running. Packages without configure are building fine. I think something with the changeroot is broken, but I don't know howto find the problem. ALso a manual osc chroot doesn't work. Only when I add the Version parameter. osc chroot openSUSE_xx.x error: --- [ 1s] ./configure: line 27: /dev/null: Permission denied [ 1s] ./configure: line 72: /dev/null: Permission denied [ 1s] ./configure: line 53: /dev/null: Permission denied [ 1s] ./configure: line 81: /dev/null: Permission denied [ 1s] ./configure: line 120: /dev/null: Permission denied [ 1s] ./configure: line 135: /dev/null: Permission denied [ 1s] ./configure: line 286: /dev/null: Permission denied [ 1s] ./configure: line 227: /dev/null: Permission denied [ 1s] ./configure: line 227: /dev/null: Permission denied [ 1s] ./configure: line 227: /dev/null: Permission denied [ 1s] ./configure: line 227: /dev/null: Permission denied [ 1s] ./configure: line 227: /dev/null: Permission denied [ 1s] ./configure: line 227: /dev/null: Permission denied [ 1s] ./configure: line 286: /dev/null: Permission denied [ 1s] ./configure: This script requires a shell more modern than all [ 1s] ./configure: the shells that I found on your system. [ 1s] ./configure: Please tell bug-autoconf@gnu.org and jaris@ifi.uio.no [ 1s] ./configure: about your system, including any error possibly output [ 1s] ./configure: before this message. Then install a modern shell, or [ 1s] ./configure: manually run the script under such a shell if you do [ 1s] ./configure: have one. [ 1s] error: Bad exit status from /var/tmp/rpm-tmp.FkdZDC (%build) --- Information: Host: openSUSE 13.1 x86_64 osc: 0.144 (tested version from 12.3 and Project openSUSE:Tools) autoconf: 8.1.2 I've mounted a tmpfs on /var/tmp/build-root/ with 4G because my ssd is hanging completly if much I/O operations are running at the same time. $HOME/.oscrc: --- [general] apiurl = https://api.opensuse.org build-jobs = 5 use_keyring = 0 [https://api.opensuse.org] user=seilerphilipp passx=XXXXXXXX [some more apis] [...] --- On google I dont found anything regarding this specific osc/chroot error. Any ideas? Kind Regards, Philipp -- Philipp Seiler Linux Consultant Tel.: +49-175 2958714 Mail: seiler@b1-systems.de GPG Key: 0x75911461 B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
Philipp Seiler <seiler@b1-systems.de> writes:
[ 1s] ./configure: line 27: /dev/null: Permission denied
Most likely /dev/null is a plain file instead of the proper device file. /dev in the build root is expected to be populated by init_buildsystem:create_devs. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "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
Hi Andreas, On Thu, 10 Apr 2014 10:52:48 +0200 Andreas Schwab <schwab@suse.de> wrote:
Philipp Seiler <seiler@b1-systems.de> writes:
[ 1s] ./configure: line 27: /dev/null: Permission denied
Most likely /dev/null is a plain file instead of the proper device file. /dev in the build root is expected to be populated by init_buildsystem:create_devs.
I checked this already before and its a character special as it is in the host system. file /var/tmp/build-root/openSUSE_13.1-x86_64/dev/null /var/tmp/build-root/openSUSE_13.1-x86_64/dev/null: character special ls -l /var/tmp/build-root/openSUSE_13.1-x86_64/dev/null crw-rw-rw- 1 root root 1, 3 Apr 10 10:54 /var/tmp/build-root/openSUSE_13.1-x86_64/dev/null But something is wrong with it. Even outside the build root I cannot use the file: root@tesla ~ # echo "1" > /var/tmp/build-root/openSUSE_13.1-x86_64/dev/null zsh: permission denied: /var/tmp/build-root/openSUSE_13.1-x86_64/dev/null init_buildsystem:create_devs is a function of osc? Maybe there is something wrong with it. Kind Regards, Philipp -- Philipp Seiler Linux Consultant Tel.: +49-175 2958714 Mail: seiler@b1-systems.de GPG Key: 0x75911461 B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
Philipp Seiler <seiler@b1-systems.de> writes:
But something is wrong with it. Even outside the build root I cannot use the file:
root@tesla ~ # echo "1" > /var/tmp/build-root/openSUSE_13.1-x86_64/dev/null zsh: permission denied: /var/tmp/build-root/openSUSE_13.1-x86_64/dev/null
Then it's because the filesystem is mounted nodev. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "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
Hi Andreas, On Thu, 10 Apr 2014 11:08:05 +0200 Andreas Schwab <schwab@suse.de> wrote:
Philipp Seiler <seiler@b1-systems.de> writes:
But something is wrong with it. Even outside the build root I cannot use the file:
root@tesla ~ # echo "1"
/var/tmp/build-root/openSUSE_13.1-x86_64/dev/null zsh: permission denied: /var/tmp/build-root/openSUSE_13.1-x86_64/dev/null
Then it's because the filesystem is mounted nodev.
you're awesome. That was the problem. I don't know why but I mounted the tmpfs with nodev -.- Now it works. Thank you very much. Best Regards, Philipp -- Philipp Seiler Linux Consultant Tel.: +49-175 2958714 Mail: seiler@b1-systems.de GPG Key: 0x75911461 B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
participants (2)
-
Andreas Schwab
-
Philipp Seiler