emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mac/make-package fails to work correctly


From: Peter Dyballa
Subject: mac/make-package fails to work correctly
Date: Wed, 21 Sep 2005 11:46:05 +0200

Hello!

When I try to configure the Carbon side of GNU Emacs the same as the X11 side à la

./make-package -C,"--without-pop --enable-locallisppath=/Library/Application\ Support/Emacs/calendar23:/Library/Application\ Support/Emacs/preview:/Library/Application\ Support/Emacs/auctex/images:/Library/Application\ Support/Emacs/auctex:/Library/Application\ Support/Emacs" -M,'CFLAGS="-ggdb -pipe -faltivec -maltivec -mcpu=740 -no-cpp-precomp -fomit-frame-pointer -foptimize-register-move -fcprop-registers -frename-registers -freorder-blocks -fpeephole -mpowerpc-gfxopt -mpowerpc-gpopt"'

the script fails to handle the spaces in the names correctly:

++ expr 'x-C,--without-pop --enable-locallisppath=/Library/Application\ Support/Emacs/calendar23:/Library/Application\ Support/Emacs/preview:/Library/Application\ Support/Emacs/auctex/images:/Library/Application\ Support/Emacs/auctex:/Library/Application\ Support/Emacs' : 'x[^,]*,\(.*\)' + config_options= --without-pop --enable-locallisppath=/Library/Application\ Support/Emacs/calendar23:/Library/Application\ Support/Emacs/preview:/Library/Application\ Support/Emacs/auctex/images:/Library/Application\ Support/Emacs/auctex:/Library/Application\ Support/Emacs
    + shift
    + test 1 '!=' 0
    + test -n ''
++ expr 'x-M,CFLAGS="-ggdb -pipe -faltivec -maltivec -mcpu=740 -no-cpp-precomp -fomit-frame-pointer -foptimize-register-move -fcprop-registers -frename-registers -freorder-blocks -fpeephole -mpowerpc-gfxopt -mpowerpc-gpopt"' : 'x[^,]*,\(.*\)' + make_options= CFLAGS="-ggdb -pipe -faltivec -maltivec -mcpu=740 -no-cpp-precomp -fomit-frame-pointer -foptimize-register-move -fcprop-registers -frename-registers -freorder-blocks -fpeephole -mpowerpc-gfxopt -mpowerpc-gpopt"
    + shift
    + test 0 '!=' 0
    + test no = no
+ config_options=--without-x --without-pop --enable-locallisppath=/Library/Application\ Support/Emacs/calendar23:/Library/Application\ Support/Emacs/preview:/Library/Application\ Support/Emacs/auctex/images:/Library/Application\ Support/Emacs/auctex:/Library/Application\ Support/Emacs
    + test false = yes
    + LANGUAGE=C
    + LC_ALL=C
    + LC_MESSAGES=
    + LANG=
    + export LANGUAGE LC_ALL LC_MESSAGES LANG
    + umask 0
    + '[' -f Emacs.pkg ']'
    + test yes == yes
    + '[' '!' -f Emacs.app/Contents/PkgInfo ']'
    + '[' '!' -f ../lisp/version.el ']'
    ++ grep 'defconst[   ]*emacs-version' ../lisp/version.el
    ++ sed -e 's/^.*"\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'
    + shortversion=23.0
    ++ grep 'defconst[   ]*emacs-version' ../lisp/version.el
    ++ sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'
    + version=23.0.0
    + '[' '!' 23.0.0 ']'
    + echo Version numbers are 23.0.0 and 23.0
    Version numbers are 23.0.0 and 23.0
    + emacsname=emacs-23.0.0
    + '[' -d emacs-23.0.0 ']'
    + tempparent=make-package.tmp.13226
    + '[' -d make-package.tmp.13226 ']'
    + '[' -d /Volumes/Emacs ']'
    ++ pwd
+ tempparentfull=/Users/pete/Quellen/Emacs_CVS/emacs-unicode/mac/make- package.tmp.13226 + tempparentdist=/Users/pete/Quellen/Emacs_CVS/emacs-unicode/mac/make- package.tmp.13226/dist
    + test no = no
    + tempbuild=make-package.build.13226
    ++ pwd
+ builddir=/Users/pete/Quellen/Emacs_CVS/emacs-unicode/mac/make- package.build.13226 + removable_build_dir=/Users/pete/Quellen/Emacs_CVS/emacs-unicode/mac/ make-package.build.13226 + mkdir -p /Users/pete/Quellen/Emacs_CVS/emacs-unicode/mac/make- package.build.13226 + packagedir=/Users/pete/Quellen/Emacs_CVS/emacs-unicode/mac/make- package.build.13226/mac/Emacs.pkg + echo Building in directory /Users/pete/Quellen/Emacs_CVS/emacs-unicode/mac/make- package.build.13226 Building in directory /Users/pete/Quellen/Emacs_CVS/emacs-unicode/mac/make- package.build.13226 + echo Installing into directory /Users/pete/Quellen/Emacs_CVS/emacs-unicode/mac/make-package.tmp.13226 Installing into directory /Users/pete/Quellen/Emacs_CVS/emacs-unicode/mac/make-package.tmp.13226 + trap 'echo '\''Interrupted...cleaning up the staging directory'\''; rm -rf make-package.tmp.13226 /Users/pete/Quellen/Emacs_CVS/emacs-unicode/mac/make- package.build.13226 /Users/pete/Quellen/Emacs_CVS/emacs-unicode/mac/make- package.build.13226/mac/Emacs.pkg; exit 1' 1 2 15
    + test yes = yes
+ cd /Users/pete/Quellen/Emacs_CVS/emacs-unicode/mac/make- package.build.13226 + /Users/pete/Quellen/Emacs_CVS/emacs-unicode/mac/../configure --without-x --without-pop '--enable-locallisppath=/Library/Application\' 'Support/Emacs/calendar23:/Library/Application\' 'Support/Emacs/preview:/Library/Application\' 'Support/Emacs/auctex/images:/Library/Application\' 'Support/Emacs/auctex:/Library/Application\' Support/Emacs --prefix=/usr/local
    configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: Support/Emacs/calendar23:/Library/Application\
    configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: Support/Emacs/preview:/Library/Application\
    configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: Support/Emacs/auctex/images:/Library/Application\
    configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: Support/Emacs/auctex:/Library/Application\
    configure: WARNING: you should use --build, --host, --target
    configure: WARNING: invalid host type: Support/Emacs
configure: WARNING: The directory tree `/Users/pete/Quellen/Emacs_CVS/emacs-unicode/mac/..' is being used
       as a build directory right now; it has been configured in its own
       right.  To configure in another directory as well, you MUST
       use GNU make.  If you do not have GNU make, then you must
now do `make distclean' in /Users/pete/Quellen/Emacs_CVS/emacs-unicode/mac/.., and then run /Users/pete/Quellen/Emacs_CVS/emacs-unicode/mac/../configure again. checking build system type... Invalid configuration `Support/Emacs/calendar23:/Library/Application\': machine `Support/Emacs/calendar23:/Library/Application\' not recognized configure: error: /bin/sh /Users/pete/Quellen/Emacs_CVS/emacs-unicode/mac/../config.sub Support/Emacs/calendar23:/Library/Application\ failed + installprefix=/Users/pete/Quellen/Emacs_CVS/emacs-unicode/mac/make- package.tmp.13226/usr/local
    + test no = yes
+ make_options=prefix=/Users/pete/Quellen/Emacs_CVS/emacs-unicode/mac/ make-package.tmp.13226/usr/local CFLAGS="-ggdb -pipe -faltivec -maltivec -mcpu=740 -no-cpp-precomp -fomit-frame-pointer -foptimize-register-move -fcprop-registers -frename-registers -freorder-blocks -fpeephole -mpowerpc-gfxopt -mpowerpc-gpopt"
    + test yes = yes
+ make_options=carbon_appdir=/Users/pete/Quellen/Emacs_CVS/emacs-unicode/ mac/make-package.tmp.13226/Applications prefix=/Users/pete/Quellen/Emacs_CVS/emacs-unicode/mac/make- package.tmp.13226/usr/local CFLAGS="-ggdb -pipe -faltivec -maltivec -mcpu=740 -no-cpp-precomp -fomit-frame-pointer -foptimize-register-move -fcprop-registers -frename-registers -freorder-blocks -fpeephole -mpowerpc-gfxopt -mpowerpc-gpopt" + '[' '!' -f /Users/pete/Quellen/Emacs_CVS/emacs-unicode/mac/../lisp/abbrev.elc ']' + cd /Users/pete/Quellen/Emacs_CVS/emacs-unicode/mac/make- package.build.13226 + make install carbon_appdir=/Users/pete/Quellen/Emacs_CVS/emacs-unicode/mac/make- package.tmp.13226/Applications prefix=/Users/pete/Quellen/Emacs_CVS/emacs-unicode/mac/make- package.tmp.13226/usr/local 'CFLAGS="-ggdb' -pipe -faltivec -maltivec -mcpu=740 -no-cpp-precomp -fomit-frame-pointer -foptimize-register-move -fcprop-registers -frename-registers -freorder-blocks -fpeephole -mpowerpc-gfxopt '-mpowerpc-gpopt"'
    make: invalid option -- a
    make: invalid option -- c
    make: invalid option -- u
    make: invalid option -- =
    make: invalid option -- 7
    make: invalid option -- 4
    make: invalid option -- 0
    Usage: make [options] [target] ...
    Options:

Follows an explanation how to use make right. The same failure happens
I invoke:

./make-package -C,"--without-pop --enable-locallisppath=/Library/Application\ Support/Emacs/calendar23:/Library/Application\ Support/Emacs/preview:/Library/Application\ Support/Emacs/auctex/images:/Library/Application\ Support/Emacs/auctex:/Library/Application\ Support/Emacs" -M,"CFLAGS='-ggdb -pipe -faltivec -maltivec -mcpu=740 -no-cpp-precomp -fomit-frame-pointer -foptimize-register-move -fcprop-registers -frename-registers -freorder-blocks -fpeephole -mpowerpc-gfxopt -mpowerpc-gpopt'"


In GNU Emacs 23.0.0.1 (powerpc-apple-darwin7.9.0, X toolkit, Xaw3d scroll bars)
 of 2005-09-21 on localhost
X server distributor `The XFree86 Project, Inc', version 11.0.40300000
configured using `configure '--without-pop' '--with-xpm' '--with-jpeg' '--with-tiff' '--with-gif' '--with-png' '--enable-locallisppath=/Library/Application Support/Emacs/calendar23:/Library/Application Support/Emacs/preview:/Library/Application Support/Emacs/auctex/images:/Library/Application Support/Emacs/auctex:/Library/Application Support/Emacs' 'CFLAGS=-ggdb -pipe -faltivec -maltivec -mcpu=740 -no-cpp-precomp -fomit-frame-pointer -foptimize-register-move -fcprop-registers -frename-registers -freorder-blocks -fpeephole -mpowerpc-gfxopt -mpowerpc-gpopt' 'CPPFLAGS=-I/sw/include' 'LDFLAGS=-L/sw/lib''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: de_DE.UTF-8
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Dired by name

Minor modes in effect:
  TeX-PDF-mode: t
  desktop-save-mode: t
  display-time-mode: t
  mouse-sel-mode: t
  show-paren-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  tooltip-mode: t
  auto-compression-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t



--
Mit friedvollen Grüßen

  Pete

Behold the warranty ... the bold print giveth and the fine print taketh away.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]