Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11218 - snavigator ebuild problems
Summary: snavigator ebuild problems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Stefan Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-25 14:15 UTC by Mauricio Lima Pilla
Modified: 2002-12-11 15:10 UTC (History)
0 users

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


Attachments
cat /var/db/pkg/dev-util/sourcenav-5.1.1/CONTENTS (sourcenav-5.1.1.CONTENTS,140.03 KB, text/plain)
2002-11-27 15:24 UTC, Mauricio Lima Pilla
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mauricio Lima Pilla 2002-11-25 14:15:34 UTC
Snavigator depends on itcl but it is not specified in the ebuild. It also tries
to install to /usr/snavigator, which causes the merge to stop when it is making
the directory. 

It also fails to find itcl and itk if you don't specify ITCL_LIBRARY and
ITK_LIBRARY manually (it searches in other directories).

snavigator
Application initialization failed: Can't find a usable itk.tcl in the following
directories:
    /usr/snavigator/share/itk3.2 /usr/snavigator/bin/../lib/itk3.2
/usr/snavigator/bin/../library /usr/snavigator/bin/../../library
/usr/snavigator/bin/../../itk/library
This probably means that Itcl/Itk weren't installed properly.
If you know where the Itk library directory was installed,
you can set the environment variable ITK_LIBRARY to point
to the library directory.

Error in startup script: invalid command name "create_interp"
    while executing
"create_interp {

  # FIXME: This is broken, it gets reset inside sn_init_globals
  set sn_options(sys,bug-mail-address) "support@cygnus.com"

  sn_ses..."
    (file "/usr/snavigator/share/etc/navigato" line 12)
Comment 1 Stefan Jones (RETIRED) gentoo-dev 2002-11-27 03:07:13 UTC
this ebuild works fine for me. It it breaks as badly as it did for you then it
should be broken on all systems.


Have you got /usr/snavigator/bin in your PATH variable?

Also remove the dirs in /var/tmp/portage/* as old files may be affecting it.

All the packages snavigator depends on are included in it's source, as it needs
specially modified versions of tcl, tk, itcl etc.

There is no reason why it should stop the install into /usr/snavigator unless
your system is broken. This I guess is the root cause of your breakage.
Comment 2 Mauricio Lima Pilla 2002-11-27 08:25:37 UTC
>Have you got /usr/snavigator/bin in your PATH variable?
Yes, /etc/env.d/10snavigator does that.

>Also remove the dirs in /var/tmp/portage/* as old files may be affecting it.
you say, for the building or to run snavigator? It is the first time I install
it, and unless you thing other packages may have influence...

>All the packages snavigator depends on are included in it's source, as it needs
>specially modified versions of tcl, tk, itcl etc.
Interesting. After I installed itcl, itk it run OK.

>There is no reason why it should stop the install into /usr/snavigator unless
>your system is broken. This I guess is the root cause of your breakage.
Maybe. Couldn't it be something about protected /usr? I still don't understand
some details of portage.
Comment 3 Stefan Jones (RETIRED) gentoo-dev 2002-11-27 15:16:28 UTC
Could you post the file /var/db/pkg/dev-util/snavigator-5.0/CONTENTS to see what
is installed, I will compare it to mine.

did the partition with /var/tmp/portage run out of space during the compile
stage, if so it could have caused the error. Ditto with the /usr partition

The above info will help isolate why your install is a dud!
Comment 4 Mauricio Lima Pilla 2002-11-27 15:24:44 UTC
Created attachment 5999 [details]
cat /var/db/pkg/dev-util/sourcenav-5.1.1/CONTENTS
Comment 5 Mauricio Lima Pilla 2002-11-27 15:28:00 UTC
I've attached my CONTENTS, but notice that I am running 5.1.1

About my partitions running out of space it is not the case, I have 1 GB free
for /var and 456 MB for /usr (even after installing the package). 
Comment 6 Stefan Jones (RETIRED) gentoo-dev 2002-11-27 15:34:34 UTC
err, Have you been naughty, I only have snavigator 5.0 here, what is going on?
What ebuild did you use, I only see the dev-util/snavigator/snavigator-5.0.ebuild
Well that is another bug, same package in portage twice!!

Will now try the buggy 5.1.1 version dev-util/sourcenav/sourcenav-5.1.1.ebuild

( me wonders which person is responcible )

This means as a work around you can use 5.0 which works!

Comment 7 Mauricio Lima Pilla 2002-11-27 15:41:19 UTC
Yep, I am using sourcenav instead of snavigator. The changelog says

*sourcenav-5.1.1 (01 Nov 2002)

  01 Nov 2002; Daniel Ahlberg <aliz@gentoo.org> :
  New name and version bump. Found by Nicholas Wourms <nwourms@netscape.net> in
#5863.


I have installed 5.1.1, it is working with the fixes, I just wanted that the
ebuild was corrected so other people wouldn't have the same problems. Are you
going to post a bug about the doubled ebuild problem or you want me to do that?
Thanks.
Comment 8 Stefan Jones (RETIRED) gentoo-dev 2002-11-27 16:02:50 UTC
Ok, I understand your error now, you get a sandbox violation.

This stops the install, thus you get an incomplete install.

This means it is a badly made package and the creator should be shot!

Will try and fix it.
Comment 9 Stefan Jones (RETIRED) gentoo-dev 2002-12-11 15:10:49 UTC
At last I got round to fixing it.
The problem was as I said, the itcl and itk from sourcenav were not being
installed properly causing the errors. Fixed it so it now works.