[Starlingx-discuss] build-pkgs behavior: packages always compile
Hi Scott I am working on the bug 1804687<https://bugs.launchpad.net/starlingx/+bug/1804687>, and I have realized that some packages are rebuilt when "build-pkgs" is executed even if the package does not have new changes. The packages mentioned are: sm-common-debuginfo-1.0.0-20.tis.x86_64.rpm sm-common-dev-1.0.0-20.tis.x86_64.rpm sm-common-libs-1.0.0-20.tis.x86_64.rpm sm-eru-1.0.0-20.tis.x86_64.rpm sm-common-1.0.0-20.tis.src.rpm sm-common-1.0.0-20.tis.x86_64.rpm build-info-1.0-4.tis.src.rpm build-info-1.0-4.tis.x86_64.rpm build-info-dev-1.0-4.tis.x86_64.rpm Is this behavior a bug? otherwise why are those packages built every time if they have the same version? Note: The fix for the bug is ready for review https://review.openstack.org/#/c/634513/ Regards Felipe Ruiz / Pipo / Tranzemc Before anything else, preparation is the key to success. ( Alexander Graham Bell )
The build-info package rebuilds every time, as it generates the /etc/build-info file with info about the build. You can skip this by using "build-pkgs --no-build-info". SM rebuilds because it has a dependency on build-info. From: Ruiz Garcia, Felipe De Jesus [mailto:felipe.de.jesus.ruiz.garcia@intel.com] Sent: Wednesday, February 13, 2019 12:19 PM To: Little, Scott Cc: starlingx-discuss@lists.starlingx.io Subject: [Starlingx-discuss] build-pkgs behavior: packages always compile Hi Scott I am working on the bug 1804687<https://bugs.launchpad.net/starlingx/+bug/1804687>, and I have realized that some packages are rebuilt when "build-pkgs" is executed even if the package does not have new changes. The packages mentioned are: sm-common-debuginfo-1.0.0-20.tis.x86_64.rpm sm-common-dev-1.0.0-20.tis.x86_64.rpm sm-common-libs-1.0.0-20.tis.x86_64.rpm sm-eru-1.0.0-20.tis.x86_64.rpm sm-common-1.0.0-20.tis.src.rpm sm-common-1.0.0-20.tis.x86_64.rpm build-info-1.0-4.tis.src.rpm build-info-1.0-4.tis.x86_64.rpm build-info-dev-1.0-4.tis.x86_64.rpm Is this behavior a bug? otherwise why are those packages built every time if they have the same version? Note: The fix for the bug is ready for review https://review.openstack.org/#/c/634513/ Regards Felipe Ruiz / Pipo / Tranzemc Before anything else, preparation is the key to success. ( Alexander Graham Bell )
build-info is always rebuilt, unless the --no-build-info flag is used. the others likely have a BuildRequires on build-info. We do that in case there is a .h change that might alter the compilation of 'descendent' packages. You can suppress that behaviour with --no-descendants. Scott On 2019-02-13 12:19 p.m., Ruiz Garcia, Felipe De Jesus wrote:
Hi Scott
I am working on the bug 1804687 <https://bugs.launchpad.net/starlingx/+bug/1804687>, and I have realized that some packages are rebuilt when "build-pkgs" is executed even if the package does not have new changes.
The packages mentioned are:
sm-common-debuginfo-1.0.0-20.tis.x86_64.rpm
sm-common-dev-1.0.0-20.tis.x86_64.rpm
sm-common-libs-1.0.0-20.tis.x86_64.rpm
sm-eru-1.0.0-20.tis.x86_64.rpm
sm-common-1.0.0-20.tis.src.rpm
sm-common-1.0.0-20.tis.x86_64.rpm
build-info-1.0-4.tis.src.rpm
build-info-1.0-4.tis.x86_64.rpm
build-info-dev-1.0-4.tis.x86_64.rpm
Is this behavior a bug? otherwise why are those packages built every time if they have the same version?
Note:
The fix for the bug is ready for review https://review.openstack.org/#/c/634513/
Regards *Felipe Ruiz / Pipo / Tranzemc* /Before anything else, preparation is the key to success. ( Alexander Graham Bell )/
participants (3)
-
Penney, Don
-
Ruiz Garcia, Felipe De Jesus
-
Scott Little