Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172390 - [emacs-overlay] app-editors/emacs-cvs-22.0.9999-r8 installs no dir flie in its info directory
Summary: [emacs-overlay] app-editors/emacs-cvs-22.0.9999-r8 installs no dir flie in it...
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: 2007-03-27 08:02 UTC by Tassilo Horn
Modified: 2007-03-28 18:45 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 Tassilo Horn 2007-03-27 08:02:55 UTC
app-editors/emacs-cvs-22.0.9999-r8 installs its info files to the directory /usr/share/info/emacs-22/, but there's no dir file in it. So all the emacs docs are not listed in the directory index and only accessible if you open the info file directly.
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2007-03-27 08:23:21 UTC
There is one here...emerge --info and emerge -pv emacs-cvs please
Comment 2 Tassilo Horn 2007-03-27 08:47:00 UTC
root@baldur /h/heimdall> emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r1, 2.6.20-gentoo-r4 i686)
=================================================================
System uname: 2.6.20-gentoo-r4 i686 Genuine Intel(R) CPU T2300 @ 1.66GHz
Gentoo Base System version 1.12.9
Timestamp of tree: Tue, 27 Mar 2007 04:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -mtune=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=i686 -mtune=prescott -O2 -pipe -fomit-frame-pointer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.supp.name/ ftp://212.219.56.133/sites/www.ibiblio.org/gentoo/ ftp://mirror.icis.pcz.pl/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de"
MAKEOPTS="-j3"
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/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acpi alsa aotuv asf async audiofile berkdb bitmap-fonts boundschecking bzip2 c++ cairo cap caps cdparanoia cli cpudetection cracklib crypt css cups curl dbus dga dhcp dmi dri dvd dvdread dynamic eap-tls emacs encode fam fbcon ffmpeg fftw finger flac fontconfig gdbm gif glut gmp gnutls gpgme gpm graphviz gs gsl gtk gtk2 hal iconv icq idn imagemagick imap imlib ipv6 isdnlog jabber jack java javascript jbig jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility ldap libedit libg++ live lzo mad maildir midi mime mimencode mjpeg mmx mmxext mng mouse mozsvg mp3 mp4 mpeg musepack musicbrainz ncurses nis nls nntp nosrc nptl nptlonly nsplugin nvidia offensive ogg openexr opengl pam pcmcia pcre pdf pic png postgres ppds pppd qdbm qt3 qt4 quicktime rdesktop readline real reflection rtc ruby samba sasl sbcl sdl session slp smp smtp sndfile socks5 sox speex spell spl sql sse sse2 ssl subversion svg sysfs tcpd tetex theora threads tidy tiff truetype truetype-fonts type1-fonts unicode usb userlocales utempter uudeview vorbis win32codecs wmf x264 x86 xcomposite xface xine xinerama xinetd xml xorg xosd xpm xprint xscreensaver xv xvid xvmc zeroconf zlib" ALSA_CARDS="hda-intel usb-audio" 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="mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

root@baldur /h/heimdall> emerge -pv emacs-cvs

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

Calculating dependencies... done!
[ebuild   R   ] app-editors/emacs-cvs-22.0.9999-r8  USE="X alsa gif gtk gzip-el jpeg png sound spell tiff toolkit-scroll-bars xpm -Xaw3d (-aqua) -hesiod -lesstif -motif -source" 0 kB [1] 

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Portage overlays:
 [1] /usr/portage/local/layman/emacs
 [2] /usr/local/portage
Comment 3 Tassilo Horn 2007-03-27 09:02:52 UTC
Strange! After I remerged emacs-cvs-22.0.9999-r8 the dir file suddenly appeared. 

Maybe this was an upgrading issue, because I emerged the new ebuild with emacs-cvs-22.0.9999-r6 installed, or maybe the eselect module was not in effect at this time...
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2007-03-27 09:25:33 UTC
(In reply to comment #3)
> Strange! After I remerged emacs-cvs-22.0.9999-r8 the dir file suddenly
> appeared. 
> 
> Maybe this was an upgrading issue, because I emerged the new ebuild with
> emacs-cvs-22.0.9999-r6 installed, or maybe the eselect module was not in effect
> at this time...

 It should be recreated by Portage before merging...eselect is called for the first time after merging.  That is the point I think.
Comment 5 Ulrich Müller gentoo-dev 2007-03-27 09:58:58 UTC
Portage calls install-info only for directories in INFOPATH. So if for some reason the emacs-22 subdir is not in the list at that moment, the dir file will not be recreated.

Maybe we should explicitely call install-info in pkg_postinst?
Comment 6 Tassilo Horn 2007-03-27 10:23:20 UTC
The emacs-22 subdir is not in the INFOPATH when upgrading, because all ebuilds < 22.0.9999-r8 use subdirs like 22.0.96 (the slot). If install-info in pkg_postinst would solve that issue, I'd vote for it.

Ah, and I've seen that the new ebuild adds the emacs-22 subdir to the INFOPATH in /etc/env.d/50emacs. Till now users had to do that in their own init files to have emacs packages listed in the top info node. Nice!
Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2007-03-27 10:41:32 UTC
(In reply to comment #5)
> Portage calls install-info only for directories in INFOPATH. So if for some
> reason the emacs-22 subdir is not in the list at that moment, the dir file will
> not be recreated.

 Jepp.

> Maybe we should explicitely call install-info in pkg_postinst?

 That looks good.
Comment 8 Ulrich Müller gentoo-dev 2007-03-28 15:54:08 UTC
(In reply to comment #7)
> > Maybe we should explicitely call install-info in pkg_postinst?
> 
>  That looks good.

Done.
Comment 9 Christian Faulhammer (RETIRED) gentoo-dev 2007-03-28 18:45:41 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > > Maybe we should explicitely call install-info in pkg_postinst?
> > 
> >  That looks good.
> 
> Done.

Fixed then