From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Modi Subject: Re: 6 failing tests on master branch Date: Fri, 09 Jun 2017 14:26:33 +0000 Message-ID: References: <87a85i2nji.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a114b2c304124c7055187c251" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJKsC-0005PP-L2 for emacs-orgmode@gnu.org; Fri, 09 Jun 2017 10:26:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJKsB-0002y7-2W for emacs-orgmode@gnu.org; Fri, 09 Jun 2017 10:26:48 -0400 Received: from mail-lf0-x22a.google.com ([2a00:1450:4010:c07::22a]:35656) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dJKsA-0002xp-L5 for emacs-orgmode@gnu.org; Fri, 09 Jun 2017 10:26:47 -0400 Received: by mail-lf0-x22a.google.com with SMTP id p189so30502854lfe.2 for ; Fri, 09 Jun 2017 07:26:46 -0700 (PDT) In-Reply-To: <87a85i2nji.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nicolas Goaziou Cc: emacs-org list --001a114b2c304124c7055187c251 Content-Type: text/plain; charset="UTF-8" On Thu, Jun 8, 2017 at 5:10 PM Nicolas Goaziou wrote: > > I remember reading that someone else too saw the fortran errors.. Is it > > because I don't have fortran on my system? > > No, I don't think so. OTOH, I have no idea about where this comes from. > Did little digging, TIL that the gfortran binary is part of GCC.. as gfortran binary. So I do have fortran, but I never use it. Also found out why fortran tests were failing for me.. by default the gcc version on my system (RHEL 6.6) is 4.4.7. Using GCC 6.1.0 passes the full "make test" on emacs 25.2. For example, this is one of the ob-fortran examples that was failing: * matrix :PROPERTIES: :ID: 3f73ab19-d25a-428d-8c26-e8c6aa933976 :END: Real matrix as input #+name: fortran-input-matrix1 | 0.0 | 42.0 | | 0.0 | 0.0 | | 0.0 | 0.0 | #+name: fortran-input-matrix2 | 0.0 | 0.0 | 0.0 | | 0.0 | 0.0 | 42.0 | #+begin_src fortran :var s=fortran-input-matrix1 :results silent write (*, '(i2)'), nint(s(1,2)) #+end_src #+begin_src fortran :var s=fortran-input-matrix2 :results silent write (*, '(i2)'), nint(s(2,3)) #+end_src Doing C-c C-c on the first source block gives this error with gcc 4.4.7: /tmp/babel-6872M6V/fortran-src-6872rcR.F90:4.27: real, parameter :: s(3,2) = transpose( reshape( (/(/0.0, 42.0/), (/0.0, 0.0/), 1 Error: transformational intrinsic 'transpose' at (1) is not permitted in an initialization expression /bin/sh: /tmp/babel-6872M6V/fortran-bin-68724mX: Permission denied That expression is apparently legal in newer fortran, is my guess. > > About the other 3 errors: > > Since our buildbot doesn't report any problem, this seems specific to > Emacs master. > Thanks. I confirm that make test on org master passes with emacs 25.2. > Test test-org-export/file-uri condition: > > (ert-test-failed > > ((should > > (equal "file://myself@some.where:papers/last.pdf" > > (org-export-file-uri "/myself@some.where > :papers/last.pdf"))) > > :form > > (equal "file://myself@some.where:papers/last.pdf" > > "file:///myself@some.where:papers/last.pdf") > > :value nil :explanation > > (arrays-of-different-length 40 41 > > "file://myself@some.where:papers/last.pdf" > > "file:///myself@some.where:papers/last.pdf" first-mismatch-at 7))) > > This one should be easy to debug since > > (org-export-file-uri "/myself@some.where:papers/last.pdf") > > is easy to reproduce. Could you investigate where the spurious "/" comes > from? > Will do. > > FAILED 646/734 test-org/custom-properties > > FAILED 668/734 test-org/forward-paragraph > > These one are related to invisible text. I don't what is going to change > in this area in next Emacs release. > I'll have to leave this for a future debug.. Someone else wants to help out with this? > You can run, e.g., > > BTEST_RE="foo" make test > Thanks! -- Kaushal Modi --001a114b2c304124c7055187c251 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Jun 8,= 2017 at 5:10 PM Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
> I remember reading that someone else too saw the fortran errors= .. Is it
> because I don't have fortran on my system?

No, I don't think so. OTOH, I have no idea about where this comes from.=

Did little digging, TIL that the gfort= ran binary is part of GCC.. as gfortran binary. So I do have fortran, but I= never use it.

Also found out why fortran tests we= re failing for me.. by default the gcc version on my system (RHEL 6.6) is 4= .4.7. Using GCC 6.1.0 passes the full "make test" on emacs 25.2.<= /div>

For example, this is one of the ob-fortran example= s that was failing:

* matrix
=C2=A0= :PROPERTIES:
=C2=A0 :ID: =C2=A0 =C2=A0 =C2=A0 3f73ab19-d25a-428d= -8c26-e8c6aa933976
=C2=A0 :END:
Real matrix as input
#+name: fortran-input-matrix1
| 0.0 | 42.0 |
| = 0.0 | =C2=A00.0 |
| 0.0 | =C2=A00.0 |

#+= name: fortran-input-matrix2
| 0.0 | 0.0 | 0.0 |
| 0.0 |= 0.0 | 42.0 |

#+begin_src fortran :var s=3Dfortran= -input-matrix1 :results silent
write (*, '(i2)'), nint(s(= 1,2))
#+end_src

#+begin_src fortran :var= s=3Dfortran-input-matrix2 :results silent
write (*, '(i2)= 9;), nint(s(2,3))
#+end_src

Doing = C-c C-c on the first source block gives this error with gcc 4.4.7:

/tmp/babel-6872M6V/fortran-src-6872rcR.F90:4.27:

real, parameter :: s(3,2) =3D transpose( reshape( (/(/= 0.0, 42.0/), (/0.0, 0.0/),=C2=A0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A01
Error: transformational intrinsic 'transpose' at (1) is not perm= itted in an initialization expression
/bin/sh: /tmp/babel-6872M6V= /fortran-bin-68724mX: Permission denied

That= expression is apparently legal in newer fortran, is my guess.
= =C2=A0
> About the other 3 errors:

Since our buildbot doesn't report any problem, this seems specific to Emacs master.

Thanks. I confirm that ma= ke test on org master passes with emacs 25.2.

> Test test-org-export/file-uri condition:
>=C2=A0 =C2=A0 =C2=A0(ert-test-failed
>=C2=A0 =C2=A0 =C2=A0 ((should
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 (equal "file://myself@some.where:paper= s/last.pdf"
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(org-export-file= -uri "/myself@some.where:papers/last.pdf")))
>=C2=A0 =C2=A0 =C2=A0 =C2=A0:form
>=C2=A0 =C2=A0 =C2=A0 =C2=A0(equal "file://myself@some.where:papers= /last.pdf"
> "file:///myself@some.where:papers/last.pdf")
>=C2=A0 =C2=A0 =C2=A0 =C2=A0:value nil :explanation
>=C2=A0 =C2=A0 =C2=A0 =C2=A0(arrays-of-different-length 40 41
> "file://myself@some.where:papers/last.pdf"
> "file:///myself@some.where:papers/last.pdf" first-mismatch-a= t 7)))

This one should be easy to debug since

=C2=A0 (org-export-file-uri "/myself@some.where:papers/last.pdf")=

is easy to reproduce. Could you investigate where the spurious "/"= ; comes
from?

Will do.
=C2=A0
>=C2=A0 =C2=A0 FAILED=C2=A0 646/734=C2=A0 t= est-org/custom-properties
>=C2=A0 =C2=A0 FAILED=C2=A0 668/734=C2=A0 t= est-org/forward-paragraph

These one are related to invisible text. I don't what is going to chang= e
in this area in next Emacs release.

I&#= 39;ll have to leave this for a future debug.. Someone else wants to help ou= t with this?=C2=A0
=C2=A0
You= can run, e.g.,

=C2=A0 BTEST_RE=3D"foo" make test

=
Thanks!
--

Kaushal Modi

--001a114b2c304124c7055187c251--