Mailinglist Archive: opensuse-packaging (118 mails)

< Previous Next >
Re: [opensuse-packaging] osc build openSUSE_13.2 not works for some RPMs
On 2015-06-25 23:45:04 +0200, Rusmir Duško wrote:
On Thu, 25 Jun 2015 23:26:50 +0200
Marcus Hüwe <suse-tux@xxxxxx> wrote:

On 2015-06-25 21:42:25 +0200, Rusmir Duško wrote:
On Thu, 25 Jun 2015 20:53:52 +0200
Marcus Hüwe <suse-tux@xxxxxx> wrote:

On 2015-06-25 15:24:30 +0200, Rusmir Duško wrote:
I try to build more RPMs for openSUSE 13.2 with

osc build openSUSE_13.2

and get unclean /var/tmp/build-root/openSUSE_13.2-x86_64

[ 50s] kernel-obs-build-3.16.6-2.1
######################################## [ 51s]
hicolor-icon-theme-0.13-2.1.2
######################################## [ 51s] exit ...

The buildroot was: /var/tmp/build-root/openSUSE_13.2-x86_64

Or similar for other RPMs.

Is this reproducible for a single package? If so, about which
project/package are we talking?

I have this for more RPMs

games/rocksndiamonds newest git

games/traingame

games/tong/

and other

Hmm I cannot reproduce it. Can you try the following?
- remove the build-root
- create a file "build_debug" with the following content:

#!/bin/bash
set -x
export SHELLOPTS
/usr/bin/build "$@"

when i use this script get to login to rood, but my user name for OBS
is nemysis, my shell is ZSH

Yes, the build script is (usually) invoked as root - just enter your
password and continue (aren't you prompted for the root password
when using the default build-cmd (/usr/bin/build)?).

Verifying integrity of cached packages
using keys from openSUSE:Factory, devel:languages:haskell, games
Writing build configuration
Running build

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

root's password:

- chmod +x /path/to/build_debug
- osc config general build-cmd /path/to/build_debug
- start an osc build
- check where the script fails

Afterwards, restore the old build-cmd again via
- osc config general build-cmd /usr/bin/build
(assumption: your old build-cmd was "/usr/bin/build")


<SNIP>

Can you also provide the output of "rpm -q build"?


Marcus
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups