Gentoo Archives: gentoo-amd64

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Re: configure: error: `CPPFLAGS' has changed since the previous run:
Date: Fri, 18 May 2007 23:48:43
Message-Id: 5bdc1c8b0705181645s161b3ae3u3c0e9b79a673044d@mail.gmail.com
In Reply to: [gentoo-amd64] Re: configure: error: `CPPFLAGS' has changed since the previous run: by Duncan <1i5t5.duncan@cox.net>
1 Thanks Duncan. I've attached myself to that bug report.
2
3 - Mark
4
5 On 5/18/07, Duncan <1i5t5.duncan@×××.net> wrote:
6 > "Mark Knecht" <markknecht@×××××.com> posted
7 > 5bdc1c8b0705181109g5bac491jf1eb3513d3a896dc@××××××××××.com, excerpted
8 > below, on Fri, 18 May 2007 11:09:12 -0700:
9 >
10 > > I'm trying to build mythweb which wants php. php dies with a
11 > > message I haven't seen before. I'm not clear why CPPFLAGS should have
12 > > changed unless it was a recent profile update.
13 > >
14 > > What is the recommended 'make distclean' actually going to do?
15 > >
16 > > Where is CPPFLAGS defined? I don't see it in make.conf.
17 > >
18 > > Thanks,
19 > > Mark
20 >
21 > > configure: loading cache ./config.cache
22 > > configure: error: `CPPFLAGS' has changed since the previous run:
23 > > configure: former value: -I/usr/include/db4.2
24 > > configure: current value: -I/usr/include/db4.2 -I/usr/include/db4.2
25 > > configure: error: changes in the environment can compromise the build
26 > > configure: error: run `make distclean' and/or
27 > > `rm ./config.cache' and start over
28 >
29 > That error is emitted by the configure script from upstream, not by the
30 > ebuild, so it's a generic error intended to help someone doing a manual
31 > configure and make, not someone simply running the ebuild script as part
32 > of a Gentoo automated build. Thus, it's not talking about make.conf,
33 > which is Gentoo specific, but about the environment within the script, as
34 > setup by the ebuild.
35 >
36 > IOW, it's probably an ebuild bug.
37 >
38 > You don't still have confcache installed and FEATURES=confcache, do you?
39 > If you do, try turning off confcache, as that's no longer Gentoo
40 > supported. (Some of us still run it, but know to try turning it off if
41 > there are issues before trying much else and certainly before filing
42 > bugs.) You can turn it off for just that package by creating a file /etc/
43 > portage/env/<category>/<package> , in this case, /etc/portage/env/dev-
44 > lang/php , and putting within it a single line, FEATURE=-confcache .
45 >
46 > If confcache isn't the issue, as usual, check bugzilla, and cc yourself
47 > to the appropriate bug if desired or file one if necessary. (As it
48 > happens, I see one already filed for this error, http://bugs.gentoo.org/
49 > show_bug.cgi?id=179034 , filed just today it appears.)
50 >
51 > --
52 > Duncan - List replies preferred. No HTML msgs.
53 > "Every nonfree program has a lord, a master --
54 > and if you use the program, he is your master." Richard Stallman
55 >
56 > --
57 > gentoo-amd64@g.o mailing list
58 >
59 >
60 --
61 gentoo-amd64@g.o mailing list