From ripley at stats.ox.ac.uk  Mon Oct 11 09:15:43 2004
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Mon Oct 11 09:15:53 2004
Subject: [Rd] (PR#7276) Re: Bug#275791: r-gnome: gnome library can not
	be read
In-Reply-To: <20041011004959.938B9EDDF@slim.kubism.ku.dk>
Message-ID: <Pine.LNX.4.44.0410110804550.30644-100000@gannet.stats>

On Mon, 11 Oct 2004 edd@debian.org wrote:

> Dear R bug fixers,
> 
> This came in early this morning. The R/Gnome configuration, and selection of
> libraries hat not changed one bit since I last built 1.9.1 -- but maybe
> something change in the Gmome/Glib/Gtk, or even x11, libraries? Would anyone
> know where RestoreAction is defined?

It was in bin/R.bin in 1.9.1, and is not in bin/exec/R in 2.0.0

gannet% nm -pg bin/R.bin | grep RestoreAction
0826da30 D RestoreAction

Grepping the sources shows it is defined in 

src/main/startup.c:static SA_TYPE       RestoreAction = SA_RESTORE;
src/modules/gnome/system.c:extern SA_TYPE RestoreAction;

and removing the `static' solves this for me.  I guess no alpha/beta 
tester used the GNOME interface ....

Fixed in R-patched and R-devel now.


> 
> The list of Debian packages on which r-gnome depends is below; as this is
> computed from ldd output I won't add that direct ldd output, but would be
> glad to supply it as well as other information if it could aid in fixing this.
> 
> Thanks, Dirk
> 
> 
> On Sun, Oct 10, 2004 at 11:41:41AM +0200, Wouter Leonard de Vries wrote:
> > Package: r-gnome
> > Version: 2.0.0-1
> > Severity: grave
> > Justification: renders package unusable
> > 
> > 
> > when trying to start r-gnome I get the following message:
> > 
> > Fatal error: The GNOME shared library could not be loaded.
> >   The error was /usr/lib/R/modules/R_gnome.so: undefined symbol:
> >   RestoreAction
> > 
> > 
> > -- System Information:
> > Debian Release: 3.1
> >   APT prefers unstable
> >   APT policy: (500, 'unstable'), (1, 'experimental')
> > Architecture: i386 (i686)
> > Kernel: Linux 2.6.8.1
> > Locale: LANG=nl_NL, LC_CTYPE=nl_NL
> > 
> > Versions of packages r-gnome depends on:
> > ii  gdk-imlib1                1.9.14-16      imaging library for use with gtk (
> > ii  libart2                   1.4.2-19       The GNOME canvas widget - runtime 
> > ii  libaudiofile0             0.2.6-4        Open-source version of SGI's audio
> > ii  libbz2-1.0                1.0.2-1        A high-quality block-sorting file 
> > ii  libc6                     2.3.2.ds1-17   GNU C Library: Shared libraries an
> > ii  libdb3                    3.2.9-20       Berkeley v3 Database Libraries [ru
> > ii  libesd0                   0.2.34-1       Enlightened Sound Daemon - Shared 
> > ii  libglade-gnome0           1:0.17-3       Library to load .glade files at ru
> > ii  libglade0                 1:0.17-3       Library to load .glade files at ru
> > ii  libglib1.2                1.2.10-9       The GLib library of C routines
> > ii  libgnome32                1.4.2-19       The GNOME libraries
> > ii  libgnomesupport0          1.4.2-19       The GNOME libraries (Support libra
> > ii  libgnomeui32              1.4.2-19       The GNOME libraries (User Interfac
> > ii  libgtk1.2                 1.2.10-17      The GIMP Toolkit set of widgets fo
> > ii  libice6                   4.3.0.dfsg.1-8 Inter-Client Exchange library
> > ii  libncurses5               5.4-4          Shared libraries for terminal hand
> > ii  libpcre3                  4.5-1.1        Perl 5 Compatible Regular Expressi
> > ii  libreadline4              4.3-13         GNU readline and history libraries
> > ii  libsm6                    4.3.0.dfsg.1-8 X Window System Session Management
> > ii  libx11-6                  4.3.0.dfsg.1-8 X Window System protocol client li
> > ii  libxext6                  4.3.0.dfsg.1-8 X Window System miscellaneous exte
> > ii  libxi6                    4.3.0.dfsg.1-8 X Window System Input extension li
> > ii  libxml1                   1:1.8.17-8     GNOME XML library
> > ii  r-base-core               2.0.0-1        GNU R core of statistical computin
> > ii  xlibs                     4.3.0.dfsg.1-8 X Window System client libraries m
> > ii  zlib1g                    1:1.2.2-1      compression library - runtime
> > 
> > -- no debconf information
> 
> 

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


[Rd] (PR#7276) Re: Bug#275791: r-gnome: gnome library can not be read
Prof Brian Ripley