Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266406 - app-emacs/company-mode requires app-emacs/nxml-mode
Summary: app-emacs/company-mode requires app-emacs/nxml-mode
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-16 18:54 UTC by Adam Piątyszek
Modified: 2009-04-16 23:14 UTC (History)
0 users

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 Adam Piątyszek 2009-04-16 18:54:01 UTC
Without nxml-mode installed, I get the following error during emerge of company-mode:

 * Compiling GNU Emacs Elisp files ...
Wrote /var/tmp/portage/app-emacs/company-mode-0.3.1/work/company-abbrev.elc
Wrote /var/tmp/portage/app-emacs/company-mode-0.3.1/work/company-css.elc
Wrote /var/tmp/portage/app-emacs/company-mode-0.3.1/work/company-dabbrev.elc
Wrote /var/tmp/portage/app-emacs/company-mode-0.3.1/work/company.elc
Wrote /var/tmp/portage/app-emacs/company-mode-0.3.1/work/company-elisp.elc
Wrote /var/tmp/portage/app-emacs/company-mode-0.3.1/work/company-etags.elc
Wrote /var/tmp/portage/app-emacs/company-mode-0.3.1/work/company-files.elc
Wrote /var/tmp/portage/app-emacs/company-mode-0.3.1/work/company-gtags.elc
Wrote /var/tmp/portage/app-emacs/company-mode-0.3.1/work/company-ispell.elc

In toplevel form:
company-nxml.el:21:1:Error: Cannot open load file: nxml-mode
Wrote /var/tmp/portage/app-emacs/company-mode-0.3.1/work/company-oddmuse.elc
Wrote /var/tmp/portage/app-emacs/company-mode-0.3.1/work/company-tempo.elc
Wrote /var/tmp/portage/app-emacs/company-mode-0.3.1/work/company-xcode.elc
 * elisp-compile: batch-byte-compile failed                                                                     [ !! ]
 * 
 * ERROR: app-emacs/company-mode-0.3.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2676:  Called elisp_src_compile
 *             environment, line 1006:  Called die
 * The specific snippet of code:
 *       elisp-compile *.el || die
 *  The die message:
 *   (no error message)
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-emacs/company-mode-0.3.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emacs/company-mode-0.3.1/temp/environment'.


The output of "emerge --info":
Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.29-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-glibc2.2.5
Timestamp of tree: Thu, 16 Apr 2009 18:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="ftp://212.219.56.134/sites/www.ibiblio.org/gentoo/ ftp://212.219.56.132/sites/www.ibiblio.org/gentoo/ ftp://ftp.ing.umu.se/linux/gentoo/"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="pl en"
MAKEOPTS="-s -j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/portage/local/layman/x11 /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 bash-completion berkdb bluetooth bzip2 cli cracklib crypt cups dbus dri emacs exif fortran gdbm gif gpm gtk hal iconv isdnlog jpeg libnotify midi mmx mudflap multilib ncurses nls nptl nptlonly opengl openmp pam pcre perl png pppd python readline reflection session spell spl sse sse2 ssl startup-notification sysfs tcpd truetype unicode xinerama xorg xscreensaver zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


BR,
/Adam
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2009-04-16 22:34:53 UTC
Thanks for your notice...fixed.
Comment 2 Ulrich Müller gentoo-dev 2009-04-16 23:14:26 UTC
Since nxml-mode will be included in Emacs 23, the dependency should rather be:
    || ( app-emacs/nxml-mode >=virtual/emacs-23 )

Fixed in CVS.