Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"C compiler cannot create executables" !??!
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... , 10, 11, 12  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
nickel
Tux's lil' helper
Tux's lil' helper


Joined: 21 Oct 2005
Posts: 148

PostPosted: Thu Oct 06, 2011 3:47 pm    Post subject: Reply with quote

Perhaps, the answer is already there. I didn't find it, so sorry.

I just bought an acer aspire. It has intel i7 2670q processor.

When i try to emerge syslog-ng, it fails and complains: "configure: error: C compiler cannot create executables".

Mostly here is the talk about upgrading gcc and such.

My system is brand new. I read about fixing my CFLAGS. Easier said than done.
I never had a 64bit system, so i don't exactly know how.

/etc/make.conf
Code:

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=corei7-avx -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j9"

# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="mmx sse sse2"
ACCEPT_LICENSE="Broadcom"


pls, help!
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7939
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu Oct 06, 2011 4:52 pm    Post subject: Reply with quote

Comment out the CFLAGS variable in make.conf and see if the problem goes away. If so, it probably means that the compiler you're using doesn't support the exact -march you're trying to use. Try that & report back, please.

- John
_________________
I can confirm that I have received between 0 and 999 National Security Letters.
Back to top
View user's profile Send private message
nickel
Tux's lil' helper
Tux's lil' helper


Joined: 21 Oct 2005
Posts: 148

PostPosted: Tue Oct 11, 2011 3:23 pm    Post subject: Reply with quote

yeah, it did it! I set my CFLAGS to native.
thx
Back to top
View user's profile Send private message
lostinspace2011
Apprentice
Apprentice


Joined: 09 Sep 2005
Posts: 192

PostPosted: Wed Feb 29, 2012 7:08 pm    Post subject: Reply with quote

I am having the same issue and also got around it by using march=native ? Is this the best solution. What are the alternatives ?
Back to top
View user's profile Send private message
hypermyth
n00b
n00b


Joined: 02 Feb 2010
Posts: 10

PostPosted: Tue Mar 20, 2012 1:21 am    Post subject: Reply with quote

Similar issue - not sure how to fix it. Can anyone suggest anything, please?

I ran emerge -auD world on a previously working system which had not been updated for about 3 weeks.
This upgraded gcc-config-1.4.1-r1 to gcc-config-1.5-r2
sys-devel/gcc-4.5.3-r1 to sys-devel/gcc-4.5.3-r2
sys-devel/gcc-4.4.5 to sys-devel/gcc-4.4.6-r1
glibc was not updated
The emerge was completely successful, in that it completed without error.
I did not run revdep-rebuild at the time but I did use dispatch-conf and I have subsequently rebooted
Now the C compiler is not working. I have a few other miscellaneous breakages as well (firefox).

Compiling by hand fails

Code:
$ gcc -o hello hello.c
In file included from hello.c:1:0:
/usr/include/stdio.h:34:21: fatal error: stddef.h: No such file or directory
compilation terminated.


emerge fails
Code:
$ firefox
firefox: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
$ ldd /usr/bin/firefox
   linux-vdso.so.1 =>  (0x00007fff8d540000)
   libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fb652326000)
   libdl.so.2 => /lib64/libdl.so.2 (0x00007fb652122000)
   libstdc++.so.6 => not found
   libc.so.6 => /lib64/libc.so.6 (0x00007fb651d9b000)
   /lib64/ld-linux-x86-64.so.2 (0x00007fb652543000)
# emerge -1 firefox
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) www-client/firefox-10.0.1-r1
 * firefox-10.0-patches-0.6.tar.xz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                  [ ok ]
 * firefox-10.0.1.source.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                    [ ok ]
 *
 * You are enabling official branding. You may not redistribute this build
 * to any users on your network or the internet. Doing so puts yourself into
 * a legal problem with Mozilla Foundation
 * You can disable it by emerging firefox _with_ the bindist USE-flag
 * Checking for at least 4 gibibytes disk space at "/home/portage_tmp/portage/www-client/firefox-10.0.1-r1/temp" ...                                                                [ ok ]
>>> Unpacking source...
>>> Unpacking firefox-10.0-patches-0.6.tar.xz to /home/portage_tmp/portage/www-client/firefox-10.0.1-r1/work
>>> Unpacking firefox-10.0.1.source.tar.bz2 to /home/portage_tmp/portage/www-client/firefox-10.0.1-r1/work
>>> Source unpacked in /home/portage_tmp/portage/www-client/firefox-10.0.1-r1/work
>>> Preparing source in /home/portage_tmp/portage/www-client/firefox-10.0.1-r1/work/mozilla-release ...
 * Applying various patches (bugfixes/updates) ...
 *   1001-fix_jemalloc_vs_aslr.patch ...                                                                                                                                            [ ok ]
 *   1002-fix_jemalloc_vs_aslr_part2.patch ...                                                                                                                                      [ ok ]
 *   2000-firefox_gentoo_install_dirs.patch ...                                                                                                                                     [ ok ]
 *   2002_fix-preferences-gentoo.patch ...                                                                                                                                          [ ok ]
 *   2003_fix_system_hunspell_dict_detection.patch ...                                                                                                                              [ ok ]
 *   2004_support_libvpx_1.0.0.patch ...                                                                                                                                            [ ok ]
 *   5001_fix-title-backspace.patch ...                                                                                                                                             [ ok ]
 *   5002_allow_locked_prefs.patch ...                                                                                                                                              [ ok ]
 *   5003_avoid_spurious_run_items_in_application_handlers.patch ...                                                                                                                [ ok ]
 *   5004_properly_launch_applications_set_in_home.patch ...                                                                                                                        [ ok ]
 *   5005_use_resource_urls_appropriately.patch ...                                                                                                                                 [ ok ]
 *   5006_export_IO_stdin_symbol_for_sparc.patch ...                                                                                                                                [ ok ]
 *   5007_bug_709259_fix_cursor_support.patch ...                                                                                                                                   [ ok ]
 *   5008_part1_bug_635918_libcanberra.patch ...                                                                                                                                    [ ok ]
 *   5009_part2_bug_635918_libcanberra.patch ...                                                                                                                                    [ ok ]
 *   6001_add_alpha_defines_in_ipc.patch ...                                                                                                                                        [ ok ]
 *   6006_dont_require_16_bytes_alignment_for_VMFrame_on_sparc.patch ...                                                                                                            [ ok ]
 *   6007_fix_ARMAssembler-getOp2RegScale_on_ARMv5.patch ...                                                                                                                        [ ok ]
 *   6008_fix_build_failure_on_platforms_without_yarr_support.patch ...                                                                                                             [ ok ]
 *   6009_avaoid_R_SPARC_WDISP22_relocation_in_TrampolineSparc.s.patch ...                                                                                                          [ ok ]
 *   6010_avoid_invalid_conversions.patch ...                                                                                                                                       [ ok ]
 *   6011_fix_arm_detection.patch ...                                                                                                                                               [ ok ]
 * Done with patching
 * Running eautoreconf in '/home/portage_tmp/portage/www-client/firefox-10.0.1-r1/work/mozilla-release' ...
 * Running autoconf ...                                                                                                                                                             [ ok ]
 * Running elibtoolize in: mozilla-release/js/src/ctypes/libffi/
 *   Applying install-sh/1.5.4 patch ...
 *   Applying portage/2.2 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
 * Running elibtoolize in: mozilla-release/modules/freetype2/builds/unix/
 *   Applying portage/2.2 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
 * Running elibtoolize in: mozilla-release/toolkit/crashreporter/google-breakpad/autotools/
 *   Applying portage/2.2 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
 * Running elibtoolize in: mozilla-release/ipc/chromium/src/third_party/libevent/
 *   Applying install-sh/1.5 patch ...
 *   Applying portage/1.5.10 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/1.5.26 patch ...
>>> Source prepared.
>>> Configuring source in /home/portage_tmp/portage/www-client/firefox-10.0.1-r1/work/mozilla-release ...

==========================================================
Building firefox-10.0.1-r1 with the following configuration
    --enable-application=browser    mozilla.org default
    --enable-optimize               mozilla default
    --with-system-jpeg              system_libs
    --with-system-zlib              system_libs
    --enable-pango                  system_libs
    --enable-svg                    system_libs
    --enable-system-cairo           system_libs
    --disable-installer             disable_update_strip
    --disable-pedantic              disable_update_strip
    --disable-updater               disable_update_strip
    --disable-strip                 disable_update_strip
    --disable-strip-libs            disable_update_strip
    --disable-install-strip         disable_update_strip
    --enable-single-profile         basic_profile
    --disable-profilesharing        basic_profile
    --disable-profilelocking        basic_profile
    --enable-default-toolkit=cairo-gtk2  mozilla.org default
    --enable-official-branding      +!bindist
    --enable-ogg                    +alsa
    --enable-wave                   +alsa
    --enable-crashreporter          +crashreporter
    --enable-dbus                   +dbus
    --disable-debug                 -debug
    --disable-tests                 -debug
    --disable-debugger-info-modules  -debug
    --enable-ipc                    +ipc
    --disable-libnotify             -libnotify
    --disable-startup-notification  -startup-notification
    --disable-system-sqlite         -system-sqlite
    --disable-necko-wifi            -wifi
    --enable-webm                   +webm
    --with-system-libvpx=/usr       +webm
    --enable-tracejit               mozilla.org default
    --with-system-nspr              mozilla.org default
    --with-nspr-prefix=/usr         mozilla.org default
    --with-system-nss               mozilla.org default
    --with-nss-prefix=/usr          mozilla.org default
    --x-includes=/usr/include       mozilla.org default
    --x-libraries=/usr/lib64        mozilla.org default
    --with-system-libevent=/usr     mozilla.org default
    --enable-system-hunspell        mozilla.org default
    --disable-gnomevfs              mozilla.org default
    --disable-gnomeui               mozilla.org default
    --enable-gio                    mozilla.org default
    --enable-storage                places
    --enable-places                 places
    --enable-places_bookmarks       places
    --enable-oji                    mozilla.org default
    --enable-mathml                 mozilla.org default
    --disable-mochitest             broken
    --prefix=/usr                   mozilla.org default
    --libdir=/usr/lib64             mozilla.org default
    --enable-extensions=default     mozilla.org default
    --disable-gconf                 mozilla.org default
    --disable-mailnews              mozilla.org default
    --enable-canvas                 mozilla.org default
    --enable-safe-browsing          mozilla.org default
    --with-system-png               mozilla.org default
    --enable-system-ffi             mozilla.org default
    --with-default-mozilla-five-home=/usr/lib64/firefox  mozilla.org default
    --target=x86_64-pc-linux-gnu    mozilla.org default
==========================================================

>>> Source configured.
>>> Compiling source in /home/portage_tmp/portage/www-client/firefox-10.0.1-r1/work/mozilla-release ...
make -j6 -f client.mk
make -f /home/portage_tmp/portage/www-client/firefox-10.0.1-r1/work/mozilla-release/client.mk realbuild
make[1]: Entering directory `/home/portage_tmp/portage/www-client/firefox-10.0.1-r1/work/mozilla-release'
make[2]: Entering directory `/home/portage_tmp/portage/www-client/firefox-10.0.1-r1/work/mozilla-release'
cd obj-x86_64-unknown-linux-gnu
/home/portage_tmp/portage/www-client/firefox-10.0.1-r1/work/mozilla-release/configure
Adding configure options from /home/portage_tmp/portage/www-client/firefox-10.0.1-r1/work/mozilla-release/.mozconfig:
  --enable-application=browser
  --enable-optimize
  --with-system-jpeg
  --with-system-zlib
  --enable-pango
  --enable-svg
  --enable-system-cairo
  --disable-installer
  --disable-pedantic
  --disable-updater
  --disable-strip
  --disable-strip-libs
  --disable-install-strip
  --enable-single-profile
  --disable-profilesharing
  --disable-profilelocking
  --enable-default-toolkit=cairo-gtk2
  --enable-official-branding
  --enable-ogg
  --enable-wave
  --enable-crashreporter
  --enable-dbus
  --disable-debug
  --disable-tests
  --disable-debugger-info-modules
  --enable-ipc
  --disable-libnotify
  --disable-startup-notification
  --disable-system-sqlite
  --disable-necko-wifi
  --enable-webm
  --with-system-libvpx=/usr
  --enable-tracejit
  --with-system-nspr
  --with-nspr-prefix=/usr
  --with-system-nss
  --with-nss-prefix=/usr
  --x-includes=/usr/include
  --x-libraries=/usr/lib64
  --with-system-libevent=/usr
  --enable-system-hunspell
  --disable-gnomevfs
  --disable-gnomeui
  --enable-gio
  --enable-storage
  --enable-places
  --enable-places_bookmarks
  --enable-oji
  --enable-mathml
  --disable-mochitest
  --prefix=/usr
  --libdir=/usr/lib64
  --disable-gconf
  --disable-mailnews
  --enable-canvas
  --enable-safe-browsing
  --with-system-png
  --enable-system-ffi
  --with-default-mozilla-five-home=/usr/lib64/firefox
  --target=x86_64-pc-linux-gnu
  --enable-extensions=default
creating cache ./config.cache
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking build system type... x86_64-unknown-linux-gnu
checking for mawk... no
checking for gawk... gawk
checking for perl5... no
checking for perl... /usr/bin/perl
checking for objcopy... /usr/bin/objcopy
checking for gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler (x86_64-pc-linux-gnu-gcc -pipe -mno-avx -Wl,-O1 -Wl,--as-needed) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
*** Fix above errors and then restart with               "make -f client.mk build"
make[2]: *** [configure] Error 1
make[2]: Leaving directory `/home/portage_tmp/portage/www-client/firefox-10.0.1-r1/work/mozilla-release'
make[1]: *** [obj-x86_64-unknown-linux-gnu/Makefile] Error 2
make[1]: Leaving directory `/home/portage_tmp/portage/www-client/firefox-10.0.1-r1/work/mozilla-release'
make: *** [build] Error 2
emake failed
 * ERROR: www-client/firefox-10.0.1-r1 failed (compile phase):
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line  85:  Called src_compile
 *   environment, line 6455:  Called die
 * The specific snippet of code:
 *           CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" MOZ_MAKE_FLAGS="${MAKEOPTS}" emake -f client.mk || die "emake failed";
 *
 * If you need support, post the output of 'emerge --info =www-client/firefox-10.0.1-r1',
 * the complete build log and the output of 'emerge -pqv =www-client/firefox-10.0.1-r1'.
 * The complete build log is located at '/home/portage_tmp/portage/www-client/firefox-10.0.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/home/portage_tmp/portage/www-client/firefox-10.0.1-r1/temp/environment'.
 * S: '/home/portage_tmp/portage/www-client/firefox-10.0.1-r1/work/mozilla-release'

>>> Failed to emerge www-client/firefox-10.0.1-r1, Log file:

>>>  '/home/portage_tmp/portage/www-client/firefox-10.0.1-r1/temp/build.log'



revdep-rebuild reports a few breakages (but not including firefox)
Code:
# revdep-rebuild -i -p
 * Configuring search environment for revdep-rebuild
 * Environment mismatch from previous run, deleting temporary files...

 * Checking reverse dependencies
 * Packages containing binaries and libraries broken by a package update
 * will be emerged.

 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Collecting complete LD_LIBRARY_PATH
 * Generated new 2_ldpath.rr
 * Checking dynamic linking consistency
[ 18% ]  *   broken /usr/bin/mencoder (requires libcdio_cdda.so.0
libcdio_paranoia.so.0
libstdc++.so.6)
 *   broken /usr/bin/mplayer (requires libcdio_cdda.so.0
libcdio_paranoia.so.0
libstdc++.so.6)
[ 24% ]  *   broken /usr/bin/spumux (requires libMagickCore.so.4)
[ 29% ]  *   broken /usr/lib/pcoip/vchan_plugins/libscredirvchanclient.so (requires libpcsclite.so.1)
[ 64% ]  *   broken /usr/lib64/libfftw3_threads.la (requires -lgomp)
 *   broken /usr/lib64/libfftw3f_threads.la (requires -lgomp)
 *   broken /usr/lib64/libfftw3l_threads.la (requires -lgomp)
[ 66% ]  *   broken /usr/lib64/libhdf5_fortran.la (requires -lgfortran)
 *   broken /usr/lib64/libhdf5hl_fortran.la (requires -lgfortran)
[ 96% ]  *   broken /usr/libexec/gvfsd-cdda (requires libcdio.so.12
libcdio_cdda.so.0
libcdio_paranoia.so.0)
[ 100% ]                 
 * Generated new 3_broken.rr
 * Assigning files to packages
 *   /usr/bin/mencoder -> media-video/mplayer
 *   /usr/bin/mplayer -> media-video/mplayer
 *   /usr/bin/spumux -> media-video/dvdauthor
 *  !!! /usr/lib/pcoip/vchan_plugins/libscredirvchanclient.so not owned by any package is broken !!!
 *   /usr/lib/pcoip/vchan_plugins/libscredirvchanclient.so -> (none)
 *   /usr/lib64/libfftw3_threads.la -> sci-libs/fftw
 *   /usr/lib64/libfftw3f_threads.la -> sci-libs/fftw
 *   /usr/lib64/libfftw3l_threads.la -> sci-libs/fftw
 *   /usr/lib64/libhdf5_fortran.la -> sci-libs/hdf5
 *   /usr/lib64/libhdf5hl_fortran.la -> sci-libs/hdf5
 *   /usr/libexec/gvfsd-cdda -> gnome-base/gvfs
 * Generated new 4_raw.rr and 4_owners.rr
 * Cleaning list of packages to rebuild
 * Generated new 4_pkgs.rr
 * Assigning packages to ebuilds
 * Generated new 4_ebuilds.rr
 * Evaluating package order
 * Generated new 5_order.rr
 * All prepared. Starting rebuild
emerge --complete-graph=y --oneshot  --pretend gnome-base/gvfs:0 media-video/dvdauthor:0 media-video/mplayer:0 sci-libs/fftw:3.0 sci-libs/hdf5:0

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] media-video/dvdauthor-0.6.18
[ebuild   R    ] sci-libs/fftw-3.2.2
[ebuild   R    ] sci-libs/hdf5-1.8.4-r1
[ebuild   R    ] media-video/mplayer-1.0_rc4_p20110322-r1
[ebuild   R    ] gnome-base/gvfs-1.6.7-r1
 * Now you can remove -p (or --pretend) from arguments and re-run revdep-rebuild.


Here some more general information about my environment

Code:
# gcc-config -l
 * gcc-config: Profile does not exist or invalid setting for /etc/env.d/gcc/x86_64-pc-linux-gnu-4.5.3
 [1] x86_64-pc-linux-gnu-4.4.6
 [2] x86_64-pc-linux-gnu-4.5.3 *

$ ls -l /etc/make.profile
lrwxrwxrwx 1 root root 48 Nov  6 00:34 /etc/make.profile -> ../usr/portage/profiles/default/linux/amd64/10.0

# cat /etc/env.d/gcc/x86_64-pc-linux-gnu-4.5.3
LDPATH="/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3:/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/32"
MANPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/man"
INFOPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/info"
STDCXX_INCDIR="g++-v4"
GCC_PATH="/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3"

# equery l glibc gcc
 * Searching for glibc ...
[IP-] [  ] sys-libs/glibc-2.13-r4:2.2

# emerge --info
Portage 2.1.10.49 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.13-r4, 3.1.6-gentoo x86_64)
=================================================================
System uname: Linux-3.1.6-gentoo-x86_64-Intel-R-_Core-TM-_i5-2520M_CPU_@_2.50GHz-with-gentoo-2.0.3
Timestamp of tree: Sun, 18 Mar 2012 00:45:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.6-r1, 4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo vmware
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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 -pipe"
DISTDIR="/home/portage_distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
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="/home/portage_tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/vmware"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="acl acpi alsa amd64 berkdb bzip2 cdr cli cracklib crypt cups cxx dri dvd fortran gdbm gnome gpm gtk iconv ipv6 laptop mmx modules mudflap multilib ncurses nls nptl nptlonly nvidia openmp oss pam pcre perl pppd readline session sse sse2 ssl sysfs tcpd tetex tiff unicode xorg xulrunner 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 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 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="i810 fbdev vesa intel" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


I have tried selecting the compiler with gcc-config and running env-update, to no avail.
Back to top
View user's profile Send private message
hypermyth
n00b
n00b


Joined: 02 Feb 2010
Posts: 10

PostPosted: Wed Mar 21, 2012 12:22 am    Post subject: My issue solved Reply with quote

The cause was vmware PCoIP client 32-bit software I was obliged to install. It recreated a /usr/lib containing just its own files. I removed this directory and symlinked /usr/lib64 to /usr/lib, which is the way I presume things are mean't to be. Then running env-update seems to have got everything working again.
Back to top
View user's profile Send private message
sheem-on
n00b
n00b


Joined: 28 Mar 2012
Posts: 4
Location: SE-USA

PostPosted: Wed Mar 28, 2012 10:32 pm    Post subject: Yet another variation on CC cannot create... Reply with quote

Trying to emerge/ebuild about 1/2 of ports I need to, recently fail.

Case in point: dev-util/diffstat-1.55. Look at this relevant segment of the config.log:


configure:1282: $? = 0
configure:1284: x86_64-pc-linux-gnu-gcc -v </dev/null >&5
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.3/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /ebuild/working/portage/sys-devel/gcc-4.5.3-r2/work/gcc-4.5.3/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --disable-lto --disable-nls --with-system-zlib --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/python --enable-checking=release --enable-java-awt=gtk --enable-objc-gc --enable-languages=c,c++,java,objc,obj-c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-targets=all --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.5.3-r2 p1.1, pie-0.4.7'
Thread model: posix
gcc version 4.5.3 (Gentoo 4.5.3-r2 p1.1, pie-0.4.7)
configure:1287: $? = 0
configure:1289: x86_64-pc-linux-gnu-gcc -V </dev/null >&5
x86_64-pc-linux-gnu-gcc: '-V' option must have argument
configure:1292: $? = 1
configure:1312: checking for C compiler default output
configure:1315: x86_64-pc-linux-gnu-gcc /usr/bin/gcc -fPIC -march=k8 -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: error in /usr/bin/gcc(.eh_frame); no .eh_frame_hdr table will be created.
configure:1318: $? = 0
configure:1347: result: a.out
configure:1352: checking whether the C compiler works
configure:1358: ./a.out
./a.out: relocation error: ./a.out: symbol ck_chk_fail, version GLIBC_2.4 not defined in file libc.so.6 with link time reference
configure:1361: $? = 127
configure:1368: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.


Background:
* Installed AVR cross-tools for Arduino (the Atmel package). After a while tried to follow "Gentoo on Beagle" which failed
(another matter altogether?).
* Tried this operation with several versions of GCC. Various modes of failure, but at the same place.
* Ran the configure generated by the ebuild directly; configures fine.

Questions:

* Freely admitting my setup is complex and messy and the trouble I am in is of my own doing, can someone help me
out of this mess?
* Where does the -V come into CFLAGS? It is not in /etc/make.conf, not in the .ebuild script, not in the environment.
This -V is not set up correctly for gcc 2.5, and is gone from gcc 2.6.
* Who/what specifies that GLIBC_2.4 is needed, and why?
Why not newer version (2.12 is installed here).
* I can see the string "GLIBC_2.4" in /lib64/libc.xxx. So why is the test a.out complaining?
* How can I "force" recognition of this label?

Any help will be greatly appreciated!

Sincerely,

Sheem-On
_________________
Sincerely,

Sheem-On
Back to top
View user's profile Send private message
sheem-on
n00b
n00b


Joined: 28 Mar 2012
Posts: 4
Location: SE-USA

PostPosted: Wed Mar 28, 2012 10:34 pm    Post subject: Sorry, I forgot a critical datum Reply with quote

Linux nomis 3.2.9-gentoo_nomis-20120305.0-c326 #1 SMP PREEMPT Mon Mar 5 19:53:23 EST 2012 x86_64 AMD Phenom(tm) II X4 940 Processor AuthenticAMD GNU/Linux
_________________
Sincerely,

Sheem-On
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 482
Location: Scotland

PostPosted: Sun Oct 07, 2012 11:51 am    Post subject: Reply with quote

It is the same for me. I can not compile anything. :cry:
This is going to take a long time to explain, so please bare with me.
Many months ago, I installed a flash plugin for Epiphany, it installed a /lib32 and /usr/lib32 folder on my system.
This did not cause any problems until I ran a full system rebuild, and when portage got to baselayout, it complained about the /lib32 library.
So I merged the folder into lib and likewise with /usr/lib32, before deleting the /lib32 and /usr/lib32 folders.
Baselayout compiled fine after that. The only thing is, (which I don't think is too much of a problem), whenever I compile anything portage
gives me the message at the end of every build saying....
Code:
/sbin/ldconfig/libpcre.so.0 is not a symlink
/sbin/ldconfig/libudev.so.0 is not a symlink

So, I thought I would remove the offending file, in this case libcre.so.0 from my lib folder, (ouch I can hear some people say)
the file did have a little "link" arrow and it was pointing to libprce.so.1.0.1 (i think), but portage was telling me it wasn't a symlink.
It won't come as a surprise to those in the know, that removing the libpcre file has killed my compiler.
As soon as I realise this, I immediately put it back. By this time I had to manually pull it over from my NFS portage server and my portage database was sane again.
I have switched between gcc-4.4.7 4.5.4 and 4.6.3, ran env-update && source /etc/profile on each occasion, and yet
portage can't build anything.
Below is the config.log for when I try to build binutils.

Code:

It was created by configure, which was
generated by GNU Autoconf 2.64.  Invocation command line was

  $ /var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22/configure --enable-gold --enable-plugins --without-included-gettext --with-zlib --build=i686-pc-linux-gnu
--enable-secureplt --prefix=/usr --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --datadir=/usr/share/binutils-data/i686-pc-linux-gnu/2.22 --infodir=/usr/share/binutils-data/i686-pc-linux-gnu/2.22/info
--mandir=/usr/share/binutils-data/i686-pc-linux-gnu/2.22/man --bindir=/usr/i686-pc-linux-gnu/binutils-bin/2.22 --libdir=/usr/lib/binutils/i686-pc-linux-gnu/2.22 --libexecdir=/usr/lib/binutils/i686-pc-linux-gnu/2.22
--includedir=/usr/lib/binutils/i686-pc-linux-gnu/2.22/include --enable-64-bit-bfd --enable-obsolete --enable-shared --enable-threads --disable-werror --with-bugurl=http://bugs.gentoo.org/ --disable-static

## --------- ##
## Platform. ##
## --------- ##

hostname = pig
uname -m = i686
uname -r = 3.3.8-gentoo
uname -s = Linux
uname -v = #10 SMP Sun Aug 19 22:17:13 BST 2012

/usr/bin/uname -p = Pentium(R) Dual-Core CPU E5400 @ 2.70GHz
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/lib/portage/bin/ebuild-helpers
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /opt/bin
PATH: /usr/i686-pc-linux-gnu/gcc-bin/4.5.4
PATH: /usr/lib/subversion/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2230: checking build system type
configure:2244: result: i686-pc-linux-gnu
configure:2291: checking host system type
configure:2304: result: i686-pc-linux-gnu
configure:2324: checking target system type
configure:2337: result: i686-pc-linux-gnu
configure:2391: checking for a BSD-compatible install
configure:2459: result: /usr/bin/install -c
configure:2470: checking whether ln works
configure:2492: result: yes
configure:2496: checking whether ln -s works
configure:2500: result: yes
configure:2507: checking for a sed that does not truncate output
configure:2571: result: /bin/sed
configure:2580: checking for gawk
configure:2596: found /usr/bin/gawk
configure:2607: result: gawk
configure:3702: checking for i686-pc-linux-gnu-gcc
configure:3718: found /usr/bin/i686-pc-linux-gnu-gcc
configure:3729: result: i686-pc-linux-gnu-gcc
configure:3998: checking for C compiler version
configure:4007: i686-pc-linux-gnu-gcc --version >&5
i686-pc-linux-gnu-gcc (Gentoo 4.5.4 p1.0, pie-0.4.7) 4.5.4
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:4018: $? = 0
configure:4007: i686-pc-linux-gnu-gcc -v >&5
Using built-in specs.
COLLECT_GCC=/usr/i686-pc-linux-gnu/gcc-bin/4.5.4/i686-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-pc-linux-gnu/4.5.4/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.5.4/work/gcc-4.5.4/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.5.4 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.5.4 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.5.4/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.5.4/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/include/g++-v4
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --disable-lto --enable-nls --without-included-gettext --with-system-zlib --enable-obsolete --disable-werror --enable-secureplt
--disable-multilib --enable-libmudflap --disable-libssp --disable-libgomp --with-python-dir=/share/gcc-data/i686-pc-linux-gnu/4.5.4/python --enable-checking=release --enable-java-awt=gtk --with-arch=i686
--enable-languages=c,c++,java,objc,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-targets=all --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.5.4 p1.0, pie-0.4.7'
Thread model: posix
gcc version 4.5.4 (Gentoo 4.5.4 p1.0, pie-0.4.7)
configure:4018: $? = 0
configure:4007: i686-pc-linux-gnu-gcc -V >&5
i686-pc-linux-gnu-gcc: '-V' option must have argument
configure:4018: $? = 1
configure:4007: i686-pc-linux-gnu-gcc -qversion >&5
i686-pc-linux-gnu-gcc: unrecognized option '-qversion'
i686-pc-linux-gnu-gcc: no input files
configure:4018: $? = 1
configure:4038: checking for C compiler default output file name
configure:4060: i686-pc-linux-gnu-gcc -march=native -O2 -pipe -O2  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../i686-pc-linux-gnu/bin/as: error: `/usr/i686-pc-linux-gnu/binutils-bin/2.22/.libs/as-new' does not exist
This script is just a wrapper for as-new.
See the libtool documentation for more information.
configure:4064: $? = 1
configure:4101: result:
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:4107: error: in `/var/tmp/portage/sys-devel/binutils-2.22-r1/work/build':
configure:4111: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_env_AR_FOR_TARGET_set=
ac_cv_env_AR_FOR_TARGET_value=
ac_cv_env_AR_set=
ac_cv_env_AR_value=
ac_cv_env_AS_FOR_TARGET_set=
ac_cv_env_AS_FOR_TARGET_value=
ac_cv_env_AS_set=
ac_cv_env_AS_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_FOR_TARGET_set=
ac_cv_env_CC_FOR_TARGET_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=native -O2 -pipe -O2'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-march=native -O2 -pipe -O2'
ac_cv_env_CXX_FOR_TARGET_set=
ac_cv_env_CXX_FOR_TARGET_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_DLLTOOL_FOR_TARGET_set=
ac_cv_env_DLLTOOL_FOR_TARGET_value=
ac_cv_env_DLLTOOL_set=
ac_cv_env_DLLTOOL_value=
ac_cv_env_GCC_FOR_TARGET_set=
ac_cv_env_GCC_FOR_TARGET_value=
ac_cv_env_GCJ_FOR_TARGET_set=
ac_cv_env_GCJ_FOR_TARGET_value=
ac_cv_env_GFORTRAN_FOR_TARGET_set=
ac_cv_env_GFORTRAN_FOR_TARGET_value=
ac_cv_env_GOC_FOR_TARGET_set=
ac_cv_env_GOC_FOR_TARGET_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed'
ac_cv_env_LD_FOR_TARGET_set=
ac_cv_env_LD_FOR_TARGET_value=
ac_cv_env_LD_set=
ac_cv_env_LD_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LIPO_FOR_TARGET_set=
ac_cv_env_LIPO_FOR_TARGET_value=
ac_cv_env_LIPO_set=
ac_cv_env_LIPO_value=
ac_cv_env_NM_FOR_TARGET_set=
ac_cv_env_NM_FOR_TARGET_value=
ac_cv_env_NM_set=
ac_cv_env_NM_value=
ac_cv_env_OBJCOPY_set=
ac_cv_env_OBJCOPY_value=
ac_cv_env_OBJDUMP_FOR_TARGET_set=
ac_cv_env_OBJDUMP_FOR_TARGET_value=
ac_cv_env_OBJDUMP_set=
ac_cv_env_OBJDUMP_value=
ac_cv_env_RANLIB_FOR_TARGET_set=
ac_cv_env_RANLIB_FOR_TARGET_value=
ac_cv_env_RANLIB_set=
ac_cv_env_RANLIB_value=
ac_cv_env_STRIP_FOR_TARGET_set=
ac_cv_env_STRIP_FOR_TARGET_value=
ac_cv_env_STRIP_set=
ac_cv_env_STRIP_value=
ac_cv_env_WINDMC_FOR_TARGET_set=
ac_cv_env_WINDMC_FOR_TARGET_value=
ac_cv_env_WINDMC_set=
ac_cv_env_WINDMC_value=
ac_cv_env_WINDRES_FOR_TARGET_set=
ac_cv_env_WINDRES_FOR_TARGET_value=
ac_cv_env_WINDRES_set=
ac_cv_env_WINDRES_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i686-pc-linux-gnu
ac_cv_env_build_configargs_set=
ac_cv_env_build_configargs_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i686-pc-linux-gnu
ac_cv_env_host_configargs_set=
ac_cv_env_host_configargs_value=
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=i686-pc-linux-gnu
ac_cv_env_target_configargs_set=
ac_cv_env_target_configargs_value=
ac_cv_host=i686-pc-linux-gnu
ac_cv_path_SED=/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=i686-pc-linux-gnu-gcc
ac_cv_search_zlibVersion=-lz
ac_cv_target=i686-pc-linux-gnu
acx_cv_prog_LN=ln

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR=''
AR_FOR_BUILD='$(AR)'
AR_FOR_TARGET=''
AS=''
AS_FOR_BUILD='$(AS)'
AS_FOR_TARGET=''
AWK='gawk'
BISON=''
BUILD_CONFIG=''
CC='i686-pc-linux-gnu-gcc'
CC_FOR_BUILD='$(CC)'
CC_FOR_TARGET=''
CFLAGS='-march=native -O2 -pipe -O2'
CFLAGS_FOR_BUILD=''
CFLAGS_FOR_TARGET=''
COMPILER_AS_FOR_TARGET=''
COMPILER_LD_FOR_TARGET=''
COMPILER_NM_FOR_TARGET=''
CONFIGURE_GDB_TK=''
CPPFLAGS=''
CXX=''
CXXFLAGS='-march=native -O2 -pipe -O2'
CXXFLAGS_FOR_BUILD=''
CXXFLAGS_FOR_TARGET=''
CXX_FOR_BUILD='$(CXX)'
CXX_FOR_TARGET=''
DEBUG_PREFIX_CFLAGS_FOR_TARGET=''
DEFS=''
DLLTOOL=''
DLLTOOL_FOR_BUILD='$(DLLTOOL)'
DLLTOOL_FOR_TARGET=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
EXPECT=''
EXTRA_CONFIGARGS_LIBJAVA='--disable-static'
FLAGS_FOR_TARGET=''
FLEX=''
GCC_FOR_TARGET=''
GCC_SHLIB_SUBDIR=''
GCJ_FOR_BUILD='$(GCJ)'
GCJ_FOR_TARGET=''
GDB_TK=''
GFORTRAN_FOR_BUILD='$(GFORTRAN)'
GFORTRAN_FOR_TARGET=''
GNATBIND=''
GNATMAKE=''
GOC_FOR_BUILD='$(GOC)'
GOC_FOR_TARGET=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_GDB_TK=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LD=''
LDFLAGS='-Wl,-O1 -Wl,--as-needed'
LDFLAGS_FOR_BUILD=''
LDFLAGS_FOR_TARGET=''
LD_FOR_BUILD='$(LD)'
LD_FOR_TARGET=''
LEX=''
LIBOBJS=''
LIBS=''
LIPO=''
LIPO_FOR_TARGET=''
LN='ln'
LN_S='ln -s'
LTLIBOBJS=''
M4=''
MAINT=''
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE=''
MAKEINFO=''
NM=''
NM_FOR_BUILD='$(NM)'
NM_FOR_TARGET=''
OBJCOPY=''
OBJDUMP=''
OBJDUMP_FOR_TARGET=''
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
POSTSTAGE1_CONFIGURE_FLAGS=''
RANLIB=''
RANLIB_FOR_BUILD='$(RANLIB)'
RANLIB_FOR_TARGET=''
RAW_CXX_FOR_TARGET=''
RPATH_ENVVAR=''
RUNTEST=''
SED='/bin/sed'
SHELL='/bin/sh'
STRIP=''
STRIP_FOR_TARGET=''
SYSROOT_CFLAGS_FOR_TARGET=''
TOPLEVEL_CONFIGURE_ARGUMENTS='/var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22/configure --enable-gold --enable-plugins --without-included-gettext --with-zlib
--build=i686-pc-linux-gnu --enable-secureplt --prefix=/usr --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --datadir=/usr/share/binutils-data/i686-pc-linux-gnu/2.22
--infodir=/usr/share/binutils-data/i686-pc-linux-gnu/2.22/info --mandir=/usr/share/binutils-data/i686-pc-linux-gnu/2.22/man --bindir=/usr/i686-pc-linux-gnu/binutils-bin/2.22
--libdir=/usr/lib/binutils/i686-pc-linux-gnu/2.22 --libexecdir=/usr/lib/binutils/i686-pc-linux-gnu/2.22 --includedir=/usr/lib/binutils/i686-pc-linux-gnu/2.22/include --enable-64-bit-bfd
--enable-obsolete --enable-shared --enable-threads --disable-werror --with-bugurl=http://bugs.gentoo.org/ --disable-static'
WINDMC=''
WINDMC_FOR_BUILD='$(WINDMC)'
WINDMC_FOR_TARGET=''
WINDRES=''
WINDRES_FOR_BUILD='$(WINDRES)'
WINDRES_FOR_TARGET=''
YACC=''
ac_ct_CC=''
ac_ct_CXX=''
bindir='/usr/i686-pc-linux-gnu/binutils-bin/2.22'
build='i686-pc-linux-gnu'
build_alias='i686-pc-linux-gnu'
build_configargs=''
build_configdirs='build-libiberty build-texinfo build-flex build-bison build-m4 build-fixincludes'
build_cpu='i686'
build_libsubdir='build-i686-pc-linux-gnu'
build_noncanonical='i686-pc-linux-gnu'
build_os='linux-gnu'
build_subdir='build-i686-pc-linux-gnu'
build_tooldir=''
build_vendor='pc'
clooginc=''
clooglibs=''
compare_exclusions=''
configdirs='intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libelf libiconv texinfo flex bison binutils gas ld
fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools gold'
datadir='/usr/share/binutils-data/i686-pc-linux-gnu/2.22'
datarootdir='${prefix}/share'
do_compare=''
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
extra_host_libiberty_configure_flags=''
extra_mpc_gmp_configure_flags=''
extra_mpc_mpfr_configure_flags=''
extra_mpfr_configure_flags=''
gmpinc=''
gmplibs=''
host='i686-pc-linux-gnu'
host_alias='i686-pc-linux-gnu'
host_configargs=''
host_cpu='i686'
host_noncanonical='i686-pc-linux-gnu'
host_os='linux-gnu'
host_subdir='.'
host_vendor='pc'
htmldir='${docdir}'
includedir='/usr/lib/binutils/i686-pc-linux-gnu/2.22/include'
infodir='/usr/share/binutils-data/i686-pc-linux-gnu/2.22/info'
libdir='/usr/lib/binutils/i686-pc-linux-gnu/2.22'
libexecdir='/usr/lib/binutils/i686-pc-linux-gnu/2.22'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='/usr/share/binutils-data/i686-pc-linux-gnu/2.22/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
poststage1_ldflags=''
poststage1_libs=''
pplinc=''
ppllibs=''
prefix='/usr'
program_transform_name='s,y,y,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
stage1_cflags=''
stage1_checking=''
stage1_languages=''
stage1_ldflags=''
stage1_libs=''
stage2_werror_flag=''
sysconfdir='${prefix}/etc'
target='i686-pc-linux-gnu'
target_alias='i686-pc-linux-gnu'
target_configargs=''
target_configdirs='target-libgcc target-libgloss target-newlib target-libgomp target-libstdc++-v3 target-libmudflap target-libssp target-libquadmath
target-libgfortran target-boehm-gc target-libffi target-zlib target-libjava target-libobjc target-libada target-libgo target-rda'
target_cpu='i686'
target_noncanonical='i686-pc-linux-gnu'
target_os='linux-gnu'
target_subdir='i686-pc-linux-gnu'
target_vendor='pc'
tooldir=''

## ------------------- ##
## File substitutions. ##
## ------------------- ##

alphaieee_frag=''
host_makefile_frag='/dev/null'
ospace_frag=''
serialization_dependencies=''
target_makefile_frag=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""

configure: exit 77

emerge --info
Code:
Portage 2.1.11.9 (default/linux/x86/10.0/desktop/gnome, gcc-4.5.4, glibc-2.15-r2, 3.3.8-gentoo i686)
=================================================================
System uname: Linux-3.3.8-gentoo-i686-Pentium-R-_Dual-Core_CPU_E5400_@_2.70GHz-with-gentoo-2.2
Timestamp of tree: Sat, 06 Oct 2012 23:00:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.6.8, 2.7.3-r2, 3.1.5, 3.2.3-r1
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.4.7, 4.5.4, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.3 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo gamerlay-stable spring zugaina OVERLAY-pigs_overlay
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.3 dlj-1.1 Oracle-BCLA-JavaSE PUEL ut2003"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
/etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash
/etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/mnt/nfs_portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles metadata-transfer news parallel-fetch parse-eapi-ebuild-head
protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://gentoo.virginmedia.com/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB"
MAKEOPTS="-j3"
PKGDIR="/mnt/nfs_portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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="/mnt/nfs_portage"
PORTDIR_OVERLAY="/var/lib/layman/gamerlay /var/lib/layman/Spring /var/lib/layman/zugaina /usr/local/portage"
SYNC="rsync://pig2/gentoo-portage"
USE="X X509 a52 aac acl acpi additions alsa animation-rtl antialiasing apache2 applet archive artworkextra autoipd berkdb binary-drivers bluetooth bonobo branding bzip2
cairo caps cdaudio cdda cdio cdr cdrkit cdrom cdrtools cg cifs cleartype cli client clutter colord consolekit cracklib crypt cups curl curlwrappers cursors cxx
dbase dbus dconf desktop-effects device-mapper dga dns dri dso dts dv dvb dvbpsi dvd dvdnav dvdr dvdread eds effects emboss encode equalizer evo exif extraicons extras
fallback fam fat fat16 fbcondecor fbosd fbsplash ffmpeg fftw firefox fits flac flash fltk flv fontconfig foomaticdb fortran ftp fuse
g3dvl games gcj gconf gd gdbm gdm gdu gedit geoloc gif git gjs glade glib glitz glx gmedia gnome gnome-dvb-daemon gnome-keyring gnome-online-accounts gnome-print gnome-shell
gnomecanvas gnomecd gnutls gphoto2 gpib gpm gps graphviz grub gstreamer gtk gtk3 gtkhtml gtkstyle gudev
h224 hardware hddtemp help-screen hibernate-script hidd howl-compat hpn htsp http httpd i2c icc icons iconv id3 id3tag idn ieee1394 imagemagick imap inotify introspection ipc iplayer iptables ipv6 ivman
jack java java6 javascript jit jpeg jpeg2k json kdrive kerberos keymap lame laptop lastfm lastfmradio lcms ldap libburn libgda libmpeg2 libnotify libsamplerate libsexy libsoup libv4l2 libvisual lm_sensors logrotate lzo
mad mailwrapper mbox mdnsresponder-compat metadata mime mms mmx mmxext mng modplug modules mono mozilla mp2 mp3 mp4 mpd mpeg mpg123 mplayer msn mudflap
nautilus ncurses net network networking networkmanager new-login nfs nfsv3 nfsv4 nls nptl nsplugin nss ntfs ntp nvcontrol nvram
objc offensive ogg openal opengl openstreetmap optimization osc oss outputs overlays pam pango parted pcre pdf perl pipechan pixmaps player playlist plugins pm-utils pmu png policykit ppds pppd previewer pvr pyqt4 python python-daap
quicktime quvi raw readline rss rsync rtsp sasl scrobbler sctp sdl search-screen sendto server session sftp shaders sharedext sharedmem shm shmvideo shotwell showtabbar sid sip slideshow slp smi smp smtp sndfile snmp
socialweb sockets sound spell splash sql sqlite sse sse2 sse3 ssh ssl ssse3 startup-notification svg swf symlink syslog sysvipc taglib tcpd tdb teletext
terminal tetex themes theora tiff tk toolbar tools tordns totem tracker transcode truetype tvheadend twisted twolame type3
udev udev-acl udisks underscores unicode unsupported upnp upower usb userpriv v4l v4l2 v8 vaapi vala vdpau vfat vga vhook video videos virtualbox vnc vorbis wav wavpack weather webdav webgl win32codecs wma wmf wmp wxwidgets
x264 x86 x86emu xattr xcb xcomposite xcursors xf86 xine xml xosd xpm xrandr xrender xv xvid xvmc youtube yv12 zlib"
ALSA_CARDS="emu10k1 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="auth_digest authn_file authz_groupfile authz_host dav dav_fs dir mime status"
CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump"
CAMERAS="ptp2"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
CURL_SSL="openssl"
DRACUT_MODULES="plymouth"
DVB_CARDS="usb-dtt200u usb-wt220u"
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="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
LINGUAS="en_GB" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU"
VIDEO_CARDS="nvidia vesa" 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"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

I spent over 4 hours last night trying to chroot into Gentoo using a Live DVD, as I read on these forums that it might be possible to rebuild GCC and fix things from such an environment.
But my motherboard does not like playing any Live DVD's and just ALL my live disks complain about not being able to see the CD-ROM.
So I waste a lot of time trying to create a bootable USB flash drive (using windows) and all the apps I tried just crashed. I have tried all sorts of settings in the bios, (I don't seem to have and IDE setting in the BIOS).
So hey ho, I just can't get into Gentoo via Live DVD.
Today, portage is no longer seeing my NFS server, so whenever I call on emerge, I see the following:
Code:
emerge binutils

Performing Global Updates:
(Could take a couple of minutes if you have a lot of binary packages.)
  .='update pass'  *='binary update'  #='/var/db update'  @='/var/db move'
  s='/var/db SLOT move'  %='binary move'  S='binary SLOT move'
  p='update /etc/portage/package.*'
/mnt/nfs_portage/profiles/updates/1Q-2008..............
/mnt/nfs_portage/profiles/updates/2Q-2008....................................
/mnt/nfs_portage/profiles/updates/3Q-2008..............
/mnt/nfs_portage/profiles/updates/4Q-2008...........................
/mnt/nfs_portage/profiles/updates/1Q-2009..............
/mnt/nfs_portage/profiles/updates/2Q-2009.....................................................................................
/mnt/nfs_portage/profiles/updates/3Q-2009......................................................
/mnt/nfs_portage/profiles/updates/4Q-2009........................
/mnt/nfs_portage/profiles/updates/1Q-2010..........................................................................
/mnt/nfs_portage/profiles/updates/2Q-2010.......................................
/mnt/nfs_portage/profiles/updates/3Q-2010............
/mnt/nfs_portage/profiles/updates/4Q-2010............................
/mnt/nfs_portage/profiles/updates/1Q-2011...........................................................................
/mnt/nfs_portage/profiles/updates/2Q-2011.................................................................................................
......................................................................................................................................................................................
......................................................................................................................................................................................
.......................................................................................................................................................................................
.........................................................................................................................................................................................
...........................................................................................................................................................................................
...................................................................................................................
/mnt/nfs_portage/profiles/updates/3Q-2011..........................
/mnt/nfs_portage/profiles/updates/4Q-2011.............................................................................................................
/mnt/nfs_portage/profiles/updates/1Q-2012.......................
/mnt/nfs_portage/profiles/updates/2Q-2012........................
/mnt/nfs_portage/profiles/updates/3Q-2012.....................................................
/mnt/nfs_portage/profiles/updates/4Q-2012.

Been running Gentoo since February 2009, and never had to re-install. I have been through a few system borks, but, at least, been able to compile.
I really don't know what to do now, as I have looked at other posts on here, and I can't make head nor tail of it.
How the hell do I compile, when my system can't build GCC? :?:
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 4433

PostPosted: Sun Oct 07, 2012 7:54 pm    Post subject: Reply with quote

Thistled wrote:

How the hell do I compile, when my system can't build GCC? :?:


The answer is you cannot :)

As it was explain by someone with better teaching skill then me, i will tell you to search with keyword "tinderbox" and author NeddySeagoon in the forum, you will get more than one good answer for sure. I suppose the alternate answer would be "With binary" so.
(hey! you never said without internet connection right)
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 482
Location: Scotland

PostPosted: Sun Oct 07, 2012 8:13 pm    Post subject: Reply with quote

Hey Krinn, yes I have an internet connection. Right now I am trying to get my head round "emerging" a package. I pulled in the package from tinderbox, but I can't emerge anything as my NFS Portage is trying do downgrade the database everytime I call "emerge".
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 4433

PostPosted: Sun Oct 07, 2012 8:57 pm    Post subject: Reply with quote

could try the
emerge --package-moves=n
emerge --metadata or emerge --regen
emerge --nodeps --usepkg =yourbinarygcc

Any of those should be considered dangerous, but if i were you, i would try the --package-moves=n one
posting it here so you see why i would (still don't forget, i have warm you all of those might hurt your cat badly, but you have no cat no ?)
Quote:
--package-moves [ y | n ]
Perform package moves when necessary. This option is enabled by default. Package moves are typi‐
cally applied immediately after a --sync action. They are applied in an incremental fashion, using
only the subset of the history of package moves which have been added or modified since the previ‐
ous application of package moves.

WARNING: This option should remain enabled under normal circumstances. Do not disable it unless
you know what you are doing.

NOTE: The fixpackages(1) command can be used to exhaustively apply the entire history of package
moves, regardless of whether or not any of the package moves have been previously applied.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32452
Location: 56N 3W

PostPosted: Sun Oct 07, 2012 9:12 pm    Post subject: Reply with quote

Thistled,

Its still broken then?

What packages did you get from the tinderbox ?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 482
Location: Scotland

PostPosted: Sun Oct 07, 2012 9:13 pm    Post subject: Reply with quote

All day I have been plagued with....
Code:
Performing Global Updates:
 (Could take a couple of minutes if you have a lot of binary packages.)
   .='update pass'  *='binary update'  #='/var/db update'  @='/var/db move'
   s='/var/db SLOT move'  %='binary move'  S='binary SLOT move'
   p='update /etc/portage/package.*'
 /mnt/nfs_portage/profiles/updates/1Q-2008..............
 /mnt/nfs_portage/profiles/updates/2Q-2008....................................
 /mnt/nfs_portage/profiles/updates/3Q-2008..............
 /mnt/nfs_portage/profiles/updates/4Q-2008...........................
 /mnt/nfs_portage/profiles/updates/1Q-2009..............
 /mnt/nfs_portage/profiles/updates/2Q-2009.....................................................................................
 /mnt/nfs_portage/profiles/updates/3Q-2009......................................................
 /mnt/nfs_portage/profiles/updates/4Q-2009........................
 /mnt/nfs_portage/profiles/updates/1Q-2010..........................................................................
 /mnt/nfs_portage/profiles/updates/2Q-2010.......................................
 /mnt/nfs_portage/profiles/updates/3Q-2010............
 /mnt/nfs_portage/profiles/updates/4Q-2010............................
 /mnt/nfs_portage/profiles/updates/1Q-2011...........................................................................
 /mnt/nfs_portage/profiles/updates/2Q-2011.................................................................................................
 ......................................................................................................................................................................................
 ......................................................................................................................................................................................
 .......................................................................................................................................................................................
 .........................................................................................................................................................................................
 ...........................................................................................................................................................................................
 ...................................................................................................................
 /mnt/nfs_portage/profiles/updates/3Q-2011..........................
 /mnt/nfs_portage/profiles/updates/4Q-2011.............................................................................................................
 /mnt/nfs_portage/profiles/updates/1Q-2012.......................
 /mnt/nfs_portage/profiles/updates/2Q-2012........................
 /mnt/nfs_portage/profiles/updates/3Q-2012.....................................................
 /mnt/nfs_portage/profiles/updates/4Q-2012.

whenever I call emerge.
The only other time I have seen output like is when portage could not see the portage NFS share on my server. I repeat, that is the only time.
If I do not hit CTRL+C I end up with a portage database that is old. Iamben on IRC tried to establish earlier today why portage would do this.
To which I answer, I still don't know.
Anyway, I configured my server to build a binary of libpcre, and then asked the client to emerge.
Again, the client wanted for "perform a global update" and displayed the output as above, except this time I did not stop it.
i.e. Hit CTRL+C.
I let it do its thing, and then it pulled over the binary libpcre from the server.
Now it looks like it can build GCC-4.5.4 without complaining about C being unable to compile executables.
It is in the middle of building GCC just now, (not as a binary).
I should know in the next hour or so if it is finished.
I'll keep y'es posted.
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 482
Location: Scotland

PostPosted: Sun Oct 07, 2012 9:16 pm    Post subject: Reply with quote

NeddySeagoon wrote:
Thistled,

Its still broken then?

What packages did you get from the tinderbox ?


Hey NeddySeagoon. I pulled in libpcre from tinderbox, and as you can see from my post above, it looks like
it is going to compile from now on. Fingers crossed.

I have the server configured to build binaries for me if need be.
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32452
Location: 56N 3W

PostPosted: Sun Oct 07, 2012 9:18 pm    Post subject: Reply with quote

Thistled,

If postage is giving that output over and over, its not being saved. Is something read only that should be read/write?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 4433

PostPosted: Sun Oct 07, 2012 9:20 pm    Post subject: Reply with quote

Thistled wrote:
I have the server configured to build binaries for me if need be.

Wonder how i could live without my server, scary.
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 482
Location: Scotland

PostPosted: Sun Oct 07, 2012 9:22 pm    Post subject: Reply with quote

NeddySeagoon wrote:
Thistled,

If postage is giving that output over and over, its not being saved. Is something read only that should be read/write?


Since setting up my NFS server to build binaries (which was just 30 minutes ago), portage has stopped repeating the
output. It looks as if it has been written to database this time.
Seems getting the lbpcre back in working order has been the key to all of this.
Now portage is working again.
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 482
Location: Scotland

PostPosted: Sun Oct 07, 2012 9:26 pm    Post subject: Reply with quote

krinn wrote:
Thistled wrote:
I have the server configured to build binaries for me if need be.

Wonder how i could live without my server, scary.

Yes, a think its a good idea to have a server in yer home network, especially if all yer systems are running Gentoo.
Then at least ye can lend a helping hand when times are tough.
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32452
Location: 56N 3W

PostPosted: Sun Oct 07, 2012 9:29 pm    Post subject: Reply with quote

Thistled,

HPMicroserver++ still with £100 cashback.

Mine runs 4 VMs
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 482
Location: Scotland

PostPosted: Sun Oct 07, 2012 9:35 pm    Post subject: Reply with quote

NeddySeagoon wrote:
Thistled,

HPMicroserver++ still with £100 cashback.

Mine runs 4 VMs


haha, I'm a student and have no income just now.
It's an old Pentium 4 box with 1.5Gb of Ram, and a few 250Gb disks.
It hosts time and portage to my client, as well as hosting all of my backups.
When it is sitting doing nothing it crunches work units for BOINC.
It's on 24/7 and has been for about 3 years. It's a happy wee box / tower. lol.
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 4433

PostPosted: Sun Oct 07, 2012 9:42 pm    Post subject: Reply with quote

Thistled wrote:

haha, I'm a student and have no income just now.
It's an old Pentium 4 box with 1.5Gb of Ram, and a few 250Gb disks.
It hosts time and portage to my client, as well as hosting all of my backups.
When it is sitting doing nothing it crunches work units for BOINC.
It's on 24/7 and has been for about 3 years. It's a happy wee box / tower. lol.


lol me too : no, i'm not student, but it's a poor thing
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32452
Location: 56N 3W

PostPosted: Sun Oct 07, 2012 10:24 pm    Post subject: Reply with quote

Thistled,

For me, it was a spend to save thing. I was running 4 PC 24/7, down from 14 in the days of seti@home classic.
I worked out that 4VMs on modern hardware would save me £40/month off the electric bill. That would have been a payback time of 4 months if I had not suffed it fullof RAM and 2TB WD Greens.

The latter was a bad decision. Two failed after 9 months. Its still only 60W working hard. Each PC was more than that before.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 482
Location: Scotland

PostPosted: Mon Oct 08, 2012 12:43 pm    Post subject: Reply with quote

That was a wise move with regards to moving all your BOINC units to VM. Something which I had never considered.
I suppose if I had the income I would switch to running a similar network.
The box I am running as a "server" just now would not be able to run a VM for Gentoo, and a seperate VM for say Windows crunching BOINC.
It is just an old Pentium 4 processor, and would probably grind to a halt if I tried such a thing.
Incidentaly, many thanks for your help on the IRC yesterday afternoon.
I was a little bit stumped as to what to do when pulling in the packages from Tinderbox, as I could not call emerge to do it's thing.
Got there in the end once I managed to reinstall libpcre.
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
bschnzl
n00b
n00b


Joined: 13 Mar 2005
Posts: 49

PostPosted: Sun Jul 14, 2013 7:26 am    Post subject: Whoa ... slipped that knot! Reply with quote

I just did something really stupid...

emerge -C =sys-devel/gcc-4.5.4

4.6.3 was just compiled, cleanly! Now I get "compiler cannot create executables".

This box is 18 months old, and in daily use as a personal interface. It's sunday AM. I do not want to rebuild this thing!!!

So I search the forae... grrr...
try duckduckgo... Oh look! This is exactly my issue.

rjenks wrote:
I had a similar problem when doing an upgrade via "emerge -u portage". When it tried to compile a pre-requisite package (in this case Gawk), I got the same error message.

I found that apparently it had updated the C++ libraries and my paths (specifically in /etc/ld.so.conf), were now wrong. In order to fix it I had to:

1) edit /etc/ld.so.conf to fix the gcc-lib path (in my case it went from 3.2.3 to 3.3.3.

2) run "ldconfig" to set the proper library path

3) edit /etc/env.d/05gcc and change all the paths to the new version.

If you don't do steps 1 and 2 you won't be able to run emerge again. If you don't do step 3, it will undo your changes from step 1 when you run emerge again.

Hope this helps...
-Robert


I checked and adjusted the files above.
I ran ldconfig and env-update twice, for good measure...

retry the emerge! Bang, it is off to the races! I'm glad this error happens so near the beginning.

Robert... This is thanks from the future!

B.
_________________
Persistance Pays
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2, 3 ... , 10, 11, 12  Next
Page 11 of 12

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum