Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23751 - mod_php 4.3.2 "can not run test program while cross compiling"
Summary: mod_php 4.3.2 "can not run test program while cross compiling"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
: 24624 24653 24679 24689 24966 25363 25496 25505 26335 28611 29769 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-06-30 06:47 UTC by Andrea Giardina
Modified: 2006-02-03 15:28 UTC (History)
11 users (show)

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


Attachments
config.log (config.log,27.86 KB, text/plain)
2003-06-30 07:55 UTC, Andrea Giardina
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Giardina 2003-06-30 06:47:44 UTC
Hi, emerge mod_php 4.3.2 exit with this error: "can not run test program while
cross compiling". This is a 17723 bug clone? I alto tested it with USE="-qt
-libwww -java"
The output for emerge -v mod_php is:
+X -cjk +crypt +curl -firebird -flash -freetds -gd -gd-external +gdbm +imap
-informix +java +jpeg +ldap -mcal +mysql +nls -oci8 -odbc +pam +pdflib -memlimit
+png +postgres -qt -snmp +spell +ssl +tiff +truetype +xml2 -apache2
I use mysql 4.0.12.
Comment 1 Stuart Herbert (RETIRED) gentoo-dev 2003-06-30 07:44:20 UTC
Hi,

I had this bug recently.  In my case, the error message from configure was totally misleading.

Can you look in /var/tmp/portage/mod_php-4.3.2/work/, and find the config.log file?  If you attach it to this bug, it'll help show what the real problem is.

Thanks,
Stu
--
Comment 2 Andrea Giardina 2003-06-30 07:55:58 UTC
Created attachment 14037 [details]
config.log
Comment 3 Andrea Giardina 2003-06-30 07:59:58 UTC
Hi, this is my config.log. It seems a mysql problem...

Thanks
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-30 10:35:40 UTC
You did NOT rebuild your system properly after you upgraded to mysql4 from mysql3.

"emerge gentoolkit"
then run "revdep-rebuild"
and it will emerge stuff to fix the libraries.
Comment 5 Edward Roper 2003-07-15 20:22:31 UTC
revdep-rebuild didn't catch that this was in fact libwww needing to be rebuilt after the mysql upgrade. Just noting this just in case other people encounter it.
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-07-15 22:16:53 UTC
Edward Roper: gentoolkit-0.1.30 does catch libwww needed to be upgraded first.
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-07-16 21:06:08 UTC
*** Bug 24624 has been marked as a duplicate of this bug. ***
Comment 8 Martin Holzer (RETIRED) gentoo-dev 2003-07-17 05:44:42 UTC
*** Bug 24653 has been marked as a duplicate of this bug. ***
Comment 9 Donnie Berkholz (RETIRED) gentoo-dev 2003-07-17 09:31:29 UTC
*** Bug 24679 has been marked as a duplicate of this bug. ***
Comment 10 Martin Holzer (RETIRED) gentoo-dev 2003-07-17 12:09:10 UTC
*** Bug 24689 has been marked as a duplicate of this bug. ***
Comment 11 Martin Holzer (RETIRED) gentoo-dev 2003-07-21 07:21:04 UTC
*** Bug 24966 has been marked as a duplicate of this bug. ***
Comment 12 Rainer Größlinger (RETIRED) gentoo-dev 2003-07-27 04:46:16 UTC
*** Bug 25363 has been marked as a duplicate of this bug. ***
Comment 13 Rainer Größlinger (RETIRED) gentoo-dev 2003-07-29 06:27:09 UTC
*** Bug 25505 has been marked as a duplicate of this bug. ***
Comment 14 Rainer Größlinger (RETIRED) gentoo-dev 2003-07-29 06:27:29 UTC
*** Bug 25496 has been marked as a duplicate of this bug. ***
Comment 15 Gabe Jackson 2003-08-04 01:43:01 UTC
I noticed that sometimes a `revdep-rebuild` aint enough, you need to `emerge libwww` again in some cases.
Comment 16 SpanKY gentoo-dev 2003-08-10 12:28:50 UTC
*** Bug 26335 has been marked as a duplicate of this bug. ***
Comment 17 Martin Holzer (RETIRED) gentoo-dev 2003-09-13 11:34:21 UTC
*** Bug 28613 has been marked as a duplicate of this bug. ***
Comment 18 Martin Holzer (RETIRED) gentoo-dev 2003-09-13 11:34:35 UTC
*** Bug 28611 has been marked as a duplicate of this bug. ***
Comment 19 Martin Holzer (RETIRED) gentoo-dev 2003-09-27 15:23:57 UTC
*** Bug 29769 has been marked as a duplicate of this bug. ***
Comment 20 REdOG 2003-09-27 15:44:13 UTC
"I noticed that sometimes a `revdep-rebuild` aint enough, you need to `emerge
libwww` again in some cases." 
Comment 21 Kevin Williams 2003-12-13 08:50:59 UTC
You might try running 'ldcheck', found at http://ldcheck.sourceforge.net. I wrote it specifically to find these problems. The cause is most likely the fact that upgrading from MySQL 3.x to 4.x broke libwww, which php & mod_php depend on. My tool would tell you all packages that have broken dependancies.
Comment 22 Ben Jackson 2005-07-15 16:01:41 UTC
after emerge of mysql-4.1.12 revdep-rebuild does NOT report any broken packages
(that it didnt report before). manual (re)emerge of libwww is neccessary. maybe
this should be a warning in the mysql ebuild ?
Comment 23 Nathan 2006-02-03 15:28:06 UTC
I updated to mysql-4.1.14 from 4.0.25 today, which caused mod_php to think I was using a cross compiler.

Manually emerging the latest version of libwww fixed it so that my revdep would compile mod_php.