Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257348 - dev-lisp/clisp: configure: error: `CPPFLAGS' has changed since the previous run
Summary: dev-lisp/clisp: configure: error: `CPPFLAGS' has changed since the previous run
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Common Lisp Bugs
URL:
Whiteboard:
Keywords:
: 278388 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-02-02 08:17 UTC by Robert W.
Modified: 2009-07-29 11:33 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,165.98 KB, text/plain)
2009-02-02 08:23 UTC, Robert W.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert W. 2009-02-02 08:17:31 UTC
When trying to compile dev-lisp/clisp-2.47-r1, the build is aborted, due to changed linker flags.

Reproducible: Always

Steps to Reproduce:
1. emerge "=dev-lisp/clisp-2.47-4r1"



Actual Results:  
Build fails with:
configure: error: `CPPFLAGS' has changed since the previous run:
configure:   former value:  `-I /usr/include/postgresql/libpq-4'
configure:   current value: `-I /usr/include/postgresql/libpq-4  -Igllib'
configure: error: changes in the environment can compromise the build


Expected Results:  
Compiles and install cleanly.

Portage 2.2_rc23 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.28.2-1 i686)
=================================================================
System uname: Linux-2.6.28.2-1-i686-AMD_Athlon-tm-_MP_2200+-with-glibc2.0
Timestamp of tree: Sun, 01 Feb 2009 19:45:02 +0000
distcc 3.0 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-mp -O3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CPPFLAGS="-march=athlon-mp -O3 -fomit-frame-pointer -pipe"
CXXFLAGS="-march=athlon-mp -O3 -fomit-frame-pointer -pipe"
DISTDIR="/var/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.mneisen.org/"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-z,now"
LINGUAS="de en en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="/var/portage"
PORTDIR_OVERLAY="/var/portage/local/crossdev /var/portage/local/layman/java-overlay /var/portage/local/layman/postgresql-testing /var/portage/local/layman/haskell /var/portage/local/layman/kde-testing /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi alsa arts avahi bash-completion berkdb bitmap-fonts blas bluetooth branding bzip2 cairo caps cddb cdparanoia cdr cli cracklib crypt cscope css cups curl dbus doc dri dts dvd dvdr dvdread eds emacs emboss encode evo examples fam ffmpeg fftw firefox flac foomaticdb fortran ftp gdbm ggi gif gimp gpm graphviz hal hdf5 htmlhandbook iconv idn imap ipod ipv6 isdnlog java java6 jpeg kde latex lcms leim libnotify lm_sensors logitech-mouse mad mailwrapper mbox midi mikmod mmx mmxext modplug motif mp3 mpeg mplayer mudflap musepack musicbrainz ncurses nepomuk nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pda pdf perl plasma plotutils png postgres ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection rtsp samba sasl scanner session smp socks5 speex spell spl sse ssl startup-notification svg sysfs tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb vcd vim-syntax vorbis wavpack win32codecs wma x264 x86 xattr xcomposite xine xinerama xml xorg xrandr xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="emu10k1" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en en_GB" USERLAND="GNU" VIDEO_CARDS="mga vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Robert W. 2009-02-02 08:23:19 UTC
Created attachment 180666 [details]
build.log
Comment 2 Mike Doty (RETIRED) gentoo-dev 2009-05-16 05:52:11 UTC
confirmed on 2.47 and 2.47-r1.

Portage 2.1.6.13 (default-linux/amd64, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.25-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r8-x86_64-AMD_Opteron-tm-_Processor_248-with-gentoo-1.12.12
Timestamp of tree: Fri, 15 May 2009 12:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:     3.2_p48-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r15, 2.5.4-r2, 2.6.2
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.1
sys-apps/baselayout: 1.12.12
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.16.1-r2, 2.17-r1, 2.17.50.0.18, 2.18-r3, 2.19, 2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=opteron -ggdb -Igllib"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind"
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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CPPFLAGS="-O2 -pipe -march=opteron -ggdb -Igllib"
CXXFLAGS="-O2 -pipe -march=opteron -ggdb -Igllib"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner"
FEATURES="buildpkg cvs distcc distlocks fixpackages lmirror multilib-strict parallel-fetch ppds protect-owned sandbox sfperms sign splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS=""
LINGUAS="en en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/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-layman/Spring /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 apache2 bash-completion berkdb browserplugin cli cracklib crypt cups dri dvd dvdread emacs ffmpeg firefox fortran games gif graphics gtk hou hpn humanities iconv ipv6 isdnlog javascript joystick jpeg kpathsea kqemu midi mozilla mp3 mpeg mplayer mudflap multislot mysql ncurses nls nowin nptl nptlonly nsplugin offensive ofx ogg opengl openmp oss pam parport pcre pcsc-lite pda pdf perl png ppds pppd pstricks publishers python readline reflection science sdl session smartcard smp snmp sou spell spl ssl svg tcl tcltk tcpd tex4ht tiff tk truetype usb vorbis xindy xml xorg xvid zlib" ALSA_CARDS="emu10k1 ca01061" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Stelian Ionescu 2009-05-16 12:57:23 UTC
The build fails whenever CPPFLAGS is set, regardless of its value. I've reported this upstream.
As a workaround, you can unset CPPFLAGS in your make.conf. Having CPPFLAGS="${CFLAGS}" seems hardly useful
Comment 4 Mike Doty (RETIRED) gentoo-dev 2009-05-16 14:03:42 UTC
(In reply to comment #3)
> The build fails whenever CPPFLAGS is set, regardless of its value. I've
> reported this upstream.
> As a workaround, you can unset CPPFLAGS in your make.conf. Having
> CPPFLAGS="${CFLAGS}" seems hardly useful
> 

Commenting out CPPFLAGS from make.conf allowed clisp to build.  This work-around seems to work for me.

Comment 5 Stelian Ionescu 2009-05-18 15:07:18 UTC
The bug has been fixed in HEAD.
Comment 6 Marijn Schouten (RETIRED) gentoo-dev 2009-07-23 16:18:55 UTC
*** Bug 278388 has been marked as a duplicate of this bug. ***
Comment 7 Marijn Schouten (RETIRED) gentoo-dev 2009-07-29 11:33:29 UTC
This should be fixed in 2.48