Ticket #13244 (new defect)
clisp does not build on 10.5 MacBook Pro; fails with "CPPFLAGS has changed"
| Reported by: | jaroom@… | Owned by: | eridius@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | Port Bugs |
| Component: | ports | Version: | 1.5.0 |
| Keywords: | clisp | Cc: | waqar@…, captsolo@… |
| Port: |
Description
clisp is the first package I've tried to install after installing MacPorts.
Install failed with the message:
configure: error: `CPPFLAGS' has changed since the previous run: configure: former value: configure: current value: -I/opt/local/include configure: error: changes in the environment can compromise the build configure: error: run `make distclean' and/or `rm ../config.cache' and start over make: *** [i18n] Error 1
Here is the complete text of the error:
---> Fetching clisp
---> Attempting to fetch clisp-2.42.tar.bz2 from http://ftp.gnu.org/gnu/clisp/release/2.42
---> Verifying checksum(s) for clisp
---> Extracting clisp
---> Configuring clisp
---> Building clisp with target all
Error: Target org.macports.build returned: shell command "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_clisp/work/clisp-2.42/src && ulimit -s 16384 && unset LD_PREBIND && unset LD_PREBIND_ALLOW_OVERLAP && make" returned error 2
Command output: ln -s ../utils/modprep.lisp modprep.lisp
rm -rf linkkit
mkdir linkkit
cd linkkit && ln -s ../modules.d modules.d
cd linkkit && ln -s ../modules.c modules.c
cd linkkit && ln -s ../clisp.h clisp.h
cd linkkit && ln -s ../modprep.lisp modprep.lisp
(echo 'CC='"'"'gcc'"'" ; echo 'CPPFLAGS='"'"'-I/opt/local/include '"'" ; echo 'CFLAGS='"'"'-D_NONSTD_SOURCE -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -falign-functions=4 -DUNIX_BINARY_DISTRIB -DUNICODE -I.'"'" ; echo 'CLFLAGS='"'"'-x none'"'" ; echo 'LIBS='"'"'lisp.a -L/opt/local/lib -lintl -liconv -lc -Wl,-framework -Wl,CoreFoundation libcharset.a -L/opt/local/lib -lreadline -lncurses -L/opt/local/lib -liconv -L/opt/local/lib -lsigsegv -lc'"'" ; echo 'X_LIBS='"'"'-L/usr/X11/lib'"'" ; echo 'RANLIB='"'"'ranlib'"'" ; echo 'FILES='"'"'lisp.a libnoreadline.a libcharset.a '"'") > makevars
./lisp.run -B . -N locale -E 1:1 -Efile UTF-8 -Eterminal UTF-8 -norc -M lispinit.mem -q -c ../utils/modprep.lisp -o modprep.fas
;; Compiling file /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_clisp/work/clisp-2.42/utils/modprep.lisp ...
;; Wrote file /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_clisp/work/clisp-2.42/src/modprep.fas
0 errors, 0 warnings
./lndir ../modules/i18n i18n
m=`cd ../modules/i18n; pwd`; \
if test -f i18n/configure -a i18n/configure -nt i18n/config.status ; then cd i18n ; \
( cache=`echo i18n/ | sed -e 's,[^/][^/]*//*,../,g'`config.cache; \
if test -f ${cache} ; then . ${cache}; \
if test "${ac_cv_env_CC_set}" = set; then CC="${ac_cv_env_CC_value}"; export CC; fi; \
if test "${ac_cv_env_CFLAGS_set}" = set; then CFLAGS="${ac_cv_env_CFLAGS_value}"; export CFLAGS; fi; \
/bin/sh ./configure --cache-file=${cache} --srcdir=$m --with-libreadline-prefix=/opt/local --with-libsigsegv-prefix=/opt/local --with-libiconv-prefix=/opt/local --with-unicode --with-readline --without-dynamic-ffi --with-export-syscalls --with-gettext;\
else /bin/sh ./configure --srcdir=$m --with-libreadline-prefix=/opt/local --with-libsigsegv-prefix=/opt/local --with-libiconv-prefix=/opt/local --with-unicode --with-readline --without-dynamic-ffi --with-export-syscalls --with-gettext; \
fi ) ;\
fi
configure: loading cache ../config.cache
configure: error: `CPPFLAGS' has changed since the previous run:
configure: former value:
configure: current value: -I/opt/local/include
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm ../config.cache' and start over
make: *** [i18n] Error 1
Error: Status 1 encountered during processing.
Change History
Note: See
TracTickets for help on using
tickets.

