Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67492 - Emacs-21.3-r3 fails to compile when +lesstif and +motif is set, but openmotif is not installed
Summary: Emacs-21.3-r3 fails to compile when +lesstif and +motif is set, but openmotif...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-13 17:49 UTC by *nyamo*
Modified: 2005-02-11 10:06 UTC (History)
1 user (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 *nyamo* 2004-10-13 17:49:37 UTC
When emerging emacs-21.3-r3, it fails to compile with the following error if +motif is set in the USE flags:

gcc -c  -D_BSD_SOURCE -I/usr/X11R6/include   -D_BSD_SOURCE   -march=pentium2 -O3
 -pipe -fomit-frame-pointer -fno-stack-protector -DEMACS_BITMAP_FILES -DHAVE_CON
FIG_H -Demacs -I. -I../src -I/var/tmp/portage/emacs-21.3-r3/work/emacs-21.3/lwli
b -I/var/tmp/portage/emacs-21.3-r3/work/emacs-21.3/lwlib/../src lwlib-Xm.c
lwlib-Xm.c:37:26: Xm/BulletinB.h: No such file or directory
lwlib-Xm.c:38:25: Xm/CascadeB.h: No such file or directory
lwlib-Xm.c:39:26: Xm/CascadeBG.h: No such file or directory
lwlib-Xm.c:40:25: Xm/DrawingA.h: No such file or directory
................
lwlib-Xm.c:1974: error: `XtNallowShellResize' undeclared (first use in this func
tion)
make[2]: *** [lwlib-Xm.o] Error 1
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_MOTIF  -I. -I/var/tmp/porta
ge/emacs-21.3-r3/work/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -march=p
entium2 -O3 -pipe -fomit-frame-pointer -fno-stack-protector xdisp.c
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/emacs-21.3-r3/work/emacs-21.3/lwlib
'
make[1]: *** [really-lwlib] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/emacs-21.3-r3/work/emacs-21.3/src'
make: *** [src] Error 2

!!! ERROR: app-editors/emacs-21.3-r3 failed.
!!! Function src_compile, Line 82, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1. Set USE flags to include +motif (just edit make.conf)
2. emerge =emacs-21.3-r3

Actual Results:  
"No such file or directory" errors occur and kills the compilation

Expected Results:  
Compiled correctly

Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9-rc1-mm5-livecd)
=================================================================
System uname: 2.6.9-rc1-mm5-livecd i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox userpriv usersandbox"
GENTOO_MIRRORS="ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/
ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.osuosl.org/
ftp://distro.ibiblio.org/pub/Linux/distributions/gentoo/
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib acpi aim alsa apache2 apm arts avi berkdb bidi bitmap-fonts caps
cdr cjk crypt cscope cups curl directfb doc dvd dvdr emacs emacs-w3 encode evo
f77 fastcgi flac flash foomaticdb freewnn gd gdbm gif gphoto2 gpm gtk gtk2
gtkhtml icq imagemagick imap imlib ipv6 jabber java jikes jpeg junit ldap leim
lesstif libg++ libwww mad maildir mcal mikmod motif mozilla mpeg msn mule mysql
nas ncurses nls nptl oggvorbis opengl oscar pam pdflib perl plogutils png python
qt quicktime readline ruby samba scanner sdl slang spell ssl svga tcltk tcpd
tiff truetype unicode usb vhosts videos wmf wxwindows x86 xml xml2 xmms xprint
xv yahoo zeo zlib"
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-10-15 22:02:00 UTC
Thanks for the bug report. Fixed in CVS.