Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262373 - app-arch/cpio-2.9-r2 compile error when emerging with distcc enabled
Summary: app-arch/cpio-2.9-r2 compile error when emerging with distcc enabled
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-13 19:52 UTC by roknir
Modified: 2009-05-03 10:30 UTC (History)
2 users (show)

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


Attachments
Log of the errors that occurred with distcc enabled (actual.txt,55.34 KB, text/plain)
2009-03-16 14:31 UTC, roknir
Details
Log of cpio emerging properly with distcc disabled (expected.txt,70.41 KB, text/plain)
2009-03-16 14:33 UTC, roknir
Details

Note You need to log in before you can comment on or make changes to this bug.
Description roknir 2009-03-13 19:52:10 UTC
app-arch/cpio-2.9-r2 gets a compile error when emerging with distcc enabled.  If I disabled distcc, app-arch/cpio-2.9-r2 compiled and eventually installed on the first run-through.

Versions:
sys-devel/distcc-3.0-r4
sys-devel/gcc-4.3.2
app-arch/cpio-2.9-r1

Reproducible: Always

Steps to Reproduce:
1. Have distcc enabled
2. Run emerge -auvD world
3. Wait for compile error

Actual Results:  
http://gentoo.pastebin.com/f1608f110

Expected Results:  
http://gentoo.pastebin.com/f6339cd57

# emerge --info
Portage 2.2_rc25 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-glibc2.0
Timestamp of tree: Fri, 13 Mar 2009 17:45:01 +0000
distcc 3.0 i686-pc-linux-gnu [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.63
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildsyspkg ccache distcc distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo http://mirrors.cs.wmich.edu/gentoo http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acl alsa berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog kde kdeprefix midi mmx mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python qt3 qt4 readline reflection session spl sse sse2 ssl sysfs tcpd unicode x86 xorg 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 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" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2009-03-14 10:19:41 UTC
post all logs as attachments.  external links are not acceptable (especially to "paste" sites).
Comment 2 roknir 2009-03-16 14:31:42 UTC
Created attachment 185191 [details]
Log of the errors that occurred with distcc enabled

Taken from the pastebin link and stripped line numbers, fixed spacing, etc.
Comment 3 roknir 2009-03-16 14:33:28 UTC
Created attachment 185193 [details]
Log of cpio emerging properly with distcc disabled

Taken from the pastebin link and stripped comments, fixed spacing, etc.
Comment 4 roknir 2009-03-16 14:35:08 UTC
I meant stripped line numbers on the second attachment as well, not comments.
Comment 5 Johannes Reinhard 2009-05-03 10:30:18 UTC
Same bug here when using distcc and

CFLAGS="-O2 -march=prescott -pipe"
CXXFLAGS="${CFLAGS}"

With distcc disabled, everything compiles just fine.

However, it also works with distcc enabled and CFLAGS="-O2 -march=pentium4 -pipe", which is the CFLAGS-combination used by the second compile host.