Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 88864

Summary: mod_php-4.3.11 fails building because of gmp errors
Product: Gentoo Linux Reporter: Cosmin Nicolaescu <cosmin.nicolaescu>
Component: New packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: rockoo
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Cosmin Nicolaescu 2005-04-12 08:10:07 UTC
When I try to emerge the latest stable version of mod_php it fails from compiling due to some gmp errors:



Reproducible: Always
Steps to Reproduce:
1. emerge mod_php

Actual Results:  
/var/tmp/portage/mod_php-4.3.11/work/php-4.3.11/ext/gmp/gmp.c: In function 
`convert_to_gmp':
/var/tmp/portage/mod_php-4.3.11/work/php-4.3.11/ext/gmp/gmp.c:254: error: 
`tsrm_ls' undeclared (first use in this function)
/var/tmp/portage/mod_php-4.3.11/work/php-4.3.11/ext/gmp/gmp.c:254: error: (Each 
undeclared identifier is reported only once
/var/tmp/portage/mod_php-4.3.11/work/php-4.3.11/ext/gmp/gmp.c:254: error: for 
each function it appears in.)
make: *** [ext/gmp/gmp.lo] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: dev-php/mod_php-4.3.11 failed.
!!! Function php-sapi_src_compile, Line 544, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
The ebuild should compile cleanly with gmp support enabled 

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.
20041102-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.40GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 29 2005, 11:43:18)
]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-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/share/config /usr/lib/X11/xkb /
usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ 
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/
share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks prelink sandbox sfperms"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://130.207.108.134/pub/
gentoo ftp://gentoo.mirrors.tds.net/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d aac aalib acl acpi aim alsa apache2 arts audiofile avi bash-
completion bcmath bitmap-fonts bmp bzlib calendar caps cdparanoia cdr crypt 
cscope cups curl curlwrappers dba dga directfb divx4linux dv dvd dvdr dvdread 
emacs encode ethereal evo exif expat fam fastcgi fbcon ffmpeg flac gd gdbm ggi 
gif ginac gmp gphoto2 gpm gstreamer gtk gtk2 hal icq imagemagick imap imlib ipv6 
jabber jack java javascript jikes jpeg junit kde kdeenablefinal kdexdeltas 
kerberos krb4 ladcca lcms ldap leim libcaca libg++ libgda libwww lm_sensors 
mailwrapper mbox mcal memlimit mikmod mime mmap mng mono motif mozilla mp3 mpeg 
mpi mysql mysqli nas ncurses netboot nis nls nocd nptl oci8 offensive ogg 
oggvorbis openal opengl oracle oracle7 oscar oss pam pcntl pcre pda pdflib perl 
phg php plotutils png posix postgres ppds prelude profile python qt quicktime 
readline ruby samba sasl scanner sdl session sharedext sharedmem simplexml slang 
slp sockets socks5 source speex spell spl sse ssl svga symlink sysfs sysvipc 
szip tcltk tcpd tetex threads tidy tiff tokenizer truetype truetype-fonts type1-
fonts usb vcd vhosts videos vorbis wmf wxwindows xface xine xinerama xml xml2 
xmlrpc xmms xosd xprint xv xvid yahoo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, 
PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-04-12 08:42:19 UTC
Dupe of Bug 88795 
Comment 2 Daniel Webert 2005-04-12 09:11:57 UTC

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