unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [Emacs-diffs] master bc780a4: * test/lisp/progmodes/flymake-tests.el (ruby-backend): Skip on hydra.
       [not found] ` <20190625202333.7934B20990@vcs0.savannah.gnu.org>
@ 2019-06-26 13:54   ` Dmitry Gutov
  2019-06-26 16:04     ` Ergus
  2019-06-29  2:11     ` Glenn Morris
  0 siblings, 2 replies; 16+ messages in thread
From: Dmitry Gutov @ 2019-06-26 13:54 UTC (permalink / raw)
  To: emacs-devel, Glenn Morris

Hi Glenn,

On 25.06.2019 23:23, Glenn Morris wrote:
> branch: master
> commit bc780a46915326ea66ff51342f5e1158e124a677
> Author: Glenn Morris <rgm@gnu.org>
> Commit: Glenn Morris <rgm@gnu.org>
> 
>      * test/lisp/progmodes/flymake-tests.el (ruby-backend): Skip on hydra.
>      
>      Another unstable test.

Do you have an example?



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

* Re: [Emacs-diffs] master bc780a4: * test/lisp/progmodes/flymake-tests.el (ruby-backend): Skip on hydra.
  2019-06-26 13:54   ` [Emacs-diffs] master bc780a4: * test/lisp/progmodes/flymake-tests.el (ruby-backend): Skip on hydra Dmitry Gutov
@ 2019-06-26 16:04     ` Ergus
  2019-06-26 16:21       ` Dmitry Gutov
  2019-06-29  2:11     ` Glenn Morris
  1 sibling, 1 reply; 16+ messages in thread
From: Ergus @ 2019-06-26 16:04 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: Glenn Morris, emacs-devel

On Wed, Jun 26, 2019 at 04:54:36PM +0300, Dmitry Gutov wrote:
>Hi Glenn,
>
>On 25.06.2019 23:23, Glenn Morris wrote:
>>branch: master
>>commit bc780a46915326ea66ff51342f5e1158e124a677
>>Author: Glenn Morris <rgm@gnu.org>
>>Commit: Glenn Morris <rgm@gnu.org>
>>
>>     * test/lisp/progmodes/flymake-tests.el (ruby-backend): Skip on hydra.
>>     Another unstable test.
>
>Do you have an example?
>

Hi Sorry if this is not really related 100%.

I'm trying flymake today (because in master branch flycheck today
started freezing emacs, but that's another issue).

And I just opened a file with simple compilation errors 

emacs -Q myfile.cpp
M-x flymake-mode

And I see no errors detected. I tried many things and
flymake-running-backends prints.

Running backends:

And show-diagnostics says there are not diagnostics.

```
#include <unexistenfile.h>

nit var;

function() {
        tt;
        var1 = 23as;
}

```

Do I am missing something? Probably it needs some extra configuration,
or external dependency?

When I try to compile this code I get (as expected):

-----------------------
-*- mode: compilation; default-directory: "~/borrar/" -*-
Compilation started at Wed Jun 26 17:56:42

g++ lower_bounds.cpp -o lower_bounds.x
lower_bounds.cpp:1:10: fatal error: unexistenfile.h: No such file or directory
    1 | #include <unexistenfile.h>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.

Compilation exited abnormally with code 1 at Wed Jun 26 17:56:42
-----------------------

How can I check whats missing in my system?



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

* Re: [Emacs-diffs] master bc780a4: * test/lisp/progmodes/flymake-tests.el (ruby-backend): Skip on hydra.
  2019-06-26 16:04     ` Ergus
@ 2019-06-26 16:21       ` Dmitry Gutov
  2019-06-26 16:23         ` Ergus
  2019-06-26 17:23         ` Ergus
  0 siblings, 2 replies; 16+ messages in thread
From: Dmitry Gutov @ 2019-06-26 16:21 UTC (permalink / raw)
  To: Ergus; +Cc: Glenn Morris, emacs-devel

On 26.06.2019 19:04, Ergus wrote:
> Hi Sorry if this is not really related 100%.

It's 100% unrelated.

> And I see no errors detected. I tried many things and
> flymake-running-backends prints.

First of all, you just look at the value of flymake-diagnostic-functions.

Apparently, c++-mode uses flymake-cc.

You might want to go ahead and read it, but it's a minimalistic solution 
that relies on Make and a particular target being present (see 
flymake-cc-use-special-make-target). Would I be correct in assuming that 
you don't have it?

Flycheck probably has more sophisticated checkers, but the new Flymake 
API is not too hard. You should be able to port whatever checker you 
have been using to Flymake without too much difficulty.



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

* Re: [Emacs-diffs] master bc780a4: * test/lisp/progmodes/flymake-tests.el (ruby-backend): Skip on hydra.
  2019-06-26 16:21       ` Dmitry Gutov
@ 2019-06-26 16:23         ` Ergus
  2019-06-26 16:27           ` Dmitry Gutov
  2019-06-26 17:23         ` Ergus
  1 sibling, 1 reply; 16+ messages in thread
From: Ergus @ 2019-06-26 16:23 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: Glenn Morris, emacs-devel

I forgot to tell that the Flymake log says:

Warning [flymake test.cpp]: Disabling backend flymake-proc-legacy-flymake because (error Can???t find a suitable init function)
Warning [flymake test.cpp]: Disabling backend flymake-cc because make: *** No rule to make target 'check-syntax'.  Stop.
Warning [flymake test.cpp]: Disabling backend flymake-proc-legacy-flymake because (error Can???t find a suitable init function)
Warning [flymake test.cpp]: Disabling backend flymake-cc because make: *** No rule to make target 'check-syntax'.  Stop.

On Wed, Jun 26, 2019 at 07:21:19PM +0300, Dmitry Gutov wrote:
>On 26.06.2019 19:04, Ergus wrote:
>>Hi Sorry if this is not really related 100%.
>
>It's 100% unrelated.
>
>>And I see no errors detected. I tried many things and
>>flymake-running-backends prints.
>
>First of all, you just look at the value of flymake-diagnostic-functions.
>
>Apparently, c++-mode uses flymake-cc.
>
>You might want to go ahead and read it, but it's a minimalistic 
>solution that relies on Make and a particular target being present 
>(see flymake-cc-use-special-make-target). Would I be correct in 
>assuming that you don't have it?
>
>Flycheck probably has more sophisticated checkers, but the new Flymake 
>API is not too hard. You should be able to port whatever checker you 
>have been using to Flymake without too much difficulty.



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

* Re: [Emacs-diffs] master bc780a4: * test/lisp/progmodes/flymake-tests.el (ruby-backend): Skip on hydra.
  2019-06-26 16:23         ` Ergus
@ 2019-06-26 16:27           ` Dmitry Gutov
  0 siblings, 0 replies; 16+ messages in thread
From: Dmitry Gutov @ 2019-06-26 16:27 UTC (permalink / raw)
  To: Ergus; +Cc: Glenn Morris, emacs-devel

On 26.06.2019 19:23, Ergus wrote:
> *** No rule to make target 'check-syntax'.  Stop.

That's what I said anyway.



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

* Re: [Emacs-diffs] master bc780a4: * test/lisp/progmodes/flymake-tests.el (ruby-backend): Skip on hydra.
  2019-06-26 16:21       ` Dmitry Gutov
  2019-06-26 16:23         ` Ergus
@ 2019-06-26 17:23         ` Ergus
  2019-06-26 19:20           ` Dmitry Gutov
  1 sibling, 1 reply; 16+ messages in thread
From: Ergus @ 2019-06-26 17:23 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: Glenn Morris, emacs-devel

On Wed, Jun 26, 2019 at 07:21:19PM +0300, Dmitry Gutov wrote:
>On 26.06.2019 19:04, Ergus wrote:
>>Hi Sorry if this is not really related 100%.
>
>It's 100% unrelated.
>
>>And I see no errors detected. I tried many things and
>>flymake-running-backends prints.
>
>First of all, you just look at the value of flymake-diagnostic-functions.
>
>Apparently, c++-mode uses flymake-cc.
>
>You might want to go ahead and read it, but it's a minimalistic 
>solution that relies on Make and a particular target being present 
>(see flymake-cc-use-special-make-target). Would I be correct in 
>assuming that you don't have it?
>
Hi, sorry, where is all that documented? Specially how to make the
target in this case and the flymake api specifications?

>Flycheck probably has more sophisticated checkers, but the new Flymake 
>API is not too hard. You should be able to port whatever checker you 
>have been using to Flymake without too much difficulty.
>



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

* Re: [Emacs-diffs] master bc780a4: * test/lisp/progmodes/flymake-tests.el (ruby-backend): Skip on hydra.
  2019-06-26 17:23         ` Ergus
@ 2019-06-26 19:20           ` Dmitry Gutov
  0 siblings, 0 replies; 16+ messages in thread
From: Dmitry Gutov @ 2019-06-26 19:20 UTC (permalink / raw)
  To: Ergus; +Cc: Glenn Morris, emacs-devel

On 26.06.2019 20:23, Ergus wrote:
> Hi, sorry, where is all that documented? Specially how to make the
> target in this case 

The Flymake manual.

Check out

   git show 9a0b20d5b33

as well as

   doc/misc/flymake.texi (or whatever manual gets compiled from it)

You could have found the latter with 'ag check-syntax', by the way.

> and the flymake api specifications?

flymake-diagnostic-functions's docstring. Or the manual, I guess.



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

* Re: [Emacs-diffs] master bc780a4: * test/lisp/progmodes/flymake-tests.el (ruby-backend): Skip on hydra.
  2019-06-26 13:54   ` [Emacs-diffs] master bc780a4: * test/lisp/progmodes/flymake-tests.el (ruby-backend): Skip on hydra Dmitry Gutov
  2019-06-26 16:04     ` Ergus
@ 2019-06-29  2:11     ` Glenn Morris
  2019-07-03 13:57       ` Dmitry Gutov
  1 sibling, 1 reply; 16+ messages in thread
From: Glenn Morris @ 2019-06-29  2:11 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: emacs-devel

Dmitry Gutov wrote:

> Do you have an example?

https://hydra.nixos.org/eval/1527230

I think it's just the flymake tests in general; https://debbugs.gnu.org/32764 .

I don't know of any reason why this would be specific to hydra.nixos.org.



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

* Re: [Emacs-diffs] master bc780a4: * test/lisp/progmodes/flymake-tests.el (ruby-backend): Skip on hydra.
  2019-06-29  2:11     ` Glenn Morris
@ 2019-07-03 13:57       ` Dmitry Gutov
  2019-07-06 22:57         ` João Távora
  2019-07-14  1:53         ` Glenn Morris
  0 siblings, 2 replies; 16+ messages in thread
From: Dmitry Gutov @ 2019-07-03 13:57 UTC (permalink / raw)
  To: Glenn Morris; +Cc: emacs-devel

On 29.06.2019 5:11, Glenn Morris wrote:
> Dmitry Gutov wrote:
> 
>> Do you have an example?
> 
> https://hydra.nixos.org/eval/1527230
> 
> I think it's just the flymake tests in general; https://debbugs.gnu.org/32764.

Joao pushed general Flymake fixes yesterday. Should we try and re-enable 
them?

> I don't know of any reason why this would be specific to hydra.nixos.org.

Yeah, I wonder how I'm not seeing similar ruby-backend or perl-backend 
related failures on EMBA. Though maybe the executables are not available 
there, and somehow the log doesn't mention that they were skipped.



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

* Re: [Emacs-diffs] master bc780a4: * test/lisp/progmodes/flymake-tests.el (ruby-backend): Skip on hydra.
  2019-07-03 13:57       ` Dmitry Gutov
@ 2019-07-06 22:57         ` João Távora
  2019-07-07 22:16           ` Dmitry Gutov
  2019-07-14  1:53         ` Glenn Morris
  1 sibling, 1 reply; 16+ messages in thread
From: João Távora @ 2019-07-06 22:57 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: Glenn Morris, emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1076 bytes --]

On Wed, Jul 3, 2019, 14:58 Dmitry Gutov <dgutov@yandex.ru> wrote:

> On 29.06.2019 5:11, Glenn Morris wrote:
> > Dmitry Gutov wrote:
> >
> >> Do you have an example?
> >
> > https://hydra.nixos.org/eval/1527230
> >
> > I think it's just the flymake tests in general;
> https://debbugs.gnu.org/32764.
>
> Joao pushed general Flymake fixes yesterday. Should we try and re-enable
> them?
>

I had them in some computer for a while. I do believe they were related to
some tests breaking, not sure which.

>
Anyway, I'm just reading these messages now on my phone. I'm very thankful
for the attention you are giving this and apologize for being such an
absent maintainer. There's a lot on my plate right now. If there's
interest, i'd be glad to share maintainership of Flymake in emacs (if
that's not what's happening already anyway). I almost never read them these
days but I think there are some reasonably sane ideas in the bug tracker
that just need someone with a little time and a keen eye for emacs
practices to review and approve.

João

>

[-- Attachment #2: Type: text/html, Size: 2055 bytes --]

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

* Re: [Emacs-diffs] master bc780a4: * test/lisp/progmodes/flymake-tests.el (ruby-backend): Skip on hydra.
  2019-07-06 22:57         ` João Távora
@ 2019-07-07 22:16           ` Dmitry Gutov
  0 siblings, 0 replies; 16+ messages in thread
From: Dmitry Gutov @ 2019-07-07 22:16 UTC (permalink / raw)
  To: João Távora; +Cc: Glenn Morris, emacs-devel

On 07.07.2019 1:57, João Távora wrote:
> I'm very thankful for the attention you are giving this and apologize 
> for being such an absent maintainer. There's a lot on my plate right 
> now. If there's interest, i'd be glad to share maintainership of Flymake 
> in emacs (if that's not what's happening already anyway). I almost never 
> read them these days but I think there are some reasonably sane ideas in 
> the bug tracker that just need someone with a little time and a keen eye 
> for emacs practices to review and approve.

Just trying to keep bits and pieces from falling apart. I don't have a 
lot of free time myself either these days, but I'll see if I get around 
to those someday.

Not sure what particular ideas you're referring to, though. I read the 
bug tracker fairly regularly, and no particular bug report comes to mind.



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

* Re: [Emacs-diffs] master bc780a4: * test/lisp/progmodes/flymake-tests.el (ruby-backend): Skip on hydra.
  2019-07-03 13:57       ` Dmitry Gutov
  2019-07-06 22:57         ` João Távora
@ 2019-07-14  1:53         ` Glenn Morris
  2019-07-30 14:00           ` Dmitry Gutov
  1 sibling, 1 reply; 16+ messages in thread
From: Glenn Morris @ 2019-07-14  1:53 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: emacs-devel

Dmitry Gutov wrote:

> Joao pushed general Flymake fixes yesterday. Should we try and
> re-enable them?

Please feel free.



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

* Re: [Emacs-diffs] master bc780a4: * test/lisp/progmodes/flymake-tests.el (ruby-backend): Skip on hydra.
  2019-07-14  1:53         ` Glenn Morris
@ 2019-07-30 14:00           ` Dmitry Gutov
  2019-08-15 17:11             ` Glenn Morris
  0 siblings, 1 reply; 16+ messages in thread
From: Dmitry Gutov @ 2019-07-30 14:00 UTC (permalink / raw)
  To: Glenn Morris; +Cc: emacs-devel

On 14.07.2019 4:53, Glenn Morris wrote:
> Dmitry Gutov wrote:
> 
>> Joao pushed general Flymake fixes yesterday. Should we try and
>> re-enable them?
> 
> Please feel free.

Done, fingers crossed.



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

* Re: [Emacs-diffs] master bc780a4: * test/lisp/progmodes/flymake-tests.el (ruby-backend): Skip on hydra.
  2019-07-30 14:00           ` Dmitry Gutov
@ 2019-08-15 17:11             ` Glenn Morris
  2019-09-28  8:22               ` Dmitry Gutov
  0 siblings, 1 reply; 16+ messages in thread
From: Glenn Morris @ 2019-08-15 17:11 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: emacs-devel

Dmitry Gutov wrote:

>>> Joao pushed general Flymake fixes yesterday. Should we try and
>>> re-enable them?
>>
>> Please feel free.
>
> Done, fingers crossed.

Same failure happened:

https://hydra.nixos.org/build/98749293



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

* Re: [Emacs-diffs] master bc780a4: * test/lisp/progmodes/flymake-tests.el (ruby-backend): Skip on hydra.
  2019-08-15 17:11             ` Glenn Morris
@ 2019-09-28  8:22               ` Dmitry Gutov
  2019-09-28  9:15                 ` Michael Albinus
  0 siblings, 1 reply; 16+ messages in thread
From: Dmitry Gutov @ 2019-09-28  8:22 UTC (permalink / raw)
  To: Glenn Morris; +Cc: emacs-devel

Hi Glenn,

Sorry for the belated reply.

On 15.08.2019 20:11, Glenn Morris wrote:

>>>> Joao pushed general Flymake fixes yesterday. Should we try and
>>>> re-enable them?
>>>
>>> Please feel free.
>>
>> Done, fingers crossed.
> 
> Same failure happened:
> 
> https://hydra.nixos.org/build/98749293

Thank to the magic of not doing anything (right?), it seems the flymake 
failures are not there anymore.

The recent builds fail beacuse of shadowfile tests and, intermittently, 
something to do with autorevert.



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

* Re: [Emacs-diffs] master bc780a4: * test/lisp/progmodes/flymake-tests.el (ruby-backend): Skip on hydra.
  2019-09-28  8:22               ` Dmitry Gutov
@ 2019-09-28  9:15                 ` Michael Albinus
  0 siblings, 0 replies; 16+ messages in thread
From: Michael Albinus @ 2019-09-28  9:15 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: Glenn Morris, emacs-devel

Dmitry Gutov <dgutov@yandex.ru> writes:

> Hi Glenn,

Hi,

> The recent builds fail beacuse of shadowfile tests and,
> intermittently, something to do with autorevert.

FTR, both I'm working on, with slow progress.

Best regards, Michael.



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

end of thread, other threads:[~2019-09-28  9:15 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20190625202332.25129.77823@vcs0.savannah.gnu.org>
     [not found] ` <20190625202333.7934B20990@vcs0.savannah.gnu.org>
2019-06-26 13:54   ` [Emacs-diffs] master bc780a4: * test/lisp/progmodes/flymake-tests.el (ruby-backend): Skip on hydra Dmitry Gutov
2019-06-26 16:04     ` Ergus
2019-06-26 16:21       ` Dmitry Gutov
2019-06-26 16:23         ` Ergus
2019-06-26 16:27           ` Dmitry Gutov
2019-06-26 17:23         ` Ergus
2019-06-26 19:20           ` Dmitry Gutov
2019-06-29  2:11     ` Glenn Morris
2019-07-03 13:57       ` Dmitry Gutov
2019-07-06 22:57         ` João Távora
2019-07-07 22:16           ` Dmitry Gutov
2019-07-14  1:53         ` Glenn Morris
2019-07-30 14:00           ` Dmitry Gutov
2019-08-15 17:11             ` Glenn Morris
2019-09-28  8:22               ` Dmitry Gutov
2019-09-28  9:15                 ` Michael Albinus

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).