Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 718056 - =dev-lang/R-3.6.3-r1: test failure in reg-packages.R
Summary: =dev-lang/R-3.6.3-r1: test failure in reg-packages.R
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2020-04-18 14:07 UTC by Michael Orlitzky
Modified: 2021-03-08 02:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
partial-build.log (partial-build.log,134.07 KB, text/plain)
2020-04-18 14:07 UTC, Michael Orlitzky
Details
reg-packages.Rout.fail (reg-packages.Rout.fail,14.95 KB, text/plain)
2020-04-28 10:50 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Orlitzky gentoo-dev 2020-04-18 14:07:34 UTC
Created attachment 633584 [details]
partial-build.log

Reported by Agostino, and looks different from the other open test failure bugs:

running code in 'reg-tests-2.R' ... OK
  comparing 'reg-tests-2.Rout' to './reg-tests-2.Rout.save' ... OK
running code in 'reg-examples1.R' ... OK
running code in 'reg-examples2.R' ... OK
running code in 'reg-packages.R' ...make[3]: *** [Makefile.common:106: reg-packages.Rout] Error 1
make[3]: Leaving directory '/var/tmp/portage/dev-lang/R-3.6.3-r1/work/R-3.6.3/tests'
make[2]: *** [Makefile.common:292: test-Reg] Error 2
Comment 1 Michael Orlitzky gentoo-dev 2020-04-20 16:28:17 UTC
@ago, I've tried everything I can think of and can't reproduce this. Can you please run it again and post the output from the failing test case?

The tests/README says,

  If a check fails there will almost always be a .Rout.fail file with
  the problematic output, so looking at the tail of that file should
  help pinpoint the problem.
Comment 2 Agostino Sarubbo gentoo-dev 2020-04-28 10:50:56 UTC
Created attachment 635026 [details]
reg-packages.Rout.fail

reg-packages.Rout.fail
Comment 3 Larry the Git Cow gentoo-dev 2020-04-28 15:34:57 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f4f964350c4e5aa6f31af96c7271d39d2a7794a

commit 8f4f964350c4e5aa6f31af96c7271d39d2a7794a
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2020-04-28 15:27:27 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2020-04-28 15:33:52 +0000

    dev-lang/R: pull in LaTeX stuff for the test suite.
    
    At least one test (reg-packages.R) tries to run texi2dvi which in turn
    looks for /usr/bin/tex, and will fail without it. This commit adds
    IUSE=test, and pulls in virtual/latex-base when it is set.
    
    Bug: https://bugs.gentoo.org/718056
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 dev-lang/R/R-3.6.3-r1.ebuild | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
Comment 4 Michael Orlitzky gentoo-dev 2020-04-28 15:36:36 UTC
That helped, thanks! It was just a boring old missing test dependencies (on latex stuff). Please give it after syncing and we'll see if there are any others hiding =)
Comment 5 Michael Orlitzky gentoo-dev 2021-03-08 02:17:24 UTC
I fixed the immediate problem here. I'm going to update to v4.0.4 soon and I guess we'll find out if there are any more hidden dependencies lurking then.