Package: r-base-dev
Version: 2.13.0-3
Severity: important
Tags: upstream sid patch
Hi Dirk
Some of the package depending on r-base-dev and xvfb FTBFS currently
with:
> dh_installdirs usr/lib/R/site-library
> if test -f /usr/bin/xvfb-run; then \
> xvfb-run \
> R CMD INSTALL -l
> /build/salvi-rggobi_2.1.17-1-amd64-DicJpJ/rggobi-2.1.17/debian/r-cra
> n-rggobi/usr/lib/R/site-library --clean \
> . ; \
> else \
> R CMD INSTALL -l
> /build/salvi-rggobi_2.1.17-1-amd64-DicJpJ/rggobi-2.1.17/debian/r-cran-rggob
> i/usr/lib/R/site-library \
> --clean . ;\
> fi
> xvfb-run: error: Xvfb failed to start
> make: *** [R_any_arch] Error 1
> dpkg-buildpackage: error: /usr/bin/fakeroot debian/rules binary gave error
> exit status 2
(This is for rggobi 2.1.17-1).
This remindered my after some investigation to [1], which we had in
the Debian Perl Group. The solution was to add -a to the xvfb-run
invocation to try to autodedect a free server number.
[1] http://bugs.debian.org/573679
The attached patch adds -a to the xvfb-run call in r-cran.mk.
Do you agree on this?
Note, I'm investigating currently [2], which still now in unstable
only causes libwx-perl FTBFS. During investigation I rebuilded some
packages depending on xvfb, and many of them seems to FTBFS too, so
further FTBFS could be caused from something else.
[2] http://bugs.debian.org/630129
Regards
Salvatore
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
diff -u r-base-2.13.0/debian/r-cran.mk r-base-2.13.0/debian/r-cran.mk
--- r-base-2.13.0/debian/r-cran.mk
+++ r-base-2.13.0/debian/r-cran.mk
@@ -64,7 +64,7 @@
## call R to install the sources we're looking at
## use this inside xvfb-run if this wrapper is installed
if test -f /usr/bin/xvfb-run; then \
- $(makeFlagsCall) xvfb-run \
+ $(makeFlagsCall) xvfb-run -a \
R CMD INSTALL -l $(debRlib) --clean \
$(extraInstallFlags) . ; \
else \