Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge php-5.2.2-r1 failed: 'CPPFLAGS' has changed [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
printcap
n00b
n00b


Joined: 12 Feb 2005
Posts: 4
Location: Switzerland

PostPosted: Fri May 18, 2007 9:00 pm    Post subject: emerge php-5.2.2-r1 failed: 'CPPFLAGS' has changed [solved] Reply with quote

Hi,

I failed emerging php-5.2.2-r1 on ppc64-64ul. Apparently something there is a problem with configure:
Code:

# emerge -v php
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-lang/php-5.2.2-r1 [5.2.1-r3] USE="apache2 berkdb cgi cli crypt* gdbm iconv ldap ncurses nls pcre postgres readline reflection session spl ssl threads unicode zlib (-adabas) -bcmath (-birdstep) -bzip2 -calendar -cdb -cjk -concurrentmodphp -ctype -curl -curlwrappers (-db2) -dbase (-dbmaker) -debug -discard-path -doc (-empress) (-empress-bcs) (-esoob) -exif -fastbuild (-fdftk) -filter (-firebird) -flatfile -force-cgi-redirect (-frontbase) -ftp -gd -gd-external -gmp -hash -imap -inifile (-interbase) -iodbc -ipv6 -java-external -json -kerberos -ldap-sasl -libedit -mcve -mhash -msql -mssql -mysql -mysqli (-oci8) (-oci8-instant-client) -odbc -pcntl -pdo -pdo-external -pic -posix -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap -sockets (-solid) -spell* -sqlite -suhosin (-sybase) (-sybase-ct) -sysvipc -tidy -tokenizer -truetype* -wddx -xml* -xmlreader -xmlrpc -xmlwriter -xpm -xsl -yaz -zip -zip-external (-apache%)" 0 kB

...
 *   Disabling mm
 *   Disabling sqlite
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
configure: loading cache ./config.cache
configure: error: `CPPFLAGS' has changed since the previous run:
configure:   former value:  -I/usr/include/db4.3
configure:   current value: -I/usr/include/db4.3 -I/usr/include/db4.3
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm ./config.cache' and start over

!!! ERROR: dev-lang/php-5.2.2-r1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 5447:   Called src_compile
  php-5.2.2-r1.ebuild, line 172:   Called src_compile_normal
  php-5.2.2-r1.ebuild, line 321:   Called php5_2-sapi_src_compile
  php5_2-sapi.eclass, line 610:   Called die

!!! configure failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-lang/php-5.2.2-r1/temp/build.log'.                                           

Does anybody else observe the same bug?


Last edited by printcap on Tue May 22, 2007 7:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
skynetstreet
n00b
n00b


Joined: 04 Nov 2006
Posts: 24
Location: Japan

PostPosted: Fri May 18, 2007 9:18 pm    Post subject: Reply with quote

I have the same problem on my p3 machine.
Back to top
View user's profile Send private message
JonR800
n00b
n00b


Joined: 09 Feb 2004
Posts: 8

PostPosted: Fri May 18, 2007 10:44 pm    Post subject: Reply with quote

Same here.
Back to top
View user's profile Send private message
planet-admin
Apprentice
Apprentice


Joined: 27 Mar 2004
Posts: 213
Location: Boise, ID

PostPosted: Sat May 19, 2007 12:08 am    Post subject: Reply with quote

Count that as x7 (3 more machines of mine all doing it)
No solution yet?

Michael
_________________
Michael S. Moody
Sr. Systems Engineer
Global Systems Consulting
Web: http://www.GlobalSystemsConsulting.com
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat May 19, 2007 2:49 am    Post subject: Reply with quote

Looks like it's fixed:
https://bugs.gentoo.org/show_bug.cgi?id=179034
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
abc0815
n00b
n00b


Joined: 07 Jul 2004
Posts: 54

PostPosted: Sat May 19, 2007 12:28 pm    Post subject: Reply with quote

Hi,
i can confirm it is working again. 8)
cheers
Back to top
View user's profile Send private message
lovegnu
n00b
n00b


Joined: 20 Mar 2007
Posts: 10

PostPosted: Sat May 19, 2007 2:37 pm    Post subject: Reply with quote

abc0815:
how to deal with it?
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sat May 19, 2007 4:07 pm    Post subject: Reply with quote

emerge --sync and then try again.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
lovegnu
n00b
n00b


Joined: 20 Mar 2007
Posts: 10

PostPosted: Sun May 20, 2007 5:31 am    Post subject: Reply with quote

thanks.everything is ok!
Back to top
View user's profile Send private message
printcap
n00b
n00b


Joined: 12 Feb 2005
Posts: 4
Location: Switzerland

PostPosted: Tue May 22, 2007 7:01 pm    Post subject: Reply with quote

Hi,
I also can confirm it as being fixed.
Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum