Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82801 - mod_php-5.0.3, php-5.0.3: compilation failure with USE=gd-external
Summary: mod_php-5.0.3, php-5.0.3: compilation failure with USE=gd-external
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 60438
  Show dependency tree
 
Reported: 2005-02-21 04:59 UTC by Anthony Gorecki
Modified: 2005-07-03 23:44 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Gorecki 2005-02-21 04:59:16 UTC
The packages fail with the following:

/usr/lib/libc-client.a(osdep.o)(.text+0x9e31): In function `ssl_onceonlyinit':
: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
ext/gd/gd.lo(.text+0x425): In function `zm_deactivate_gd':
: undefined reference to `gdFreeFontCache'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1


Here are the relevant packages:

[ebuild   R   ] dev-php/mod_php-5.0.3  -adabas +apache2 -bcmath -berkdb -birdstep +bzlib -calendar -cdb -cpdflib -crypt -ctype -curl -curlwrappers -db2 -dba -dbase -dbm -dbmaker -dbx -debug -dio -empress -empress-bcs -esoob -exif -fam -fdftk -filepro -flatfile -frontbase +ftp -gd +gd-external -gdbm -gmp -hyperwave-api -iconv +imap -informix -ingres -inifile -interbase -iodbc +jpeg -kerberos -ldap -libedit -mcve +memlimit -mhash -mime -ming -mnogosearch -msession -msql -mssql -mysql +mysqli -ncurses -nis -nls -oci8 -odbc -oracle7 -ovrimos -pcntl +pcre -pfpro +png -posix -postgres -qdbm +readline -recode -sapdb -sasl +session -shared -sharedmem +simplexml -snmp +soap +sockets -solid +spell -spl +sqlite +ssl -sybase -sybase-ct -sysvipc -tidy +tiff -tokenizer -truetype* -wddx +xml2 -xmlrpc -xpm +xsl +zlib 0 kB

[ebuild   R   ] dev-php/php-5.0.3  -adabas -bcmath -berkdb -birdstep +bzlib -calendar -cdb -cpdflib -crypt -ctype -curl -curlwrappers -db2 -dba -dbase -dbm -dbmaker -dbx -debug -dio -empress -empress-bcs -esoob -exif -fam -fdftk -filepro -flatfile -frontbase +ftp -gd +gd-external -gdbm -gmp -hyperwave-api -iconv +imap -informix -ingres -inifile -interbase -iodbc +jpeg -kerberos -ldap -libedit -mcve +memlimit -mhash -mime -ming -mnogosearch -msession -msql -mssql -mysql +mysqli -ncurses -nis -nls -oci8 -odbc -oracle7 -ovrimos -pcntl +pcre -pfpro +png -posix -postgres -qdbm +readline -recode -sapdb -sasl +session -shared -sharedmem +simplexml -snmp +soap +sockets -solid +spell -spl +sqlite +ssl -sybase -sybase-ct -sysvipc -tidy +tiff -tokenizer -truetype* -wddx +xml2 -xmlrpc -xpm +xsl +zlib 0 kB

[ebuild   R   ] media-libs/gd-2.0.32  -X +jpeg +png -truetype 0 kB


I've tested php and mod_php with and without USE=truetype, the result was the same. The php5-sapi eclass is hacked to allow the mysqli flag, however not beyond removing the simple if-clause that prevents the feature from being used. I updated the eclass from the tree this morning to make certain that this error wasn't being caused by the overlayed file, but it would make more sense that this is being caused by USE=-truetype on the GD package. If that's the case, the truetype flag on php is ambiguous. What can be done to prevent these packages from breaking without GD truetype support?
Comment 1 Stuart Herbert (RETIRED) gentoo-dev 2005-05-31 15:07:36 UTC
Hi,

I've just committed some fixes for external gd support.  Could you retest please?

Thanks,
Stu
Comment 2 Sebastian Bergmann (RETIRED) gentoo-dev 2005-07-03 23:44:43 UTC
Could not reproduce and no feedback for a month, closing.