[MacPorts] #13244: clisp does not build on 10.5 MacBook Pro; fails with "CPPFLAGS has changed"
MacPorts
trac at macosforge.org
Fri Feb 15 06:38:46 PST 2008
#13244: clisp does not build on 10.5 MacBook Pro; fails with "CPPFLAGS has changed"
------------------------------------+---------------------------------------
Reporter: jaroom at mindspring.com | Owner: eridius at macports.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.5.0
Resolution: | Keywords: clisp
------------------------------------+---------------------------------------
Comment (by jay macports at contravariant.org):
I encountered a nearly-identical issue installing 2.43:
{{{
---> Fetching clisp
---> Attempting to fetch clisp-2.43.tar.bz2 from
http://ftp.gnu.org/gnu/clisp/release/2.43
---> 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.43/src
&& ulimit -s 16384 && unset LD_PREBIND LD_PREBIND_ALLOW_OVERLAP && make"
returned error 2
Command output: 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 -Igllib -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 -L/opt/local/lib -lreadline -lncurses -L/opt/local/lib
-liconv -L/opt/local/lib -lsigsegv -lc'"'" ; echo
'X_LIBS='"'"'-L/usr/X11/lib -R/usr/X11/lib'"'" ; echo
'RANLIB='"'"'ranlib'"'" ; echo 'FILES='"'"'lisp.a libnoreadline.a
gllib/uniwidth/width.o gllib/uniname/uniname.o gllib/localcharset.o '"'")
> 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.43/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.43/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: `CPP' has changed since the previous run:
configure: former value:
configure: current value: gcc -E
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.
}}}
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13244#comment:4>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list