* Regenerating /usr/share/emacs/site-lisp/site-gentoo.el ... * ls: /usr/share/emacs/site-lisp/[0-9][0-9]*-gentoo.el: No such file or directory * * All site initialization for Gentoo-installed packages is now added to * /usr/share/emacs/site-lisp/site-gentoo.el; site-start.el is no longer * managed by Gentoo. You are responsible for all maintenance of * site-start.el if there is such a file. * * In order for this site initialization to be loaded for all users * automatically, as was done previously, you can add a line like this: * * (load "/usr/share/emacs/site-lisp/site-gentoo") * * to /usr/share/emacs/site-lisp/site-start.el. Alternatively, that line * can be added by individual users to their initialization files, or for * greater flexibility, users can select which of the package-specific * initialization files in /usr/share/emacs/site-lisp to load. >>> Regenerating /etc/ld.so.cache... >>> Regenerating /etc/ld.so.cache... >>> Auto-cleaning packages ... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. pena openoffice # emerge -pv subversion These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-util/subversion-1.2.3-r2 -apache2 +bash-completion -berkdb -emacs -java -nls -nowebdav -perl -python +zlib 0 kB Total size of downloads: 0 kB pena openoffice # Reproducible: Always Steps to Reproduce: 1. USE="-emacs" ebuild subversion-1.2.3-r2.ebuild Expected Results: It seems that the pkg_postinst instructions are only useful when using emacs so they should only be shown with USE="emacs". pena openoffice # emerge info Portage 2.0.53_rc5 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r4 i686) ================================================================= System uname: 2.6.13-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.12.0_pre9 ccache version 2.4 [enabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.13 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.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe -mfpmath=sse -ffast-math -fomit-frame-pointer" 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/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -pipe -mfpmath=sse -ffast-math -fomit-frame-pointer" DISTDIR="/usr/src/distfiles" FEATURES="autoaddcvs autoconfig ccache collision-protect cvs distlocks fixpackages sandbox sfperms sign strict" GENTOO_MIRRORS=" http://trumpetti.atm.tut.fi/gentoo http://lame.lut.fi/linux/gentoo " LANG="en_US.utf8" LC_ALL="en_US.utf-8" LINGUAS="fi" MAKEOPTS="-j2 -s" PKGDIR="/home/pkg/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac acl acpi alsa apm arts audiofile avi bash-completion berkdb bitmap-fonts bluetooth browserplugin bzip2 bzlib cdb cddb cdparanoia cdr crypt cups dbus divx4linux dts dvd dvdr dvdread emboss esd firefox foomaticdb freetype gif gstreamer gtk2 hal java jpeg kde kdeenablefinal libg++ libwww logitech-mouse lzo mad makecheck mikmod mjpeg mmx mmx2 mp3 mpeg ncurses network nptl nptlonly nsplugin nvidia offensive ogg oggvorbis opengl pam pdflib png qt quicktime readline real rtc ruby samba spell sse sse2 ssl subversion svg symlink tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis win32codecs xine xml xml2 xv xvid zlib video_cards_nvidia linguas_fi userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS
Those instructions should only be shown when emacs is used. For some reason the conditional doesn't work for you. Could you attach the build log for me? Similar code is namely used at various other places in the ebuild on for example the perl useflag.
Created attachment 70857 [details] emerge log 1/2
Created attachment 70858 [details] emerge log 2/2
Aha. If you look at the logs you will see that the text actually comes from pkg_postrm: pkg_postrm() { has_version virtual/emacs && elisp-site-regen use perl && perl-module_pkg_postrm } Probably there should be a more clever way to handle this as the emacs support is never installed.
Besides the fact that this should be completely harmless I don't really see how to do this properly. The only thing that might work is to check whether /usr/share/emacs/site-lisp/site-gentoo actually exists, and only regenerate then. I'll think about it.
Fixed in >=1.4.3 to use emacs && elisp-site-regen