osc build openSUSE_13.2 not works for some RPMs

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

osc build openSUSE_13.2 not works for some RPMs

Rusmir Duško
Hello

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.


Have get file

/var/tmp/build-root/openSUSE_13.2-x86_64/not-read

When wish to build again with

osc build openSUSE_13.2

get

[    0s] It seems that there was an incomplete setup of /var/tmp/build-root/openSUSE_13.2-x86_64.
[    0s] To be sure, we will build it again completely...
[    0s] Your build system is broken!! Shall I execute
[    0s]
[    0s]     rm -rf -- /var/tmp/build-root/openSUSE_13.2-x86_64/*
[    0s]
[    0s] y - yes, cleanup the build root
[    0s] N - No, abort build (default on enter)
[    0s] c - Continue anyway with this build root

When use Y (yes) get for other RPM

[  140s] build-mkbaselibs-20140424-2.1.3       ########################################
[  142s] kernel-obs-build-3.16.6-2.1           ########################################
[  142s] exit ...

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

and again is build broken :(


When try to build with

osc build openSUSE_13.2 i586

works all good.


I use openSUSE 13.2 Release.

What is wrong with build for openSUSE 13.2 x86_64?

For some RPM this build works, for some fewer not.


--
Rusmir Dusko
openSUSE Games maintainer
https://build.opensuse.org/project/users/games
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: osc build openSUSE_13.2 not works for some RPMs

Marcus Hüwe
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?

<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?


Marcus
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: osc build openSUSE_13.2 not works for some RPMs

Rusmir Duško
On Thu, 25 Jun 2015 20:53:52 +0200
Marcus Hüwe <[hidden email]> 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


> <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

>
> Marcus



--
Rusmir Dusko
openSUSE Games maintainer
https://build.opensuse.org/project/users/games
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: osc build openSUSE_13.2 not works for some RPMs

Marcus Hüwe
On 2015-06-25 21:42:25 +0200, Rusmir Duško wrote:

> On Thu, 25 Jun 2015 20:53:52 +0200
> Marcus Hüwe <[hidden email]> 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 "$@"

- 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
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: osc build openSUSE_13.2 not works for some RPMs

Rusmir Duško
On Thu, 25 Jun 2015 23:26:50 +0200
Marcus Hüwe <[hidden email]> 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 <[hidden email]> 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: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: osc build openSUSE_13.2 not works for some RPMs

Marcus Hüwe
On 2015-06-25 23:45:04 +0200, Rusmir Duško wrote:

> On Thu, 25 Jun 2015 23:26:50 +0200
> Marcus Hüwe <[hidden email]> 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 <[hidden email]> 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: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: osc build openSUSE_13.2 not works for some RPMs

Rusmir Duško
On Fri, 26 Jun 2015 00:07:40 +0200
Marcus Hüwe <[hidden email]> wrote:

> On 2015-06-25 23:45:04 +0200, Rusmir Duško wrote:
> > On Thu, 25 Jun 2015 23:26:50 +0200
> > Marcus Hüwe <[hidden email]> 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 <[hidden email]> 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)?).

This get with

/usr/local/suse/games/starfighter/ > osc build openSUSE_13.2

...
[   51s] build-compare-2015.04.28-199.1
######################################## [   51s]
attr-2.4.47-4.1.2
######################################## [   51s]
brp-extract-appdata-2012.02.13-22.1.2
######################################## [   51s]
build-mkbaselibs-20140424-2.1.3
######################################## [   51s]
fdupes-1.50-6.1.2
######################################## [   51s]
rpmlint-Factory-strict-1.0-88.1.2
######################################## [   53s]
kernel-obs-build-3.16.6-2.1
######################################## [   53s]
hicolor-icon-theme-0.13-2.1.2         ######################################## [   53s] + touch /var/tmp/build-root/openSUSE_13.2-x86_64/exit [   53s] + (( num=0 )) [   53s] + (( num<=cumulate )) [   53s] + rm -f /var/tmp/build-root/openSUSE_13.2-x86_64/.init_b_cache/file-magic.rpm ...
[   53s] + rm
-f /var/tmp/build-root/openSUSE_13.2-x86_64/.init_b_cache/libSDL_image-devel.rpm
[   53s] + (( num++ )) [   53s] + (( num<=cumulate ))
[   53s] + rm
-f /var/tmp/build-root/openSUSE_13.2-x86_64/.init_b_cache/libSDL_mixer-devel.rpm
[   53s] + (( num++ )) [   53s] + (( num<=cumulate ))
[   53s] + rm
-f /var/tmp/build-root/openSUSE_13.2-x86_64/.init_b_cache/manifest
[   53s] + check_exit [   53s] + test
-e /var/tmp/build-root/openSUSE_13.2-x86_64/exit [   53s] + echo
'exit ...' [   53s] exit ...
[   53s] + cleanup_and_exit 1
[   53s] + trap EXIT
[   53s] + test /var/tmp/build-root/openSUSE_13.2-x86_64 = / -a -n 0
[   53s] + umount
-n /var/tmp/build-root/openSUSE_13.2-x86_64/proc/sys/fs/binfmt_misc
[   53s] + true [   53s] + umount
-n /var/tmp/build-root/openSUSE_13.2-x86_64/proc [   53s] + umount
-n /var/tmp/build-root/openSUSE_13.2-x86_64/dev/pts [   53s] + umount
-n /var/tmp/build-root/openSUSE_13.2-x86_64/mnt [   53s] + true
[   53s] + exit 1
[   53s] + cleanup_and_exit 1
[   53s] + trap EXIT
[   53s] + test -z 1
[   53s] + rm -f /var/tmp/build-root/openSUSE_13.2-x86_64/exit
[   53s] + test 1 -eq 1 -a -x /bin/df
[   53s] + df /var/tmp/build-root/openSUSE_13.2-x86_64
[   53s] + grep -q 100%
[   53s] + test -n ''
[   53s] + umount
-n /var/tmp/build-root/openSUSE_13.2-x86_64/proc/sys/fs/binfmt_misc
[   53s] + true [   53s] + umount
-n /var/tmp/build-root/openSUSE_13.2-x86_64/proc [   53s] + true
[   53s] + umount -n /var/tmp/build-root/openSUSE_13.2-x86_64/dev/pts
[   53s] + true
[   53s] + umount -n /var/tmp/build-root/openSUSE_13.2-x86_64/dev/shm
[   53s] + true
[   53s] + umount -n /var/tmp/build-root/openSUSE_13.2-x86_64/sys
[   53s] + true
[   53s] + test -n '' -a '' '!=' 1
[   53s] + true
[   53s] + test -n ''
[   53s] + exit 1

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

> > 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"?

rpm -q build
build-20150615-198.1.noarch

>
> Marcus



--
Rusmir Dusko
openSUSE Games maintainer
https://build.opensuse.org/project/users/games
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: osc build openSUSE_13.2 not works for some RPMs

Marcus Hüwe
On 2015-06-26 08:52:17 +0200, Rusmir Duško wrote:

> This get with
>
> /usr/local/suse/games/starfighter/ > osc build openSUSE_13.2
>
> ...
> [   51s] build-compare-2015.04.28-199.1
> ######################################## [   51s]
> attr-2.4.47-4.1.2
> ######################################## [   51s]
> brp-extract-appdata-2012.02.13-22.1.2
> ######################################## [   51s]
> build-mkbaselibs-20140424-2.1.3
> ######################################## [   51s]
> fdupes-1.50-6.1.2
> ######################################## [   51s]
> rpmlint-Factory-strict-1.0-88.1.2
> ######################################## [   53s]
> kernel-obs-build-3.16.6-2.1
> ######################################## [   53s]
> hicolor-icon-theme-0.13-2.1.2         ######################################## [   53s] + touch /var/tmp/build-root/openSUSE_13.2-x86_64/exit [   53s] + (( num=0 )) [   53s] + (( num<=cumulate )) [   53s] + rm -f /var/tmp/build-root/openSUSE_13.2-x86_64/.init_b_cache/file-magic.rpm ...

Ok. That is, a package is not properly installed (the question is which
one). Can you do the following?
- remove the build root
- start building packages
- note down the order of the packages
- send the log (or at least everything after the "Updating / installing..."
  line) of the first failing package


Marcus
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: osc build openSUSE_13.2 not works for some RPMs

Rusmir Duško
On Mon, 29 Jun 2015 17:57:24 +0200
Marcus Hüwe <[hidden email]> wrote:

> On 2015-06-26 08:52:17 +0200, Rusmir Duško wrote:
> > This get with
> >
> > /usr/local/suse/games/starfighter/ > osc build openSUSE_13.2
> >
> > ...
> > [   51s] build-compare-2015.04.28-199.1
> > ######################################## [   51s]
> > attr-2.4.47-4.1.2
> > ######################################## [   51s]
> > brp-extract-appdata-2012.02.13-22.1.2
> > ######################################## [   51s]
> > build-mkbaselibs-20140424-2.1.3
> > ######################################## [   51s]
> > fdupes-1.50-6.1.2
> > ######################################## [   51s]
> > rpmlint-Factory-strict-1.0-88.1.2
> > ######################################## [   53s]
> > kernel-obs-build-3.16.6-2.1
> > ######################################## [   53s]
> > hicolor-icon-theme-0.13-2.1.2         ######################################## [   53s] + touch /var/tmp/build-root/openSUSE_13.2-x86_64/exit [   53s] + (( num=0 )) [   53s] + (( num<=cumulate )) [   53s] + rm -f /var/tmp/build-root/openSUSE_13.2-x86_64/.init_b_cache/file-magic.rpm ...
>
> Ok. That is, a package is not properly installed (the question is which
> one). Can you do the following?
> - remove the build root
> - start building packages
> - note down the order of the packages
> - send the log (or at least everything after the "Updating / installing..."
>   line) of the first failing package

I have removed with

rm -fr /var/tmp/build-root

and have used

osc build openSUSE_13.2

Here is complete paste (build.log-starfighter-openSUSE_13.2)

http://pastebin.ca/3040477

>
> Marcus



--
Rusmir Dusko
openSUSE Games maintainer
https://build.opensuse.org/project/users/games
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: osc build openSUSE_13.2 not works for some RPMs

Marcus Hüwe
On 2015-06-29 18:23:50 +0200, Rusmir Duško wrote:

> On Mon, 29 Jun 2015 17:57:24 +0200
> Marcus Hüwe <[hidden email]> wrote:
> > Ok. That is, a package is not properly installed (the question is which
> > one). Can you do the following?
> > - remove the build root
> > - start building packages
> > - note down the order of the packages
> > - send the log (or at least everything after the "Updating / installing..."
> >   line) of the first failing package
>
> I have removed with
>
> rm -fr /var/tmp/build-root
>
> and have used
>
> osc build openSUSE_13.2
>
> Here is complete paste (build.log-starfighter-openSUSE_13.2)
>
> http://pastebin.ca/3040477
>

[   48s] libGLU1-9.0.0-9.1.3                   ########################################
[   48s] error: unpacking of archive failed on file /usr/lib64/libGLU.so.1.3.1;55916ecd: cpio: read failed - Inappropriate ioctl for device
[   48s] error: libGLU1-9.0.0-9.1.3.x86_64: install failed

Hmm please check the integrity of the package:
rpm --checksig -v \
 /var/tmp/osbuild-packagecache/openSUSE:13.2/standard/x86_64/libGLU1-9.0.0-9.1.3.x86_64.rpm


Marcus
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: osc build openSUSE_13.2 not works for some RPMs

Rusmir Duško
On Mon, 29 Jun 2015 19:59:49 +0200
Marcus Hüwe <[hidden email]> wrote:

> On 2015-06-29 18:23:50 +0200, Rusmir Duško wrote:
> > On Mon, 29 Jun 2015 17:57:24 +0200
> > Marcus Hüwe <[hidden email]> wrote:
> > > Ok. That is, a package is not properly installed (the question is which
> > > one). Can you do the following?
> > > - remove the build root
> > > - start building packages
> > > - note down the order of the packages
> > > - send the log (or at least everything after the "Updating / installing..."
> > >   line) of the first failing package
> >
> > I have removed with
> >
> > rm -fr /var/tmp/build-root
> >
> > and have used
> >
> > osc build openSUSE_13.2
> >
> > Here is complete paste (build.log-starfighter-openSUSE_13.2)
> >
> > http://pastebin.ca/3040477
> >
>
> [   48s] libGLU1-9.0.0-9.1.3                   ########################################
> [   48s] error: unpacking of archive failed on file /usr/lib64/libGLU.so.1.3.1;55916ecd: cpio: read failed - Inappropriate ioctl for device
> [   48s] error: libGLU1-9.0.0-9.1.3.x86_64: install failed
>
> Hmm please check the integrity of the package:
> rpm --checksig -v \
>  /var/tmp/osbuild-packagecache/openSUSE:13.2/standard/x86_64/libGLU1-9.0.0-9.1.3.x86_64.rpm

rpm --checksig -v /var/tmp/osbuild-packagecache/openSUSE:13.2/standard/x86_64/libGLU1-9.0.0-9.1.3.x86_64.rpm
/var/tmp/osbuild-packagecache/openSUSE:13.2/standard/x86_64/libGLU1-9.0.0-9.1.3.x86_64.rpm:
    Header V3 RSA/SHA256 Signature, key ID 3dbdc284: OK
    Header SHA1 digest: OK (26acfd7bc34535274b4e545b7a250f44098a7409)
    V3 RSA/SHA256 Signature, key ID 3dbdc284: BAD
    MD5 digest: BAD Expected(6eb58054999dfebb200301fab50c01f8) !=
(9dfa3430624805eaa39e8c92ba59f7c5)

>
>
> Marcus



--
Rusmir Dusko
openSUSE Games maintainer
https://build.opensuse.org/project/users/games
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: osc build openSUSE_13.2 not works for some RPMs

Marcus Hüwe
On 2015-06-29 20:18:31 +0200, Rusmir Duško wrote:

> On Mon, 29 Jun 2015 19:59:49 +0200
> Marcus Hüwe <[hidden email]> wrote:
>
> > On 2015-06-29 18:23:50 +0200, Rusmir Duško wrote:
> > > On Mon, 29 Jun 2015 17:57:24 +0200
> > > Marcus Hüwe <[hidden email]> wrote:
> > > > Ok. That is, a package is not properly installed (the question is which
> > > > one). Can you do the following?
> > > > - remove the build root
> > > > - start building packages
> > > > - note down the order of the packages
> > > > - send the log (or at least everything after the "Updating / installing..."
> > > >   line) of the first failing package
> > >
> > > I have removed with
> > >
> > > rm -fr /var/tmp/build-root
> > >
> > > and have used
> > >
> > > osc build openSUSE_13.2
> > >
> > > Here is complete paste (build.log-starfighter-openSUSE_13.2)
> > >
> > > http://pastebin.ca/3040477
> > >
> >
> > [   48s] libGLU1-9.0.0-9.1.3                   ########################################
> > [   48s] error: unpacking of archive failed on file /usr/lib64/libGLU.so.1.3.1;55916ecd: cpio: read failed - Inappropriate ioctl for device
> > [   48s] error: libGLU1-9.0.0-9.1.3.x86_64: install failed
> >
> > Hmm please check the integrity of the package:
> > rpm --checksig -v \
> >  /var/tmp/osbuild-packagecache/openSUSE:13.2/standard/x86_64/libGLU1-9.0.0-9.1.3.x86_64.rpm
>
> rpm --checksig -v /var/tmp/osbuild-packagecache/openSUSE:13.2/standard/x86_64/libGLU1-9.0.0-9.1.3.x86_64.rpm
> /var/tmp/osbuild-packagecache/openSUSE:13.2/standard/x86_64/libGLU1-9.0.0-9.1.3.x86_64.rpm:
>     Header V3 RSA/SHA256 Signature, key ID 3dbdc284: OK
>     Header SHA1 digest: OK (26acfd7bc34535274b4e545b7a250f44098a7409)
>     V3 RSA/SHA256 Signature, key ID 3dbdc284: BAD
>     MD5 digest: BAD Expected(6eb58054999dfebb200301fab50c01f8) !=
> (9dfa3430624805eaa39e8c92ba59f7c5)
>
The package is broken. If you e.g. rm it and start the build, osc
will download the package again and everthing should work as expected.
Now the question is why the package got corrupted... maybe osc should
perform some integrity checks as well.


Marcus
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: osc build openSUSE_13.2 not works for some RPMs

Yamaban
In reply to this post by Rusmir Duško
On Mon, 29 Jun 2015 20:18, Rusmir Duško wrote:
> On Mon, 29 Jun 2015 19:59:49 +0200 Marcus Hüwe wrote:
>> On 2015-06-29 18:23:50 +0200, Rusmir Duško wrote:
>>> On Mon, 29 Jun 2015 17:57:24 +0200 Marcus Hüwe wrote:
[snip]

>> [   48s] libGLU1-9.0.0-9.1.3                   ########################################
>> [   48s] error: unpacking of archive failed on file /usr/lib64/libGLU.so.1.3.1;55916ecd: cpio: read failed - Inappropriate ioctl for device
>> [   48s] error: libGLU1-9.0.0-9.1.3.x86_64: install failed
>>
>> Hmm please check the integrity of the package:
>> rpm --checksig -v \
>>  /var/tmp/osbuild-packagecache/openSUSE:13.2/standard/x86_64/libGLU1-9.0.0-9.1.3.x86_64.rpm
>
> rpm --checksig -v /var/tmp/osbuild-packagecache/openSUSE:13.2/standard/x86_64/libGLU1-9.0.0-9.1.3.x86_64.rpm
> /var/tmp/osbuild-packagecache/openSUSE:13.2/standard/x86_64/libGLU1-9.0.0-9.1.3.x86_64.rpm:
>    Header V3 RSA/SHA256 Signature, key ID 3dbdc284: OK
>    Header SHA1 digest: OK (26acfd7bc34535274b4e545b7a250f44098a7409)
>    V3 RSA/SHA256 Signature, key ID 3dbdc284: BAD
>    MD5 digest: BAD Expected(6eb58054999dfebb200301fab50c01f8) !=
> (9dfa3430624805eaa39e8c92ba59f7c5)
Ouch. Header OK, part of body (cpio archive) missing or corrupt.
Remove rpm from cache + Redownload package (should be automatic
on next build).

  - Yamaban.
Reply | Threaded
Open this post in threaded view
|

Re: osc build openSUSE_13.2 not works for some RPMs

Rusmir Duško
In reply to this post by Marcus Hüwe
On Mon, 29 Jun 2015 20:32:01 +0200
Marcus Hüwe <[hidden email]> wrote:

> On 2015-06-29 20:18:31 +0200, Rusmir Duško wrote:
> > On Mon, 29 Jun 2015 19:59:49 +0200
> > Marcus Hüwe <[hidden email]> wrote:
> >
> > > On 2015-06-29 18:23:50 +0200, Rusmir Duško wrote:
> > > > On Mon, 29 Jun 2015 17:57:24 +0200
> > > > Marcus Hüwe <[hidden email]> wrote:
> > > > > Ok. That is, a package is not properly installed (the question is which
> > > > > one). Can you do the following?
> > > > > - remove the build root
> > > > > - start building packages
> > > > > - note down the order of the packages
> > > > > - send the log (or at least everything after the "Updating / installing..."
> > > > >   line) of the first failing package
> > > >
> > > > I have removed with
> > > >
> > > > rm -fr /var/tmp/build-root
> > > >
> > > > and have used
> > > >
> > > > osc build openSUSE_13.2
> > > >
> > > > Here is complete paste (build.log-starfighter-openSUSE_13.2)
> > > >
> > > > http://pastebin.ca/3040477
> > > >
> > >
> > > [   48s] libGLU1-9.0.0-9.1.3                   ########################################
> > > [   48s] error: unpacking of archive failed on file /usr/lib64/libGLU.so.1.3.1;55916ecd: cpio: read failed - Inappropriate ioctl for device
> > > [   48s] error: libGLU1-9.0.0-9.1.3.x86_64: install failed
> > >
> > > Hmm please check the integrity of the package:
> > > rpm --checksig -v \
> > >  /var/tmp/osbuild-packagecache/openSUSE:13.2/standard/x86_64/libGLU1-9.0.0-9.1.3.x86_64.rpm
> >
> > rpm --checksig -v /var/tmp/osbuild-packagecache/openSUSE:13.2/standard/x86_64/libGLU1-9.0.0-9.1.3.x86_64.rpm
> > /var/tmp/osbuild-packagecache/openSUSE:13.2/standard/x86_64/libGLU1-9.0.0-9.1.3.x86_64.rpm:
> >     Header V3 RSA/SHA256 Signature, key ID 3dbdc284: OK
> >     Header SHA1 digest: OK (26acfd7bc34535274b4e545b7a250f44098a7409)
> >     V3 RSA/SHA256 Signature, key ID 3dbdc284: BAD
> >     MD5 digest: BAD Expected(6eb58054999dfebb200301fab50c01f8) !=
> > (9dfa3430624805eaa39e8c92ba59f7c5)
> >
> The package is broken. If you e.g. rm it and start the build, osc
> will download the package again and everthing should work as expected.
> Now the question is why the package got corrupted... maybe osc should
> perform some integrity checks as well.

I have used

zypper in -f libGLU1
Loading repository data...
Reading installed packages...
Forcing installation of 'libGLU1-9.0.0-9.1.3.x86_64' from repository 'openSUSE:13.2'.
Resolving package dependencies...

The following package is going to be reinstalled:
  libGLU1

1 package to reinstall.
Overall download size: 181.9 KiB. Already cached: 0 B  No additional space will be used or freed after the operation.
Continue? [y/n/? shows all options] (y):
Retrieving package libGLU1-9.0.0-9.1.3.x86_64                                                                                          (1/1), 181.9 KiB (506.8 KiB unpacked)
Retrieving: libGLU1-9.0.0-9.1.3.x86_64.rpm ...........................................................................................................................[done]
Checking for file conflicts: .........................................................................................................................................[done]
(1/1) Installing:
libGLU1-9.0.0-9.1.3 ................................................................................................................................[done

and again have get

rpm --checksig -v /var/tmp/osbuild-packagecache/openSUSE:13.2/standard/x86_64/libGLU1-9.0.0-9.1.3.x86_64.rpm
/var/tmp/osbuild-packagecache/openSUSE:13.2/standard/x86_64/libGLU1-9.0.0-9.1.3.x86_64.rpm:
    Header V3 RSA/SHA256 Signature, key ID 3dbdc284: OK
    Header SHA1 digest: OK (26acfd7bc34535274b4e545b7a250f44098a7409)
    V3 RSA/SHA256 Signature, key ID 3dbdc284: BAD
    MD5 digest: BAD Expected(6eb58054999dfebb200301fab50c01f8) !=
(9dfa3430624805eaa39e8c92ba59f7c5)

Can't remove this package

zypper rm libGLU1  
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following 3 NEW packages are going to be installed:
  kdebase4-artwork kdebase4-wallpaper-default kdebase4-workspace-branding-upstream

The following 92 packages are going to be REMOVED:
  DevIL-devel PlayOnLinux arkanoidsb blobAndConquer chromium-bsu freeglut-devel glu-devel google-earth-stable gpac gstreamer-plugins-bad gstreamer-plugins-bad-lang
  gstreamer-plugins-bad-orig-addon h264enc hugin kdeartwork4-screensaver kdebase4-openSUSE kdebase4-openSUSE-lang kdebase4-session kdebase4-workspace
  kdebase4-workspace-addons kdebase4-workspace-branding-openSUSE kiki ksudoku kubrick libGLC0 libGLU1 libIL1 libSDL-devel libSDL2-devel libSDL_image-devel
  libSDL_mixer-devel libSDL_mixer-devel-32bit libSDL_net-devel libSDL_ttf-devel liballeggl-devel liballeggl4_4 libftgl2 libgpac3 libgpac4 libgstgl-1_0-0 libprojectM2
  libreoffice libreoffice-base libreoffice-base-drivers-mysql libreoffice-calc libreoffice-calc-extensions libreoffice-draw libreoffice-filters-optional
  libreoffice-icon-theme-crystal libreoffice-icon-theme-galaxy libreoffice-icon-theme-hicontrast libreoffice-icon-theme-oxygen libreoffice-icon-theme-sifr
  libreoffice-impress libreoffice-kde4 libreoffice-l10n-de libreoffice-l10n-en libreoffice-l10n-hr libreoffice-l10n-sr libreoffice-mailmerge libreoffice-math
  libreoffice-pyuno libreoffice-writer libreoffice-writer-extensions libtuxcap4_0 libxine2-codecs love love-0_7_2 lsb notpacman pacman-arena patterns-openSUSE-kde
  patterns-openSUSE-kde4_basis patterns-openSUSE-kde4_imaging pipelight polly-b-gone q4wine q4wine-lang sdl-asylum tomatoes vegastrike vegastrike-data vegastrike-extra
  vegastrike-music vegastrike-speech vlc wine wine-compholio wine-staging x264 xscreensaver-data-extra zaz

The following 3 patterns are going to be REMOVED:
  kde kde4_basis kde4_imaging

The following package is going to be downgraded:
  libxine2

The following package is going to change vendor:
  libxine2  http://packman.links2linux.de -> openSUSE


1 package to downgrade, 3 new, 92 to remove, 1 to change vendor.
Overall download size: 11.3 MiB. Already cached: 0 B  After the operation, 2.5 GiB will be freed.
Continue? [y/n/p/? shows all options] (y): n


>
> Marcus



--
Rusmir Dusko
openSUSE Games maintainer
https://build.opensuse.org/project/users/games
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: osc build openSUSE_13.2 not works for some RPMs

Rusmir Duško
In reply to this post by Yamaban
On Mon, 29 Jun 2015 20:34:48 +0200 (CEST)
Yamaban <[hidden email]> wrote:

> On Mon, 29 Jun 2015 20:18, Rusmir Duško wrote:
> > On Mon, 29 Jun 2015 19:59:49 +0200 Marcus Hüwe wrote:
> >> On 2015-06-29 18:23:50 +0200, Rusmir Duško wrote:
> >>> On Mon, 29 Jun 2015 17:57:24 +0200 Marcus Hüwe wrote:
> [snip]
> >> [   48s] libGLU1-9.0.0-9.1.3                   ########################################
> >> [   48s] error: unpacking of archive failed on file /usr/lib64/libGLU.so.1.3.1;55916ecd: cpio: read failed - Inappropriate ioctl for device
> >> [   48s] error: libGLU1-9.0.0-9.1.3.x86_64: install failed
> >>
> >> Hmm please check the integrity of the package:
> >> rpm --checksig -v \
> >>  /var/tmp/osbuild-packagecache/openSUSE:13.2/standard/x86_64/libGLU1-9.0.0-9.1.3.x86_64.rpm
> >
> > rpm --checksig -v /var/tmp/osbuild-packagecache/openSUSE:13.2/standard/x86_64/libGLU1-9.0.0-9.1.3.x86_64.rpm
> > /var/tmp/osbuild-packagecache/openSUSE:13.2/standard/x86_64/libGLU1-9.0.0-9.1.3.x86_64.rpm:
> >    Header V3 RSA/SHA256 Signature, key ID 3dbdc284: OK
> >    Header SHA1 digest: OK (26acfd7bc34535274b4e545b7a250f44098a7409)
> >    V3 RSA/SHA256 Signature, key ID 3dbdc284: BAD
> >    MD5 digest: BAD Expected(6eb58054999dfebb200301fab50c01f8) !=
> > (9dfa3430624805eaa39e8c92ba59f7c5)
>
> Ouch. Header OK, part of body (cpio archive) missing or corrupt.
> Remove rpm from cache + Redownload package (should be automatic
> on next build).
>
>   - Yamaban.

Thanks Yamaban and Marcus Hüwe

I have removed from cache

rm
-f /var/tmp/osbuild-packagecache/openSUSE:13.2/standard/x86_64/libGLU1-9.0.0-9.1.3.x86_64.rpm

and then again installed normal with

zypper in -f libGLU1

and get now :)

rpm --checksig -v /var/tmp/osbuild-packagecache/openSUSE:13.2/standard/x86_64/libGLU1-9.0.0-9.1.3.x86_64.rpm
/var/tmp/osbuild-packagecache/openSUSE:13.2/standard/x86_64/libGLU1-9.0.0-9.1.3.x86_64.rpm:
    Header V3 RSA/SHA256 Signature, key ID 3dbdc284: OK
    Header SHA1 digest: OK (26acfd7bc34535274b4e545b7a250f44098a7409)
    V3 RSA/SHA256 Signature, key ID 3dbdc284: OK
    MD5 digest: OK (6eb58054999dfebb200301fab50c01f8)


and works build

/usr/local/suse/games/starfighter/ > osc build openSUSE_13.2

Thanks much for help!

--
Rusmir Dusko
openSUSE Games maintainer
https://build.opensuse.org/project/users/games
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: osc build openSUSE_13.2 not works for some RPMs

Jason Craig-3
On 06/29/2015 12:44 PM, Rusmir Duško wrote:
...

> Thanks Yamaban and Marcus Hüwe
>
> I have removed from cache
>
> rm
> -f /var/tmp/osbuild-packagecache/openSUSE:13.2/standard/x86_64/libGLU1-9.0.0-9.1.3.x86_64.rpm
>
> and then again installed normal with
>
> zypper in -f libGLU1

Just to be clear...the package cache in /var/tmp/osbuild-packagecache is
a cache of downloaded packages for the osc build process and is entirely
separate from your installed OpenSUSE instances packages (which you
manage using zypper). So the zypper command here (operating on your
installed OS) should have no affect on your build cache, and the removal
from the build cache (affecting osc) should have no effect on your
installed OS.

--
Jason Craig
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]