Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217933 - dev-lang/php-5.2.6_rc4 fails to build posix extension
Summary: dev-lang/php-5.2.6_rc4 fails to build posix extension
Status: RESOLVED DUPLICATE of bug 217392
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-16 11:42 UTC by Stoian Ivanov
Modified: 2008-04-16 15:37 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 Stoian Ivanov 2008-04-16 11:42:54 UTC
/php-5.2.6_rc4/work/php-5.2.6RC4/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/var/tmp/portage/dev-lang/php-5.2.6_rc4/work/php-5.2.6RC4/TSRM -I/var/tmp/portage/dev-lang/php-5.2.6_rc4/work/php-5.2.6RC4/Zend    -I/usr/include -O3 -march=athlon-xp -fomit-frame-pointer -pipe  -c /var/tmp/portage/dev-lang/php-5.2.6_rc4/work/php-5.2.6RC4/ext/reflection/php_reflection.c -o ext/reflection/php_reflection.lo
/var/tmp/portage/dev-lang/php-5.2.6_rc4/work/php-5.2.6RC4/ext/posix/posix.c: In function ‘zif_posix_uname’:
/var/tmp/portage/dev-lang/php-5.2.6_rc4/work/php-5.2.6RC4/ext/posix/posix.c:471: error: ‘struct utsname’ has no member named ‘domainname’
make: *** [ext/posix/posix.lo] Error 1
make: *** Waiting for unfinished jobs....
 *
 * ERROR: dev-lang/php-5.2.6_rc4 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4370:  Called src_compile_normal
 *             environment, line 4481:  Called php5_2-sapi_src_compile
 *             environment, line 3418:  Called die
 * The specific snippet of code:
 *       emake || die "make failed"
 *  The die message:
 *   make failed
 -----------------------
root@sdr /home/sdr # emerge -av php

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  NS   ] dev-lang/php-5.2.6_rc4 [4.4.8_pre20070816] USE="apache2 bcmath bzip2 cli crypt curl gd iconv imap mhash mysql ncurses nls pcre posix reflection session sockets spl ssl sysvipc truetype unicode xml zlib -adabas -berkdb -birdstep -calendar -cdb -cgi -cjk -concurrentmodphp -ctype -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -exif -fastbuild -fdftk -filter -firebird -flatfile -force-cgi-redirect -frontbase -ftp -gd-external -gdbm -gmp -hash -inifile -interbase -iodbc -ipv6 (-java-external) -json -kerberos -ldap -ldap-sasl -libedit -mcve -msql -mssql -mysqli -oci8 -oci8-instant-client -odbc -pcntl -pdo -pic -postgres -qdbm -readline -recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap -solid -spell -sqlite -suhosin -sybase -sybase-ct -threads -tidy -tokenizer -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xsl -yaz -zip -zip-external" 0 kB

-----------
root@sdr /home/sdr # emerge --info
Portage 2.1.5_rc4 (default-linux/x86/2006.1, gcc-4.2.3, glibc-2.7-r2, 2.6.24-gentoo-r3 i686)
=================================================================
System uname: 2.6.24-gentoo-r3 i686 AMD Sempron(tm) 2500+
Timestamp of tree: Wed, 16 Apr 2008 10:30:11 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.5.1-r5
sys-apps/baselayout: 1.12.12
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
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.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
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/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cli-php4/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="bg_BG"
LC_ALL="bg_BG.utf8"
LDFLAGS=""
LINGUAS="bg en bg_BG en_EN en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="X alsa apache2 berkdb cli cracklib crypt cups dbus dri encode ffmpeg foomaticdb fortran gdbm gif gpm gtk hal iconv imlib isdnlog jpeg kde kdeenablefinal mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre perl png ppds pppd qt qt3 qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl tcpd threads truetype unicode vorbis x86 xcomposite xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1         emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m       maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_default authn_file authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache 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 status unique_id vhost_alias asis auth_digest authn_dbd cern_meta charset_lite dbd dumpio ident imagemap log_forensic version" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="bg en bg_BG en_EN en_GB" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

root@sdr /home/sdr #
Comment 1 Christian Hoffmann (RETIRED) gentoo-dev 2008-04-16 15:37:05 UTC

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