[opensuse-kernel] Why does this test fail and how can it be fixed?
Hello, Why does this test fail and how can it be fixed ? - Full spec is at https://build.opensuse.org/package/view_file?file=kernel-default.spec&package=kernel-default&project=home%3Adoiggl&srcmd5=95d4c4a2c6975ff40319488b8a53dd01 - Full logfile is at https://build.opensuse.org/package/rawlog?arch=x86_64&package=kernel-default&project=home%3Adoiggl&repository=openSUSE_11.3 Thanks Glenn krel=$(make -s kernelrelease $MAKE_ARGS) if [ "$krel" != "%kernelrelease-%build_flavor" ]; then echo "Kernel release mismatch: $krel != %kernelrelease-%build_flavor"
&2 echo "exit code 1" exit 1 fi
The result is: make: Leaving directory `/usr/src/packages/BUILD/kernel-default-2.6.35.8/linux-2.6.35.8' ++ make -s kernelrelease -C /usr/src/packages/BUILD/kernel-default-2.6.35.8/linux-2.6.35.8 O=/usr/src/packages/BUILD/kernel-default-2.6.35.8/linux-obj + krel=2.6.35.8-22-vanilla + '[' 2.6.35.8-22-vanilla '!=' -22-vanilla ']' + echo 'Kernel release mismatch: 2.6.35.8-22-vanilla != -22-vanilla' Kernel release mismatch: 2.6.35.8-22-vanilla != -22-vanilla + echo 'exit code 1' exit code 1 + exit 1 -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On Mon, 01 Nov 2010 23:05:33 +1100, <doiggl@velocitynet.com.au> wrote:
Hello, Why does this test fail and how can it be fixed ?
- Full spec is at
- Full logfile is at
Thanks Glenn
krel=$(make -s kernelrelease $MAKE_ARGS)
if [ "$krel" != "%kernelrelease-%build_flavor" ]; then echo "Kernel release mismatch: $krel != %kernelrelease-%build_flavor"
&2 echo "exit code 1" exit 1 fi
The result is:
make: Leaving directory `/usr/src/packages/BUILD/kernel-default-2.6.35.8/linux-2.6.35.8' ++ make -s kernelrelease -C /usr/src/packages/BUILD/kernel-default-2.6.35.8/linux-2.6.35.8 O=/usr/src/packages/BUILD/kernel-default-2.6.35.8/linux-obj + krel=2.6.35.8-22-vanilla + '[' 2.6.35.8-22-vanilla '!=' -22-vanilla ']' + echo 'Kernel release mismatch: 2.6.35.8-22-vanilla != -22-vanilla' Kernel release mismatch: 2.6.35.8-22-vanilla != -22-vanilla + echo 'exit code 1' exit code 1 + exit 1
Fixed - set ensured these were set %define srcversion 2.6.35.8 %define patchversion 2.6.35.8 %define variant %{nil} -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
participants (1)
-
doiggl@velocitynet.com.au