Created attachment 330574 [details] x11-libs/gtk+-3.4.4 failed build in atom i686 chroot x11-libs/gtk+-3.4.4 failed with Illegal instruction in atom i686 chroot. Here it's info: Portage 2.1.11.31 (default/linux/x86/10.0/desktop, gcc-4.5.4, glibc-2.15-r3, 3.4.9-gentoo i686) ================================================================= System uname: Linux-3.4.9-gentoo-i686-Pentium-R-_Dual-Core_CPU_E6500_@_2.93GHz-with-gentoo-2.1 Timestamp of tree: Sat, 24 Nov 2012 14:45:01 +0000 ld GNU ld (GNU Binutils) 2.22 app-shells/bash: 4.2_p37 dev-lang/python: 2.7.3-r2, 3.2.3 dev-util/cmake: 2.8.9 dev-util/pkgconfig: 0.27.1 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.9.9 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.11.6 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.5.4 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.6 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo drhouse-overlay lcd-filtering ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=atom -O2 -fomit-frame-pointer -pipe -mfpmath=sse" 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/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo" CXXFLAGS="-march=atom -O2 -fomit-frame-pointer -pipe -mfpmath=sse" DISTDIR="/dists1" EMERGE_DEFAULT_OPTS="--jobs=3" FCFLAGS="-O2 -march=i686 -pipe" FEATURES="binpkg-logs config-protect-if-modified distlocks fixlafiles merge-sync metadata-transfer news parallel-fetch parallel-install protect-owned sandbox sfperms strict unknown-features-warn unmerge-orphans userfetch userpriv usersandbox" FFLAGS="-O2 -march=i686 -pipe" GENTOO_MIRRORS="http://mirror-kt.neolabs.kz/gentoo/pub/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="ru en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlay /usr/local/lcd-filtering-lcd-filtering" SYNC="rsync://mirror-kt.neolabs.kz/gentoo-portage" USE="X a52 aac acl acpi adobe-flash alsa apache bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdnav dvdr emboss encode exif faac fam fbcondecor ffmpeg firefox flac fortran gdbm gif gnutls gpm gstreamer gtk iconv ipv6 jpeg laptop lcdfilter lcms libnotify mad mmx mng modules mp3 mp4 mpeg mpeg2 mpeg4pt2 mudflap mysql ncurses nls nptl ogg opengl openmp pam pango pcre pdf php png policykit ppds pppd pulseaudio readline samba sdl semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis windbind wxwidgets x264 x86 xcb xml xv xvid zlib" ALSA_CARDS="hda-intel" 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="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel vesa fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON I tried build it with CFLAGS="-O2 -march=i686 -pipe" but no luck. Host-machine is O2 -march=core2 x86-64 Here it's info: Portage 2.1.11.31 (default/linux/amd64/10.0/desktop, gcc-4.7.2, glibc-2.15-r3, 3.4.9-gentoo x86_64) ================================================================= System uname: Linux-3.4.9-gentoo-x86_64-Pentium-R-_Dual-Core_CPU_E6500_@_2.93GHz-with-gentoo-2.1 Timestamp of tree: Sun, 25 Nov 2012 16:15:01 +0000 ld GNU ld (GNU Binutils) 2.22 ccache version 3.1.8 [disabled] app-shells/bash: 4.2_p37 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.3-r2, 3.2.3 dev-util/ccache: 3.1.8 dev-util/cmake: 2.8.9 dev-util/pkgconfig: 0.27.1 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.11.5 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.11.6 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.5.4, 4.7.2 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.6 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo lcd-filtering drhouse-overlay-forked-ebuilds ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=core2 -mtune=generic -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/conf.d/consolefont /etc/conf.d/hwclock /etc/conf.d/keymaps /etc/conf.d/modules /etc/conf.d/xdm /etc/modprobe.d/alsa.conf /etc/pulse/daemon.conf /etc/pulse/default.conf /etc/rc.conf /usr/share/config /usr/share/config/kdm/kdmrc /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0" 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" CXXFLAGS="-O2 -march=core2 -mtune=generic -pipe" DISTDIR="/media/ST4/LINUX/gentoo/dists1" EMERGE_DEFAULT_OPTS="--jobs=2" FCFLAGS="-O2 -pipe" FEATURES="binpkg-logs distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch parallel-install protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs userfetch xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirror.neolabs.kz/gentoo/pub/" LANG="ru_RU.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="ru en ru_RU" MAKEOPTS="-j2" PKGDIR="/media/ST4/LINUX/gentoo/pkg" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/lcd-filtering /usr/local/drhouse123" SYNC="rsync://mirror.neolabs.kz/gentoo-portage" USE="X \ a52 aac acl acpi alsa amd64 apm baazar bash-completion berkdb bittorrent bluetooth branding btrfs bzip2 cairo cdda chm cli consolekit cpudetection cracklib crypt cups curl cxx dbus declarative device-mapper djvu dmraid dri drm dts dvb dvd dvdnav dvdr e2fsprogs ebook embedded emboss encode exif faac fam fat ffmpeg firefox flac fontconfig foomatic fortran fuse g3dvl gallium gdbm gif git gnutls google-gadgets gphoto2 gpm gtk hddtemp hfs highlight hplip iconv ipv6 jfs jingle jpeg jpeg2k kde kipi lame lcms ldap libmpeg2 libnotify libv4l lm_sensors lzo mad matroska melt mercurial minizip mmx mmxext mng modules mp3 mp4 mpeg mpeg2 mpeg4pt2 mudflap multilib musepack mysql natspec ncurses networkmanager nls nptl ntfs ntfs3g nvidia offlinehelp ogg openal opengl openmp optimisememory otr p7zip pam pango pcre pdf phonon plasma pmu png policykit ppds pppd private-headers pulseaudio python qt3support qt4 readline reiser4 reiserfs samba scsi sdl semantic-desktop session skype smp snmp spell sql sqlite sse sse2 ssl ssse3 startup-notification svg symlink t1lib tcpd theora tiff truetype udev udisks unicode upower usb v4l v4l2 vaapi vdpau video virtualbox vlc vorbis webkit wxwidgets x264 xattr xcb xfs xinerama xml xscreensaver xv xvid zip zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="cameras_fuji fuji ptp2 cameras_digita" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="virtualbox evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru en ru_RU" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Please explain me why it happen, and where i did mistake...
I mount 32-bit chroot by this: #! /bin/bash target="/media/ST4/LINUX/gentoo/gentoo_x86" mount -t proc none $target/proc ; mount -o bind /dev $target/dev ; linux32 chroot $target /bin/bash Everything built fine except that package.
I guessing you have x11-libs/gtk+:2 built with a -march which is not valid on your build system. That provides the /usr/bin/gtk-update-icon-cache binary. You need to build *everything* in your chroot with CFLAGS that will function on the build system. Otherwise, you will run into random failures like this one.
(In reply to comment #3) > I guessing you have x11-libs/gtk+:2 built with a -march which is not valid > on your build system. That provides the /usr/bin/gtk-update-icon-cache > binary. > > You need to build *everything* in your chroot with CFLAGS that will function > on the build system. Otherwise, you will run into random failures like this > one. x11-libs/gtk+-2.24.10-r1 failed with same error.
So, how I can make prebuilt packages for my atom ? Here is need to use distcc ?
Package build fine in another i686 chroot but with same CFLAGS, I think atom system just was broke. So, bug should be RESOLVED INVALID.
I investigated that issue with gtk+-2.24.12 too by strace : cd /var/tmp/portage/x11-libs/gtk+-2.24.12/work/gtk+-2.24.12/gtk ./gtk-update-icon-cache --force --ignore-theme-index --source builtin_icons stock-icons > gtkbuiltincache.h.tmp http://bpaste.net/show/60559/ There are needed rebuilt virtual/libc-0 x11-libs/gdk-pixbuf-2.26.4 and then x11-libs/gtk+-3.4.4 built fine.