Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 337500 - dev-lang/php-5.3.3-r1 fails to build with USE=solid
Summary: dev-lang/php-5.3.3-r1 fails to build with USE=solid
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-15 14:23 UTC by Christian Faulhammer (RETIRED)
Modified: 2010-10-12 12:47 UTC (History)
0 users

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


Attachments
build.log (build-php.log,637.66 KB, text/plain)
2010-09-15 14:25 UTC, Christian Faulhammer (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Faulhammer (RETIRED) gentoo-dev 2010-09-15 14:23:54 UTC
dev-db/unixODBC-2.3.0

[ebuild   R   ] dev-lang/php-5.3.3-r1  USE="apache2* bcmath berkdb bzip2 calendar* cgi cjk* cli crypt ctype curl curlwrappers* doc* embed* enchant* exif fileinfo filter fpm* ftp gd gdbm gmp* hash iconv imap* inifile* intl* ipv6 json kerberos* kolab* ldap* ldap-sasl* mysql nls odbc* pcntl* phar pic* posix postgres* readline session simplexml snmp* soap* sockets* solid* spell sqlite* ssl suhosin* sysvipc* threads tokenizer truetype unicode wddx* xml xmlreader xmlrpc* xmlwriter xpm xsl* zip* zlib -adabas -birdstep -cdb -concurrentmodphp -db2 -dbmaker -debug -empress -empress-bcs -esoob -firebird -flatfile -frontbase -gd-external -interbase -iodbc -libedit -mssql -mysqli -mysqlnd -oci8 -oci8-instant-client -pdo -qdbm -recode -sapdb -sharedext -sharedmem -sqlite3 -sybase-ct -tidy" 0 kB

Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.4.3, glibc-2.11.2-r0, 2.6.35-gentoo-r4 i686)
=================================================================
System uname: Linux-2.6.35-gentoo-r4-i686-AMD_Athlon-tm-_X2_Dual_Core_Processor_BE-2400-with-gentoo-1.12.13
Timestamp of tree: Wed, 15 Sep 2010 13:30:20 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -msse3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /opt/openjms/config /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/games/angband/edit/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon-xp -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aiglx alsa applet artworkextra asf audiofile bash-completion berkdb bidi bogofilter bootsplash branding bzip2 cairo ccache cdda cddb cdparanoia cdr cli console consolekit cracklib crypt css cups curl custom-cflags dbus deskbar dga directfb divx4linux dri dts dvd dvdr dvdread dvi emacs emboss encode evince exif fam fat fbcon fbcondecor fdftk ffmpeg foomaticdb fortran ftp gb gcj gdbm gif glitz gphoto2 gpm gsf gtk gtk2 gtkhtml hal howl iconv icq idn imagemagick imlib ipv6 java javascript jpeg jpeg2k kpathsea libnotify libotf lirc lm_sensors mad matroska mikmod mime mmx mmxext mng modules mp3 mp4 mpeg mpeg2 mudflap mule mysql nautilus ncurses nforce2 nls noaudio nocardbus nocxx novideo nowebdav nptl nptlonly nss nvidia objc objc++ objc-gc offensive ogg opengl openmp pam pango passwordsave pcre pdf plotutils pmu png policykit ppds pppd prediction preview-latex print publishers python qt-static qt3support readline reflection run-as-root samba sdk secure-delete semantic-desktop session slang smp spell sse ssl startup-notification svg svga sysfs t1lib tcpd theora threads thumbnailing tiff toolkit-scroll-bars totem truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd videos vorbis win32codecs wmf wxwindows x264 x86 xcb xface xft xml xorg xosd xpm xulrunner xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="atiusb" RUBY_TARGETS="jruby ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2010-09-15 14:25:20 UTC
Created attachment 247477 [details]
build.log
Comment 2 Matti Bickel (RETIRED) gentoo-dev 2010-09-18 12:12:54 UTC
One thing I'm noticing is that you don't have solid's libs ready?
* Unable to locate /usr/local/solid/lib/libl2x.so or /usr/local/solid/lib/libl2x.a
* Please correct this by creating the following links and reconfiguring:
* /usr/local/solid/lib/libl2x.a -> /usr/local/solid/lib/libl2x.a
* /usr/local/solid/lib/l2x.so -> /usr/local/solid/lib/libl2x.so

There seems to be something fishy going on during configure. Can you post your /var/tmp/portage/dev-lang/php-5.3.3-r1/work/sapis-build/cli/config.log please?
Comment 3 Andreas Schürch gentoo-dev 2010-09-23 13:16:03 UTC
I haven't got that failure with the same useflags (as Christian mentioned in the first comment) on a fresh installed system. I haven't got any /usr/local/solid directory!? Is there a package that provides it!?!
Comment 4 Matti Bickel (RETIRED) gentoo-dev 2010-09-23 13:50:32 UTC
No, Gentoo does not provide solid libraries in any package. It's directly available from IBM (via http://www-01.ibm.com/software/data/soliddb/). Building the PHP extension for it is controlled via the solid USE flag.
Comment 5 Andreas Schürch gentoo-dev 2010-09-24 08:42:40 UTC
OK, i got fooled a bit, as i copied Christians USE variable above and haven't recognized that there were some asterisks.... m(
However... it compiles just fine without solid for me but it fails with a slightly different error as Christian got, when solid is enabled (Not sure if it is related to the trial version of soliddb that I've got from the terribly organized IBM website).
But it really seems just soliddb that causes the odbc stuff to break.

/usr/local/solid/include/sqlext.h:1912: note: expected 'SQLHSTMT' but argument is of type 'HSTMT'                                                        
/var/tmp/portage/dev-lang/php-5.3.3-r1/work/sapis-build/cli/ext/odbc/php_odbc.c:3729: warning: passing argument 1 of 'SQLNumResultCols' makes integer from pointer without a cast 

I don't know if it is worth to block the security bug, when there is a message like:
 * *DO NOT* file bugs about compile failures or issues you're having
 * when using one of those flags, as we aren't able to support them.
 * |=|=|=|=|=|=| You are on your own if you use them! |=|=|=|=|=|=|



php with odbc seems quite ok otherwise (it's just solid that is different from faulis listing):
[ebuild   R   ] dev-lang/php-5.3.3-r1  USE="apache2 bcmath berkdb bzip2 calendar cgi cjk cli crypt ctype curl curlwrappers doc embed enchant exif fileinfo filter fpm ftp gd gdbm gmp hash iconv imap inifile intl ipv6 json kerberos kolab ldap ldap-sasl mysql nls odbc pcntl phar pic posix postgres readline session simplexml snmp soap sockets spell sqlite ssl suhosin sysvipc threads tokenizer truetype unicode wddx xml xmlreader xmlrpc xmlwriter xpm xsl zip zlib -adabas -birdstep -cdb -concurrentmodphp -db2 -dbmaker -debug -empress -empress-bcs -esoob -firebird -flatfile -frontbase -gd-external -interbase -iodbc -libedit -mssql -mysqli -mysqlnd -oci8 -oci8-instant-client -pdo -qdbm -recode -sapdb -sharedext -sharedmem -solid -sqlite3 -sybase-ct -tidy" 0 kB

Comment 6 Christian Faulhammer (RETIRED) gentoo-dev 2010-10-12 12:47:57 UTC
Andreas, you are right...my failure.