Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111129 - emerge dev/lang php fails
Summary: emerge dev/lang php fails
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-01 05:22 UTC by baso
Modified: 2005-11-01 07:58 UTC (History)
0 users

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


Attachments
This is my config.log (config.log,1.17 MB, text/plain)
2005-11-01 07:39 UTC, baso
Details

Note You need to log in before you can comment on or make changes to this bug.
Description baso 2005-11-01 05:22:54 UTC
checking for char... yes
checking size of char... configure: error: cannot compute sizeof (char), 77
See `config.log' for more details.


emerge info
Portage 2.0.53_rc7 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-gentoo i686)
=================================================================
System uname: 2.6.14-gentoo i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.12.0_pre9
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -mfpmath=sse -msse -funroll-loops
-fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -mfpmath=sse -msse -funroll-loops
-fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources//
ftp://ftp.unina.it/pub/linux/distributions/gentoo/
http://mirror.switch.ch/mirror/gentoo// ftp://mirror.switch.ch/mirror/gentoo//
ftp://ftp.solnet.ch/mirror/Gentoo/ http://gentoo.mirror.solnet.ch/"
LANG="it_IT"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s,--as-needed"
LINGUAS="it"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.it.gentoo.org/gentoo-portage"
USE="x86 16bit 3dnowext 3ds 4kstacks GAPING_SECURITY_HOLE S3TC X X509 Xaw3d a52
aac abook accounting acl acpi activefilter ada adabas aim aliaschain alsa
altcolors amd amr ansi ao aotuv apache2 apm arts artswrappersuid artworkextra
async athena atlas atm auctex audiofile authdaemond avalon avantgo avi bahamut
bcmath bdf beep beepmp berkdb bgpclassless bidi bigger-fonts bind-mysql bindist
birdstep bitmap-fonts blas blender-game bluetooth bmp bonobo brltty buffysize
bundled-libs bzip2 bzlib c++ c3p0 cairo cap caps ccache cdb cdda cddb cdf
cdinstall cdio cdparanoia cdr cdrom cgi chasen chipcard chroot clamav
clanJavaScript clanVoice clearcase clearpasswd client clisp cln cluster cmucl
codecs commercial cpdflib cracklib crypt cscope css csv ctype cups curl
curlwrappers customlog custreloc dar32 db2 dba dbase dbcp dbi dbm dbmaker dbx
dedicated devmap dga dhcp dict diet dillo dio disk-cache distcache distribution
divx4linux djbfft dlloader dlopen dlz dmx dnd dnsdb dpms drac droproot dts dv
dvb dvd dvdr dvdread dxr3 ecc editor edl eds elf emacs emacs-w3 emboss emoticon
empress empress-bcs encode enscript erandom escreen esd esoob estraier esx
ethereal etwin evms2 evo evo2 examples exif exim exiscan exiscan-acl expat
ext-png ext-zlib extensions extraicons extramodules extras f2c fam fame fastcgi
fax fb fbcon fbdev fdftk ffmpeg fftw figlet filepro finger firebird firefox fits
flac flash flatfile flexresp flood floppyboot fluidsynth fmod font-server
foomaticdb fortran fping fpx frascend freetds freetype freewnn frlargefiles frxp
ftp ftruncate fusion fwdzone gb gcc-libffi gcj gcl gd gdbm geoip gg ggi gif gimp
gimpprint ginac gkrellm glade glgd glitz glut gmail gmp gmtfull gmthigh gmtsuppl
gmttria gnokii gnome gnomedb gnuplot gnustep gnutls gpgme gphoto2 gpm gprof
graphviz gs gsl gsm gsnd gstreamer gtk gtk2 guile h323 hal haskell hbci hdf hdf5
high-ints howl html http httpd hub i8x0 icc icc-pgo icecast icon iconv icp icq
icu ide idea idl idled ieee1394 ifc iksemel image imagemagick imap imlib imlib2
immqt immqt-bc inetd ingres inifile inkjar inline innkeywords innodb
insecure-drivers interbase intl iodbc ipalias ipcs ipv6 irc irda irmc itcl
ithreads j2ee jabber jai java javamail javascript jbig jboss jce jcs jikes jimi
joystick jp2 jpeg jpeg2k jta junit justify jython kakasi kde kdeenablefinal
kdepim kdexdeltas kerberos kipi kjs koffice-plugin krb4 ladcca ladspa lapack
large-domain latex lcd lcms ldap ldb ldirectord leim lesstif libcaca libclamav
libdsk libedit libg++ libgd libgda libsamplerate libvisual libwww lids lingerd
linuxkeys lirc live lj lm_sensors lmtp logitech-mouse logrotate ltsp lua lucid
lynxkeymap lzo lzw lzw-tiff m17n-lib mad mail mailbox maildir maildrop
mailwrapper math matroska mbox mbrola mcal mcve md5sum mdb mecab mem-cache
messages mew mhash migemo mikmod milter mime mimencode ming mixer mjpeg mls mmap
mng mnogosearch modelock moneyplex monkey mono motif mozaccess mozcalendar
mozctl mozdevelop mozilla moznoxft mozp3p mozplaintext mozsvg mozxmlterm mp3
mpeg mpeg4 mpi mplayer mpm-leader mpm-metux mpm-peruser mpm-prefork
mpm-threadpool mpm-worker mppe-mppc msdav msession msn msql mssql mule multi-tty
multicall multipleip multiprocess multislot multitarget mupad-noscilab mysql
mysqli mythtv mzscheme nagios-dns nagios-ntp nagios-ping nagios-ssh nas native
ncurses neXt net netbeans netboot netcdf network neural new-login nfs nhc98 nis
nls nntp normalizemime nptl ntlm numeric nvidia nviz oav objc ocaml octave odbc
ode offensive ofx ogdi ogg oggvorbis openal openexr opengl openntpd openssh opie
ortp oscache oscar ospfapi oss pam pam-mysql pam_chroot pam_console
pam_timestamp parse-clocks pascal passfile password pcap pcmcia pcre pcsc-lite
pda pdf pdfkit pdflib pear-db perforce perl perlsuid pg-vacuumdelay pheaders php
physfs pic pie playlist plotutils plugin png pnp portaudio posix postgres povray
ppds prelude pri print priority private procmail profile proxool pvm pwdb
pxeserial python qdbm qemu-fast qhull qmail qt quicktime quotas quotes radius
rar rdesktop readline real remix remote resperl rhino rhythmbox rogue rpc rplay
rpm rrdtool rss rtc ruby samba sapdb savedconfig sbcl sblive scanner screenshot
sdk sdl sendfile serial server servlet-2.3 servlet-2.4 sftplogging sguil shaper
sharedext sharedmem sheep shorten silc simplexml skey slang slp smartcard smime
sms smtp sndfile snmp snortsam soap sockets socks5 softfax softmmu softquota
solid soundtouch source sox spamassassin speech speedo speex spell spl sql
sqlite sqlite3 srp ssh ssh2 ssl startup-notification static-modules stats
stencil-buffer stream streamzap stroke struts subject-rewrite subp subversion
suid svg svga svgz swarmcache sybase sybase-ct symlink sysfs syslog sysvipc szip
t1lib tabs tcc tcltk tcpd tcpmd5 tetex tga theora threads thumbnail tidy tiff
timidity tlen tokenizer toolbar tools tos transcode transparent-proxy truetype
truetype-fonts trusted ttcp type1 type1-fonts ucs2 ucs4 udev uim uml underscores
unicode uptimed urandom usagi usb usepackagedmakefiles userlocales utf8 uudeview
v4l v4l2 vcd vcdimager vchroot vda vdesktop vhosts videos vidix vim vim-pager
vim-with-x virtual virtual-users virus-scan visualization vlm vnc vorbis
vpopmail vserver wavelan wddx wifi wildlsearch win32codecs winbind
withsamplescripts wma123 wmf wsconvert wxwindows x11vnc xanim xatrix xattr xbase
xchatdccserver xemacs xface xforms xfs xgetdefault xim xine xinerama xinetd xml
xml2 xmlrpc xmms xosd xpm xprint xrandr xscreensaver xsl xslt xv xvid xvmc yahoo
yaz yp yv12 zaptel zeo zeroconf zlib zvbi video_cards_nvidia linguas_it
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL


I set this in my /etc/portage/package.use
=dev-lang/php-5.0.5-r1  -gdbm -libedit -mysql -imap -nis -threads zlib ssl

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-11-01 05:31:41 UTC
(In reply to comment #0)
> checking for char... yes
> checking size of char... configure: error: cannot compute sizeof (char), 77
> See `config.log' for more details.

Attach config.log here and reopen then, please.
Comment 2 baso 2005-11-01 07:39:44 UTC
Created attachment 71872 [details]
This is my config.log
Comment 3 baso 2005-11-01 07:40:56 UTC
Posted mu config.log
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-11-01 07:58:44 UTC
1/ Your LDFLAGS are invalid, and also unsupported. Remove them before reporting
any bugs.

>gcc: unrecognized option `-s,--as-needed'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lsocket

2/ Looks like you have some serious mess with threads:

/var/tmp/portage/php-5.0.5-r1/temp/ccl56obf.o: In function `main':
conftest.c:(.text+0x1c): undefined reference to `pthread_join'
conftest.c:(.text+0x40): undefined reference to `_pthread_cleanup_push'
conftest.c:(.text+0x64): undefined reference to `pthread_create'
conftest.c:(.text+0x74): undefined reference to `_pthread_cleanup_pop'

You cannot simply compile one thing with USE=-threads and leave the rest of your
system compiled with USE=threads or the other way round.

3/ Fix your use flags, read 'euse -i someflag' before sticking them into
make.conf; I've already noted on another bug that you can't have multiple MPMs
for Apache, also I don't think you really know what you are doing when putting
pic, pie in there. GAPING_SECURITY_HOLE is plain stupid use flag, etc. etc.

Before reopening this bug, remove your LDFLAGS, decide whether you want to have
systems with USE=threads or not, then run 'emerge --newuse -uD world', then run
revdep-rebuild, then try to re-emerge dev-lang/php.