[Bug 351606] New: osc build doesn't set %release to the proper value
https://bugzilla.novell.com/show_bug.cgi?id=351606 Summary: osc build doesn't set %release to the proper value Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: adrian@novell.com ReportedBy: jblunck@novell.com QAContact: adrian@novell.com CC: mls@novell.com Found By: Development In kernel-syms.spec for the Kernel projects in the OBS we check for the proper release numbers of the BuildRequired binary kernel packages (kernel-default, etc) to be equal to the release number of the kernel-syms package. This fails when you try to build the kernel-syms package locally with osc build because the release number from the specfile is used instead. Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7208 + umask 022 + cd /usr/src/packages/BUILD + export NO_BRP_NOEXECSTACK=yes + NO_BRP_NOEXECSTACK=yes + rm -rf /var/tmp/kernel-syms-2.6.24_rc6_git7-build + mkdir /var/tmp/kernel-syms-2.6.24_rc6_git7-build + /usr/src/packages/SOURCES/guards i586 IA32 ++ /usr/src/packages/SOURCES/guards i586 IA32 + for config in '$(/usr/src/packages/SOURCES/guards i586 IA32 < /usr/src/packages/SOURCES/config.conf)' + arch=i386 + flavor=default + rpm -q --quiet kernel-default ++ case $flavor in + set -- kernel-default default + /usr/src/packages/SOURCES/guards kernel-default default i586 IA32 + diff -q /usr/src/packages/BUILD/kernel-source.patches /usr/src/packages/BUILD/kernel-default.patches ++ rpm -q --qf '%{RELEASE}' kernel-default + set -- 0 40.1 + set -- 0 40 + '[' 0 '!=' 40 ']' + echo 'Release numbers 0 and 40 do not match' Release numbers 0 and 40 do not match + exit 1 error: Bad exit status from /var/tmp/rpm-tmp.7208 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.7208 (%install) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=351606 User adrian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=351606#c1 Adrian Schröter <adrian@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|adrian@novell.com |mls@novell.com --- Comment #1 from Adrian Schröter <adrian@novell.com> 2008-01-04 03:25:45 MST --- IMHO the basic problem is that the automatic modifications of the spec files on server side do not happen on local build at all. We seem not to have any api calls to POST the local spec file and get the modified version from the server. Michael, does it make sense to add this ? (despite of the fact that I personally think that the kernel*spec release number handling is not really a good design regards we handle release numbers with our build systems. I would check for the release numbers of installed packages and require them. This would also allow to update only on package and increase its Release number without a complete rebuild of all packages.). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com