[jbosstools-issues] [JBoss JIRA] (JBDS-4076) "RPM release" mismatch between src.rpm and x86_64.rpm
Nick Boldt (JIRA)
issues at jboss.org
Tue Oct 4 15:41:00 EDT 2016
[ https://issues.jboss.org/browse/JBDS-4076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13302575#comment-13302575 ]
Nick Boldt commented on JBDS-4076:
----------------------------------
Looks like the timestamp is incrementing each time an rpm is created:
{code:title=10.2-0.20161004.1842, then 10.2-0.20161004.1843}
DEBUG util.py:502: Executing command: ['/bin/rpm', '-Uvh', '--nodeps', '/builddir/build/originals/devstudio-10.2-0.20161004.1842.el7.src.rpm'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': '<mock-chroot> \\s-\\v\\$ '} and shell False
DEBUG util.py:421: Updating / installing...
DEBUG util.py:421: devstudio-10.2-0.20161004.1842.el7 ########################################
...
DEBUG util.py:502: Executing command: ['/bin/rpm', '-qpl', '/builddir/build/originals/devstudio-10.2-0.20161004.1842.el7.src.rpm'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': '<mock-chroot> \\s-\\v\\$ '} and shell False
DEBUG util.py:421: build.sh
DEBUG util.py:421: devstudio.spec
DEBUG util.py:421: devstudio.tar.xz
DEBUG util.py:557: Child return code was: 0
DEBUG util.py:578: child environment: None
DEBUG package_manager.py:96: ['/usr/bin/yum-builddep', '--installroot', '/opt/data/mock_root/devstudio.rpm_master/root/', '/opt/data/mock_root/devstudio.rpm_master/root//builddir/build/SRPMS/rh-eclipse46-devstudio-10.2-0.20161004.1843.el7.src.rpm']
DEBUG util.py:578: child environment: None
DEBUG util.py:502: Executing command: ['/usr/bin/yum-builddep', '--installroot', '/opt/data/mock_root/devstudio.rpm_master/root/', '/opt/data/mock_root/devstudio.rpm_master/root//builddir/build/SRPMS/rh-eclipse46-devstudio-10.2-0.20161004.1843.el7.src.rpm', '--setopt=tsflags=nocontexts'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'LC_MESSAGES': 'C', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': '<mock-chroot> \\s-\\v\\$ '} and shell False
DEBUG util.py:421: Getting requirements for rh-eclipse46-devstudio-10.2-0.20161004.1843.el7.src{code} -- http://wonka.mw.lab.eng.bos.redhat.com/jenkins/job/devstudio.rpm_master/ws/sources/product/rpm/mock_logs/root.log/*view*/
Then...
{code:title=10.2-0.20161004.1843, then 10.2-0.20161004.1844}
Wrote: /builddir/build/SRPMS/rh-eclipse46-devstudio-10.2-0.20161004.1843.el7.src.rpm
...
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xYgqel
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/rh-eclipse46-devstudio-10.2-0.20161004.1844.el7.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/rh-eclipse46-devstudio-10.2-0.20161004.1844.el7.x86_64
++ dirname /builddir/build/BUILDROOT/rh-eclipse46-devstudio-10.2-0.20161004.1844.el7.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/rh-eclipse46-devstudio-10.2-0.20161004.1844.el7.x86_64
+ cd rh-eclipse46-devstudio-10.2
+ scl enable rh-maven33 rh-eclipse46 -
+ install -d -m755 /builddir/build/BUILDROOT/rh-eclipse46-devstudio-10.2-0.20161004.1844.el7.x86_64/opt/rh/rh-eclipse46/root/usr/share/eclipse/droplets/devstudio
++ pwd
+ eclipse -nosplash -consolelog -configuration /tmp/devstudio-rpm-eclipse-configuration -application org.eclipse.equinox.p2.repository.repo2runnable -createFragments -source /builddir/build/BUILD/rh-eclipse46-devstudio-10.2/p2-repo -destination /builddir/build/BUILDROOT/rh-eclipse46-devstudio-10.2-0.20161004.1844.el7.x86_64/opt/rh/rh-eclipse46/root/usr/share/eclipse/droplets/devstudio/eclipse
Eclipse: Cannot open display:
CompilerOracle: exclude org/eclipse/core/internal/dtree/DataTreeNode.forwardDeltaWith
CompilerOracle: exclude org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding.<init>
CompilerOracle: exclude org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates.instantiateTemplate
CompilerOracle: exclude org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage.addBinding
CompilerOracle: exclude org/python/pydev/editor/codecompletion/revisited/PythonPathHelper.isValidSourceFile
CompilerOracle: exclude org/eclipse/tycho/core/osgitools/EquinoxResolver.newState
Eclipse:
GTK+ Version Check
+ rm -fr /tmp/devstudio-rpm-eclipse-configuration
+ rm /builddir/build/BUILDROOT/rh-eclipse46-devstudio-10.2-0.20161004.1844.el7.x86_64/opt/rh/rh-eclipse46/root/usr/share/eclipse/droplets/devstudio/eclipse/artifacts.jar /builddir/build/BUILDROOT/rh-eclipse46-devstudio-10.2-0.20161004.1844.el7.x86_64/opt/rh/rh-eclipse46/root/usr/share/eclipse/droplets/devstudio/eclipse/content.jar
+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/rh-eclipse46-devstudio-10.2
/usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match.
{code} -- http://wonka.mw.lab.eng.bos.redhat.com/jenkins/job/devstudio.rpm_master/ws/sources/product/rpm/mock_logs/build.log/*view*/
> "RPM release" mismatch between src.rpm and x86_64.rpm
> -----------------------------------------------------
>
> Key: JBDS-4076
> URL: https://issues.jboss.org/browse/JBDS-4076
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: build, rpm
> Reporter: Václav Kadlčík
> Assignee: Nick Boldt
>
> This is an issue with upcoming rh-eclipse46-devstudio.rpm.
> Sometimes there's a mismatch in the "RPM release" between a built RPM and its src.rpm. For example https://devstudio.jboss.com/10.0/snapshots/builds/devstudio.rpm_master/2016-10-04_00-57-00-B156/x86_64/ contains:
> rh-eclipse46-devstudio-10.2-0.20161004.0056.el7.src.rpm
> rh-eclipse46-devstudio-10.2-0.20161004.0057.el7.x86_64.rpm
> The RPM release part is "0.20161004.0057.el7"; looks constructed using the date and time of building. The time bits are different between the two files.
> The SOURCERPM info in the RPM is broken as well:
> {{$ rpm -q --qf='%{SOURCERPM}\n' -p rh-eclipse46-devstudio-10.2-0.20161004.0057.el7.x86_64.rpm
> rh-eclipse46-devstudio-10.2-0.20161004.0057.el7.src.rpm
> }}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbosstools-issues
mailing list