First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 165663
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: GNU Emacs Team <emacs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: John R. Graham <john_r_graham@mindspring.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
emacs-cvs-lesstif.patch Patch corrects small bug. patch John R. Graham 2007-02-06 19:50 0000 530 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 165663 depends on: Show dependency tree
Show dependency graph
Bug 165663 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-02-06 19:49 0000
In the emacs-cvs-22.0.93-r2 and emacs-cvs-22.0.9999-r2 ebuilds, when the X USE
flag is set but the motif and lesstif USE flags are not set, there is a kind of
syntactical typo that results in emacs being configured to be built for lesstif
toolkit support.  Without the lesstif USE flag set, the lesstif package is not
set as a dependency and, if lesstif is not already installed, the emacs-cvs
ebuild will (a) not install it, and (b) fail to compile because of lots of
missing include files.

Reproducible: Always

Steps to Reproduce:
1.Ensure that X USE flag is set, motif and lesstif USE flags are not set.
2.Ensure that lesstif is not installed.
3.emerge =app-editors/emacs-cvs-22.0.93-r2

Actual Results:  
Ebuild fails

...
i686-pc-linux-gnu-gcc  -c -D_BSD_SOURCE    -D_BSD_SOURCE    -O2
-march=pentium-m -mtune=pentium-m -pipe -DHAVE_CONFIG_H -Demacs -I. -I../src
-I/var/tmp/portage/emacs-cvs-22.0.93-r2/work/emacs-22.0.93/lwlib
-I/var/tmp/portage/emacs-cvs-22.0.93-r2/work/emacs-22.0.93/lwlib/../src
lwlib-Xm.c
i686-pc-linux-gnu-gcc  -c -D_BSD_SOURCE    -D_BSD_SOURCE    -O2
-march=pentium-m -mtune=pentium-m -pipe -DHAVE_CONFIG_H -Demacs -I. -I../src
-I/var/tmp/portage/emacs-cvs-22.0.93-r2/work/emacs-22.0.93/lwlib
-I/var/tmp/portage/emacs-cvs-22.0.93-r2/work/emacs-22.0.93/lwlib/../src
lwlib-utils.c
i686-pc-linux-gnu-gcc  -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_MOTIF 
-I. -I/var/tmp/portage/emacs-cvs-22.0.93-r2/work/emacs-22.0.93/src
-D_BSD_SOURCE -I/usr/include/alsa -O2 -march=pentium-m -mtune=pentium-m -pipe
frame.c
lwlib-Xm.c:41:26:i686-pc-linux-gnu-gcc  -c -D_BSD_SOURCE   -Demacs
-DHAVE_CONFIG_H -DUSE_MOTIF  -I.
-I/var/tmp/portage/emacs-cvs-22.0.93-r2/work/emacs-22.0.93/src -D_BSD_SOURCE
-I/usr/include/alsa -O2 -march=pentium-m -mtune=pentium-m -pipe scroll.c
 error: Xm/BulletinB.h: No such file or directory
lwlib-Xm.c:42:25: error: Xm/CascadeB.h: No such file or directory
lwlib-Xm.c:43:26: error: Xm/CascadeBG.h: No such file or directory
lwlib-Xm.c:44:25: error: Xm/DrawingA.h: No such file or directory
lwlib-Xm.c:45:23: error: Xm/FileSB.h: No such file or directory
lwlib-Xm.c:46:22: error: Xm/Label.h: No such file or directory
lwlib-Xm.c:47:21: error: Xm/List.h: No such file or directory
lwlib-Xm.c:48:22: error: Xm/MainW.h: No such file or directory
lwlib-Xm.c:49:26: error: Xm/MenuShell.h: No such file or directory
lwlib-Xm.c:50:25: error: Xm/MessageB.h: No such file or directory
lwlib-Xm.c:51:23: error: Xm/PanedW.h: No such file or directory
lwlib-Xm.c:52:22: error: Xm/PushB.h: No such file or directory
lwlib-Xm.c:53:23: error: Xm/PushBG.h: No such file or directory
...
[snip]
...
make[3]: *** [lwlib-Xm.o] Error 1
make[3]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-gcc  -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_MOTIF 
-I. -I/var/tmp/portage/emacs-cvs-22.0.93-r2/work/emacs-22.0.93/src
-D_BSD_SOURCE -I/usr/include/alsa -O2 -march=pentium-m -mtune=pentium-m -pipe
xdisp.c
make[3]: Leaving directory
`/var/tmp/portage/emacs-cvs-22.0.93-r2/work/emacs-22.0.93/lwlib'
make[2]: *** [really-lwlib] Error 2
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/portage/emacs-cvs-22.0.93-r2/work/emacs-22.0.93/src'
make[1]: *** [bootstrap-build] Error 2
make[1]: Leaving directory
`/var/tmp/portage/emacs-cvs-22.0.93-r2/work/emacs-22.0.93'
make: *** [bootstrap] Error 2

!!! ERROR: app-editors/emacs-cvs-22.0.93-r2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  emacs-cvs-22.0.93-r2.ebuild, line 108:   Called die

!!! make bootstrap failed.
!!! If you need support, post the topmost build error, and the call stack if
relevant.



I am including a patch that corrects the 22.0.93-r2 ebuild.  The exsact same
issue exists with the 22.0.999-r2 ebuild.

------- Comment #1 From John R. Graham 2007-02-06 19:50:59 0000 -------
Created an attachment (id=109368) [edit]
Patch corrects small bug.

------- Comment #2 From John R. Graham 2007-02-06 23:42:49 0000 -------
(In reply to comment #0)
I realize I misspoke a little bit above; I was at work and in a hurry.

What I meant was that, without the lesstif USE flag set, the emacs-cvs ebuild
does not list lesstif as a dependency and thus *emerge* will not build it prior
to trying to build emacs-cvs.  If lesstif is not installed already, then the
emacs-cvs ebuild will fail.

- John

------- Comment #3 From Yuval Yaari 2007-02-08 08:32:08 0000 -------
Same problem here, emerging lesstif indeed solves this...

------- Comment #4 From Christian Faulhammer 2007-02-08 14:04:24 0000 -------
Fixed in CVS, thanks.

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