----- make[2]: Entering directory `/var/tmp/portage/dev-libs/glib-2.20.5/work/glib-2.20.5/gobject' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GLib-GObject\" -I.. -I../glib -I.. -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGOBJECT_COMPILATION -DG_DISABLE_CONST_RETURNS -DG_DISABLE_SINGLE_INCLUDES -pthread -O3 -pipe -march=native -fomit-frame-pointer -Wall -MT glib-genmarshal.o -MD -MP -MF .deps/glib-genmarshal.Tpo -c -o glib-genmarshal.o glib-genmarshal.c mv -f .deps/glib-genmarshal.Tpo .deps/glib-genmarshal.Po /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fomit-frame-pointer -Wall -Wl,-O1 -o glib-genmarshal glib-genmarshal.o ../glib/libglib-2.0.la libtool: link: x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fomit-frame-pointer -Wall -Wl,-O1 -o .libs/glib-genmarshal glib-genmarshal.o ../glib/.libs/libglib-2.0.so make glib-genmarshal make[3]: Entering directory `/var/tmp/portage/dev-libs/glib-2.20.5/work/glib-2.20.5/gobject' make[3]: `glib-genmarshal' is up to date. make[3]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.20.5/work/glib-2.20.5/gobject' *************** echo "#ifndef __G_MARSHAL_H__" > xgen-gmh \ && echo "#define __G_MARSHAL_H__" >> xgen-gmh \ && ./glib-genmarshal --nostdinc --prefix=g_cclosure_marshal ./gmarshal.list --header >> xgen-gmh \ && echo "#endif /* __G_MARSHAL_H__ */" >> xgen-gmh \ && (cmp -s xgen-gmh gmarshal.h 2>/dev/null || cp xgen-gmh gmarshal.h) \ && rm -f xgen-gmh xgen-gmh~ \ && echo timestamp > stamp-gmarshal.h /var/tmp/portage/dev-libs/glib-2.20.5/work/glib-2.20.5/gobject/.libs/glib-genmarshal: error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory make[2]: *** [stamp-gmarshal.h] Error 127 make[2]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.20.5/work/glib-2.20.5/gobject' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.20.5/work/glib-2.20.5' make: *** [all] Error 2 * ERROR: dev-libs/glib-2.20.5 failed: * emake failed * * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2946: Called _eapi2_src_compile * ebuild.sh, line 638: Called die * The specific snippet of code: * emake || die "emake failed" * * If you need support, post the output of 'emerge --info =dev-libs/glib-2.20.5', * the complete build log and the output of 'emerge -pqv =dev-libs/glib-2.20.5'. * The complete build log is located at '/var/tmp/portage/dev-libs/glib-2.20.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/glib-2.20.5/temp/environment'. * S: '/var/tmp/portage/dev-libs/glib-2.20.5/work/glib-2.20.5' Reproducible: Always Steps to Reproduce: 1.Get Gentoo minimal install CD (AMD64) 2.Configure system, and at last step install additional packages, vixie-cron and this syslog-ng. Expected Results: Installed syslog-ng Reported error
Please try again with MAKEOPTS="-j1". If it doesn't help, provide emerge --info. OT: You shouldn't use -O3 unless you know what you are doing.
I tried also -O1 and -J1, problem remains (chroot) livecd linux # emerge --info Portage 2.1.6.13 (default/linux/amd64/10.0/server, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.30-gentoo-r4-x86_64-Intel-R-_Pentium-R-_4_CPU_3.20GHz-with-gentoo-1.12.11.1 Timestamp of tree: Mon, 12 Oct 2009 11:15:01 +0000 app-shells/bash: 3.2_p39 dev-lang/python: 2.6.2-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.63-r1 sys-devel/automake: 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O1 -pipe -mtune=nocona -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="{-O1 -pipe -mtune=nocona -fomit-frame-pointer}" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.tups.lv/source/ " LDFLAGS="-Wl,-O1" MAKEOPTS="-j1" 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.europe.gentoo.org/gentoo-portage" USE="acl amd64 apache2 berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv isdnlog ldap mmx modules mudflap multilib mysql ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session snmp spl sse sse2 sse3 ssl sysfs tcpd truetype unicode xml xorg zlib" 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="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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
* If you need support, post the output of 'emerge --info =dev-libs/glib-2.20.5', * the complete build log and the output of 'emerge -pqv =dev-libs/glib-2.20.5'. * The complete build log is located at '/var/tmp/portage/dev-libs/glib-2.20.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/glib-2.20.5/temp/environment'.
And please try it with -02, although I don't think thisis the problem.
Full build.log needed. (That's -O2, not -02.)
(In reply to comment #5) > Full build.log needed. > > (That's -O2, not -02.) > Of course, ;).
Well, I have good news for all, I have found error core, that was in this line ->> CXXFLAGS="{-O1 -pipe -mtune=nocona -fomit-frame-pointer}" <<- See that { and }, these are superfluous =) Sorry for a carelessness, error was actually in make.conf -> CXXFLAGS="{$FLAGS}" but needed CXXFLAGS="$FLAGS" Huh ;) Thank you everyone (and sorry for my English)
Reopen to close
Created attachment 217931 [details] glib environment file
Created attachment 217932 [details] build-log for failed glib emerge
Created attachment 217934 [details] emerge output for failed glib build
Created attachment 217936 [details] Makefile for failed glib emerge
(In reply to comment #4) > And please try it with -02, although I don't think thisis the problem. > This is still a problem, as it has just happened to me. (And, the "CXXFLAGS" error that a previous poster mentioned doesn't exist in my Makefile.) I've attached the pertinent output files for your examination.
Donald, your CXXFLAGS declaration is also invalid (just like the bug): CXXFLAGS="march=athlon64 -O2 -pipe" ... should be: CXXFLAGS="-march=athlon64 -O2 -pipe" I would suggest using: CXXFLAGS="${CFLAGS}"