Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147920 - dev-lang/php-5.1.6-r4 emerge fails - "cannot compute size of (short), 77"
Summary: dev-lang/php-5.1.6-r4 emerge fails - "cannot compute size of (short), 77"
Status: RESOLVED INVALID
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: 2006-09-17 05:44 UTC by Christoph Christ
Modified: 2006-09-17 06:54 UTC (History)
1 user (show)

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


Attachments
configure output (config.log,256.07 KB, text/plain)
2006-09-17 06:10 UTC, Christoph Christ
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Christ 2006-09-17 05:44:32 UTC
This is the configure error (if configure is called without parameters this doesn't happen)

------------------- cut here --------------------
.......
checking size of short... configure: error: cannot compute sizeof (short), 77
See `config.log' for more details.

!!! ERROR: dev-lang/php-5.1.6-r4 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  php-5.1.6-r4.ebuild, line 173:   Called src_compile_normal
  php-5.1.6-r4.ebuild, line 323:   Called php5_1-sapi_src_compile
  php5_1-sapi.eclass, line 575:   Called die

!!! configure failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
--------------------- cut here ------------------------


server php-5.1.6 # emerge --info php
Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.14.2 i686)
=================================================================
                        System Settings
=================================================================
System uname: 2.6.14.2 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.6.13
Last Sync: Fri, 15 Sep 2006 09:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -mcpu=i686"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source"
LINGUAS=""
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 alsa apache2 arts berkdb bitmap-fonts cairo cdr cli crypt cups dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode esd fam firefox fortran gdbm gif gpm gstreamer hal input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kernel_linux ldap libg++ mad mikmod mp3 mpeg mysql ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo vorbis win32codecs xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-17 05:47:29 UTC
> See `config.log' for more details.

Reopen once you've attached config.log here.
Comment 2 Christoph Christ 2006-09-17 06:10:19 UTC
Created attachment 97243 [details]
configure output

This is the ouput file of configure - resulting out of the mentioned error
Comment 3 Christoph Christ 2006-09-17 06:11:30 UTC
Added the requested additional info config.log
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-09-17 06:54:46 UTC
<snip>
usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: libstdc++.so.5, needed by /usr/lib/libjpeg.so, not found (try using -rpath or -rpath-link)
./conftest: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
</snip>

You apparently didn't follow the GCC upgrading guide: http://www.gentoo.org/proj/en/qa/backtraces.xml

On a side note, don't use mcpu, it's deprecated.