Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 208965 - sci-astronomy/ds9 fails to start, looks for non-existent tcl file
Summary: sci-astronomy/ds9 fails to start, looks for non-existent tcl file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-05 04:57 UTC by Joshua Rich
Modified: 2009-02-17 23:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Rich 2008-02-05 04:57:36 UTC
When I try to start ds9 from the command line it fails to start and instead prints the following error message:

'Error in startup script: couldn't read file "./zvfsmntpt/src/ds9.tcl": no such file or directory'

This is regardless of trying to start ds9 with any command line arguments or 
with specifying a fits file.

Reproducible: Always

Steps to Reproduce:
1. Type 'ds9' at a terminal prompt.

Actual Results:  
An error message is produced:

'Error in startup script: couldn't read file "./zvfsmntpt/src/ds9.tcl": no such file or directory'


Expected Results:  
ds9 should start.

Output of 'emerge --info':

Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r6 i686)
=================================================================
System uname: 2.6.23-gentoo-r6 i686 Genuine Intel(R) CPU T2500 @ 2.00GHz
Timestamp of tree: Mon, 04 Feb 2008 22:17:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer noinfo parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo http://mirror.aarnet.edu.au/pub/gentoo http://ftp.planetmirror.com/pub/gentoo http://mirror.pacific.net.au/linux/Gentoo ftp://ftp.swin.edu.au/gentoo ftp://mirror.aarnet.edu.au/pub/gentoo ftp://ftp.planetmirror.com/pub/gentoo ftp://mirror.pacific.net.au/linux/Gentoo"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3 -l 2.0"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes --prune-empty-dirs"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/live-ebuilds /usr/portage/local/layman/science /usr/portage/local/layman/mpd /usr/portage/local/layman/joshuarich-gentoo-overlay /usr/local/overlays"
SYNC="rsync://ftp.swin.edu.au/gentoo-portage"
USE="X acpi alsa audiofile avahi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups curl dbus directfb dri dvd dvdr dvdread encode fam ffmpeg firefox flac foomaticdb fortran gdbm gif gmp gpm gs gstreamer gtk hal iconv isdnlog jpeg lame lcms libnotify logrotate mad midi minimal mmx mng mp3 mpeg mudflap ncurses network-cron networkmanager nptl nptlonly nsplugin ogg opengl openmp pam pcmcia pcre pdf perl png pppd python readline reflection sdl session shorten spell spl sqlite sse sse2 ssl startup-notification svg tcpd tetex threads tiff truetype truetype-fonts type1-fonts unicode vorbis x86 xinerama xml xorg xpm zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="kbd keyboard mouse evdev synaptics ps2mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Markus Dittrich (RETIRED) gentoo-dev 2008-02-05 13:52:17 UTC
Could you please specify the version of ds9 you are using?
In case you're using ds9-5.0 could you please try ds9-5.1!

Thanks,
Markus
Comment 2 Sébastien Fabbro (RETIRED) gentoo-dev 2008-02-05 15:17:09 UTC
Are you using ds9 on a remote computer? If this is the case, make sure your display settings are correct. I had this error with an ssh session where I forgot to set the X options (-x or -y).
Comment 3 Joshua Rich 2008-02-06 06:06:56 UTC
(In reply to comment #1)
> Could you please specify the version of ds9 you are using?

This is with version 5.1, though I've had this problem since the 4.x releases that have been in the tree, I just didn't get around to submitting a bug until now.

(In reply to comment #2)
> Are you using ds9 on a remote computer?

No, this is on a local machine.

Sébastien, Markus,

It appears on some further digging this may be a conflict with tcl/tk which I had installed (dev-lang/tk-8.4.15-r1 and dev-lang/tcl-8.4.15).  Do either of you have these packages installed as well?  I've uninstalled them and now I'm having issues getting ds9 to even compile, possibly a ccache problem.  I will post some more details in the near future, once I have had a better look.

Thanks for the suggestions!

Joshua





Comment 4 Markus Dittrich (RETIRED) gentoo-dev 2008-02-06 13:56:47 UTC
I've got tk/tcl-8.4.16 and no issues with ds9 
whatsoever as far as I can tell. Can you give these
versions a shot.

I've had a look at my strace output and at no point
does ds9 try to open a file called ds9.tcl. I don't
know ds9 very well, but is there any chance that
there is a "old" config file floating around somewhere
that causes this behaviour?

Thanks,
Markus
Comment 5 Joshua Rich 2008-02-16 07:37:05 UTC
As far as I call tell, I'm getting a definite conflict between ds9 and dev-lang/tcl and dev-lang/tk.  If I unmerge tcl and tk, ds9 works.  If I then re-merge them, ds9 still works.  If I then re-merge ds9, it still works.  So something went wrong somewhere, but I'm not quite sure where...

At least now I have a working ds9, though I'm not sure how or why it wouldn't work in the first place.  I'm open to suggestions for chasing this up, so that it won't happen again in the future, if there are any.

Thanks for your help!

Regards,

Josh

Comment 6 Joshua Rich 2008-02-18 00:16:26 UTC
(In reply to comment #5)
> As far as I call tell, I'm getting a definite conflict between ds9 and
> dev-lang/tcl and dev-lang/tk.  If I unmerge tcl and tk, ds9 works.  If I then
> re-merge them, ds9 still works.  If I then re-merge ds9, it still works.  So
> something went wrong somewhere, but I'm not quite sure where...
> 
> At least now I have a working ds9, though I'm not sure how or why it wouldn't
> work in the first place.  I'm open to suggestions for chasing this up, so that
> it won't happen again in the future, if there are any.
> 


Well it just did.  After a sync I got a new version of tcl and tk (both 8.4.18) which broke my working ds9 (5.1) with the same error as I initially had.  After unmerging both tcl and tk and trying to run ds9 again, I got a different error:

Application initialization failed: Can't find a usable init.tcl in the following directories:
    ./zvfsmntpt/tcl8.4 /var/tmp/portage/sci-astronomy/ds9-5.1/work/saods9/lib/tcl8.4 ./zvfsmntpt/tcl8.4 ./zvfsmntpt/tcl8.4 /usr/lib/tcl8.4 /lib/tcl8.4 /usr/library /library /tcl8.4.17/library /var/tmp/portage/sci-astronomy/ds9-5.1/work/saods9/lib/tcl8.4



This probably means that Tcl wasn't installed properly.

Error in startup script: couldn't read file "./zvfsmntpt/src/ds9.tcl": no such file or directory

I actually have no need for tcl/tk on my system, they are being pulled in by a dodgy ebuild to install a binary version of IRAF I wrote, so I'm just going to remove them so I can have a working ds9.  I was convinced this was a problem with the build order of tcl/tk and ds9, in that installing ds9 after installing tcl/tk led to problems.  But this has just shown the problem occurs in the opposite build order, installing tcl/tk after ds9.  I'm really clutching at straws here, not being an expert at all in debugging this kind of issue, so please let me know if there are any suggestions I should try which might uncover more information about this problem.  Could it be some issue in the build process for ds9?  Possibly some kind of weird ccache issue?

Thanks and regards,

Josh
Comment 7 Markus Dittrich (RETIRED) gentoo-dev 2008-02-24 11:46:14 UTC
I found this on a forum online:
"Delete .ds9.pref from your home directory and the problem is solved"

Does that apply to you?

cheers,
Markus
Comment 8 Joshua Rich 2008-02-24 22:50:25 UTC
(In reply to comment #7)
> I found this on a forum online:
> "Delete .ds9.pref from your home directory and the problem is solved"
> 
> Does that apply to you?
> 
> cheers,
> Markus
> 

Hi Markus,

Thanks, yeah I think I tried this when you first suggested it with no luck in fixing the problem.  I've just tried it again:

% ds9
Application initialization failed: Can't find a usable init.tcl in the ...
(i.e. same error as above)
                                                                                                                 % rm .ds9.prf
removed `.ds9.prf'
                                                                                                                  % ds9
Application initialization failed: Can't find a usable init.tcl in the 
(i.e. same error as above again)

So my ds9 is not working again.  I haven't got tcl/tk installed anymore either.  I just re-emerged it, deleted .ds9.prf in my home and now it is working.  So your fix worked the second time!  Oh man, what is going on is beyond me!  ds9 is working though.  Clearly, if anything, this is a sign I should not be an astronomer...

Thanks for your help!

Regards,

Josh
Comment 9 Sébastien Fabbro (RETIRED) gentoo-dev 2008-04-22 08:43:35 UTC
Hi Josh,

ds9-5.2 is in the tree. Do you still have these problems, or could considere this as fixed?
I contacted upstream in trying to convince to change for external dependencies, which could really help this package and probably solve this inconsistent behaviour. It could help if you guys also insist, since they did not seem very convinced with my arguments :(

Thanks.
Comment 10 Joshua Rich 2008-04-22 10:39:00 UTC
Hi Sébastien,

There is a missing patch for ds9-5.2 (had this error for a few syncs
and been meaning to submit a bug sorry):

>>> Unpacking ds9.5.2.tar.gz to /var/tmp/portage/sci-astronomy/ds9-5.2/work
 * Applying ds9-5.2-gcc43.patch ...                                                                                              [ ok ]
 * Applying ds9-5.2-Makefile.patch ...                                                                                           [ ok ]

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 *
 *   /usr/portage/sci-astronomy/ds9/files/ds9-5.2-gcc4.2-x86.patch
 *   ( ds9-5.2-gcc4.2-x86.patch )

 *
 * ERROR: sci-astronomy/ds9-5.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 2387:  Called epatch 'src_unpack'
 *             environment, line 1107:  Called die
 * The specific snippet of code:
 *                   die "Cannot find \$EPATCH_SOURCE!";
 *  The die message:
 *   Cannot find $EPATCH_SOURCE!
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sci-astronomy/ds9-5.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-astronomy/ds9-5.2/temp/environment'.
 *

Copying/renaming the existing ds9-5.1-gcc4.2-x86.patch seems to work.

However, this version of ds9 still fails with the error:

Error in startup script: couldn't read file "./zvfsmntpt/src/ds9.tcl": no such file or directory

I had a quick Google search, not many results returned.  Most however
talked about the DISPLAY env var.  I use qingy, which starts X on
display :1.0, so I thought that might be my trouble.  But I still get
the error after restarting X on display :0.0.  I don't have an old
.ds9.prf file lying around.

I will send an email upstream with my problem, you can close this bug
if you need.  

Thanks for following up. Regards,

Josh
Comment 11 Sébastien Fabbro (RETIRED) gentoo-dev 2008-04-22 11:10:59 UTC
 
> There is a missing patch for ds9-5.2 (had this error for a few syncs
> and been meaning to submit a bug sorry):

Just fixed. Thanks!


> However, this version of ds9 still fails with the error:
> 
> Error in startup script: couldn't read file "./zvfsmntpt/src/ds9.tcl": no such
> file or directory

I still have no problems on amd64, I will try later on my x86 desktop. Of what I understand ds9 exec is a bundled zip file. You can try look up in an unzipped version for this missing file.


> I will send an email upstream with my problem, you can close this bug
> if you need.  

Thanks. No need to close for now.
Comment 12 Sébastien Fabbro (RETIRED) gentoo-dev 2008-11-20 11:33:45 UTC
ds9-5.4 is now in the tree. I removed many internal system libraries, so please test it as much as you can. This new version does not use the bundled zip executable so it should not show this problem.
Comment 13 Joshua Rich 2008-11-23 00:53:27 UTC
(In reply to comment #12)
> ds9-5.4 is now in the tree. I removed many internal system libraries, so please
> test it as much as you can. This new version does not use the bundled zip
> executable so it should not show this problem.
> 

Hi Sébastien,

Awesome, will do!  Give me about a week and I'll reply back to this bug. Great effort, thanks again!

Cheers,

Joshua
Comment 14 Joshua Rich 2008-12-06 01:18:19 UTC
Sorry about the delay.  Just tried building ds9, after running into
bug #249789 (followed instructions in ebuild to generate a source
package).  Now getting the following errors when building
sci-astronomy/ds9: 

make[1]: Leaving directory `/var/tmp/portage/sci-astronomy/ds9-5.4/work/saods9/plio'
Installing SAOTK...
cd saotk; make install
make[1]: Entering directory `/var/tmp/portage/sci-astronomy/ds9-5.4/work/saods9/saotk'
cd widget; make
make[2]: Entering directory `/var/tmp/portage/sci-astronomy/ds9-5.4/work/saods9/saotk/widget'
g++ -march=prescott -O2 -pipe -fomit-frame-pointer -fPIC -DHAVE_SYS_UN_H -DHAVE_SYS_SHM_H  -I. -I.. -I../vector -I../util -I../../include -I/usr/include   -c -o attribute.o attribute.C
g++ -march=prescott -O2 -pipe -fomit-frame-pointer -fPIC -DHAVE_SYS_UN_H -DHAVE_SYS_SHM_H  -I. -I.. -I../vector -I../util -I../../include -I/usr/include   -c -o gridbase.o gridbase.C
g++ -march=prescott -O2 -pipe -fomit-frame-pointer -fPIC -DHAVE_SYS_UN_H -DHAVE_SYS_SHM_H  -I. -I.. -I../vector -I../util -I../../include -I/usr/include   -c -o truecolor8.o truecolor8.C
gridbase.C:13:19: error: ast.h: No such file or directory
g++ -march=prescott -O2 -pipe -fomit-frame-pointer -fPIC -DHAVE_SYS_UN_H -DHAVE_SYS_SHM_H  -I. -I.. -I../vector -I../util -I../../include -I/usr/include   -c -o truecolor16.o truecolor16.C
gridbase.C: In member function 'int GridBase::gAttr(int, double, double*, int)':
gridbase.C:47: error: 'AST__BAD' was not declared in this scope
gridbase.C: In member function 'int GridBase::matrixMap(void*, Matrix&, const char*)':
gridbase.C:725: error: 'AstFrameSet' was not declared in this scope
gridbase.C:725: error: 'frameSet' was not declared in this scope
gridbase.C:725: error: expected primary-expression before ')' token
gridbase.C:725: error: expected `;' before 'fs'
gridbase.C:730: error: 'AstMatrixMap' was not declared in this scope
gridbase.C:730: error: 'mm' was not declared in this scope
gridbase.C:731: error: 'astMatrixMap' was not declared in this scope
gridbase.C:734: error: 'AstShiftMap' was not declared in this scope
gridbase.C:734: error: 'sm' was not declared in this scope
gridbase.C:735: error: 'astShiftMap' was not declared in this scope
gridbase.C:738: error: 'AstCmpMap' was not declared in this scope
gridbase.C:738: error: 'cmp' was not declared in this scope
gridbase.C:739: error: 'astCmpMap' was not declared in this scope
gridbase.C:742: error: 'AST__CURRENT' was not declared in this scope
gridbase.C:742: error: 'astFrame' was not declared in this scope
gridbase.C:742: error: 'astAddFrame' was not declared in this scope
make[2]: *** [gridbase.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/sci-astronomy/ds9-5.4/work/saods9/saotk/widget'
make[1]: *** [widget] Error 2
make[1]: Leaving directory `/var/tmp/portage/sci-astronomy/ds9-5.4/work/saods9/saotk'
make: *** [saotk] Error 2

Here is my emerge --info:

Portage 2.1.6_rc2 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26-gentoo-r3 i686)
=================================================================
System uname: Linux-2.6.26-gentoo-r3-i686-Genuine_Intel-R-_CPU_T2500_@_2.00GHz-with-glibc2.0
Timestamp of tree: Thu, 04 Dec 2008 23:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
FFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="http://mirror.internode.on.net/pub/gentoo http://mirror.aarnet.edu.au/pub/gentoo http://ftp.swin.edu.au/gentoo ftp://ftp.swin.edu.au/gentoo ftp://mirror.internode.on.net/pub/gentoo ftp://mirror.aarnet.edu.au/pub/gentoo"
INSTALL_MASK="/usr/share/locale/{af,am,ang,ar,as,az,be,be@latin,bg,bn,bn_IN,br,bs,byn,ca,ca@valencia,cs,cs_CZ,cy,da,de,de_AT,de_DE,dz,el,el_GR,en_US@piglatin,eo,es,es_AR,es_CL,es_CO,es_CR,es_DO,es_EC,es_ES,es_GT,es_HN,es_MX,es_NI,es_PA,es_PE,es_PR,es_SV,es_UY,es_VE,et,et_EE,eu,fa,fi,fo,foo,fr,frp,fur,ga,gez,gl,gl_ES,gn,gr,gu,haw,he,he_IL,hi,hr,hu,hy,id,io,is,it,it_IT,ja,ka,kk,km,kn,ko,kok,ku,ky,li,locale.alias,lt,lug,lv,mai,mg,mi,mk,ml,mn,mr,ms,mt,nb,nb_NO,ne,nl,nl_BE,nn,nn_NO,no,nso,oc,or,pa,pl,ps,pt,pt_BR,pt_PT,rm,ro,ru,rw,si,sk,sl,so,sq,sr,sr@ije,sr@latin,sr@Latn,sv,sv_SE,sw,ta,te,th,ti,tig,tk,tl,tr,tr_TR,tt,ug,uk,ur,uz,uz@cyrillic,ve,vi,wa,wal,wo,xh,yi,yo,zh,zh_CN,zh_HK,zh_TW,zu}"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes --prune-empty-dirs"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/gentopia /usr/local/portage/layman/science /usr/local/portage/layman/sunrise /usr/local/portage/layman/java-overlay /usr/local/portage/layman/berkano /usr/local/portage/layman/devnull /usr/local/portage/layman/ephemeral /usr/local/portage/layman/xfce-dev /usr/local/overlays/misc"
SYNC="rsync://ftp.swin.edu.au/gentoo-portage"
USE="X alsa avahi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups curl dbus dga directfb dri dvd dvdr dvdread fam fbcon ffmpeg flac foomaticdb fortran gd gdbm gif gmp gpm gs gstreamer gtk hal iconv isdnlog jpeg jpeg2k lame latex lcms logrotate mad midi mmx mng mp3 mpeg mudflap ncurses network-cron nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python readline reflection samba sdl session shorten spell spl sqlite3 sse sse2 ssl svg sysfs tcpd threads tiff truetype truetype-fonts type1-fonts unicode vorbis x86 xft xinerama xml xorg xpm xulrunner zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="kbd keyboard mouse evdev synaptics ps2mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

Will look into this further, but open to suggestions!

Thanks and regards,

Joshua Rich
Comment 15 Sébastien Fabbro (RETIRED) gentoo-dev 2008-12-09 23:27:53 UTC
(In reply to comment #14)

I can reproduce your compiler error on a amd64, but it compile fine on a ~amd64 profile. It seems that on the stable profile, ast-4.6.2 does not install all files. I looked into this with no clue so far, will search further later on if no one has any clue.

Comment 16 Johannes Bauer 2009-02-13 22:00:49 UTC
Experiencing the exact same problem here:

gridbase.C:13:19: Fehler: ast.h: Datei oder Verzeichnis nicht gefunden
gridbase.C: In member function »int GridBase::gAttr(int, double, double*, int)«:
gridbase.C:47: Fehler: »AST__BAD« wurde in diesem Gültigkeitsbereich nicht definiert
gridbase.C: In member function »int GridBase::matrixMap(void*, Matrix&, const char*)«:
gridbase.C:725: Fehler: »AstFrameSet« wurde in diesem Gültigkeitsbereich nicht definiert
gridbase.C:725: Fehler: »frameSet« wurde in diesem Gültigkeitsbereich nicht definiert
gridbase.C:725: Fehler: expected primary-expression before »)« token
gridbase.C:725: Fehler: expected `;' before »fs«
gridbase.C:730: Fehler: »AstMatrixMap« wurde in diesem Gültigkeitsbereich nicht definiert
gridbase.C:730: Fehler: »mm« wurde in diesem Gültigkeitsbereich nicht definiert
gridbase.C:731: Fehler: »astMatrixMap« wurde in diesem Gültigkeitsbereich nicht definiert
gridbase.C:734: Fehler: »AstShiftMap« wurde in diesem Gültigkeitsbereich nicht definiert
gridbase.C:734: Fehler: »sm« wurde in diesem Gültigkeitsbereich nicht definiert
gridbase.C:735: Fehler: »astShiftMap« wurde in diesem Gültigkeitsbereich nicht definiert
gridbase.C:738: Fehler: »AstCmpMap« wurde in diesem Gültigkeitsbereich nicht definiert
gridbase.C:738: Fehler: »cmp« wurde in diesem Gültigkeitsbereich nicht definiert
gridbase.C:739: Fehler: »astCmpMap« wurde in diesem Gültigkeitsbereich nicht definiert
gridbase.C:742: Fehler: »AST__CURRENT« wurde in diesem Gültigkeitsbereich nicht definiert
gridbase.C:742: Fehler: »astFrame« wurde in diesem Gültigkeitsbereich nicht definiert
gridbase.C:742: Fehler: »astAddFrame« wurde in diesem Gültigkeitsbereich nicht definiert
make[2]: *** [gridbase.o] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
make[2]: Leaving directory `/var/tmp/portage/sci-astronomy/ds9-5.4/work/saods9/saotk/widget'
make[1]: *** [widget] Fehler 2
make[1]: Leaving directory `/var/tmp/portage/sci-astronomy/ds9-5.4/work/saods9/saotk'
make: *** [saotk] Fehler 2
 *
 * ERROR: sci-astronomy/ds9-5.4 failed.
 * Call stack:   
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2174:  Called _eapi2_src_compile
 *               ebuild.sh, line  629:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sci-astronomy/ds9-5.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-astronomy/ds9-5.4/temp/environment'.
 *


Portage 2.1.6.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.28 x86_64)
=================================================================
System uname: Linux-2.6.28-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-glibc2.2.5
Timestamp of tree: Fri, 13 Feb 2009 15:10:02 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/hollow /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X X509 a52 aac acl acpi aiglx alsa amd64 apache2 avi bash-completion berkdb bluetooth bzip2 cairo cddb cdparanoia cdr cli cracklib crypt cups dri dts dvb dvd dvdr dvdread encode exif fbcon ffmpeg flac foomaticdb gd gdbm gimp gimpprint gnome gpm gstreamer gtk gtk2 hbci iconv ipv6 isdnlog jpeg kqemu lirc midi mikmod mmx mmxext mng mp3 mpeg multilib ncurses nls nodrm nptl nptlonly nvidia ogg oggvorbis opengl openmp openntpd pam pcre png postgres postscript ppds pppd python readline recode reflection replytolist rtc rtsp samba sasl session smartcard smp snmp spl sqlite sse sse2 ssl subversion svg sysfs tcpd theora threads timidity truetype unicode usb v4l v4l2 vorbis xanim xinerama xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="serialvfd" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 17 Johannes Bauer 2009-02-13 22:10:27 UTC
Well, swell. ds9-5.2 compiles fine, but there I get the same "Error in startup script: couldn't read file "./zvfsmntpt/src/ds9.tcl": no such file or directory" message.

Looks like all ebuilds currently in the tree for ds9 are defective, at least for AMD64.
Comment 18 Sébastien Fabbro (RETIRED) gentoo-dev 2009-02-17 23:34:43 UTC
Now the initial issue should be fixed in ds9-5.4 and 5.5.
Thanks.