search for: startdir

Displaying 20 results from an estimated 24 matches for "startdir".

Did you mean: start_dir
2000 Oct 04
3
R 1.2 build
I've been trying to build a bundle with the R-devel snapshot from yesterday. (Yes I know it is unstable and just tell me if I shouldn't be trying to do this yet.) It is failing with the message tar : /dev/rmt/0 : Permission denied It happens after "removing junk files" and just after the message "building dse_2000.9-1.tar.gz" It looks to be coming from the line in
2003 Jul 02
0
union_lookup panics ...
grep union /var/log/messages Jul 2 12:53:01 jupiter savecore: reboot after panic: union_lookup returning . (0xc68e9e90) not same as startdir (0xc5e062c0) Jul 2 14:35:07 jupiter savecore: reboot after panic: union_lookup returning . (0xbf6fee90) not same as startdir (0xbb6d58c0) had two of them today, dumping nice cores ... I'm suspecting its someone trying to remove a file that is "scrambled" ... I can do similar doing a...
2007 Oct 02
0
patch: allow R CMD build exclude patterns to match symlinks
...@@ -171,6 +171,24 @@ $log->message("removing junk files"); find(\&unlink_junk_files, $pkgdir); + chdir(dirname($pkgdir)); + my $filename = "${intname}_" . $description->{"Version"} . ".tar"; + my $filepath = &file_path($startdir, $filename); + R_system(join(" ", + ("$tar chf", + &shell_quote_file_path($filepath), + "$pkgname"))); + my $tmpdir = R_tempfile("Rbuild"); + rmtree($tmpdir) if(-d $tmpdir); + mkdir("$tmpd...
2004 Apr 27
1
'R CMD build' fails when there are spaces in the path (PR#6830)
Full_Name: Byron Ellis Version: R 1.9.0 (and 2.0.0) OS: Linux (Redhat Fedora Core) Submission from: (NULL) (140.247.241.197) It appears that `R CMD build` cannot handle spaces in the path when building packages for distribution. For instance: [ellis@net-78815 ~/Bayesian Networks]$ R CMD build bnsl * checking for file 'bnsl/DESCRIPTION' ... OK * preparing 'bnsl': * cleaning src *
2007 Jun 29
1
R CMD build with mingw and msys (PR#9766)
...7,7 +47,6 @@ R::Vars::error("R_HOME", "R_EXE"); my $WINDOWS = ($R::Vars::OSTYPE eq "windows"); -my $MSYS = ( $ENV{OSTYPE} eq "msys" ); my @exclude_patterns = R::Utils::get_exclude_patterns(); @@ -222,14 +221,10 @@ my $filepath = &file_path($startdir, $filename); ## under Windows, need separate Cygwin and Windows versions of path. my $origfilepath = $filepath; - if ($MSYS) { - ## different workwaround for MSYS - $filepath =~ s+^([A-Za-z]):+/\1/+; - } elsif ($WINDOWS) { - ## workaround fo...
2014 Nov 02
1
package vignettes build in the same R process?
...Info() of a later vignette reflects packages used in earlier vignettes). I believe the relevant code is at src/library/tools/R/Vignettes.R:505 output <- tryCatch({ ## FIXME: run this in a separate process engine$weave(file, quiet = quiet) setwd(startdir) find_vignette_product(name, by = "weave", engine = engine) }, error = function(e) { stop(gettextf("processing vignette '%s' failed with diagnostics:\n%s", file, conditionMessage(e)), domain = NA, call. = FALSE)...
2007 Aug 23
1
missing --vanilla option in INSTALL (PR#9877)
...ry) || die "Error: cannot change to library directory \$opt_library'\n"; $library = cwd(); $library = Win32::GetShortPathName($library) if $library =~ / /; my $R_LIBS = $ENV{'R_LIBS'}; $ENV{'R_LIBS'} = join(";", $library, $R_LIBS); chdir($startdir); } else { my @out = R_runR("cat('\n~~~', .libPaths()[1], '\n', sep = '')", "--slave"); foreach $f (@out) { if($f =~ /^~~~/) { $library = $f; $library =~ s/^~~~//; } } $library = Win32::GetShortPathName($library) if $library =~...
2004 Mar 15
1
R v1.9.0 alpha w/ Rtools: gzip problem
...r it works. This is also the strategy in the R v1.8.1 build script. In the R v1.9.0 alpha script all gzip calls are on absolute pathnames; R_system("$tar chf $filepath $pkgname"); R_system("gzip -9f $filepath"); cf. system("$tar chf $filepath $pkgname"); chdir($startdir); rmtree($tmpdir); system("gzip -9f $filename"); Modifying the build v1.9.0 alpha to do the latter things works again. More hints: Trying different strategies, it looks like gzip has a problem with /cygdrive/ and/or /cygdrive/C/. It is not clear from README.packages or README in Rtool...
2005 May 09
1
can't build packages anymore...
...ought I check out the build script to see where the problem was (not that I knew how to change it.. but it never hurts to look). I found the following lines: my $filename = "${pkgname}_" . $description->{"Version"} . ".tar"; my $filepath = &file_path($startdir, $filename); ## under Windows, need separate Cygwin and Windows versions of path. my $origfilepath = $filepath; if($WINDOWS) { ## workaround for paths in Cygwin tar $filepath =~ s+^([A-Za-x]):+/cygdrive/\1+; } And I'm not sure why that's in there. Aren't packages that...
2008 Dec 04
2
Round four: Re: code review req: 6750659 drti.o crashes app due to corrupt environment
I believe that I have incorporated all of the feedback given (thanks!). Changes since the 2008-11-16 version include: - ksh style & coding standards compliance in test script (Roland) - "dof_init_debug == B_FALSE" vs. "!dof_init_debug" (Adam) The updated webrev is at: http://cr.opensolaris.org/~mgerdts/6750659-2008-12-03/ -- Mike Gerdts http://mgerdts.blogspot.com/
2007 May 23
1
(PR#9691) 'Bug'#424696: R CMD INSTALL -l <path> does not
...\ > | grep '^~~~' | sed 's/.*~~~//'` > | message "Installing to library '$lib'" > | else > | lib0=${lib} > | cd ${lib} <-------------- PROBLEM directory must not exist (call MKDIR_P before ?) > | lib=`${GETWD}` > | cd ${startdir} > | fi > | > | > | -- System Information: > | Debian Release: lenny/sid > | APT prefers stable > | APT policy: (700, 'stable'), (650, 'testing'), (600, 'unstable'), (1, 'experimental') > | Architecture: i386 (i686) > | > | Kernel: L...
2017 Dec 06
2
FW: R-devel error
...t = quiet, encoding = enc) > 13: doTryCatch(return(expr), name, parentenv, handler) > 14: tryCatchOne(expr, names, parentenv, handlers[[1L]]) > 15: tryCatchList(expr, classes, parentenv, handlers) > 16: tryCatch({ engine$weave(file, quiet = quiet, encoding = enc) setwd(startdir) find_vignette_product(name, by = "weave", engine = engine)}, error = function(e) { stop(gettextf("processing vignette '%s' failed with diagnostics:\n%s", file, conditionMessage(e)), domain = NA, call. = FALSE)}) > 17: tools::buildVignettes(dir = &quo...
2017 Dec 05
2
FW: R-devel error
I am resubmitting this bug report but with additional information. I am running this with windows 10: w64-mingw32 with R Under development (unstable) (2017-12-04 r73829). I build 'httk' from the command prompt using 'R CMD build httk' after installing the required packages. Then when the vignettes are being created, it crashes. Today I installed the latest versions of Rtools,
2008 Sep 30
2
script
Dear ALL, I need some help with bash scripting, a script that search the content of multiple files and replace old string ip "10.5.1.10" with the new string ip "127.128.1.10" it will search in specific folder and sub folders Thanks
2012 Apr 30
0
R CMD check . segfault on re-building vignettes
...lly comes to "checking re-building of vignette PDFs ..." i get the following error *** caught segfault *** address 0x7fff6073c998, cause 'memory not mapped' Traceback: 1: file.copy(pkgdir, vd2, recursive = TRUE) 2: run_vignettes(desc) 3: check_pkg(pkgdir, pkgname, pkgoutdir, startdir, libdir, desc, is_base_pkg, is_rec_pkg, thispkg_subdirs, extra_arch) 4: tools:::.check_packages() aborting ... Segmentation fault (core dumped) as one can see, the error stems from the call file.copy(pkgdir, vd2, recursive = TRUE) in the run_vignettes function defined in the tools:::.check_packag...
2007 May 16
0
Bug#424696: R CMD INSTALL -l <path> does not create path (PR#9691)
...;${R_EXE}" --no-save --slave | \ | grep '^~~~' | sed 's/.*~~~//'` | message "Installing to library '$lib'" | else | lib0=${lib} | cd ${lib} <-------------- PROBLEM directory must not exist (call MKDIR_P before ?) | lib=`${GETWD}` | cd ${startdir} | fi | | | -- System Information: | Debian Release: lenny/sid | APT prefers stable | APT policy: (700, 'stable'), (650, 'testing'), (600, 'unstable'), (1, 'experimental') | Architecture: i386 (i686) | | Kernel: Linux 2.6.21.1-sonne (SMP w/2 CPU cores; PREEMPT...
2003 Nov 17
2
$RHOME/bin/check in windows (PR#5135)
...c/library/qtl.Rcheck' * checking for file 'ChromoViz/DESCRIPTION' ... OK * checking if this is a source package ... OK Error: cannot change to directory `C:/Program' ERROR Installation failed. ---------------BELOW: Excerpt from the file $RHOME/bin/check --------------- chdir($startdir); $pkg =~ s/\/$//; (-d $pkg) or die "Error: package dir '$pkg' does not exist"; chdir($pkg) or die "Error: cannot change to directory '$pkg'\n"; _________________________________________________________ Hoonie(Ji Hoon Kim) SNUBI:Seoul National Unive...
2006 Sep 26
0
Infinite Loop when installing a package from source (PR#9258)
...it consumed 98% of my memory (1Gb) and steadily helled 90-99% of CPU. Steps to reproduce problem 1. get a source package e.g. Hmisc. 2. $ echo "library(Hmisc)" > Hmisc/R/test.R 3. $ R CMD INSTALL -d -l Hmisc.Rcheck -d Hmisc Here is the output of the call 'Rcmd INSTALL': in startdir= /home/dupontct/R with tmpdir= /tmp/R.INSTALL.IO1457 lib= '/home/dupontct/Hmisc.Rcheck', pkgs= ' "/home/dupontct/R/Hmisc"' before checking lockdir= '/home/dupontct/Hmisc.Rcheck/00LOCK' after checking lockdir build_help_opts= '--debug --txt --html -...
2017 Dec 06
0
FW: R-devel error
...engine$weave(file, quiet = quiet, encoding = enc) 13: doTryCatch(return(expr), name, parentenv, handler) 14: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 15: tryCatchList(expr, classes, parentenv, handlers) 16: tryCatch({ engine$weave(file, quiet = quiet, encoding = enc) setwd(startdir) find_vignette_product(name, by = "weave", engine = engine)}, error = function(e) { stop(gettextf("processing vignette '%s' failed with diagnostics:\n%s", file, conditionMessage(e)), domain = NA, call. = FALSE)}) 17: tools::buildVignettes(dir = ".&qu...
2012 Apr 30
0
file.copy(src, src, recursive=TRUE) causes a segfault (Was: Re: R CMD check . segfault on re-building vignettes)
...vignette PDFs ..." > i get the following error > > ?*** caught segfault *** > address 0x7fff6073c998, cause 'memory not mapped' > > Traceback: > ?1: file.copy(pkgdir, vd2, recursive = TRUE) > ?2: run_vignettes(desc) > ?3: check_pkg(pkgdir, pkgname, pkgoutdir, startdir, libdir, desc, > is_base_pkg, is_rec_pkg, thispkg_subdirs, extra_arch) > ?4: tools:::.check_packages() > aborting ... > Segmentation fault (core dumped) > > as one can see, the error stems from the call > file.copy(pkgdir, vd2, recursive = TRUE) > in the run_vignettes functi...