Chris,

On 7 October 2007 at 20:30, Chris Lawrence wrote:
| Package: r-base-dev
| Version: 2.6.0-1
| Severity: important
| 
| When attempting to update Zelig today, I got the following error
| message:
| 
| dh_installdirs          usr/lib/R/site-library
| if test -f /usr/bin/java; then                          \
|                         R CMD javareconf;
|                         \
|                 fi
| Java interpreter : /usr/bin/java
| Java version     : 1.6.0_03
| Java home path   : /usr/lib/jvm/ia32-java-6-sun-1.6.0.03/jre
| Java compiler    : not present
| Java headers gen.: 
| Java archive tool: /usr/bin/jar
| ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be
| preloaded: ignored.
| ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be
| preloaded: ignored.
| ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be
| preloaded: ignored.
| Java library path:
| 
$(JAVA_HOME)/lib/i386/server:$(JAVA_HOME)/lib/i386:$(JAVA_HOME)/../lib/i386::/usr/java/packages/lib/i386:/lib:/usr/lib
| JNI linker flags : -L$(JAVA_HOME)/lib/i386/server
| -L$(JAVA_HOME)/lib/i386 -L$(JAVA_HOME)/../lib/i386 -L
| -L/usr/java/packages/lib/i386 -L/lib -L/usr/lib -ljvm
| JNI cpp flags    : ~autodetect~
| 
| Updating Java configuration in /etc/R
| /usr/lib/R/bin/javareconf: line 303: /etc/R/Makeconf.new: Permission denied
| *** cannot create /etc/R/Makeconf.new
| *** Please run as root if required.
| 
| make: *** [R_any_arch] Error 1
| debuild: fatal error at line 1237:
| fakeroot debian/rules binary failed
| 
| This appears to be related to the recent change to R-cran.mk to call 
| R CMD javareconf.  Unfortunately, since Debian best practices are not
| to build packages as root (instead using fakeroot), R CMD javareconf
| fails.
| 
| I suppose the simplest solution here is to ignore the error if R CMD
| javareconf fails, but I'm open to other suggestions.

Were you doing this in a pbuilder chroot, or in a normal session?

I have built numerous packages since I added the change, but all in pbuilder,
and none may have had /usr/bin/java.

Dirk
 
| -- System Information:
| Debian Release: lenny/sid
|   APT prefers unstable
|   APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
| Architecture: amd64 (x86_64)
| 
| Kernel: Linux 2.6.22.6 (SMP w/2 CPU cores; PREEMPT)
| Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
| Shell: /bin/sh linked to /bin/bash
| 
| Versions of packages r-base-dev depends on:
| ii  atlas3-base-dev [libbla 3.6.0-20.6       Automatically Tuned Linear 
Algebra
| ii  build-essential         11.3             informational list of 
build-essent
| ii  dpatch                  2.0.27           patch maintenance system for 
Debia
| ii  g++-4.2                 4.2.1-6          The GNU C++ compiler
| ii  gcc-4.2                 4.2.1-6          The GNU C compiler
| ii  gfortran-4.2            4.2.1-6          The GNU Fortran 95 compiler
| ii  libbz2-dev              1.0.3-7          high-quality block-sorting file 
co
| ii  libjpeg62-dev           6b-14            Development files for the IJG 
JPEG
| ii  libncurses5-dev         5.6+20070908-1   Developer's libraries and docs 
for
| ii  libpcre3-dev            7.3-2            Perl 5 Compatible Regular 
Expressi
| ii  libpng12-dev            1.2.15~beta5-2   PNG library - development
| ii  libreadline5-dev        5.2-3            GNU readline and history 
libraries
| ii  r-base-core             2.6.0-1          GNU R core of statistical 
computin
| ii  refblas3-dev [libblas-3 1.2-8            Basic Linear Algebra Subroutines 
3
| ii  zlib1g-dev              1:1.2.3.3.dfsg-6 compression library - development
| 
| r-base-dev recommends no packages.
| 
| -- no debconf information
| 
| 

-- 
Three out of two people have difficulties with fractions.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to