Mailinglist Archive: opensuse-buildservice (153 mails)

< Previous Next >
Re: [opensuse-buildservice] Re: Package fails in OBS, local osc build works
On Thu, 2014-11-13 at 12:59 +0100, Andreas Schwab wrote:
Dimstar / Dominique Leuenberger <dimstar@xxxxxxxxxxxx> writes:

On Thu, 2014-11-13 at 11:30 +0100, Andreas Schwab wrote:
Dimstar / Dominique Leuenberger <dimstar@xxxxxxxxxxxx> writes:

If I check this package out and do locally osc build, then the build
works just fine, either in a chroot env (default for me) or in a kvm
sessioon using --vm-type=kvm. Both cases give successful builds.

Did you run the pesign-repackage stage?

I don't understand the question - or rather: I have no idea how to do
that. Something that happens on OBS in plus which does not happen on osc
build?

$ osc rbl Virtualization:VMware/open-vm-tools openSUSE_13.2 i586 | grep
pesign-repackage.spec
[ 576s] OTHER/pesign-repackage.spec
[ 583s] OTHER/pesign-repackage.spec
[ 1s] cloud138 started "build pesign-repackage.spec" at Thu Nov 13
09:39:16 UTC 2014.
[ 1s] processing recipe
/var/cache/obs/worker/root_2/.build-srcdir/pesign-repackage.spec ...
[ 1s] running changelog2spec --target rpm --file
/var/cache/obs/worker/root_2/.build-srcdir/pesign-repackage.spec
[ 1s] init_buildsystem --configdir /var/run/obs/worker/2/build/configs
--cachedir /var/cache/build --prepare --clean --rpmlist
/var/cache/obs/worker/root_2/.build.rpmlist
/var/cache/obs/worker/root_2/.build-srcdir/pesign-repackage.spec build
rpmlint-Factory ...
[ 36s] processing recipe /.build-srcdir/pesign-repackage.spec ...
[ 36s] init_buildsystem --configdir /.build/configs --cachedir
/var/cache/build /.build-srcdir/pesign-repackage.spec build rpmlint-Factory
...
[ 125s] I have the following modifications for pesign-repackage.spec:
[ 125s] ----- building pesign-repackage.spec (user abuild)
[ 125s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)'
--nosignature --define 'disturl
obs://build.opensuse.org/Virtualization:VMware/openSUSE_13.2/ca5286273410c74606fd18219f8eea93-open-vm-tools'
/home/abuild/rpmbuild/SOURCES/pesign-repackage.spec


Eh, thanks for that! So, after 'my' build is actually done, there is a
2nd .spec being started to sign the KMPs. But it seems that pesign is
messing up the scriptlets in the other packages.

I vote for a bug in pesign! :) It should probably not even touch
packages that don't have kernel modules.

Anyway, the hunt has an end - the guilty one identified.. now to the
right fix...

Cheers,
Dominique


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

< Previous Next >
Follow Ups