Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170173 - dev-lang/php-5.2.1-r3 fails w/ USE=solid
Summary: dev-lang/php-5.2.1-r3 fails w/ USE=solid
Status: VERIFIED DUPLICATE of bug 154144
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-09 20:31 UTC by Ygor Lemos
Modified: 2007-03-09 20:38 UTC (History)
0 users

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


Attachments
The build log (build.log,279.28 KB, text/plain)
2007-03-09 20:37 UTC, Ygor Lemos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ygor Lemos 2007-03-09 20:31:43 UTC
When I try to recompile my PHP, it returns some errors related to odbc libs.

Seems that some odbc files are missing or corrupted on the ebuild.

Reproducible: Always

Steps to Reproduce:
1.Emerge PHP

Actual Results:  
/bin/sh /var/tmp/portage/dev-lang/php-5.2.1-r3/work/php-5.2.1/libtool --silent --preserve-dup-deps --mode=compile /var/tmp/portage/dev-lang/php-5.2.1-r3/work/php-5.2.1/meta_ccld -I/var/tmp/portage/dev-lang/php-5.2.1-r3/work/php-5.2.1/ext -DPDO_DBLIB_FLAVOUR=\"freetds\" -Iext/pdo_dblib/ -I/var/tmp/portage/dev-lang/php-5.2.1-r3/work/php-5.2.1/ext/pdo_dblib/ -DPHP_ATOM_INC -I/var/tmp/portage/dev-lang/php-5.2.1-r3/work/php-5.2.1/include -I/var/tmp/portage/dev-lang/php-5.2.1-r3/work/php-5.2.1/main -I/var/tmp/portage/dev-lang/php-5.2.1-r3/work/php-5.2.1 -I/usr/include/libxml2 -I/var/tmp/portage/dev-lang/php-5.2.1-r3/work/php-5.2.1/ext/date/lib -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/imap -I/var/tmp/portage/dev-lang/php-5.2.1-r3/work/php-5.2.1/ext/mbstring/oniguruma -I/var/tmp/portage/dev-lang/php-5.2.1-r3/work/php-5.2.1/ext/mbstring/libmbfl -I/var/tmp/portage/dev-lang/php-5.2.1-r3/work/php-5.2.1/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/include/postgresql/libpq-4 -I/usr/include/pspell -I/var/tmp/portage/dev-lang/php-5.2.1-r3/work/php-5.2.1/TSRM -I/var/tmp/portage/dev-lang/php-5.2.1-r3/work/php-5.2.1/Zend  -D_REENTRANT  -I/usr/include -O2 -march=pentium-m -msse3 -pipe -fomit-frame-pointer -pthread -DZTS  -prefer-pic -c /var/tmp/portage/dev-lang/php-5.2.1-r3/work/php-5.2.1/ext/pdo_dblib/pdo_dblib.c -o ext/pdo_dblib/pdo_dblib.lo 
In file included from /var/tmp/portage/dev-lang/php-5.2.1-r3/work/php-5.2.1/ext/odbc/php_odbc.c:37:
/var/tmp/portage/dev-lang/php-5.2.1-r3/work/php-5.2.1/ext/odbc/php_odbc_includes.h:199:21: error: WINDOWS.H: No such file or directory
/var/tmp/portage/dev-lang/php-5.2.1-r3/work/php-5.2.1/ext/odbc/php_odbc.c: In function 'odbc_do_connect':
/var/tmp/portage/dev-lang/php-5.2.1-r3/work/php-5.2.1/ext/odbc/php_odbc.c:2258: error: 'ODBC_TYPE' undeclared (first use in this function)
/var/tmp/portage/dev-lang/php-5.2.1-r3/work/php-5.2.1/ext/odbc/php_odbc.c:2258: error: (Each undeclared identifier is reported only once
/var/tmp/portage/dev-lang/php-5.2.1-r3/work/php-5.2.1/ext/odbc/php_odbc.c:2258: error: for each function it appears in.)
make: ** [ext/odbc/php_odbc.lo] Erro 1
make: ** Esperando que outros processos terminem.
/var/tmp/portage/dev-lang/php-5.2.1-r3/work/php-5.2.1/ext/pdo_dblib/pdo_dblib.c: In function 'zm_startup_pdo_dblib':
/var/tmp/portage/dev-lang/php-5.2.1-r3/work/php-5.2.1/ext/pdo_dblib/pdo_dblib.c:198: warning: passing argument 1 of 'dbmsghandle' from incompatible pointer type

!!! ERROR: dev-lang/php-5.2.1-r3 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 5146:   Called src_compile
  php-5.2.1-r3.ebuild, line 173:   Called src_compile_normal
  php-5.2.1-r3.ebuild, line 323:   Called php5_2-sapi_src_compile
  php5_2-sapi.eclass, line 609:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-lang/php-5.2.1-r3/temp/build.log'.


Expected Results:  
Normal Compilation

My emerge --info:

zenary ~ # emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r1 i686)
=================================================================
System uname: 2.6.18-gentoo-r1 i686 Genuine Intel(R) CPU           T2300  @ 1.66GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 09 Mar 2007 18:00:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r4
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -msse3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -msse3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://www.las.ic.unicamp.br/pub/gentoo/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/"
LANG="pt_BR"
LC_ALL="pt_BR"
LINGUAS="en pt_BR"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac aalib acpi adns alsa amr ao apache apache2 asterisk bash-completion berkdb big-tables bitmap-fonts bluetooth bluez bzip2 cairo calendar cdb cdparanoia cdr cgi cli cpudetection cracklib crypt ctype cups curl curlwrappers dbus dga directfb dri dts dv dvb dvd dvdr dvdread enca encode exif exo extraengine ffmpeg filter firefox flac force-cgi-redirect fortran ftp fuse gd gd2 gdbm gif gnome gnutls gpm gstreamer gtk gtk2 gzip hal hald hash iconv ieee1394 imap imq innodb ipod ipv6 irda isdnlog java jpeg json kerberos kqemu l7filter latin1 ldap libg++ libnotify linux-smp-stats live logrotate lzo mad max-idx-128 mbrola mcrypt mcve mhash midi mmx mmxext mono mozbranding mozdevelop moznopango mp3 mpeg mpm-worker msn mssql musepack musicbrainz mysql mysqli ncurses nls nptl nptlonly nsplugin ntfs odbc ogg opengl oss pam pam_chroot pam_console pam_timestamp panel-plugin pcmcia pcntl pcre pdf pdo perl php pic png portaudio posix postgres ppds pppd python qt3 qt4 readline real reflection reiserfs rtc sablotron sdl sensord server session sharedext simplexml smp snmp soap sockets solid speex spell spl sqlite sqlite3 sse sse2 sse3 ssl startup-notification suhosin svg symlink syslog sysvipc tagwriting tcpd theora threads thumbnail thunar thunar-vfs tidy tiff tokenizer trash-panel-plugin truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vhosts vim-syntax vnc vorbis wddx wifi win32codecs wma x264 x86 xanim xfce4 xforms xine xml xmlreader xmlrpc xmlwriter xorg xpm xprint xscreensaver xsl xv xvid xvmc zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pt_BR" USERLAND="GNU" VIDEO_CARDS="radeon fglrx vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Ygor Lemos 2007-03-09 20:36:19 UTC
zenary ~ # emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r1 i686)
=================================================================
System uname: 2.6.18-gentoo-r1 i686 Genuine Intel(R) CPU           T2300  @ 1.66GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 09 Mar 2007 18:00:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r4
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -msse3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -msse3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://www.las.ic.unicamp.br/pub/gentoo/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/"
LANG="pt_BR"
LC_ALL="pt_BR"
LINGUAS="en pt_BR"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac aalib acpi adns alsa amr ao apache apache2 asterisk bash-completion berkdb big-tables bitmap-fonts bluetooth bluez bzip2 cairo calendar cdb cdparanoia cdr cgi cli cpudetection cracklib crypt ctype cups curl curlwrappers dbus dga directfb dri dts dv dvb dvd dvdr dvdread enca encode exif exo extraengine ffmpeg filter firefox flac force-cgi-redirect fortran ftp fuse gd gd2 gdbm gif gnome gnutls gpm gstreamer gtk gtk2 gzip hal hald hash iconv ieee1394 imap imq innodb ipod ipv6 irda isdnlog java jpeg json kerberos kqemu l7filter latin1 ldap libg++ libnotify linux-smp-stats live logrotate lzo mad max-idx-128 mbrola mcrypt mcve mhash midi mmx mmxext mono mozbranding mozdevelop moznopango mp3 mpeg mpm-worker msn mssql musepack musicbrainz mysql mysqli ncurses nls nptl nptlonly nsplugin ntfs odbc ogg opengl oss pam pam_chroot pam_console pam_timestamp panel-plugin pcmcia pcntl pcre pdf pdo perl php pic png portaudio posix postgres ppds pppd python qt3 qt4 readline real reflection reiserfs rtc sablotron sdl sensord server session sharedext simplexml smp snmp soap sockets solid speex spell spl sqlite sqlite3 sse sse2 sse3 ssl startup-notification suhosin svg symlink syslog sysvipc tagwriting tcpd theora threads thumbnail thunar thunar-vfs tidy tiff tokenizer trash-panel-plugin truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vhosts vim-syntax vnc vorbis wddx wifi win32codecs wma x264 x86 xanim xfce4 xforms xine xml xmlreader xmlrpc xmlwriter xorg xpm xprint xscreensaver xsl xv xvid xvmc zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pt_BR" USERLAND="GNU" VIDEO_CARDS="radeon fglrx vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Ygor Lemos 2007-03-09 20:37:26 UTC
Created attachment 112743 [details]
The build log
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-03-09 20:38:26 UTC
Remove solid from your use flags...

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

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