Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128391 - emerge =app-editors/emacs-21.4-r3 fails because of missing depencency on libXp
Summary: emerge =app-editors/emacs-21.4-r3 fails because of missing depencency on libXp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-01 08:26 UTC by Erik
Modified: 2007-02-16 08:21 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 Erik 2006-04-01 08:26:54 UTC
"emerge =app-editors/emacs-21.4-r3" failed because it did not emerge libXp first. A workaround is to do "emerge libXp =app-editors/emacs-21.4-r3" but that should of course have been automatic.

# emerge emacs -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] app-editors/emacs-21.4-r3  USE="X Xaw3d leim lesstif nls -motif -nosendmail" 0 kB


# emerge --info
Portage 2.1_pre7-r3 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r1, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/"
LINGUAS="sv de"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/portage_tmpdir"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac aalib acl ada alsa apache2 apm arts artworkextra athena audiofile authdaemond avi bash-completion berkdb bitmap-fonts bonobo canna cdda cddb cdio cdparanoia crypt cups curl dga dhcp directfb divx4linux dnd dri dts dvb dvd dvdread eds emacs emboss encode expat fam fbcon ffmpeg firebird flac foomaticdb fortran freetype freewnn gcj gdbm ggi gif gimpprint gmp gnome gnutls gpm gstreamer gtk gtk2 guile hal howl httpd i8x0 imlib ipv6 isdnlog jack javascript jpeg kde kdeenablefinal kerberos krb4 ldap leim lesstif libcaca libg++ libwww live lzo mad matroska mikmod mmx mng mp3 mpeg mule mysql ncurses neXt network nls nsplugin odbc ogg oggvorbis opengl pam pcmcia pdflib perl php physfs png portaudio povray pppd python qt quicktime quotas readline ruby samba sasl sdl slp speex spell sql sse sse2 ssl stream subversion svg tcpd theora truetype truetype-fonts type1-fonts unicode usb v4l vcd vda vlm vorbis wifi wmf wxwindows xanim xface xinerama xml2 xmms xosd xv xvid xvmc zlib elibc_glibc kernel_linux linguas_sv linguas_de userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Matthew Kennedy (RETIRED) gentoo-dev 2006-04-03 09:51:58 UTC
Please provide the error output from when you tried to emerge =app-editors/emacs-21.4-r3?  I had a quick look for the dependency

-*- mode: grep; default-directory: "/tmp/emacs-21.4/" -*-
Grep started at Mon Apr  3 11:50:16

grep -nH -e 'Xp[A-Z]' -r .
./configure:4992:    echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6
./configure:4993:echo "configure:4994: checking for XpCreateContext in -lXp" >&5
./configure:4994:ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'`
./configure:5006:char XpCreateContext();
./configure:5009:XpCreateContext()
./configure.in:1797:    AC_CHECK_LIB(Xp, XpCreateContext, HAVE_LIBXP=yes)

Grep finished (matches found) at Mon Apr  3 11:50:17

And also:

-*- mode: grep; default-directory: "/tmp/emacs-21.4/" -*-
Grep started at Mon Apr  3 11:51:14

grep -nH -e HAVE_LIBXP\=yes -r .
./configure:5027:  HAVE_LIBXP=yes
./configure.in:1797:    AC_CHECK_LIB(Xp, XpCreateContext, HAVE_LIBXP=yes)

Grep finished (matches found) at Mon Apr  3 11:51:15

Seeing the error messages you encountered would help me.
Comment 2 Erik 2006-04-03 11:01:49 UTC
Here is the end of the output:

../lib-src/make-docfile -d /portage_tmpdir/portage/emacs-21.4-r3/work/emacs-21.4/src sunfns.o dosfns.o msdos.o xterm.o xfns.o xmenu.o xselect.o xrdb.o fontset.o dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o charset.o coding.o category.o ccl.o cm.o term.o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o print.o lread.o abbrev.o syntax.o unexelf.o mocklisp.o bytecode.o process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.o  > ../etc/DOC
../lib-src/make-docfile -a ../etc/DOC -d /portage_tmpdir/portage/emacs-21.4-r3/work/emacs-21.4/src ../lisp/mouse.elc ../lisp/select.elc ../lisp/scroll-bar.elc ../lisp/vmsproc.elc ../lisp/vms-patch.elc ../lisp/ls-lisp.elc ../lisp/dos-fns.elc ../lisp/w32-fns.elc ../lisp/dos-w32.elc ../lisp/disp-table.elc ../lisp/dos-vars.elc ../lisp/international/ccl.elc ../lisp/international/codepage.elc ../lisp/abbrev.elc ../lisp/buff-menu.elc ../lisp/byte-run.elc ../lisp/cus-start.el ../lisp/custom.elc ../lisp/emacs-lisp/backquote.elc ../lisp/emacs-lisp/lisp-mode.elc ../lisp/emacs-lisp/lisp.elc ../lisp/facemenu.elc ../lisp/faces.elc ../lisp/files.elc ../lisp/float-sup.elc ../lisp/format.elc ../lisp/frame.elc ../lisp/help.elc ../lisp/indent.elc ../lisp/isearch.elc ../lisp/loadup.el ../lisp/loaddefs.el ../lisp/bindings.elc ../lisp/map-ynp.elc ../lisp/env.elc ../lisp/international/mule.elc ../lisp/international/mule-conf.el ../lisp/international/mule-cmds.elc ../lisp/international/characters.elc ../lisp/international/utf-8.elc ../lisp/international/utf-16.elc ../lisp/international/latin-1.el ../lisp/international/latin-2.el ../lisp/international/latin-3.el ../lisp/international/latin-4.el ../lisp/international/latin-5.el ../lisp/international/latin-8.el ../lisp/international/latin-9.el ../lisp/case-table.elc ../lisp/language/chinese.elc ../lisp/language/cyrillic.elc ../lisp/language/indian.elc ../lisp/language/devanagari.elc ../lisp/language/english.elc ../lisp/language/ethiopic.elc ../lisp/language/european.elc ../lisp/language/czech.elc ../lisp/language/slovak.elc ../lisp/language/romanian.elc ../lisp/language/greek.elc ../lisp/language/hebrew.elc ../lisp/language/japanese.elc ../lisp/language/korean.elc ../lisp/language/lao.elc ../lisp/language/thai.elc ../lisp/language/tibetan.elc ../lisp/language/vietnamese.elc ../lisp/language/misc-lang.elc ../lisp/international/ucs-tables.elc ../lisp/menu-bar.elc ../lisp/paths.el ../lisp/register.elc ../lisp/replace.elc ../lisp/simple.elc ../lisp/startup.elc ../lisp/subr.elc ../lisp/term/tty-colors.elc ../lisp/textmodes/fill.elc ../lisp/textmodes/page.elc ../lisp/textmodes/paragraphs.elc ../lisp/textmodes/text-mode.elc ../lisp/vc-hooks.elc ../lisp/ediff-hook.elc ../lisp/widget.elc ../lisp/window.elc ../lisp/version.el
LC_ALL=C ./temacs -batch -l loadup dump
./temacs: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory
make[1]: *** [emacs] Error 127
make[1]: Leaving directory `/portage_tmpdir/portage/emacs-21.4-r3/work/emacs-21.4/src'


Note that "equery d libXp" shows "x11-libs/libXaw-1.0.1" and emacs has Xaw3d in the use flags (see original post).
Comment 3 Matthew Kennedy (RETIRED) gentoo-dev 2006-05-15 09:08:11 UTC
So it seems Emacs should have x11-libs/libXaw as a dependency regardless of whether Xaw3d is in USE.  Would you agree with that?
Comment 4 simishag 2006-05-16 11:24:55 UTC
I have just posted:

http://bugs.gentoo.org/show_bug.cgi?id=133515

It appears to be related although not identical.
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2007-02-16 08:21:28 UTC
related to bug 133515 I think, that has been fixed