From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: joaotavora@gmail.com (=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?=) Newsgroups: gmane.emacs.bugs Subject: bug#29187: flymake ruby and perl tests fail on rhel7.4 Date: Tue, 07 Nov 2017 22:58:35 +0000 Message-ID: <87zi7xofvo.fsf@gmail.com> References: <87r2taq5kw.fsf@gmail.com> <0tinemg9bc.fsf@fencepost.gnu.org> <877ev2ozdi.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1510095554 14764 195.159.176.226 (7 Nov 2017 22:59:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 7 Nov 2017 22:59:14 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: 29187@debbugs.gnu.org, Dmitry Gutov To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 07 23:59:09 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCCpn-0003aT-QZ for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Nov 2017 23:59:08 +0100 Original-Received: from localhost ([::1]:56240 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCCpu-0006M6-LO for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Nov 2017 17:59:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43736) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCCpm-0006Ky-1Q for bug-gnu-emacs@gnu.org; Tue, 07 Nov 2017 17:59:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCCpi-0005Zw-V4 for bug-gnu-emacs@gnu.org; Tue, 07 Nov 2017 17:59:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48524) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eCCpi-0005Zf-Px for bug-gnu-emacs@gnu.org; Tue, 07 Nov 2017 17:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eCCpi-0002ZH-C7 for bug-gnu-emacs@gnu.org; Tue, 07 Nov 2017 17:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: joaotavora@gmail.com (=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Nov 2017 22:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29187 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29187-submit@debbugs.gnu.org id=B29187.15100955259847 (code B ref 29187); Tue, 07 Nov 2017 22:59:02 +0000 Original-Received: (at 29187) by debbugs.gnu.org; 7 Nov 2017 22:58:45 +0000 Original-Received: from localhost ([127.0.0.1]:57205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCCpR-0002Yl-1Z for submit@debbugs.gnu.org; Tue, 07 Nov 2017 17:58:45 -0500 Original-Received: from mail-wm0-f54.google.com ([74.125.82.54]:45831) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCCpP-0002YY-L8 for 29187@debbugs.gnu.org; Tue, 07 Nov 2017 17:58:44 -0500 Original-Received: by mail-wm0-f54.google.com with SMTP id y80so6912429wmd.0 for <29187@debbugs.gnu.org>; Tue, 07 Nov 2017 14:58:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=X+7POWbTEZYI92/XRxvx5ho7wz3ii1uImPRiZkSFSH8=; b=Xjjn2kAbj/uhZM4gQPPKMPU/FeLFgVR5cfte+J+0S9G2R8daVuBrOhrB+xPq7OZhOH 5qBxXc5h8WvxUn4wpvhQqwogfrs5cwEIECQA6ScgHs72gFqClxQZj3qcTyWbwXOgwqwz vsm/9dzoJIMhuJWcul1/+etT+iHQR2kDGm7q6hbdjZ5QVFNLN3iMKpekpS39LvhGNetH p5OKZtg0jhMo52GGWcuLUpvfIgkuDBCEMPD93Y40LZsx6LwP7iViUwwbSAZFG4onK1wp WpSBVFoTyBCw6OOM40w4stF056g2632gF5kqclqn1ZwcGb1aV6B3PYE8mO8kHuq2DUI9 AICQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=X+7POWbTEZYI92/XRxvx5ho7wz3ii1uImPRiZkSFSH8=; b=e0BVwC7NMsCRajenu/KpsLZ3PbIcGEmtgvW7dv+pI79x3a7+rR0ja+sZFnaG4dy2U6 xyNicOgzhm7V5tHi99LrXIIHqktxMqx6j1wG/PSwwi+oPdEHmkqCl5wSD45DU5cM0HwQ R2ZDnI/tyFHNmQmvmFOxE3wunNvTd6fcYgx15dn6ikEEcE/lH1tl4K5HUec7ydl6rosU hDR+HinTotK9gR9ARct24pZkIeuRiH9wKrZL/rDSwUhz3pGpWC14EQStmedQampSMuhZ v8io2fTHTbLb/TwOeVFuRaowzMnjntHw+StLLAOy48I9og0mtPJcwGVbUVIRPjPGxZ6B 5vOQ== X-Gm-Message-State: AJaThX4vq8SD7wlYr0cmuH2zASbwLL47hYw40lVNH7bfsq88qljk1O8L iJPIoIK4a/kxP9pEAO06w0xl59Q5 X-Google-Smtp-Source: ABhQp+TcZTMGtZm00WjbjHfa9S5D5FH0BrxItx8yhcYIsn5Kxs+CMny50qaRlJU/PRTd9gOd+k5o6Q== X-Received: by 10.28.105.142 with SMTP id z14mr553835wmh.41.1510095517328; Tue, 07 Nov 2017 14:58:37 -0800 (PST) Original-Received: from lolita.yourcompany.com (188.139.62.94.rev.vodafone.pt. [94.62.139.188]) by smtp.gmail.com with ESMTPSA id n7sm3255345wrh.32.2017.11.07.14.58.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 07 Nov 2017 14:58:36 -0800 (PST) In-Reply-To: (Glenn Morris's message of "Tue, 07 Nov 2017 14:02:23 -0500") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:139585 Archived-At: Glenn Morris writes: > Jo=C3=A3o T=C3=A1vora wrote: > >> This is bizarre, because I did manage to reproduce and fix, on a >> separate Ubuntu machine I have access to, one of the errors that you >> had, Glenn, and that was indeed due to the extra diagnostic line >> produced by your perl. >> >> But I don't get any differences between interactive and non-interactive >> cases and I can't understand how your test run could possibly have >> succeeded interactively since it produces that same extra line. > > There's no difference between the interactive and non-interactive case > for me with the Perl test (I don't think I said there was?). Well, you did write "same here" after Dmitry said there was a difference. >> Dmitry Gutov writes: >[...] >>> It also fails here via 'make check' (with Ruby 1.9.3) but succeeds >>> interactively. >Same here. ^^^^^^^^^ >> and non-interactively (make check also works, obviuosly) >> >> $ src/emacs -Q --eval "(setq load-prefer-newer t)" -l test/lisp/progm= odes/flymake-tests.el --batch --eval "(ert-run-tests-batch-and-exit \"\")" > > This is not equivalent to make check, which sets HOME=3D/nonexistent. > Indeed that is the cause of the issue for me: > > HOME=3D/nonexistent ruby -wc test/lisp/progmodes/flymake-resources/test.r= b=20 > > fails with a ruby error: > > /usr/share/rubygems/rubygems/path_support.rb:68:in `path=3D': undefined > method `+' for nil:NilClass (NoMethodError) > from /usr/share/rubygems/rubygems/path_support.rb:30:in `initializ= e' > > I don't use ruby and have no idea if this is normal. Wow, subtle stuff. My ruby (2.3) doesn't crash. Does yours also fail if you use a absolute path after -wc instead of a relative one? > > It does, thanks. So I guess all that's missing is a fix to the ruby case. If the absolute path doesn't fix it, I think we can fake a dummy HOME