Mailinglist Archive: opensuse-packaging (118 mails)

< Previous Next >
Re: [opensuse-packaging] osc build openSUSE_13.2 not works for some RPMs
  • From: Rusmir Duško <nemysis@xxxxxx>
  • Date: Thu, 25 Jun 2015 23:45:04 +0200
  • Message-id: <20150625234504.5abfd51c@nemysis4now.nemysis4now>
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

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>

When try to build with

osc build openSUSE_13.2 i586

works all good.


I use openSUSE 13.2 Release.

Your arch is x86_64, right?

Yes

3.16.7-21-desktop #1 SMP PREEMPT Tue Apr 14 07:11:37 UTC 2015 (93c1539)
x86_64 x86_64 x86_64 GNU/Linux

Ok.

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


Marcus



--
Rusmir Dusko
openSUSE Games maintainer
https://build.opensuse.org/project/users/games
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups