package r-cran-rgl
reassign 298159 pbuilder
quit
Junichi,
Here is a bug report that is almost a year old and that had me stumped for
all that time -- but yesterday.
In short, the add-on package r-cran-rgl for GNU R works fine in all but one
aspects: it fails to generate a snapshot of the GL device it provides -- just
as the bug report shows below.
For about a year, I have harping at the poor upstream developers suspecting
their code as the cause. They could never replicate this and suspect issues
with the png library loading which we managed to exclude several times. That
wasn't it. Or at it no longer is in the current version.
Yesterday, and working on my machine, upstream co-author Duncan Murdoch found
that the functionality is actually _working_ for as long as you just let R
install the package itself. [ In a nutshell, R has an extension system with
by now over 800 upstream package of which we have maybe 50 in Debian. The
Debian packages wrap around the original R process, see debian/rules. ]
So it's not the code in the package, but rather how we construct the
package.
And I did some more experiments. And with the current sources (rgl_0.66), I
get the following
1) A __working package__ via
$ dpkg-buildpackage -rfakeroot -us -uc
FWIW that is on current Debian testing, DISPLAY set, interactive session,
my UID, ...
2) A __broken package__ when I build the same way I've built several hundred
package uploads via your wonderful pbuilder:
# pdebuild 2>&1 | tee ../../build-logs/rgl_0.66-2.log
as root. Pbuilder is version 0.146 on the same testing box, and is
of course running a current unstable. The setup is a few years old, so
I may not have set the most current options --- but it does build my
packages fine apart from this annoying missing feature.
I have no idea why this happens. I sincerely hope you can pinpoint it down.
Let me know if I can help by explaining how to drive R ('apt-get install
r-cran-rgl' followed by the commands below should get you started; then
substitute a local build of r-cran-rgl to see that that one works ...) or
to send you my pbuilder config.
Best regards, Dirk
On 4 March 2005 at 23:54, Andre Lehovich wrote:
| Package: r-cran-rgl
| Version: 0.64.13-3
| Severity: normal
|
| rgl.snapshot is always failing for me. Here is a snippet
| showing how to reproduce:
|
| | > library(rgl)
| | > example(rgl.spheres)
| |
| | rgl.sp> rgl.spheres(rnorm(10), rnorm(10), rnorm(10), radius = 0.2,
| | color = rainbow(10))
| | Xlib: extension "XFree86-DRI" missing on display ":0.0".
| | > rgl.snapshot("/tmp/foo.png")
| | [1] "failed"
| | >
|
| I have no idea how to debug this. For now I can use
| import(1) (from imagemagick) as a workaround.
|
| Thanks,
| --Andre
|
| -- System Information:
| Debian Release: 3.1
| APT prefers testing
| APT policy: (900, 'testing')
| Architecture: i386 (i586)
| Kernel: Linux 2.4.28
| Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
|
| Versions of packages r-cran-rgl depends on:
| ii libpng12-0 1.2.8rel-1 PNG library - runtime
| ii r-base-core 2.0.1-2 GNU R core of statistical
computin
| ii xlibmesa-gl [libgl1] 4.3.0.dfsg.1-10 Mesa 3D graphics library
[XFree86]
| ii xlibmesa-glu [libglu1] 4.3.0.dfsg.1-10 Mesa OpenGL utility library
[XFree
|
| -- no debconf information
--
Hell, there are no rules here - we're trying to accomplish something.
-- Thomas A. Edison
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]