all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* ping on a build fix for a build failure (main branch)
@ 2023-05-30 17:54 Andy Tai
  2023-06-09 11:07   ` bug#63952: " Andreas Enge
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Tai @ 2023-05-30 17:54 UTC (permalink / raw)
  To: guix-devel

Hi, following previous comments (thanks) I have submitted a patch to
correctly fix a build failure due to compiler warnings, instead of
avoiding not building tests, on this Guix bug issue:

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63526

Please review the patch (which shall be a simple and low risk fix).  Thanks!


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ping on a build fix for a build failure (main branch)
@ 2023-06-09 11:07   ` Andreas Enge
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Enge @ 2023-06-09 11:07 UTC (permalink / raw)
  To: Andy Tai; +Cc: 63526-done, 63952-done, guix-devel

Hello Andy,

Am Tue, May 30, 2023 at 10:54:20AM -0700 schrieb Andy Tai:
> Hi, following previous comments (thanks) I have submitted a patch to
> correctly fix a build failure due to compiler warnings, instead of
> avoiding not building tests, on this Guix bug issue:
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63526
> Please review the patch (which shall be a simple and low risk fix).  Thanks!

I have reworked a bit the punctuation of the commit message, shortened
the patch file name and pushed. By this I am closing the two corresponding
bug reports (it would have been enough to send a second version of the
patch to the first bug).

Did you contact upstream? Looking at the test, it looked wrong before and
after your patch...
if (len < token->data.character.len) {
   hubbub_token t = { 0 };
   t.type = HUBBUB_TOKEN_CHARACTER;
   t.data.character.ptr += len;
   t.data.character.len -= len;
...
Adding to a previously undefined, now 0 pointer .ptr raised a warning
for a reason, I think; and it looks like the t.data maybe should be
token->data. But it is quite possible that this branch is not even
reached by the test.

Andreas



^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#63952: ping on a build fix for a build failure (main branch)
@ 2023-06-09 11:07   ` Andreas Enge
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Enge @ 2023-06-09 11:07 UTC (permalink / raw)
  To: Andy Tai; +Cc: guix-devel, 63526-done, 63952-done

Hello Andy,

Am Tue, May 30, 2023 at 10:54:20AM -0700 schrieb Andy Tai:
> Hi, following previous comments (thanks) I have submitted a patch to
> correctly fix a build failure due to compiler warnings, instead of
> avoiding not building tests, on this Guix bug issue:
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63526
> Please review the patch (which shall be a simple and low risk fix).  Thanks!

I have reworked a bit the punctuation of the commit message, shortened
the patch file name and pushed. By this I am closing the two corresponding
bug reports (it would have been enough to send a second version of the
patch to the first bug).

Did you contact upstream? Looking at the test, it looked wrong before and
after your patch...
if (len < token->data.character.len) {
   hubbub_token t = { 0 };
   t.type = HUBBUB_TOKEN_CHARACTER;
   t.data.character.ptr += len;
   t.data.character.len -= len;
...
Adding to a previously undefined, now 0 pointer .ptr raised a warning
for a reason, I think; and it looks like the t.data maybe should be
token->data. But it is quite possible that this branch is not even
reached by the test.

Andreas





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ping on a build fix for a build failure (main branch)
  2023-06-09 11:07   ` bug#63952: " Andreas Enge
  (?)
@ 2023-06-09 17:28   ` Andy Tai
  -1 siblings, 0 replies; 4+ messages in thread
From: Andy Tai @ 2023-06-09 17:28 UTC (permalink / raw)
  To: Andreas Enge; +Cc: 63526-done, 63952-done, guix-devel

I did contact upstream, no response

On Fri, Jun 9, 2023 at 4:07 AM Andreas Enge <andreas@enge.fr> wrote:
>
> Hello Andy,
>
> Am Tue, May 30, 2023 at 10:54:20AM -0700 schrieb Andy Tai:
> > Hi, following previous comments (thanks) I have submitted a patch to
> > correctly fix a build failure due to compiler warnings, instead of
> > avoiding not building tests, on this Guix bug issue:
> > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63526
> > Please review the patch (which shall be a simple and low risk fix).  Thanks!
>
> I have reworked a bit the punctuation of the commit message, shortened
> the patch file name and pushed. By this I am closing the two corresponding
> bug reports (it would have been enough to send a second version of the
> patch to the first bug).
>
> Did you contact upstream? Looking at the test, it looked wrong before and
> after your patch...
> if (len < token->data.character.len) {
>    hubbub_token t = { 0 };
>    t.type = HUBBUB_TOKEN_CHARACTER;
>    t.data.character.ptr += len;
>    t.data.character.len -= len;
> ...
> Adding to a previously undefined, now 0 pointer .ptr raised a warning
> for a reason, I think; and it looks like the t.data maybe should be
> token->data. But it is quite possible that this branch is not even
> reached by the test.
>
> Andreas
>


-- 
Andy Tai, atai@atai.org, Skype: licheng.tai, Line: andy_tai, WeChat: andytai1010
Year 2023 民國112年
自動的精神力是信仰與覺悟
自動的行為力是勞動與技能


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-06-09 17:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-30 17:54 ping on a build fix for a build failure (main branch) Andy Tai
2023-06-09 11:07 ` Andreas Enge
2023-06-09 11:07   ` bug#63952: " Andreas Enge
2023-06-09 17:28   ` Andy Tai

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.