Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 333933 - [emacs-overlay] app-emacs/dvc-9999 broken install due to missing MKDIR_P variable
Summary: [emacs-overlay] app-emacs/dvc-9999 broken install due to missing MKDIR_P vari...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-22 11:26 UTC by Max Arnold
Modified: 2010-11-16 08:19 UTC (History)
0 users

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


Attachments
quick fix (mkdir_p.patch,635 bytes, patch)
2010-08-22 11:36 UTC, Max Arnold
Details | Diff
quick fix (mkdir_p.patch,659 bytes, patch)
2010-08-22 11:42 UTC, Max Arnold
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Max Arnold 2010-08-22 11:26:42 UTC
app-emacs/dvc-9999 only installs 50dvc-gentoo.el, other files are missing due to not expanded @MKDIR_P@ makefile variable. Upstream revision 575.

Reproducible: Always

Steps to Reproduce:

Actual Results:  
# emerge app-emacs/dvc
...

>>> Install dvc-9999 into /var/tmp/portage/app-emacs/dvc-9999/image/ category app-emacs
make -j2 DESTDIR=/var/tmp/portage/app-emacs/dvc-9999/image/ install 
make[1]: Entering directory `/var/tmp/portage/app-emacs/dvc-9999/work/dvc-9999/lisp'
srcdir=. otherdirs="" emacs -batch -q --no-site-file -l ./dvc-build.el -f dvc-build-all
/bin/sh: MKDIR_P@: command not found
make[1]: *** [install] Error 127
make[1]: Leaving directory `/var/tmp/portage/app-emacs/dvc-9999/work/dvc-9999/lisp'
make[1]: Entering directory `/var/tmp/portage/app-emacs/dvc-9999/work/dvc-9999/texinfo'
rm -f /var/tmp/portage/app-emacs/dvc-9999/image//usr/share/info/dvc.info*
make[1]: MKDIR_P@: Command not found
make[1]: *** [install] Error 127
make[1]: Leaving directory `/var/tmp/portage/app-emacs/dvc-9999/work/dvc-9999/texinfo'
make: *** [install-recursive] Error 2
 * Installing site initialisation file for GNU Emacs ...                                  [ ok ]
>>> Completed installing dvc-9999 into /var/tmp/portage/app-emacs/dvc-9999/image/

# equery f dvc

[ Searching for packages matching dvc... ]
* Contents of app-emacs/dvc-9999:
/usr
/usr/share
/usr/share/emacs
/usr/share/emacs/site-lisp
/usr/share/emacs/site-lisp/site-gentoo.d
/usr/share/emacs/site-lisp/site-gentoo.d/50dvc-gentoo.el



% emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r1-2010-08-12 i686)
=================================================================
System uname: Linux-2.6.34-gentoo-r1-2010-08-12-i686-Intel-R-_Core-TM-2_Duo_CPU_P7550_@_2.26GHz-with-gentoo-1.12.13
Timestamp of tree: Thu, 12 Aug 2010 01:45:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -mmmx -msse -msse2 -msse3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
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/splash /etc/terminfo"
CXXFLAGS="-march=i686 -mmmx -msse -msse2 -msse3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/data/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-unmerge-warn"
FEATURES="assume-digests distlocks fixpackages news protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ http://distfiles.gentoo.org/"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j2"
PKGDIR="/data/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/local/portage/custom /usr/local/portage/update /usr/local/portage/bugzilla /usr/local/portage/misc"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa berkdb bzip2 cli crypt cxx dri fortran gdbm gif gpm iconv imlib jpeg lzma mmx modules mudflap ncurses nls nptl nptlonly openmp pam pcre png pppd python readline reflection session spl sse sse2 ssl ssse3 sysfs tiff truetype unicode x86 xorg zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 cgi cgid 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" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" LIRC_DEVICES="macmini" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev nouveau nv nvidia openchrome vesa via" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Max Arnold 2010-08-22 11:36:20 UTC
Created attachment 244013 [details, diff]
quick fix

Attached patch fixes this problem for me (this is a quick solution, proper one probably requires autoconf/automake knowledge). Also it removes deprecated EBZR_BRANCH.
Comment 2 Max Arnold 2010-08-22 11:42:48 UTC
Created attachment 244015 [details, diff]
quick fix

Also added installation error handling
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2010-11-16 08:19:10 UTC
Sorry for the long delay, I added the changes to the Overlay.  Thanks for your contribution.