First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 174453
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: GNU Emacs Team <emacs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Wulf Krueger (RETIRED) <philantrop@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
patch upstream patch patch Ulrich Müller 2007-04-18 07:22 0000 2.00 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 174453 depends on: Show dependency tree
Show dependency graph
Bug 174453 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: 2007-04-13 13:07 0000
app-editors/emacs-21.4-r4  USE="X Xaw3d nls -leim -lesstif -motif -nosendmail"

Currently, the relevant deps are the following:

Xaw3d? ( x11-libs/Xaw3d )
!Xaw3d? ( x11-libs/libXaw )

This leads to the following error when trying to build emacs without libXaw
already installed:

/var/tmp/portage/app-editors/emacs-21.4-r4/work/emacs-21.4/lwlib/lwlib.c:52:27:
error: X11/Xaw/Paned.h: No such file or directory

X11/Xaw/Paned.h is not provided by x11-libs/Xaw3d but by x11-libs/libXaw.

Thus, I suggest the following change:

Xaw3d? ( x11-libs/libXaw
         x11-libs/Xaw3d )

mkennedy seems to have found this, too, in 
http://bugs.gentoo.org/show_bug.cgi?id=128391#c3

------- Comment #1 From Ulrich Müller 2007-04-13 14:27:22 0000 -------
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?

------- Comment #2 From Wulf Krueger (RETIRED) 2007-04-13 15:10:18 0000 -------
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.

------- Comment #3 From Ulrich Müller 2007-04-13 15:39:53 0000 -------
(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.

------- Comment #4 From Wulf Krueger (RETIRED) 2007-04-13 19:59:39 0000 -------
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?

------- Comment #5 From Ulrich Müller 2007-04-13 22:58:57 0000 -------
(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)?

------- Comment #6 From Ulrich Müller 2007-04-14 00:17:42 0000 -------
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).

------- Comment #7 From Ulrich Müller 2007-04-14 07:06:30 0000 -------
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

------- Comment #8 From Christian Faulhammer 2007-04-16 07:23:01 0000 -------
Ulrich reported it upstream.

------- Comment #9 From Ulrich Müller 2007-04-17 06:22:54 0000 -------
(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.

------- Comment #10 From Wulf Krueger (RETIRED) 2007-04-17 09:44:55 0000 -------
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). :-)

------- Comment #11 From Christian Faulhammer 2007-04-17 10:23:29 0000 -------
(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.

------- Comment #12 From Ulrich Müller 2007-04-17 15:28:19 0000 -------
(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.

------- Comment #13 From Ulrich Müller 2007-04-18 07:22:53 0000 -------
Created an attachment (id=116608) [edit]
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.

------- Comment #14 From Ulrich Müller 2007-04-19 06:01:39 0000 -------
(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

------- Comment #15 From Wulf Krueger (RETIRED) 2007-04-19 15:50:12 0000 -------
Thank you! Greatly appreciated.

------- Comment #16 From Ulrich Müller 2007-04-19 15:57:33 0000 -------
Reopening for proper resolution.

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