Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193738 - app-emacs/table-1.5.54-r2 emerge error
Summary: app-emacs/table-1.5.54-r2 emerge error
Status: RESOLVED INVALID
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: 2007-09-25 12:00 UTC by Ulrich Dobramysl
Modified: 2007-09-25 13:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,1.49 KB, text/plain)
2007-09-25 13:11 UTC, Ulrich Dobramysl
Details
build environment (environment,80.53 KB, text/plain)
2007-09-25 13:26 UTC, Ulrich Dobramysl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Dobramysl 2007-09-25 12:00:17 UTC
Emerging app-emacs/table-1.5.54-r2 fails with the message

/usr/portage/app-emacs/table/table-1.5.54-r2.ebuild: line 20: elisp-make-autoload-file: command not found

elisp-make-autoload-file accepts two parameters, but none is given so I suspect the problem there, but I'm not familiar with the elisp build functions.

Reproducible: Always

Steps to Reproduce:
1. Emerge app-emacs/table-1.5.54-r2
2.
3.

Actual Results:  
emerge fails with:

/usr/portage/app-emacs/table/table-1.5.54-r2.ebuild: line 20: elisp-make-autoload-file: command not found

Expected Results:  
Install app-emacs/table-1.5.54-r2

# emerge --info
Portage 2.1.3.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-suspend2-r1 i686)
=================================================================
System uname: 2.6.22-suspend2-r1 i686 Intel(R) Pentium(R) M processor 1600MHz
Timestamp of tree: Mon, 24 Sep 2007 09:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.6-r2, 2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -pipe -O3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium-m -pipe -O3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs candy ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/"
LANG="de_AT@euro"
LINGUAS="de en es"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/emacs /usr/portage/local/layman/science /usr/portage/local/layman/xeffects /usr/local/portage/my-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 acl acpi aiglx alsa apache2 avi bash-completion berkdb bitmap-fonts cairo cdr cli cracklib crypt cups curl dbus dga dri dvd dvdr dvdread emboss encode evo fam fbcon firefox fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 hal iconv imap ipv6 isdnlog jpeg junit lcms mad maildir midi mikmod mmx mp3 mpeg mudflap mysql nautilus ncurses nls nptl nptlonly ogg oggvorbis opengl openmp oss pam pcmcia pcre pdf perl plotutils png pnp ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sasl scanner sdl session slp socks5 spell spl sse ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb vmf vorbis win32codecs wmf x86 xinerama xml xorg xv zlib" ALSA_CARDS="intel8x0 intel8x0m" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en es" USERLAND="GNU" VIDEO_CARDS="radeon vesa vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2007-09-25 13:02:04 UTC
Would you change line 186 of /usr/portage/eclass/elisp-common.eclass from

-f batch-update-autoloads "${@-.}"

to 

-f batch-update-autoloads "${@:-.}"  (added colon after @)

and try again?

Comment 2 Ulrich Dobramysl 2007-09-25 13:11:12 UTC
Created attachment 131854 [details]
build.log
Comment 3 Ulrich Dobramysl 2007-09-25 13:11:56 UTC
Tried it, but it doesn't make a difference.
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2007-09-25 13:18:42 UTC
Honestly that looks as if your installation is borked...I cannot reproduce and both arguments to elisp-make-autoload-file are optional.  
 It should have no influence, but remove the space before the braces in

    elisp-make-autoload-file () {


Else, please attach /var/tmp/portage/app-emacs/table-1.5.54-r2/temp/environment
Comment 5 Ulrich Dobramysl 2007-09-25 13:26:03 UTC
Created attachment 131856 [details]
build environment
Comment 6 Ulrich Dobramysl 2007-09-25 13:28:01 UTC
I removed the whitespace, but it didn't work either.

Well maybe my installation has a problem somewhere but it worked fine so far. How could I find out?
Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2007-09-25 13:34:22 UTC
If you look at your environment file you will see that your elisp-common.eclass does not define elisp-make-autoload-file(), so the problem is on your side. :)  So you are absolutely sure that /usr/portage/eclass/elisp-common.eclass contains elisp-make-autoload-file()?  Your elisp-* functions look really outdated, while your tree timestamp is current.  Please do a look-up where on your system are files with the name elisp-common.eclass or elisp.eclass (locate or similar utility)
 By the way, -O3 is discouraged and unsupported with GCC 4.
Comment 8 Christian Faulhammer (RETIRED) gentoo-dev 2007-09-25 13:37:53 UTC
PORTDIR_OVERLAY='/usr/portage/local/layman/emacs /usr/portage/local/layman/science /usr/portage/local/layman/xeffects /usr/local/portage/my-overlay'

Especially in the eclass subdirs of the above...sync the overlays if necessary.
Comment 9 Ulrich Dobramysl 2007-09-25 13:44:18 UTC
Oh well. Thanks! That solved it. The emacs overlay had the outdated files. I didn't think of looking for eclasses in the overlays...

I know that -O3 is discouraged. I used to experiment with it and I keep forgetting to disable it. Thanks for reminding!

Sorry for the noise!
Comment 10 Christian Faulhammer (RETIRED) gentoo-dev 2007-09-25 13:49:31 UTC
(In reply to comment #9)
> Oh well. Thanks! That solved it. The emacs overlay had the outdated files. I
> didn't think of looking for eclasses in the overlays...

 Then your overlay must have been synced in the stone age for the last time.  Maybe think about adding a "layman -S" to your update scripts (if you have any), we are constantly moving in the overlay.
 
> Sorry for the noise!

 No problem, it could have been a real issue.