Hi Salvatore,

On 18 June 2011 at 10:28, Salvatore Bonaccorso wrote:
| 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).

I hadn't noticed this, but it is possible. We have seen the error before,
especially when running several builds at one.

| 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?

Interesting. It should not hurt, so I will apply it.

Thanks for taking the time to pass this on!

Cheers, Dirk

| 
| 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                                                    \

-- 
Gauss once played himself in a zero-sum game and won $50.
                      -- #11 at http://www.gaussfacts.com



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

Reply via email to