Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87684 - error while compiling php
Summary: error while compiling php
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-02 09:30 UTC by max
Modified: 2005-04-03 04: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 max 2005-04-02 09:30:01 UTC
/var/tmp/portage/php-4.3.10/work/php-4.3.10/ext/readline/readline.c:199: 
warning: initialization discards qualifiers from pointer target type
/var/tmp/portage/php-4.3.10/work/php-4.3.10/ext/readline/readline.c:211: 
warning: initialization discards qualifiers from pointer target type
/var/tmp/portage/php-4.3.10/work/php-4.3.10/ext/readline/readline.c:213: 
warning: assignment discards qualifiers from pointer target type
/var/tmp/portage/php-4.3.10/work/php-4.3.10/ext/readline/readline.c: In 
function `_readline_completion_cb':
/var/tmp/portage/php-4.3.10/work/php-4.3.10/ext/readline/readline.c:396: 
warning: assignment makes pointer from integer without a cast
/var/tmp/portage/php-4.3.10/work/php-4.3.10/ext/readline/readline.c: In 
function `zif_readline_completion_function':
/var/tmp/portage/php-4.3.10/work/php-4.3.10/ext/readline/readline.c:424: 
warning: assignment from incompatible pointer type
libtool: link: cannot find the library 
`/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5/libstdc++.la'
!!! ERROR: dev-php/php-4.3.10 failed.
!!! Function php-sapi_sr_compile, Line 544, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:
1. emerge php





Gentoo Base System version 1.4.16
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1,
2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 29 2005, 11:56:31)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -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 /var/qmail/alias /var/qmail/control
/var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/mnt/cdrom"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups curl emboss encode
esd fam font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6
jpeg kde ldap libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls
oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell
ssl svga tcpd tiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Matthew Kasa (RETIRED) gentoo-dev 2005-04-02 14:03:21 UTC
This is NOT an infrastructure bug, please make sure you use the correct Product and Component when filing bugs.

Reassigning to php herd.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-04-02 14:14:00 UTC
your libs aren't correct.
go and use /sbin/fix_libtool_files.sh
Comment 3 max 2005-04-03 04:28:20 UTC
I've maked /sbin/fix_libtool_files.sh
But the result don't change.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-04-03 04:37:48 UTC
you changed your CHOST value at some point
from i386-pc-linux-gnu to i686-pc-linux-gnu
you must use /sbin/fix_libtool_files.sh to fix your libs for that.