Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 255378 - dev-libs/xmlrpc-c-1.16.06-r1 build fails with libxmlrpc.so: file not recognized: File truncated message
Summary: dev-libs/xmlrpc-c-1.16.06-r1 build fails with libxmlrpc.so: file not recogniz...
Status: RESOLVED DUPLICATE of bug 255440
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Peter Alfredsen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-18 13:33 UTC by tangram
Modified: 2009-02-21 19:27 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 tangram 2009-01-18 13:33:11 UTC
i686-pc-linux-gnu-g++ -Wl,-O1 -shared -Wl,-soname,libxmlrpc_cpp.so.4  XmlRpcCpp.osh  -Lblddir/src -lxmlrpc -lxmlrpc_server -L/var/tmp/portage/dev-libs/xmlrpc-c-1.16.06-r1/work/xmlrpc-c-1.16.06/lib/libutil -lxmlrpc_util -o libxmlrpc_cpp.so.4.16
blddir/src/libxmlrpc.so: file not recognized: File truncated
collect2: ld returned 1 exit status
make[2]: *** [libxmlrpc_cpp.so.4.16] Błąd 1
make[2]: Opuszczenie katalogu `/var/tmp/portage/dev-libs/xmlrpc-c-1.16.06-r1/work/xmlrpc-c-1.16.06/src/cpp'
make[1]: *** [cpp/all] Błąd 2
make[1]: *** Oczekiwanie na niezakończone zadania....
make[1]: Opuszczenie katalogu `/var/tmp/portage/dev-libs/xmlrpc-c-1.16.06-r1/work/xmlrpc-c-1.16.06/src'
make: *** [src/all] Błąd 2
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m ERROR: dev-libs/xmlrpc-c-1.16.06-r1 failed.


Reproducible: Always

Steps to Reproduce:
1. emerge -v xmlrpc-c
2.
3.




Portage 2.1.6.6 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.27-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r7-i686-Mobile_Pentium_II-with-glibc2.0
Timestamp of tree: Sat, 17 Jan 2009 14:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.1-r1
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirror.pw.edu.pl http://gentoo.prz.rzeszow.pl http://gentoo.zie.pg.gda.pl http://gentoo.po.opole.pl ftp://gentoo.po.opole.pl ftp://mirror.icis.pcz.pl/gentoo/ http://src.gentoo.pl"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="pl en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl alsa apm bash-completion berkdb bzip2 cli cracklib crypt dbus dri firefox flac fortran gdbm gif gpm gtk hal iconv ipv6 isdnlog jpeg midi mp3 mpeg mudflap ncurses nls nptl nptlonly openmp oss pam pcmcia pcre perl png pppd python qt4 readline reflection session spl ssl symlink sysfs tcpd tiff unicode vim-syntax x86 xorg zlib" ALSA_CARDS="cs4236" 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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" USERLAND="GNU" VIDEO_CARDS="neomagic"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2009-01-18 13:50:13 UTC
Is this reproducible? (I.e. it fails if you try again?)
Does this help?:
MAKEOPTS="-j1" emerge -v xmlrpc-c
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2009-01-18 22:16:49 UTC
Please also post the complete build.log
Comment 3 tangram 2009-01-19 10:28:10 UTC
I could't wait till evening( see my email sent to loki_val@gentoo.org) and I started reemerge xmlrpc-c
with temporarily ( on shell level) changed option MAKEOPTS="-j1".
Yes, this helped, xmlrpc-c builds without any errors.
Thanks, could you explain me short the background, why cpu's count set to 1 helped.
Comment 4 Peter Alfredsen (RETIRED) gentoo-dev 2009-01-19 10:44:15 UTC
(In reply to comment #3)
> I could't wait till evening( see my email sent to loki_val@gentoo.org) and I
> started reemerge xmlrpc-c
> with temporarily ( on shell level) changed option MAKEOPTS="-j1".
> Yes, this helped, xmlrpc-c builds without any errors.
> Thanks, could you explain me short the background, why cpu's count set to 1
> helped.
> 
With MAKEOPTS="-j2", two processes are running around, trying not to step over each other's toes. That usually works, but if we're unlucky it doesn't. I can't say specifically why it didn't work in this case if I don't have a full build.log from a time when it failed.
Comment 5 Peter Alfredsen (RETIRED) gentoo-dev 2009-01-21 01:37:53 UTC

*** This bug has been marked as a duplicate of bug 255440 ***
Comment 6 Gregg Casillo 2009-02-21 19:27:17 UTC
I ran into this bug as well. I use distcc so I have MAKEOPTS="-j12". Setting it to "-j1" allowed it to compile successfully. Not sure I understand why this bug is happening, but I'd be curious to know what the fix is.