Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137595 - PHP ebuild "xml" flag results in '--disable-xml'
Summary: PHP ebuild "xml" flag results in '--disable-xml'
Status: RESOLVED DUPLICATE of bug 131616
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-22 07:50 UTC by Whit Blauvelt
Modified: 2006-06-22 09:08 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 Whit Blauvelt 2006-06-22 07:50:32 UTC
dev-lang/php-4.4.2-r2, emerged with a package.use line that includes the flags:

dba gd cli apache pcre posix pear mysql session xml xmlrpc iconv

results in a php build that, according to phpinfo, includes the configure command '--disable-xml'

# emerge --info
Portage 2.1.1_pre1-r1 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r1Y i586)
=================================================================
System uname: 2.6.15-gentoo-r1Y i586 AMD-K6(tm) 3D processor
Gentoo Base System version 1.6.14
dev-lang/python:     2.2.3-r6, 2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.4.19-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=k6-2 -O2 -fomit-frame-pointer -funroll-loops -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-march=k6-2 -O2 -fomit-frame-pointer -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-a 
fter --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cli crypt cups dri eds emboss encode esd foomaticdb fortran gdb 
m gif gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde libg++ libwww mad mbox mikmod motif mp3 mpeg ncurses nls nptl o 
gg opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl ssl tcpd truet 
ype truetype-fonts type1-fonts udev vorbis xml xmms xorg xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS,  
PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-22 07:52:28 UTC

*** This bug has been marked as a duplicate of 131616 ***
Comment 2 Whit Blauvelt 2006-06-22 08:47:22 UTC
But you're marking it as a duplicate of a bug which was closed without fixing the problem - which is that the flag is clearly misnamed. It should match the actual configure flag that PHP uses, if you want to have any chance that people will use it correctly.

Also, if you search for "php xml" you come up with zero bugs - which is why I filed this. I suppose the search only covers open bugs? But the bug should be open until the ebuild maintainers fix the flags. It makes no sense at all to have the "xml" flag not match PHP's own flag for enabling xml - or if it does make sense it makes sense only to very few, which is "security through obscurity" from having PHP fully usable.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-06-22 09:08:07 UTC
There's nothing to fix here, you are missing expat in your use flags.

*** This bug has been marked as a duplicate of 131616 ***