Thursday, December 27, 2018

Re: UPDATE: math/R

On 2018/12/27 15:02, Ingo Feinerer wrote:
> On Tue, Dec 25, 2018 at 11:52:01PM +0000, Stuart Henderson wrote:
> > Build failed on i386:
> >
> > ....
> > in method for 'coerce' with signature '"graphNEL","CsparseMatrix"': no definition for class "graphNEL"
> > in method for 'coerce' with signature '"graphNEL","TsparseMatrix"': no definition for class "graphNEL"
> > in method for 'coerce' with signature '"sparseMatrix","graph"': no definition for class "graph"
> > in method for 'coerce' with signature '"sparseMatrix","graphNEL"': no definition for class "graphNEL"
> > in method for 'coerce' with signature '"TsparseMatrix","graphNEL"': no definition for class "graphNEL"
> > Creating a generic function for 'qr.R' from package 'base' in package 'Matrix'
> > Creating a generic function for 'qr.Q' from package 'base' in package 'Matrix'
> > Creating a generic function for 'qr.qy' from package 'base' in package 'Matrix'
> > Creating a generic function for 'qr.qty' from package 'base' in package 'Matrix'
> > Creating a generic function for 'qr.coef' from package 'base' in package 'Matrix'
> > Creating a generic function for 'qr.resid' from package 'base' in package 'Matrix'
> > Creating a generic function for 'qr.fitted' from package 'base' in package 'Matrix'
> > Creating a generic function for 'toeplitz' from package 'stats' in package 'Matrix'
> > ** help
> > No man pages found in package 'Matrix'
> > Error in .get_package_metadata(dir, FALSE) :
> > Files 'DESCRIPTION' and 'DESCRIPTION.in' are missing.
> > ERROR: installing Rd objects failed for package 'Matrix'
> > * removing '/usr/obj/ports/R-3.5.2/build-i386/library/Matrix'
> > gmake[2]: Leaving directory '/usr/obj/ports/R-3.5.2/build-i386/src/library/Recommended'
> > gmake[1]: Leaving directory '/usr/obj/ports/R-3.5.2/build-i386/src/library/Recommended'
> > ===> Exiting math/R with an error
> > gmake[2]: *** [Makefile:53: Matrix.ts] Error 1
> > gmake[1]: *** [Makefile:39: recommended-packages] Error 2
> > gmake: *** [Makefile:77: stamp-recommended] Error 2
> > *** Error 2 in math/R (/usr/ports/infrastructure/mk/bsd.port.mk:2786 '/usr/obj/ports/R-3.5.2/build-i386/.build_done')
>
> I cannot reproduce this
> (tested with a current i386 snapshot in vmm:
> $ sysctl kern.version
> kern.version=OpenBSD 6.4-current (GENERIC) #1078: Mon Dec 24 22:34:36 MST 2018
> deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
> )
>
> > ...
> > Creating a generic function for 'qr.resid' from package 'base' in package 'Matrix'
> > Creating a generic function for 'qr.fitted' from package 'base' in package 'Matrix'
> > Creating a generic function for 'toeplitz' from package 'stats' in package 'Matrix'
> > ** help
> > *** installing help indices
> > ** building package indices
> > Loading required package: Matrix
> > ** installing vignettes
> > ** testing if installed package can be loaded
> > * DONE (Matrix)
>
> Maybe lacking free space or another problem when extracting the Matrix
> .tar.gz on the build machine?

There is plenty of space on the relevant partition. And unless it's doing
something weird, a failure in the Makefile command extracting the file
would normally cause make to exit with an error.

Also it says "** package 'Matrix' successfully unpacked and MD5 sums
checked" in the log :-)

Maybe there will be a clue if you diff my log against yours from
a successful build and see what's different?

No comments:

Post a Comment