Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13879 - nedit-5.3-r1 is unstable
Summary: nedit-5.3-r1 is unstable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-13 18:06 UTC by Klaus-J. Wolf
Modified: 2003-04-12 00:37 UTC (History)
2 users (show)

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 Klaus-J. Wolf 2003-01-13 18:06:06 UTC
If you open an existing file with "nedit filename", open another with Ctl-O and
then close that one again with Ctl-W, nedit terminates with message:

Error: XtPopdown requires a subclass of shellWidgetClass
Comment 1 Klaus-J. Wolf 2003-01-13 18:10:06 UTC
Small remark: It seems, that this only happens if you used the find function
Ctl-F in the second window.
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-01-14 00:26:55 UTC
do you have openmotif or lesstif?
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2003-01-14 17:57:10 UTC
Klaus?
Comment 4 Klaus-J. Wolf 2003-01-14 18:42:56 UTC
Sorry for the delay. nedit is statically linked with *tif and it appears that
(since both lesstif and openmotif are installed), it appears to have taken
openmotif.

$ strings `which nedit` |grep -i motif
@(#)Motif Version 2.2.2
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2003-01-16 07:47:18 UTC
does this bug still show up, if you remove openmotif and let it attach itself to
lesstif?
Comment 6 Klaus-J. Wolf 2003-01-16 10:31:02 UTC
As I said, nedit is statically linked. Its ebuild file says it requires
openmotif. Simply hiding away openmotif and recompiling gives a long list of errors:

XmFontListCreate() is an obsolete function!

Cannot find callback list in XtAddCallback
Cannot find callback list in XtAddCallback
...
Comment 7 Klaus-J. Wolf 2003-01-16 10:40:02 UTC
Sorry, I forgot to say: recompiling works, running nedit gives these error
messages above.
Comment 8 Seemant Kulleen (RETIRED) gentoo-dev 2003-01-19 20:09:37 UTC
please try -r2 and report?
Comment 9 Klaus-J. Wolf 2003-01-19 23:17:01 UTC
Sorry, same effect with -r2.
Comment 10 Jason Shoemaker (RETIRED) gentoo-dev 2003-01-25 07:10:26 UTC
With nedit-5.3-r2:

[quote]
(cd util; make -f Makefile.linux libNUtil.a)
make[1]: Entering directory `/var/tmp/portage/nedit-5.3-r2/work/nedit-5.3/util'
cc -march=pentium2 -O3 -pipe -fomit-frame-pointer -D__LINUX__ -I/usr/X11R6/inclu
de -D__LINUX__ -DUSE_DIRENT -DUSE_LPR_PRINT_CMD -c -o DialogF.o DialogF.c
DialogF.c:33:19: Xm/Xm.h: No such file or directory
DialogF.c:34:25: Xm/MessageB.h: No such file or directory
DialogF.c:35:24: Xm/DialogS.h: No such file or directory
DialogF.c:36:22: Xm/PushB.h: No such file or directory
DialogF.c:37:23: Xm/PushBG.h: No such file or directory
DialogF.c:38:26: Xm/SelectioB.h: No such file or directory 
[/quote]

[quote from nedit-5.3-r2]
RDEPEND="spell? ( app-text/aspell )"

DEPEND="${RDEPEND}
        dev-util/yacc"
[/quote]

I suspect that nedit-5.2-r2 DEPENDS on virtual/x11. Otherwise if we don't have X
installed, then it isn't going to find: -I/usr/X11R6/include/Xm. 
Comment 11 Seemant Kulleen (RETIRED) gentoo-dev 2003-01-27 01:21:35 UTC
it's actually a lack of listing of openmotif or lesstif in the DEPENDS list. 
Sorry for that :(
Comment 12 Klaus-J. Wolf 2003-01-27 21:34:29 UTC
Sure we all talk about the same bug?
Comment 13 Klaus-J. Wolf 2003-01-28 01:08:03 UTC
I have done a test. Sorry, my bug is still there. ("emerge openmotif nedit"
didn't change the situation.)

Is anybody being able to reproduce it?
Comment 14 Seemant Kulleen (RETIRED) gentoo-dev 2003-01-28 02:26:18 UTC
nebuchadnezzar gnome-extra # qpkg -f /usr/X11R6/include/Xm/Xm.h 
x11-libs/openmotif *


so I do not understand why you have this error...
Comment 15 Seemant Kulleen (RETIRED) gentoo-dev 2003-01-28 02:29:17 UTC
raker, this bug's yours, baby
Comment 16 Klaus-J. Wolf 2003-01-28 02:32:09 UTC
My bug's described in comments 0 to 1. I really have no problems with a missing
header file; everything builds perfectly. It only refuses to run in a stable
manner ,-)
Comment 17 Jason Shoemaker (RETIRED) gentoo-dev 2003-01-28 02:43:29 UTC
And I was commenting on comment #8 to report on -r2. Just a little confusion. :)
Comment 18 Nick Hadaway 2003-02-13 05:46:09 UTC
nedit-5.4_pre20030213 will be added to portage soon.  I am waiting for the gentoo mirrors to catch the source file first.   I'll post here when it is available.
Comment 19 Nick Hadaway 2003-02-15 13:23:27 UTC
The ebuild is now in portage.  Please test.
Comment 20 Klaus-J. Wolf 2003-04-12 00:37:30 UTC
FYI, nedit-5.3 with open-motif-2.2.2_1 under FreeBSD (native) doesn't show this bug.

Have you been able to reproduce my original bug?

Sorry, at the moment I have no computer still running with Gentoo, so don't wait for my report.