Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102744 - mod_php 5.0.4-r1 does not compile interbase / firebird module when using the proper USE flags
Summary: mod_php 5.0.4-r1 does not compile interbase / firebird module when using the ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-16 12:18 UTC by Tiago Freire
Modified: 2005-08-25 11:22 UTC (History)
0 users

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


Attachments
config.log as requested (config.log,137.85 KB, text/plain)
2005-08-17 04:40 UTC, Tiago Freire
Details
php-5.0.4-r1.log emerge log as requested (3650-php-5.0.4-r1.log,441.22 KB, text/plain)
2005-08-17 04:50 UTC, Tiago Freire
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tiago Freire 2005-08-16 12:18:49 UTC
My make.conf has both flags: interbase and firebird. Even though, my mod_php
5.0.4-r1 was compiled without support. 
Looks like the php5sapi-r2.eclass looks for the 'firebird' flag, but strangely,
my emerge info does not display it, even though it is on my make.conf. Is it
being filtered/deprecated and the eclass does not reflect it?

This is my make.conf:
# These settings were set by the catalyst build script that automatically built
this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -march=k8 -ftracer -fprefetch-loop-arrays -pipe -fPIC "
#CFLAGS="-O2 -march=athlon-xp -msse2 -ftracer -fprefetch-loop-arrays -pipe -fPIC "
#CHOST="i686-pc-linux-gnu"
CHOST="x86_64-pc-linux-gnu"
#CCHOST="x86_64-pc-linux-gnu"
#CTARGET="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
USE="mppe-mppc 3dnow 3dnowex 3dnowext X -aalib aac acl acpi alsa apache2 arts
artswrappersuid avi berkdb bidi browserplugin bzlib bzip2 calendar canna caps
cdparanoia cdr cjk crypt cups curl curlwrappers dba dga divx4linux doc dts dv
dvb dvd dvdr dvdread encode esd ethereal evo fam fbcon ffmpeg firebird flac
-flash foomaticdb ftp gd gif gmp gnutls gpm gstreamer gtk2 i8x0 iconv
imagemagick imap imlib innodb interbase ipv6 -jack java jpeg2k kde
kdeenablefinal kdexdeltas lcms ldap libwww lm_sensors mad maildir mailwrapper
mbox mcal mhash mime mmap mmx mmxext mng mozilla mozdevelop mozsvg mpeg
mpm-prefork nas ncurses nls nptl nvidia oav odbc ogg oggvorbis offensive openal
opengl oss pam pcntl pcre pda perl php pic plotutils png posix postgres ppds
prelude profile python qt quicktime rdesktop readline samba sasl scanner sdl
session shared sharedmem slang slp sndfile -snmp soap sockets sox speex spell
spl sqlite sse sse2 ssl svg svga symlink tcpd theora threads tidy tiff tokenizer
truetype unicode usb userlocales utf8 vhosts wddx wifi wmf win32 win32codecs
xine xml2 xmlrpc xmms xpm xprint xsl xv xvid yahoo zlib"
MAKEOPTS="-j2"
PORTAGE_TMPFS="/dev/shm"
ALSA_CARDS="intel8x0"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/
http://mirror.phy.olemiss.edu/mirror/gentoo ftp://gentoo.mirrors.tds.net/gentoo
http://gentoo.zie.pg.gda.pl http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"


Reproducible: Always
Steps to Reproduce:
1. Add USE flags
2. Emerge
3.

Actual Results:  
mod_php without interbase/firebird support

Expected Results:  
mod_php with interbase/firebird support

Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -ftracer -fprefetch-loop-arrays -pipe -fPIC "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -ftracer -fprefetch-loop-arrays -pipe -fPIC "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/
http://mirror.phy.olemiss.edu/mirror/gentoo ftp://gentoo.mirrors.tds.net/gentoo
http://gentoo.zie.pg.gda.pl http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 3dnowex X aac acl acpi alsa apache2 arts artswrappersuid avi berkdb
bidi bitmap-fonts bonobo browserplugin bzip2 bzlib calendar canna caps
cdparanoia cdr cjk crypt cups curl curlwrappers dba dga doc dts dv dvb dvd dvdr
dvdread eds encode esd ethereal evo fam fbcon ffmpeg flac foomaticdb fortran ftp
gd gdbm gif gmp gnome gnutls gpm gstreamer gtk gtk2 gtkhtml i8x0 iconv
imagemagick imap imlib innodb interbase ipv6 java jpeg jpeg2k junit kde
kdeenablefinal lcms ldap libwww lm_sensors lzw lzw-tiff mad maildir mailwrapper
mbox mcal mhash mime mmap mng motif mozdevelop mozilla mozsvg mp3 mpeg
mpm-prefork mppe-mppc mysql nas ncurses nls nptl nvidia oav odbc offensive ogg
oggvorbis openal opengl oss pam pcntl pcre pda pdflib perl php pic plotutils png
posix postgres ppds prelude profile python qt quicktime rdesktop readline samba
sasl scanner sdl session shared sharedmem slang sndfile soap sockets sox speex
spell spl sqlite ssl svg symlink tcltk tcpd theora threads tidy tiff tokenizer
truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vhosts vorbis
wddx wifi win32 wmf xine xml xml2 xmlrpc xmms xpm xprint xsl xv xvid yahoo zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS, PORTDIR_OVERLAY
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-08-16 13:50:12 UTC
please set PORT_LOGDIR in your make.conf, emerge php again, and attach the
entire build log. additionally please capture the config.log when configure has
completed, and attach it as well.
Comment 2 Tiago Freire 2005-08-17 04:40:20 UTC
Created attachment 66128 [details]
config.log as requested
Comment 3 Tiago Freire 2005-08-17 04:50:22 UTC
Created attachment 66129 [details]
php-5.0.4-r1.log emerge log as requested
Comment 4 Stuart Herbert (RETIRED) gentoo-dev 2005-08-22 05:02:34 UTC
According to those logs, the eclass didn't spot that the interbase USE flag was
enabled.  Hrm.

This issue has been fixed in our Gentoo PHP Overlay [1].  We'll be adding these
packages to the Portage tree in the next few weeks, but the overlay is available
for use right now if you can't wait.

[1] http://svn.gnqs.org/projects/gentoo-php-overlay/

Best regards,
Stu
Comment 5 Tiago Freire 2005-08-22 06:07:26 UTC
I am using my own quick-dirty-hack overlayed eclass. Anyway, Why is 'firebird' 
stripped from my USE flags on 'emerge info'? shall I file a separate bug? 
Comment 6 Nathan Jones 2005-08-22 17:15:54 UTC
Oops posted to wrong bug.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-08-25 11:22:58 UTC
Closing wrt comment #4.