* [gentoo-dev] Non-reproducible "useless" epunt_cxx QA warning? Misguided bugs?
@ 2013-03-09 17:26 Samuli Suominen
2013-03-09 17:50 ` Michał Górny
2013-03-09 18:17 ` Douglas Freed
0 siblings, 2 replies; 4+ messages in thread
From: Samuli Suominen @ 2013-03-09 17:26 UTC (permalink / raw
To: gentoo-dev, roman.zilka
I have to run off for few hours, like now, but this one user is filing
dozens of these epunt_cxx bugs and nobody seem to be able to reproduce them:
http://tinyurl.com/bjwxzad
Could someone verify they are actually legimate before they get assigned
to maintainers?
I think I've already misguidedly removed one of these checks from
expat's ebuild.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-dev] Non-reproducible "useless" epunt_cxx QA warning? Misguided bugs?
2013-03-09 17:26 [gentoo-dev] Non-reproducible "useless" epunt_cxx QA warning? Misguided bugs? Samuli Suominen
@ 2013-03-09 17:50 ` Michał Górny
2013-03-09 17:55 ` Michał Górny
2013-03-09 18:17 ` Douglas Freed
1 sibling, 1 reply; 4+ messages in thread
From: Michał Górny @ 2013-03-09 17:50 UTC (permalink / raw
To: gentoo-dev; +Cc: ssuominen, roman.zilka
[-- Attachment #1: Type: text/plain, Size: 540 bytes --]
On Sat, 09 Mar 2013 19:26:34 +0200
Samuli Suominen <ssuominen@gentoo.org> wrote:
> I have to run off for few hours, like now, but this one user is filing
> dozens of these epunt_cxx bugs and nobody seem to be able to reproduce them:
>
> http://tinyurl.com/bjwxzad
>
> Could someone verify they are actually legimate before they get assigned
> to maintainers?
Oh, I see the problem now. Stupid bash, stupid loops and stupid
subshelling. I'll attach a patch for the check in a minute.
--
Best regards,
Michał Górny
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 966 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-dev] Non-reproducible "useless" epunt_cxx QA warning? Misguided bugs?
2013-03-09 17:50 ` Michał Górny
@ 2013-03-09 17:55 ` Michał Górny
0 siblings, 0 replies; 4+ messages in thread
From: Michał Górny @ 2013-03-09 17:55 UTC (permalink / raw
To: gentoo-dev; +Cc: ssuominen, roman.zilka
[-- Attachment #1: Type: text/plain, Size: 1585 bytes --]
On Sat, 9 Mar 2013 18:50:36 +0100
Michał Górny <mgorny@gentoo.org> wrote:
> On Sat, 09 Mar 2013 19:26:34 +0200
> Samuli Suominen <ssuominen@gentoo.org> wrote:
>
> > I have to run off for few hours, like now, but this one user is filing
> > dozens of these epunt_cxx bugs and nobody seem to be able to reproduce them:
> >
> > http://tinyurl.com/bjwxzad
> >
> > Could someone verify they are actually legimate before they get assigned
> > to maintainers?
>
> Oh, I see the problem now. Stupid bash, stupid loops and stupid
> subshelling. I'll attach a patch for the check in a minute.
Index: eutils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v
retrieving revision 1.411
diff -u -B -r1.411 eutils.eclass
--- eutils.eclass 26 Feb 2013 14:36:40 -0000 1.411
+++ eutils.eclass 9 Mar 2013 17:54:20 -0000
@@ -1270,11 +1270,11 @@
[[ -z ${dir} ]] && dir=${S}
ebegin "Removing useless C++ checks"
local f any_found
- find "${dir}" -name configure | while read f ; do
+ while IFS= read -r -d '' f; do
patch --no-backup-if-mismatch -p0 "${f}" \
"${PORTDIR}/eclass/ELT-patches/nocxx/nocxx.patch" > /dev/null \
&& any_found=1
- done
+ done < <(find "${dir}" -name configure -print0)
if [[ -z ${any_found} ]]; then
eqawarn "epunt_cxx called unnecessarily (no C++ checks to punt)."
-----
But that doesn't seem to be the issue. If you remove '>/dev/null',
you'd notice that the patch does not apply...
--
Best regards,
Michał Górny
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 966 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-dev] Non-reproducible "useless" epunt_cxx QA warning? Misguided bugs?
2013-03-09 17:26 [gentoo-dev] Non-reproducible "useless" epunt_cxx QA warning? Misguided bugs? Samuli Suominen
2013-03-09 17:50 ` Michał Górny
@ 2013-03-09 18:17 ` Douglas Freed
1 sibling, 0 replies; 4+ messages in thread
From: Douglas Freed @ 2013-03-09 18:17 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 775 bytes --]
On Mar 9, 2013 12:28 PM, "Samuli Suominen" <ssuominen@gentoo.org> wrote:
>
> I have to run off for few hours, like now, but this one user is filing
dozens of these epunt_cxx bugs and nobody seem to be able to reproduce them:
>
> http://tinyurl.com/bjwxzad
>
> Could someone verify they are actually legimate before they get assigned
to maintainers?
> I think I've already misguidedly removed one of these checks from expat's
ebuild.
I've seen these myself in /var/log/portage/elog/summary.log, but they don't
show up as part of Portage's output during a run (as of latest 2.2). I
didn't think much of them, or I probably would have filled a dozen or so
bugs myself (or dug into the root cause, as mgorny has done, and filed one
bug against the right thing).
-Doug
dwfreed
[-- Attachment #2: Type: text/html, Size: 1020 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-03-09 18:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-09 17:26 [gentoo-dev] Non-reproducible "useless" epunt_cxx QA warning? Misguided bugs? Samuli Suominen
2013-03-09 17:50 ` Michał Górny
2013-03-09 17:55 ` Michał Górny
2013-03-09 18:17 ` Douglas Freed
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox