Subject: 24.3.90; cannot build with a colon in the directory name

From: Nicolas Richard <[email-masked]>
Date: Wed, 16 Apr 2014 23:26:58 +0200

I tried to build emacs in a directory named "emacs:forever" (well initially
it was a directory named emacs-2014-04-16-22:22) and it failed with the
following error :

  if test "no" = "yes"; then \
  rm -f bootstrap-emacs; \
    ln temacs bootstrap-emacs; \
    else \
      ./temacs --batch --load loadup bootstrap || exit 1; \
        test "X/sbin/paxctl" = X || /sbin/paxctl -zex emacs; \
          mv -f emacs bootstrap-emacs; \
          fi
          Warning: arch-independent data dir
  `/usr/local/share/emacs/24.3.90/etc/': Aucun fichier ou dossier de ce
  type
  Warning: Lisp directory `forever/lisp': Aucun fichier ou dossier de ce
  type
  Error: charsets directory not found:
  /usr/local/share/emacs/24.3.90/etc/charsets
  Emacs will not function correctly without the character map files.
  Please check your installation!
  make [1]: *** [bootstrap-emacs] Erreur 1
  make [1] : on quitte le répertoire «
  /home/youngfrog/sources/running-emacs:forever/src »
  make: *** [src] Erreur 2

In epaths.h, there's a
#define PATH_DUMPLOADSEARCH "/home/youngfrog/sources/running-emacs:forever/lisp"

which is used in lread.c to define Vload_path via decode_env_path,
and that makes the problem above.

In GNU Emacs 24.3.90.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2014-04-16 on geodiff-mac3
System Description:	Gentoo Base System release 2.2

Configured using:
 `configure --with-x-toolkit=lucid --enable-checkings 'CFLAGS= -O0 -g3''

-- 
Nico.