First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 40225
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Related Packages <sci@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Matt Caesar <caesarm@neo.rr.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 40225 depends on: Show dependency tree
Show dependency graph
Bug 40225 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-02-02 14:53 0000
During the compiling of scilab, the compile process attempts to invoke scilab
several times and errors with "Gtk-WARNING **: cannot open display:" I
initially tried to install scilab while logged into X as a non-root user where
root didn't have access to the display. I ended up with a borked program that
still ran but was unusable. 

I'm running gentoo-dev-sources-2.6.1 which has caused problems with some other
ebuilds, but not sure if that is the case here.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.6.1-gentoo)
=================================================================
System uname: 2.6.1-gentoo i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.3.10
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://gentoo.mirrors.pair.com/
http://adelie.polymtl.ca/ http://gentoo.chem.wisc.edu/gentoo/
http://oss.redundant.com/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/data/development/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acpi4linux apache2 apm avi berkdb bonobo cdr crypt cups dga doc
dvd
encode esd ethereal ffmpeg fftw foomaticdb gdbm gif gphoto2 gpm gtk gtk2
gtkhtml
guile hbci imap imlib java jpeg kde libg++ libwww mad mikmod mmx motif mozilla
mpeg mysql nas ncurses nls odbc offensive oggvorbis opengl oss pam pdflib perl
png python qt quicktime readline ruby ruby18 scanner sdl slang spell sse ssl
svga tcltk tcpd tetex tiff truetype usb x86 xml2 xmms xv zlib"

------- Comment #1 From SpanKY 2004-02-02 16:18:05 0000 -------
apps that try to access the X display should be patched to not attempt that

------- Comment #2 From Nathaniel Taylor 2004-02-03 16:23:34 0000 -------
Correct!   I have wondered for months why I usually get a botched scilab that 
won't open help or demos, but occaisionally get a working one.  As I normally compile such things from a script while remotely logged in / su'd, there is no X available -- recompilation with a display available cured the problem.

The following is the result of opening a badly compiled scilab, then pressing the help and the demo buttons. Nothing more happens...  
Interestingly, the same problem exists even when installing binary or source versions from Inria; presumably it is some library that is messed up?

_________________________________________________________
                    ==========
                    scilab-2.7
        Copyright (C) 1989-2003 INRIA/ENPC
                    ==========
 
Startup execution:
  loading initial environment
load('SCI/macros/mtlb/lib')
                            !--error   241 
File SCI/macros/mtlb/lib does not exist or read access denied 
at line      50 of exec file called by :    
exec('SCI/scilab.star',-1);;quit
 
-->help();
       !--error     4 
undefined variable : help                    
 
-->exec('SCI/demos/alldems.dem');
  num=x_choose(demolist(:,1),['Click to choose a demo';
                             !--error     4 
undefined variable : demolist                
at line      16 of exec file called by :    
exec('SCI/demos/alldems.dem');
 
-->
___________________________________________________

------- Comment #3 From Patrick Kursawe 2004-03-22 05:25:53 0000 -------
-r3 will provide a virtual X server during build - this should fix the problem.
Please test when available, re-open this bug if there are problems.

------- Comment #4 From Matt Caesar 2004-03-27 04:00:14 0000 -------
Scilab compiles flawless. Thanks!

First Last Prev Next    No search results available      Search page      Enter new bug