RPM meta data difference

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

RPM meta data difference

Hans-Peter Jansen-2
Hi,

in my local BS, I linked openSUSE.org:devel:tools:building:cmake into a
local project, which saw a change earlier today, that modified
cmake-gui.spec.

The package cmake was rebuilt (okay), and resulted in (not okay):

[ 1284s] ... creating baselibs
[ 1284s] ... comparing built packages with the former built
[ 1284s] /usr/lib/build/rpm-check.sh
[ 1284s] compare /.build.oldpackages/cmake-3.9.0-296.1.src.rpm
/home/abuild/rpmbuild/SRPMS/cmake-3.9.0-297.1.src.rpm
[ 1284s] --- /tmp/tmp.ufBIc4jdyX 2017-08-28 10:41:58.360866537 +0000
[ 1284s] +++ /tmp/tmp.xabAXDBhKX 2017-08-28 10:41:58.368866780 +0000
[ 1284s] @@ -1,7 +1,7 @@
[ 1284s]  cmake 3.9.0 (none)
[ 1284s]   Cross-platform, open-source make system
[ 1284s]  CMake is a cross-platform, open-source build system
[ 1284s] - obs://private/LISA LISA:gcc / openSUSE_13.2
obs://private/LISA:gcc/openSUSE_13.2/f61c9b38dcd1f0bebc605ee583cf7051-cmake
BSD-3-Clause BSD-3-Clause
[ 1284s] + obs://private/LISA LISA:gcc / openSUSE_13.2
obs://private/LISA:gcc/openSUSE_13.2/912f535d243100d37547c56ef547e495-cmake
BSD-3-Clause BSD-3-Clause
[ 1284s]   Development/Tools/Building http://www.cmake.org/ (none) (none)
(none)
[ 1284s]   (none) 4.11.3 (none)
[ 1284s]   cpio gzip 9
[ 1284s] RPM meta information is different


What causes this meta data difference, and should that really happen?

I really hoped, that OBS would detect no changes, in order to not rebuild
subsequent dependencies (llvm4, which takes about 6 hours per build :( )

BTW, it would be nice to show external links in the frontend.
Digging into .osc/_files is a bit uncomfortable, especially if you want
to have a quick overview, which package is linked, and which isn't...

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

Reply | Threaded
Open this post in threaded view
|

Re: RPM meta data difference

Adrian Schröter
On Montag, 28. August 2017, 16:06:40 CEST wrote Hans-Peter Jansen:

> Hi,
>
> in my local BS, I linked openSUSE.org:devel:tools:building:cmake into a
> local project, which saw a change earlier today, that modified
> cmake-gui.spec.
>
> The package cmake was rebuilt (okay), and resulted in (not okay):
>
> [ 1284s] ... creating baselibs
> [ 1284s] ... comparing built packages with the former built
> [ 1284s] /usr/lib/build/rpm-check.sh
> [ 1284s] compare /.build.oldpackages/cmake-3.9.0-296.1.src.rpm
> /home/abuild/rpmbuild/SRPMS/cmake-3.9.0-297.1.src.rpm
> [ 1284s] --- /tmp/tmp.ufBIc4jdyX 2017-08-28 10:41:58.360866537 +0000
> [ 1284s] +++ /tmp/tmp.xabAXDBhKX 2017-08-28 10:41:58.368866780 +0000
> [ 1284s] @@ -1,7 +1,7 @@
> [ 1284s]  cmake 3.9.0 (none)
> [ 1284s]   Cross-platform, open-source make system
> [ 1284s]  CMake is a cross-platform, open-source build system
> [ 1284s] - obs://private/LISA LISA:gcc / openSUSE_13.2
> obs://private/LISA:gcc/openSUSE_13.2/f61c9b38dcd1f0bebc605ee583cf7051-cmake
> BSD-3-Clause BSD-3-Clause
> [ 1284s] + obs://private/LISA LISA:gcc / openSUSE_13.2
> obs://private/LISA:gcc/openSUSE_13.2/912f535d243100d37547c56ef547e495-cmake
> BSD-3-Clause BSD-3-Clause
> [ 1284s]   Development/Tools/Building http://www.cmake.org/ (none) (none)
> (none)
> [ 1284s]   (none) 4.11.3 (none)
> [ 1284s]   cpio gzip 9
> [ 1284s] RPM meta information is different
>
>
> What causes this meta data difference, and should that really happen?

The source of your package got changed.

> subsequent dependencies (llvm4, which takes about 6 hours per build :( )

yes, that happens always after a source change ...
(given you are not in rebuild="local", what means only source changed packages
 are rebuild)

> BTW, it would be nice to show external links in the frontend.
> Digging into .osc/_files is a bit uncomfortable, especially if you want
> to have a quick overview, which package is linked, and which isn't...
>
> Cheers,
> Pete
>


--

Adrian Schroeter
email: [hidden email]

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
 
Maxfeldstraße 5                        
90409 Nürnberg
Germany


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

Reply | Threaded
Open this post in threaded view
|

Re: RPM meta data difference

Hans-Peter Jansen-2
Hi Adrian,

On Montag, 28. August 2017 16:15:25 Adrian Schröter wrote:

> On Montag, 28. August 2017, 16:06:40 CEST wrote Hans-Peter Jansen:
> > Hi,
> >
> > in my local BS, I linked openSUSE.org:devel:tools:building:cmake into a
> > local project, which saw a change earlier today, that modified
> > cmake-gui.spec.
> >
> > The package cmake was rebuilt (okay), and resulted in (not okay):
> >
> > [ 1284s] ... creating baselibs
> > [ 1284s] ... comparing built packages with the former built
> > [ 1284s] /usr/lib/build/rpm-check.sh
> > [ 1284s] compare /.build.oldpackages/cmake-3.9.0-296.1.src.rpm
> > /home/abuild/rpmbuild/SRPMS/cmake-3.9.0-297.1.src.rpm
> > [ 1284s] --- /tmp/tmp.ufBIc4jdyX 2017-08-28 10:41:58.360866537 +0000
> > [ 1284s] +++ /tmp/tmp.xabAXDBhKX 2017-08-28 10:41:58.368866780 +0000
> > [ 1284s] @@ -1,7 +1,7 @@
> > [ 1284s]  cmake 3.9.0 (none)
> > [ 1284s]   Cross-platform, open-source make system
> > [ 1284s]  CMake is a cross-platform, open-source build system
> > [ 1284s] - obs://private/LISA LISA:gcc / openSUSE_13.2
> > obs://private/LISA:gcc/openSUSE_13.2/f61c9b38dcd1f0bebc605ee583cf7051-cmak
> > e
> > BSD-3-Clause BSD-3-Clause
> > [ 1284s] + obs://private/LISA LISA:gcc / openSUSE_13.2
> > obs://private/LISA:gcc/openSUSE_13.2/912f535d243100d37547c56ef547e495-cmak
> > e
> > BSD-3-Clause BSD-3-Clause
> > [ 1284s]   Development/Tools/Building http://www.cmake.org/ (none) (none)
> > (none)
> > [ 1284s]   (none) 4.11.3 (none)
> > [ 1284s]   cpio gzip 9
> > [ 1284s] RPM meta information is different
> >
> >
> > What causes this meta data difference, and should that really happen?
>
> The source of your package got changed.

Hm, don't grok the term "source of your package" ATM.

If this means, that the source files of cmake changed, well, that's not true.
Just cmake-gui.spec changed today, which is not even built here. See:

        https://build.opensuse.org/package/show/devel:tools:building/cmake

> > subsequent dependencies (llvm4, which takes about 6 hours per build :( )
>
> yes, that happens always after a source change ...
> (given you are not in rebuild="local", what means only source changed
> packages are rebuild)

Any pointer, where the rebuild parameter is used, and what values it can have?

Sorry for all those questions and my missing knowledge.
Pete
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: RPM meta data difference

Adrian Schröter
On Montag, 28. August 2017, 17:23:55 CEST wrote Hans-Peter Jansen:

> Hi Adrian,
>
> On Montag, 28. August 2017 16:15:25 Adrian Schröter wrote:
> > On Montag, 28. August 2017, 16:06:40 CEST wrote Hans-Peter Jansen:
> > > Hi,
> > >
> > > in my local BS, I linked openSUSE.org:devel:tools:building:cmake into a
> > > local project, which saw a change earlier today, that modified
> > > cmake-gui.spec.
> > >
> > > The package cmake was rebuilt (okay), and resulted in (not okay):
> > >
> > > [ 1284s] ... creating baselibs
> > > [ 1284s] ... comparing built packages with the former built
> > > [ 1284s] /usr/lib/build/rpm-check.sh
> > > [ 1284s] compare /.build.oldpackages/cmake-3.9.0-296.1.src.rpm
> > > /home/abuild/rpmbuild/SRPMS/cmake-3.9.0-297.1.src.rpm
> > > [ 1284s] --- /tmp/tmp.ufBIc4jdyX 2017-08-28 10:41:58.360866537 +0000
> > > [ 1284s] +++ /tmp/tmp.xabAXDBhKX 2017-08-28 10:41:58.368866780 +0000
> > > [ 1284s] @@ -1,7 +1,7 @@
> > > [ 1284s]  cmake 3.9.0 (none)
> > > [ 1284s]   Cross-platform, open-source make system
> > > [ 1284s]  CMake is a cross-platform, open-source build system
> > > [ 1284s] - obs://private/LISA LISA:gcc / openSUSE_13.2
> > > obs://private/LISA:gcc/openSUSE_13.2/f61c9b38dcd1f0bebc605ee583cf7051-cmak
> > > e
> > > BSD-3-Clause BSD-3-Clause
> > > [ 1284s] + obs://private/LISA LISA:gcc / openSUSE_13.2
> > > obs://private/LISA:gcc/openSUSE_13.2/912f535d243100d37547c56ef547e495-cmak
> > > e
> > > BSD-3-Clause BSD-3-Clause
> > > [ 1284s]   Development/Tools/Building http://www.cmake.org/ (none) (none)
> > > (none)
> > > [ 1284s]   (none) 4.11.3 (none)
> > > [ 1284s]   cpio gzip 9
> > > [ 1284s] RPM meta information is different
> > >
> > >
> > > What causes this meta data difference, and should that really happen?
> >
> > The source of your package got changed.
>
> Hm, don't grok the term "source of your package" ATM.
>
> If this means, that the source files of cmake changed, well, that's not true.
> Just cmake-gui.spec changed today, which is not even built here. See:
>
> https://build.opensuse.org/package/show/devel:tools:building/cmake

well, that is enough. All files are available to the build, so the md5sum
is calculated from the entire container.

> > > subsequent dependencies (llvm4, which takes about 6 hours per build :( )
> >
> > yes, that happens always after a source change ...
> > (given you are not in rebuild="local", what means only source changed
> > packages are rebuild)
>
> Any pointer, where the rebuild parameter is used, and what values it can have?

http://openbuildservice.org/help/manuals/obs-reference-guide/cha.obs.build_scheduling_and_dispatching.html#idm140600269045600


--

Adrian Schroeter
email: [hidden email]

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
 
Maxfeldstraße 5                        
90409 Nürnberg
Germany


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