Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 311463 - =dev-lang/php-5.2.13 doesn't emerge fine : standard/type.o: file format not recognized; treating as linker script
Summary: =dev-lang/php-5.2.13 doesn't emerge fine : standard/type.o: file format not r...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-26 15:43 UTC by Marcello Magaldi
Modified: 2010-03-27 12:25 UTC (History)
0 users

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


Attachments
build.log (build.log,521.97 KB, text/plain)
2010-03-26 15:45 UTC, Marcello Magaldi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcello Magaldi 2010-03-26 15:43:46 UTC
While i'm trying to update php to 5.2.13 I get the error in subject (full build.log will follow in attachment) , I'm using these use flags : 

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


Reproducible: Always

Steps to Reproduce:
1.emerge php
2.
3.

Actual Results:  
it doesn't build even with MAKEOPTS="-j1" and FEATURES="-ccache -distcc"

Expected Results:  
php should build fine

emerge --info
Portage 2.1.7.17 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r10 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r10-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-gentoo-1.12.13
Timestamp of tree: Fri, 26 Mar 2010 08:45:01 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r2, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA skype-eula dlj-1.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium4 -pipe -msse2 -msse3 -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-Os -march=pentium4 -pipe -msse2 -msse3 -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distcc distlocks fixpackages keepwork metadata-transfer news parallel-fetch parallell-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch usersandbox"
GENTOO_MIRRORS="http://gentoo.supp.name/ http://de-mirror.org/distro/gentoo/ http://gentoo.mirror.pw.edu.pl/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="it en en_US en_GB"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500"
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 /usr/portage/local/layman/sunrise /usr/portage/local/layman/synce /usr/portage/local/layman/yarik-overlay /usr/portage/local/layman/dottout"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib acl acpi aim alsa amr amrnb amrwb apache2 applet asp aspnet audiofile autoipd avahi avi bash-completion berkdb bitmap-fonts bluetooth bonjour bonobo boo branding bzip2 c++ cairo caps cdaudio cdda cdparanoia cdr cli consolekit cracklib crypt css cups curl cxx dba dbus devhelp directfb divx4linux dri dts dvd dvdnav dvdr dvdread eds emboss encode evo examples exif expat fam fbcon ffmpeg firefox flac foomaticdb fortran ftp fuse galago gcj gdbm gif gimp git glade glitz gnome gnome-keyring gnustep gnutls gpm gstreamer gtk gtk2 guile hal howl icons iconv icq id3tag imagemagick imap imlib ipv6 irda jabber jack java java6 javascript jpeg junit kde kpathsea latex ldap libg++ libnotify libwww lisa live lzo mad matroska md5sum mikmod mime mjpeg mmx mmx2 mng modules mono motif mp2 mp3 mp4 mpeg msn mudflap musepack mysql nas nautilus ncurses networkmanager nls normalize nptl nptlonly nsplugin obex objc odbc offensive ogg oggvorbis ogm opengl openmp oscar oss pam pcmcia pcre pda pdf pdflib perl php png pnm pnp portaudio posix ppds pppd pulseaudio python qt qt3 qt3support qt4 quicktime rar readline reflection samba sasl scanner sdl semantic-desktop sensord session shorten slang sndfile sockets sourceview speex spell spl sqlite sqlite3 srt sse sse2 ssl ssse3 startup-notification subversion svg svga sysfs tcltk tcpd tetex theora threads thunar thunderbird tidy tiff tk totem truetype truetype-fonts type1-fonts unicode upnp usb utf v4l v4l2 valgrind vcd videos vorbis webkit wifi win32codecs wps wxgtk1 wxwidgets wxwindows x264 x86 xanim xcomposite xine xml xml2 xorg xpm xulrunner xv xvid yahoo zeroconf 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon ptp2" ELIBC="glibc" INITNG_PLUGINS="service_file also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en en_US en_GB" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon fbdev vga vesa" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Marcello Magaldi 2010-03-26 15:45:20 UTC
Created attachment 225337 [details]
build.log

full dev-lang/php-5.2.13 build.log
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-03-26 16:01:31 UTC
(In reply to comment #0)
> distcc 3.1 i686-pc-linux-gnu [enabled]
> ccache version 2.4 [enabled]

".o: file format not recognized" is often ccache failure, please try with FEATURES="-ccache"
Comment 3 Marcello Magaldi 2010-03-26 16:06:13 UTC
(In reply to comment #2)
> (In reply to comment #0)
> > distcc 3.1 i686-pc-linux-gnu [enabled]
> > ccache version 2.4 [enabled]
> 
> ".o: file format not recognized" is often ccache failure, please try with
> FEATURES="-ccache"
> 

I already tried several times with FEATURES="-ccache -distcc" MAKEOPTS="-j1" but I got the same error, the only thing I didn't tried yet is to erase dev-lang/php directory under /var/tmp/portage after each failure but I didn't think that this is necessary. 

Anyway I'll try again and I'll let you know.
Comment 4 Marcello Magaldi 2010-03-26 17:15:07 UTC
This time I first removed /var/tmp/dev-lang/php then I tried with FEATURES="-ccache" and it worked, I don't know if removing temporary files helped, anyway also if I'm sure I already tried 3-4 times with FEATURES="-ccache -distcc" MAKEOPTS="-j1" I'm sorry about opening this bug.
For what I know this bug should be marked as RESOLVED INVALID , am I right ? 
Comment 5 Rafał Mużyło 2010-03-26 21:03:10 UTC
@comment 4: perhaps distcc has added another layer of complication.
Technically, in most cases ccache bugs are actually triggered by
parallel make bugs, however with php build system, it's unlikely
to get fixed.
Comment 6 Marcello Magaldi 2010-03-27 07:55:29 UTC
(In reply to comment #5)
> @comment 4: perhaps distcc has added another layer of complication.
> Technically, in most cases ccache bugs are actually triggered by
> parallel make bugs, however with php build system, it's unlikely
> to get fixed.
> 

Anyway the successful try was :
#rm -fR /var/tmp/portage/dev-lang
#FEATURES="-ccache" emerge -1v php

So as you can see, distcc was enabled and also parallel make (in my /etc/make.conf I have MAKEOPTS="-j7").