QEMU build broken
The following commit broke the build of QEMU..
linux-user: remove configure option for setting uname release
http://git.qemu.org/?p=qemu.git;a=commit;h=e586822a58b6609edb5ea929e8a4aa394d32389f
/buildbot-qemu/default_openbsd_current/build/bsd-user/main.c:46:34: error: use of undeclared identifier 'CONFIG_UNAME_RELEASE'
Signature · 3 lines
This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Quoted 10 lines · Brad Smith
The following commit broke the build of QEMU..
linux-user: remove configure option for setting uname release
http://git.qemu.org/?p=qemu.git;a=commit;h=e586822a58b6609edb5ea929e8a4aa394d32389f
/buildbot-qemu/default_openbsd_current/build/bsd-user/main.c:46:34: error:
use of undeclared identifier 'CONFIG_UNAME_RELEASE'
Ah, bsd-user. Do you actually use it, or is it just in the default compile that you're running?
In this case bsd-user makes no use at all of the qemu_uname_release variable so we should probably just rip it out (together with the useless command line argument that lets the user tweak it).
thanks
-- PMM
Hi,
Quoted 9 lines · Peter Maydell
Quoted 5 lines · Brad Smith
The following commit broke the build of QEMU..
linux-user: remove configure option for setting uname release
http://git.qemu.org/?p=qemu.git;a=commit;h=e586822a58b6609edb5ea929e8a4aa394d32389f
Quoted 2 lines
Quoted 9 lines
Quoted 2 lines
/buildbot-qemu/default_openbsd_current/build/bsd-user/main.c:46:34:
error:
Quoted 1 line
use of undeclared identifier '
CONFIG_UNAME_RELEASE'Ah, bsd-user. Do you actually use it, or is it just in the default compile that you're running?
One year since last bsd-user specific patch, I take we need a new
maintainer for bsd-user?
In this case bsd-user makes no use at all of the
Quoted 4 lines
qemu_uname_releasevariable so we should probably just rip it out (together with the useless command line argument that lets the user tweak it).
Agreed, this is just copypaste from linux-user.
Riku
Quoted 6 lines · Riku Voipio
Quoted 2 lines · Peter Maydell
Ah, bsd-user. Do you actually use it, or is it just in the default compile that you're running?
One year since last bsd-user specific patch, I take we need a new
maintainer for bsd-user?
Perhaps so. Stacey Son submitted a set of patches to it back in January, but they were a very large series which needed some restructuring to get through code review and I don't think there's been a respin of those.
Personally I would like to see it either (a) actively maintained upstream or (b) just removed from the tree; the current situation doesn't seem very useful.
thanks
-- PMM
Quoted 8 lines · Peter Maydell
Quoted 6 lines · Riku Voipio
Quoted 2 lines · Peter Maydell
Ah, bsd-user. Do you actually use it, or is it just in the default compile that you're running?
One year since last bsd-user specific patch, I take we need a new maintainer for bsd-user?
Quoted 8 lines
Perhaps so. Stacey Son submitted a set of patches to it back in January, but they were a very large series which needed some restructuring to get through code review and I don't think there's been a respin of those.
Personally I would like to see it either (a) actively maintained upstream or (b) just removed from the tree; the current situation doesn't seem very useful.
There is some interest from FreeBSD folks to use qemu bsd-user mode in package cross building. In fact, support was added recently to poudriere to used qemu to cross build packages for armv6 and mips64 (see https://fossil.etoilebsd.net/poudriere/tktview/eb7afa654cec95e107905c64b78fb030abc1437b for example). Sean Bruno added the missing bits to make mips32 work correctly. Juergen Lock (nox@) has also contributed a lot of bug fixes and maintains the FreeBSD port.
As for restructuring the (25,000+ lines of) patches Sean has agreed to help with that given that I am busy with some other things at the moment.
Regards,
-stacey.
Quoted 7 lines · Peter Maydell
Quoted 6 lines · Brad Smith
The following commit broke the build of QEMU..
linux-user: remove configure option for setting uname release
http://git.qemu.org/?p=qemu.git;a=commit;h=e586822a58b6609edb5ea929e8a4aa394d32389f
Quoted 7 lines
Quoted 4 lines
/buildbot-qemu/default_openbsd_current/build/bsd-user/main.c:46:34: error:
use of undeclared identifier 'CONFIG_UNAME_RELEASE'Ah, bsd-user. Do you actually use it, or is it just in the default compile that you're running?
I do not use it personally but it is common sense that commits must not be breaking the build.
Quoted 7 lines
In this case bsd-user makes no use at all of the
qemu_uname_releasevariable so we should probably just rip it out (together with the useless command line argument that lets the user tweak it).thanks
-- PMM
Signature · 3 lines
This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Quoted 6 lines · Brad Smith
Quoted 2 lines · Peter Maydell
Ah, bsd-user. Do you actually use it, or is it just in the default compile that you're running?
I do not use it personally but it is common sense that commits must not be breaking the build.
I generally agree, but the minor ports (roughly, anything not x86 Linux) are inevitably going to get broken from time to time, because not everybody has access to all those systems to test on. bsd-user is particularly bad because it is a large chunk of code only built for BSD and it's not really maintained right now. (Hence my interest in whether it actually has users or if we're just carrying around a big lump of dead weight code.)
If we had a system that automatically tested all pull requests on a full set of build systems and mailed the list with the results, that would be nice, but we don't...
thanks
-- PMM
Quoted 8 lines · Peter Maydell
Quoted 6 lines · Brad Smith
Quoted 2 lines · Peter Maydell
Ah, bsd-user. Do you actually use it, or is it just in the default compile that you're running?
I do not use it personally but it is common sense that commits must not be breaking the build.
Quoted 8 lines
I generally agree, but the minor ports (roughly, anything not x86 Linux) are inevitably going to get broken from time to time, because not everybody has access to all those systems to test on. bsd-user is particularly bad because it is a large chunk of code only built for BSD and it's not really maintained right now. (Hence my interest in whether it actually has users or if we're just carrying around a big lump of dead weight code.)
This is just excuses and points out poor project process. There could easily be a staging branch to deal with this.
Quoted 7 lines
If we had a system that automatically tested all pull requests on a full set of build systems and mailed the list with the results, that would be nice, but we don't...
thanks
-- PMM
Signature · 3 lines
This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Quoted 2 lines · Brad Smith
This is just excuses and points out poor project process. There could easily be a staging branch to deal with this.
I have no objection if you'd like to sort out our build and test infrastructure.
thanks
-- PMM
Quoted 18 lines · Brad Smith
Quoted 8 lines · Peter Maydell
Quoted 6 lines · Brad Smith
Quoted 2 lines · Peter Maydell
Ah, bsd-user. Do you actually use it, or is it just in the default compile that you're running?
I do not use it personally but it is common sense that commits must not be breaking the build.
Quoted 8 lines
I generally agree, but the minor ports (roughly, anything not x86 Linux) are inevitably going to get broken from time to time, because not everybody has access to all those systems to test on. bsd-user is particularly bad because it is a large chunk of code only built for BSD and it's not really maintained right now. (Hence my interest in whether it actually has users or if we're just carrying around a big lump of dead weight code.)
Quoted 2 lines
This is just excuses and points out poor project process. There could easily be a staging branch to deal with this.
Having your feature in-tree is a privilege, not a right. You earn it by helping to maintain it. "it's not really maintained right now" means it has not been earning its keep. You're encouraged to remedy that.
Quoted 20 lines · Markus Armbruster
Quoted 18 lines · Brad Smith
Quoted 16 lines · Peter Maydell
Quoted 6 lines · Brad Smith
Quoted 2 lines · Peter Maydell
Ah, bsd-user. Do you actually use it, or is it just in the default compile that you're running?
I do not use it personally but it is common sense that commits must not be breaking the build.
I generally agree, but the minor ports (roughly, anything not x86 Linux) are inevitably going to get broken from time to time, because not everybody has access to all those systems to test on. bsd-user is particularly bad because it is a large chunk of code only built for BSD and it's not really maintained right now. (Hence my interest in whether it actually has users or if we're just carrying around a big lump of dead weight code.)
Quoted 6 lines
Quoted 2 lines
This is just excuses and points out poor project process. There could easily be a staging branch to deal with this.
Having your feature in-tree is a privilege, not a right. You earn it by helping to maintain it. "it's not really maintained right now" means it has not been earning its keep. You're encouraged to remedy that.
Huh? "my feature"? I have nothing to do with this. What kind of crazy is this? How to misdirect and not take responsibility for breaking something. If there wasn't sloppy irresponsible development in the first place it wouldn't be an issue.
Signature · 3 lines
This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Il 10/05/2014 08:45, Brad Smith ha scritto:
Quoted 9 lines
Quoted 4 lines
Having your feature in-tree is a privilege, not a right. You earn it by helping to maintain it. "it's not really maintained right now" means it has not been earning its keep. You're encouraged to remedy that.
Huh? "my feature"? I have nothing to do with this. What kind of crazy is this? How to misdirect and not take responsibility for breaking something. If there wasn't sloppy irresponsible development in the first place it wouldn't be an issue.
Brad,
all this is doing, is convincing people that bsd-user is not worth keeping in the tree. It's a fact that in a million-line codebase not all patches can be tested by all people.
Why don't you send a patch instead of whining?
Paolo
Quoted 1 line · Paolo Bonzini
Why don't you send a patch?
Or just test the one I sent yesterday:
http://patchwork.ozlabs.org/patch/347443/
thanks
-- PMM
Quoted 11 lines · Paolo Bonzini
Il 10/05/2014 08:45, Brad Smith ha scritto:
Quoted 9 lines
Quoted 4 lines
Having your feature in-tree is a privilege, not a right. You earn it by helping to maintain it. "it's not really maintained right now" means it has not been earning its keep. You're encouraged to remedy that.
Huh? "my feature"? I have nothing to do with this. What kind of crazy is this? How to misdirect and not take responsibility for breaking something. If there wasn't sloppy irresponsible development in the first place it wouldn't be an issue.
Quoted 5 lines
Brad,
all this is doing, is convincing people that bsd-user is not worth keeping in the tree. It's a fact that in a million-line codebase not all patches can be tested by all people.
My posts have nothing to do with bsd-user. I don't give a shit about it.
The real issue is the process and the fact that someone removed a constant from the configure script and didn't even grep the tree to see if it existed anywhere else. That is very sloppy.
Quoted 1 line
Why don't you send a patch instead of whining?
Constantly trying to deflect from the real issues.
Signature · 3 lines
This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Quoted 24 lines · Brad Smith
Quoted 11 lines · Paolo Bonzini
Il 10/05/2014 08:45, Brad Smith ha scritto:
Quoted 9 lines
Quoted 4 lines
Having your feature in-tree is a privilege, not a right. You earn it by helping to maintain it. "it's not really maintained right now" means it has not been earning its keep. You're encouraged to remedy that.
Huh? "my feature"? I have nothing to do with this. What kind of crazy is this? How to misdirect and not take responsibility for breaking something. If there wasn't sloppy irresponsible development in the first place it wouldn't be an issue.
Quoted 5 lines
Brad,
all this is doing, is convincing people that bsd-user is not worth keeping in the tree. It's a fact that in a million-line codebase not all patches can be tested by all people.
My posts have nothing to do with bsd-user. I don't give a shit about it. The real issue is the process and the fact that someone removed a constant from the configure script and didn't even grep the tree to see
if it existed anywhere else. That is very sloppy.
Quoted 3 lines
Quoted 1 line
Why don't you send a patch instead of whining?
Constantly trying to deflect from the real issues.
No, this *is* the real issue: process gets improved by *people*. People like *you*. Pointing out flaws in the process is only marginally helpful, as we're painfully aware of them already. Actually doing something about it is what counts, because that's where we're short.
As Peter said, code people can't easily build build locally *will* get broken once in a while, and the solution for that are build bots shooting down pull requests that don't compile, or fail automated tests. You're very much invited to help with providing such services.