During install of libxcb-1.1 on one machine, the following occurs, repeatably: --- /bin/sh /var/tmp/portage/x11-libs/libxcb-1.1/work/libxcb-1.1/install-sh -d '/var/tmp/portage/x11-libs/libxcb-1.1/image//usr/share/doc/libxcb' cp -pR ./tutorial '/var/tmp/portage/x11-libs/libxcb-1.1/image//usr/share/doc/libxcb/' /bin/sh: line 1: 10181 Segmentation fault cp -pR $d '/var/tmp/portage/x11-libs/libxcb-1.1/image//usr/share/doc/libxcb/' make[2]: *** [install-data-local] Error 139 make[2]: Leaving directory `/var/tmp/portage/x11-libs/libxcb-1.1/work/libxcb-1.1/doc' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/var/tmp/portage/x11-libs/libxcb-1.1/work/libxcb-1.1/doc' make: *** [install-recursive] Error 1 * * ERROR: x11-libs/libxcb-1.1 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 2954: Called x-modular_src_install * environment, line 3733: Called die * The specific snippet of code: * make DESTDIR="${D}" install || die; * The die message: * (no error message) * * If you need support, post the topmost build error, and the call stack if rele vant. * The ebuild environment file is located at '/var/tmp/portage/x11-libs/libxcb-1.1/temp/environment'. * >>> Failed to emerge x11-libs/libxcb-1.1 No core dump is found. Seeing that it was reported as a segfault, I rebuilt the whole toolchain and coreutils -- this makes no difference, and the same error is reported at the same place.
emerge --info: Portage 2.1.6.4 (selinux/2007.0/x86, gcc-3.4.6, glibc-2.6.1-r0, 2.6.27-gentoo-r8 i686) ================================================================= System uname: Linux-2.6.27-gentoo-r8-i686-Intel-R-_Pentium-R-_4_CPU_3.06GHz-with -glibc2.0 Timestamp of tree: Sat, 24 Jan 2009 19:00:01 +0000 distcc 3.0 i686-pc-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-lang/python: 2.5.2-r7 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.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 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="-O2 -pipe -march=pentium4 -momit-leaf-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=pentium4 -momit-leaf-frame-pointer" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y" FEATURES="ccache distlocks fixpackages loadpolicy parallel-fetch protect-owned s andbox selinux sesandbox sfperms strict unmerge-orphans userfetch userpriv users andbox" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.mirrors.tds.net/ gentoo ftp://mirror.datapipe.net/gentoo" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en_GB en_US en" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_COMPRESS="gzip" PORTAGE_COMPRESS_FLAGS="-9" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclu de=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi apache2 berkdb caps cli cracklib crypt cups dri exif fam flac fo rtran gdbm gif gmp gtk icc iconv idn ipv6 isdnlog jpeg libnotify logrotate lzo m ad mbox midi mmap mmx motif mudflap ncurses nfs nis nls nptl nptlonly offensive openmp pam pch pcre perl pic png posix pppd python readline reflection sdl selin ux session spell spl sse sse2 ssl tcpd threads tiff truetype unicode vhosts x86 xattr xcb xml xorg xulrunner zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix d share dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter m map_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="ac tions 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 autoi ndex cache deflate dir disk_cache env expires ext_filter file_cache filter heade rs include info log_config logio mem_cache mime mime_magic negotiation rewrite s etenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="wo rker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="en_GB en_US en" USERLAND="GNU" VIDEO_CARDS="radeon vesa" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXT RA_OPTS, PORTDIR_OVERLAY
Looks like a hardened problem...
(In reply to comment #2) > Looks like a hardened problem... > It's possible, although this system doesn't run hardened gentoo, and the same thing happens when running selinux in permissive mode.
Hardened team, any input on whether this could be related to SELinux? I can't reproduce it on my standard ~amd64 system, and that's all I've got to test.
(In reply to comment #4) > Hardened team, any input on whether this could be related to SELinux? s/hardened/selinux/
this is an old bug, but x11-libs/libxcb-1.1.90.1 worked ok for me.
Closing fixed as per comment #6