Summary: | >=app-editors/emacs-21.4-r4 with USE=Xaw3d needs DEPEND=x11-libs/libXaw | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Wulf Krueger (RETIRED) <philantrop> |
Component: | New packages | Assignee: | Emacs project <emacs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2006.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | upstream patch |
Description
Wulf Krueger (RETIRED)
![]() Looks like libXaw is needed only at build-time: $ scanelf -n /usr/bin/emacs-21 TYPE NEEDED FILE ET_EXEC libXaw3d.so.8,libXmu.so.6,libXt.so.6,libSM.so.6,libICE.so.6, libXext.so.6,libtiff.so.3,libjpeg.so.62,libpng12.so.0,libz.so.1,libm.so.6, libgif.so.4,libXpm.so,libX11.so.6,libncurses.so.5,libc.so.6 /usr/bin/emacs-21 Could you try if the issue is fixed in emacs-21.4-r11 from the Emacs overlay? Does the problem exist with emacs-cvs-22*, too? Sorry, Ulrich, I'm not using the emacs-overlay. It should be easy enough to test for this issue, though. Just "emerge -C libXaw" temporarily. I've tested the following packages from the official tree as well and they're affected, too: - app-editors/emacs-cvs-22.0.96 - app-editors/emacs-cvs-22.0.97 I suspect the other packages might be affected as well but I haven't tested any others. (In reply to comment #2) > Sorry, Ulrich, I'm not using the emacs-overlay. It should be easy enough to > test for this issue, though. Just "emerge -C libXaw" temporarily. Wulf, of course I had done this. ;-) I was able to reproduce the problem with your USE flags and I it is now gone in -21.4-r11 (from Emacs overlay). > I've tested the following packages from the official tree as well and they're > affected, too: > > - app-editors/emacs-cvs-22.0.96 > - app-editors/emacs-cvs-22.0.97 Hm, with those from the overlay I cannot reproduce the problem. However, we expect to move the versions from the overlay to the official tree during next week. So it would be nice to have an independent verification before. Ok, I did my tests using your overlay. Broken with respect to libXaw: - app-editors/emacs-cvs-22.0.97 (USE="X Xaw3d -alsa -gif -gtk -gzip-el -hesiod -jpeg -lesstif -motif -png -sound -source -spell -tiff -toolkit-scroll-bars -xpm") - app-editors/emacs-cvs-22.0.9999-r9 (USE="X Xaw3d -alsa -gif -gtk -gzip-el -hesiod -jpeg -lesstif -motif -png -sound -source -spell -tiff -toolkit-scroll-bars -xpm") - app-editors/emacs-cvs-23.0.0-r5 (USE="X Xaw3d -alsa -gif -gtk -gzip-el -hesiod -jpeg -lesstif -motif -png -sound -source -spell -tiff -toolkit-scroll-bars -xft -xpm") Working: - app-editors/emacs-21.4-r11 Any special reason you kept "!Xaw3d? ( x11-libs/libXaw )" in REDEPEND? (In reply to comment #4) > Ok, I did my tests using your overlay. Thanks. I shall look into emacs-cvs-{22,23}* with your combination of USE flags. > Working: > - app-editors/emacs-21.4-r11 Good. ;-) > Any special reason you kept "!Xaw3d? ( x11-libs/libXaw )" in REDEPEND? Hm, I think you are right, that could be dropped. And probably "Xaw3d? ( x11-libs/libXaw )" in DEPEND is sufficient, too. Ebuild in overlay changed, can you test again (still -r11)? emacs-cvs-{22,23}* updated and available in overlay for testing, too. Even if this is working now, it is suspicious that libXaw is needed at build time but not at runtime. It looks like the wrong include files are used, i.e. the sources should include X11/Xaw3d/Paned.h instead of the missing X11/Xaw/Paned.h (the two files being essentially identical, however). BTW, Debian has seen this issue, too: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=365714 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=365597 Ulrich reported it upstream. (In reply to comment #8) > Ulrich reported it upstream. As discussed with philantrop before. Revisions 22.0.98, 22.0.9999-r10, and 23.0.0-r6 moved to the Portage tree today. Resolving as UPSTREAM since including the libXaw headers at build time is a workaround only. Thanks, Ulrich! I'd be grateful if you could update this bug once more if and when upstream responds.Or just point me to their bugtracker (if they have one). :-) (In reply to comment #10) > I'd be grateful if you could update this bug once more if and when upstream > responds.Or just point me to their bugtracker (if they have one). :-) They don't have one, it hasn't hit the bug-list (is moderated), I will keep an eye on the normal development list and check from time to time the bug list. (In reply to comment #11) > > I'd be grateful if you could update this bug once more if and when upstream > > responds.Or just point me to their bugtracker (if they have one). :-) > > They don't have one, it hasn't hit the bug-list (is moderated), [...] I've just re-sent my message to them, as it looks like the first one got lost. It should appear in <http://lists.gnu.org/archive/html/emacs-pretest-bug/> (updated twice per day) at some time. Created attachment 116608 [details, diff] upstream patch | From: Chong Yidong <cyd@stupidchicken.com> | To: emacs-pretest-bug@gnu.org | Subject: Re: Compile failure due to Xaw3d include file issues | Date: Wed, 18 Apr 2007 01:24:20 -0400 | | Could you test the following patch? | | If you could take the time, please see if it works as expected with | all 4 combinations of Xaw3d and libXaw installed/not installed. (In reply to comment #13) > Created an attachment (id=116608) [edit] > upstream patch The libXaw dependency has been removed, and the upstream patch included in: emacs-21.4-r12 emacs-cvs-22.0.98 emacs-cvs-22.0.9999-r10 emacs-cvs-23.0.0-r6 Thank you! Greatly appreciated. Reopening for proper resolution. |