[opensuse-kernel] Kernel:HEAD failure
Hi: Currently Kernel:HEAD failed to build completely All packages fail with ake: Leaving directory `/usr/src/packages/BUILD/kernel-desktop-3.0/linux-3.0-rc2' ++ make -s kernelrelease -C /usr/src/packages/BUILD/kernel-desktop-3.0/linux-3.0-rc2 O=/usr/src/packages/BUILD/kernel-desktop-3.0/linux-obj + krel=3.0.0-rc2-1-desktop + '[' 3.0.0-rc2-1-desktop '!=' 3.0-rc2-1-desktop ']' + echo 'Kernel release mismatch: 3.0.0-rc2-1-desktop != 3.0-rc2-1-desktop' Kernel release mismatch: 3.0.0-rc2-1-desktop != 3.0-rc2-1-desktop + exit 1 error: Bad exit status from /var/tmp/rpm-tmp.t9w0V6 (%prep) -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/11/2011 01:13 PM, Cristian Rodríguez wrote:
Hi:
Currently Kernel:HEAD failed to build completely
All packages fail with
ake: Leaving directory `/usr/src/packages/BUILD/kernel-desktop-3.0/linux-3.0-rc2' ++ make -s kernelrelease -C /usr/src/packages/BUILD/kernel-desktop-3.0/linux-3.0-rc2 O=/usr/src/packages/BUILD/kernel-desktop-3.0/linux-obj + krel=3.0.0-rc2-1-desktop + '[' 3.0.0-rc2-1-desktop '!=' 3.0-rc2-1-desktop ']' + echo 'Kernel release mismatch: 3.0.0-rc2-1-desktop != 3.0-rc2-1-desktop' Kernel release mismatch: 3.0.0-rc2-1-desktop != 3.0-rc2-1-desktop + exit 1 error: Bad exit status from /var/tmp/rpm-tmp.t9w0V6 (%prep)
This is due to the kernel tarball's version number not matching what it reports its version number as during the build. e.g. linux-3.0-rc2.tar.bz2 vs 3.0.0-rc2 Michal's fixed this in the upstream kernel already. I'll pull in the patches for our tree. - -Jeff - -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk3zwokACgkQLPWxlyuTD7I7zwCdGUsbeMQz3FfCUK8c3VYECRK1 aFoAn3yg157iNZcuYZquu69lRAt/oBXw =SUR9 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/11/2011 03:31 PM, Jeff Mahoney wrote:
On 06/11/2011 01:13 PM, Cristian Rodríguez wrote:
Hi:
Currently Kernel:HEAD failed to build completely
All packages fail with
ake: Leaving directory `/usr/src/packages/BUILD/kernel-desktop-3.0/linux-3.0-rc2' ++ make -s kernelrelease -C /usr/src/packages/BUILD/kernel-desktop-3.0/linux-3.0-rc2 O=/usr/src/packages/BUILD/kernel-desktop-3.0/linux-obj + krel=3.0.0-rc2-1-desktop + '[' 3.0.0-rc2-1-desktop '!=' 3.0-rc2-1-desktop ']' + echo 'Kernel release mismatch: 3.0.0-rc2-1-desktop != 3.0-rc2-1-desktop' Kernel release mismatch: 3.0.0-rc2-1-desktop != 3.0-rc2-1-desktop + exit 1 error: Bad exit status from /var/tmp/rpm-tmp.t9w0V6 (%prep)
This is due to the kernel tarball's version number not matching what it reports its version number as during the build.
e.g. linux-3.0-rc2.tar.bz2 vs 3.0.0-rc2
Michal's fixed this in the upstream kernel already. I'll pull in the patches for our tree.
Or not. SUBLEVEL=0 is in Makefile, so the "empty" fix doesn't do anything. Looks like we'll need to work around it. - -Jeff - -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk3zxrgACgkQLPWxlyuTD7J8LgCeLHF9XOj05qQvxDG/I6zJiw2V YDoAnifIEdhdarpd11JELmJ3Gcseyqek =6Ufu -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On Sat, Jun 11, 2011 at 03:49:12PM -0400, Jeff Mahoney wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 06/11/2011 03:31 PM, Jeff Mahoney wrote:
On 06/11/2011 01:13 PM, Cristian Rodríguez wrote:
Hi:
Currently Kernel:HEAD failed to build completely
All packages fail with
ake: Leaving directory `/usr/src/packages/BUILD/kernel-desktop-3.0/linux-3.0-rc2' ++ make -s kernelrelease -C /usr/src/packages/BUILD/kernel-desktop-3.0/linux-3.0-rc2 O=/usr/src/packages/BUILD/kernel-desktop-3.0/linux-obj + krel=3.0.0-rc2-1-desktop + '[' 3.0.0-rc2-1-desktop '!=' 3.0-rc2-1-desktop ']' + echo 'Kernel release mismatch: 3.0.0-rc2-1-desktop != 3.0-rc2-1-desktop' Kernel release mismatch: 3.0.0-rc2-1-desktop != 3.0-rc2-1-desktop + exit 1 error: Bad exit status from /var/tmp/rpm-tmp.t9w0V6 (%prep)
This is due to the kernel tarball's version number not matching what it reports its version number as during the build.
e.g. linux-3.0-rc2.tar.bz2 vs 3.0.0-rc2
Michal's fixed this in the upstream kernel already. I'll pull in the patches for our tree.
Or not. SUBLEVEL=0 is in Makefile, so the "empty" fix doesn't do anything. Looks like we'll need to work around it.
I'm still not sure if the SUBLEVEL will be set or not by Linus in the "final" 3.0 release. I tried to get a straight answer about this, but couldn't, last week. So it's still uncertian how this is going to work. Personally, I'd like to see him release "3.0.0" which makes my life easier by releasing "3.0.1" and a bit less confusing for people who are trying to figure out the relationship between "3.0" and "3.0.1" But in the end, I'm just happy the number changed, so I can't complain that much... greg k-h -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/11/2011 04:17 PM, Greg KH wrote:
On Sat, Jun 11, 2011 at 03:49:12PM -0400, Jeff Mahoney wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 06/11/2011 03:31 PM, Jeff Mahoney wrote:
On 06/11/2011 01:13 PM, Cristian Rodríguez wrote:
Hi:
Currently Kernel:HEAD failed to build completely
All packages fail with
ake: Leaving directory `/usr/src/packages/BUILD/kernel-desktop-3.0/linux-3.0-rc2' ++ make -s kernelrelease -C /usr/src/packages/BUILD/kernel-desktop-3.0/linux-3.0-rc2 O=/usr/src/packages/BUILD/kernel-desktop-3.0/linux-obj + krel=3.0.0-rc2-1-desktop + '[' 3.0.0-rc2-1-desktop '!=' 3.0-rc2-1-desktop ']' + echo 'Kernel release mismatch: 3.0.0-rc2-1-desktop != 3.0-rc2-1-desktop' Kernel release mismatch: 3.0.0-rc2-1-desktop != 3.0-rc2-1-desktop + exit 1 error: Bad exit status from /var/tmp/rpm-tmp.t9w0V6 (%prep)
This is due to the kernel tarball's version number not matching what it reports its version number as during the build.
e.g. linux-3.0-rc2.tar.bz2 vs 3.0.0-rc2
Michal's fixed this in the upstream kernel already. I'll pull in the patches for our tree.
Or not. SUBLEVEL=0 is in Makefile, so the "empty" fix doesn't do anything. Looks like we'll need to work around it.
I'm still not sure if the SUBLEVEL will be set or not by Linus in the "final" 3.0 release. I tried to get a straight answer about this, but couldn't, last week.
So it's still uncertian how this is going to work.
Personally, I'd like to see him release "3.0.0" which makes my life easier by releasing "3.0.1" and a bit less confusing for people who are trying to figure out the relationship between "3.0" and "3.0.1"
But in the end, I'm just happy the number changed, so I can't complain that much...
That was my understanding. Honestly, I don't care if it's 3.0 or 3.0.0 so long as the tarball name matches. For now, we can just toss SUBLEVEL= into MAKE_ARGS and work around it. But it's a hack. - -Jeff - -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk3zzYUACgkQLPWxlyuTD7KKfACfcm2Ram8PsXIEkgPsbyP9Z4HF BTUAoIuTmGVT+My/LxNTPTpA/hI2A9Oo =Mxgi -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
Dne 11.6.2011 22:18, Jeff Mahoney napsal(a):
For now, we can just toss SUBLEVEL= into MAKE_ARGS and work around it. But it's a hack.
No, please don't do that. It turns out that a three-number kernel release string is de-facto part of the userspace ABI (too many programs do a sscanf(uts.release, "%d.%d.%d", &major, &patchlevel, &sublevel) to do some branching based on kernel version). I'll look into the buildsystem failure on Monday, for now, you can workaround it if you set SRCVERSION=3.0.0-rc2 and let scripts/tar-up.sh generate linux-3.0.0-rc2.tar.bz2. This works in the vanilla branch. Michal -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
El 12/06/11 03:47, Michal Marek escribió:
Dne 11.6.2011 22:18, Jeff Mahoney napsal(a):
For now, we can just toss SUBLEVEL= into MAKE_ARGS and work around it. But it's a hack.
No, please don't do that. It turns out that a three-number kernel release string is de-facto part of the userspace ABI (too many programs do a sscanf(uts.release, "%d.%d.%d", &major, &patchlevel, &sublevel) to do some branching based on kernel version). I'll look into the buildsystem failure on Monday, for now, you can workaround it if you set SRCVERSION=3.0.0-rc2 and let scripts/tar-up.sh generate linux-3.0.0-rc2.tar.bz2. This works in the vanilla branch.
Michal
Ok, the fixed version failed to compile anyway ;) /usr/src/packages/BUILD/kernel-desktop-3.0/linux-3.0-rc2/drivers/scsi/qla4xxx/ql4_nx.c:659:21: error: conflicting types for 'readq' /usr/src/packages/BUILD/kernel-desktop-3.0/linux-3.0-rc2/drivers/scsi/qla4xxx/ql4_nx.h:779:19: note: previous definition of 'readq' was here /usr/src/packages/BUILD/kernel-desktop-3.0/linux-3.0-rc2/drivers/scsi/qla4xxx/ql4_nx.c:672:20: error: conflicting types for 'writeq' /usr/src/packages/BUILD/kernel-desktop-3.0/linux-3.0-rc2/drivers/scsi/qla4xxx/ql4_nx.h:786:20: note: previous definition of 'writeq' was here -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On 12.6.2011 09:47, Michal Marek wrote:
Dne 11.6.2011 22:18, Jeff Mahoney napsal(a):
For now, we can just toss SUBLEVEL= into MAKE_ARGS and work around it. But it's a hack.
No, please don't do that. It turns out that a three-number kernel release string is de-facto part of the userspace ABI (too many programs do a sscanf(uts.release, "%d.%d.%d",&major,&patchlevel,&sublevel) to do some branching based on kernel version). I'll look into the buildsystem failure on Monday,
Should be fixed with http://kernel.opensuse.org/cgit/kernel-source/commit/?id=95c99779565c535ee33... Michal -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On Saturday 11 June 2011 10:17:03 pm Greg KH wrote:
On Sat, Jun 11, 2011 at 03:49:12PM -0400, Jeff Mahoney wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 06/11/2011 03:31 PM, Jeff Mahoney wrote:
On 06/11/2011 01:13 PM, Cristian Rodríguez wrote:
Hi:
Currently Kernel:HEAD failed to build completely
All packages fail with
ake: Leaving directory `/usr/src/packages/BUILD/kernel-desktop-3.0/linux-3.0-rc2' ++ make -s kernelrelease -C /usr/src/packages/BUILD/kernel-desktop-3.0/linux-3.0-rc2 O=/usr/src/packages/BUILD/kernel-desktop-3.0/linux-obj + krel=3.0.0-rc2-1-desktop + '[' 3.0.0-rc2-1-desktop '!=' 3.0-rc2-1-desktop ']' + echo 'Kernel release mismatch: 3.0.0-rc2-1-desktop != 3.0-rc2-1-desktop' Kernel release mismatch: 3.0.0-rc2-1-desktop != 3.0-rc2-1-desktop + exit 1 error: Bad exit status from /var/tmp/rpm-tmp.t9w0V6 (%prep)
This is due to the kernel tarball's version number not matching what it reports its version number as during the build.
e.g. linux-3.0-rc2.tar.bz2 vs 3.0.0-rc2
Michal's fixed this in the upstream kernel already. I'll pull in the patches for our tree.
Or not. SUBLEVEL=0 is in Makefile, so the "empty" fix doesn't do anything. Looks like we'll need to work around it.
I'm still not sure if the SUBLEVEL will be set or not by Linus in the "final" 3.0 release. I tried to get a straight answer about this, but couldn't, last week.
So it's still uncertian how this is going to work.
Personally, I'd like to see him release "3.0.0" which makes my life easier by releasing "3.0.1" and a bit less confusing for people who are trying to figure out the relationship between "3.0" and "3.0.1"
I asked for it as well, but I am far from certain that Linus will listen. I have the odd feeling that he is happy to see everything around break, as a kid playing a trick to his neighbors. I just hope he'll get back to reason quickly...
But in the end, I'm just happy the number changed, so I can't complain that much...
greg k-h
-- Jean Delvare Suse L3 -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
participants (5)
-
Cristian Rodríguez
-
Greg KH
-
Jean Delvare
-
Jeff Mahoney
-
Michal Marek