Stephen Berman
2021-Dec-16 09:13 UTC
[Rd] build failure: 'hashtab' is not an exported object from 'namespace:utils'
I just did `svn up' on the R development sources, switched to the build directory (I build R out of tree), ran make, and got this: make[6]: Entering directory '/home/steve/build/r-devel/src/library/tools/src' ../../../../library/tools/libs/tools.so is unchanged make[6]: Leaving directory '/home/steve/build/r-devel/src/library/tools/src' make[5]: Leaving directory '/home/steve/build/r-devel/src/library/tools/src' make[4]: Leaving directory '/home/steve/build/r-devel/src/library/tools' make[4]: Entering directory '/home/steve/build/r-devel/src/library/tools' installing 'sysdata.rda' Error: 'hashtab' is not an exported object from 'namespace:utils' Execution halted make[4]: *** [/home/steve/src/R/r-devel/share/make/basepkg.mk:151: sysdata] Error 1 make[4]: Leaving directory '/home/steve/build/r-devel/src/library/tools' make[3]: *** [Makefile:36: all] Error 2 make[3]: Leaving directory '/home/steve/build/r-devel/src/library/tools' make[2]: *** [Makefile:37: R] Error 1 make[2]: Leaving directory '/home/steve/build/r-devel/src/library' make[1]: *** [Makefile:28: R] Error 1 make[1]: Leaving directory '/home/steve/build/r-devel/src' make: *** [Makefile:61: R] Error 1 I then did `make clean', ran configure and make again, and got the same failure. Is this a known issue and is there a fix? Steve Berman
Prof Brian Ripley
2021-Dec-16 09:57 UTC
[Rd] build failure: 'hashtab' is not an exported object from 'namespace:utils'
On 16/12/2021 09:13, Stephen Berman wrote:> I just did `svn up' on the R development sources, switched to the build > directory (I build R out of tree), ran make, and got this:Precisely which version of R-devel updating from which version? -- this is an area that has changed frequently in the last several days. I suspect 'make clean' is not enough -- use 'make distclean' for an ab initio build.> > make[6]: Entering directory '/home/steve/build/r-devel/src/library/tools/src' > ../../../../library/tools/libs/tools.so is unchanged > make[6]: Leaving directory '/home/steve/build/r-devel/src/library/tools/src' > make[5]: Leaving directory '/home/steve/build/r-devel/src/library/tools/src' > make[4]: Leaving directory '/home/steve/build/r-devel/src/library/tools' > make[4]: Entering directory '/home/steve/build/r-devel/src/library/tools' > installing 'sysdata.rda' > Error: 'hashtab' is not an exported object from 'namespace:utils' > Execution halted > make[4]: *** [/home/steve/src/R/r-devel/share/make/basepkg.mk:151: sysdata] Error 1 > make[4]: Leaving directory '/home/steve/build/r-devel/src/library/tools' > make[3]: *** [Makefile:36: all] Error 2 > make[3]: Leaving directory '/home/steve/build/r-devel/src/library/tools' > make[2]: *** [Makefile:37: R] Error 1 > make[2]: Leaving directory '/home/steve/build/r-devel/src/library' > make[1]: *** [Makefile:28: R] Error 1 > make[1]: Leaving directory '/home/steve/build/r-devel/src' > make: *** [Makefile:61: R] Error 1 > > I then did `make clean', ran configure and make again, and got the same > failure. Is this a known issue and is there a fix? > > Steve Berman > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel-- Brian D. Ripley, ripley at stats.ox.ac.uk Emeritus Professor of Applied Statistics, University of Oxford
Ivan Krylov
2021-Dec-16 09:58 UTC
[Rd] build failure: 'hashtab' is not an exported object from 'namespace:utils'
On Thu, 16 Dec 2021 10:13:11 +0100 Stephen Berman <stephen.berman at gmx.net> wrote:> Is this a known issue and is there a fix?For me, the fix was to remove the already-installed $SVNROOT/library/utils (which didn't yet contain hashtab) and re-run make, letting the R build process re-install it from scratch. -- Best regards, Ivan