Gentoo Archives: gentoo-amd64

From: Beso <givemesugarr@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] HELP - can't compile anything.
Date: Tue, 05 Feb 2008 14:21:50
Message-Id: d257c3560802050621k408fec71xf62c6836b9f0d3a0@mail.gmail.com
In Reply to: [gentoo-amd64] HELP - can't compile anything. by Paul Stear
1 first of all remove glibc-2.5-r0 then add multilib at your use flags and
2 reemerge the glibc-2.6.1 and gcc without abi=x86. then do a
3 emerge -e system (not world and not without -e option), this should force
4 and rebuild all the base system utils. after that (quite some time) you
5 could rebuild the rest of the system with the usual update world flags.
6 also you could increase the number of parallel emerge threads by setting the
7 -j3 to -j(number of cores^2+1 - even greater values could be ok, just see
8 the total load of the processor for that). this will speed-up the
9 recompilation and future compilation processes.
10
11 2008/2/5, Paul Stear <gentoo@××××××××××××.com>:
12 >
13 > Hello all,
14 > I have been having terrible trouble ever since my system crashed at the
15 > end of last month. It turned out that it was the sata controller on the
16 > motherboard, but I only realised this after many fsck correcting errors.
17 > Anyway got a new motherboard and took the opportunity to upgrade to athlon
18 > 64 x2 and opposed to the single core amd 64 I originally had.
19 > By this time the original boot disk was full of errors so I tried to start
20 > from scratch with a live cd 2007.0 but it wouldn't work, I then tried a
21 > minimal install and that wouldn't work properly as well. In the end I
22 > booted with a minimal install 2006.
23 > When this was completed and a stage 3 installed I was able to restore from
24 > my external usb disk using rsync.
25 > This seems to have worked OK and I can now boot with no errors and log
26 > into kde its as if my system is back to where it was before the crash.
27 >
28 > Sorry that was a bit long winded - now to my current problem.
29 >
30 > I have updated portage and have tried a to update world but every install
31 > errors, one of which is :-
32 >
33 > * Building failed for ABI=x86!. This usually means a broken
34 > * multilib setup.
35 > Another is:-
36 >
37 > /usr/include/gentoo-multilib/amd64/bits/string2.h:969: error:
38 > expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t'
39 > /usr/include/gentoo-multilib/amd64/bits/string2.h:970: error:
40 > expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t'
41 >
42 > So it seems that my system has a problem with multilib.
43 >
44 > I can't find any documentation in the handbook to explain how I can fix
45 > this.
46 > Can anybody help please.
47 > below is my emerge --info
48 >
49 > Portage 2.1.3.19 (default-linux/amd64/2006.1/desktop, gcc-4.1.2,
50 > glibc-2.6.1-r0,glibc-2.5-r0, 2.6.23-gentoo-r6 x86_64)
51 > =================================================================
52 > System uname: 2.6.23-gentoo-r6 x86_64 AMD Athlon(tm) 64 X2 Dual Core
53 > Processor 4600+
54 > Timestamp of tree: Tue, 05 Feb 2008 01:16:01 +0000
55 > app-shells/bash: 3.2_p17-r1
56 > dev-java/java-config: 1.3.7, 2.0.33-r1
57 > dev-lang/python: 2.4.4-r6
58 > dev-python/pycrypto: 2.0.1-r6
59 > sys-apps/baselayout: 1.12.10-r5
60 > sys-apps/sandbox: 1.2.18.1-r2
61 > sys-devel/autoconf: 2.13, 2.61-r1
62 > sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2,
63 > 1.10
64 > sys-devel/binutils: 2.18-r1
65 > sys-devel/gcc-config: 1.4.0-r4
66 > sys-devel/libtool: 1.5.24
67 > virtual/os-headers: 2.6.23-r2, 2.6.23-r3
68 > ACCEPT_KEYWORDS="amd64"
69 > CBUILD="x86_64-pc-linux-gnu"
70 > CFLAGS="-march=athlon64 -O2 -pipe"
71 > CHOST="x86_64-pc-linux-gnu"
72 > CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
73 > /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
74 > CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
75 > /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash
76 > /etc/terminfo /etc/udev/rules.d"
77 > CXXFLAGS="-march=athlon64 -O2 -pipe"
78 > DISTDIR="/usr/portage/distfiles"
79 > FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch
80 > sandbox sfperms strict unmerge-orphans userfetch"
81 > GENTOO_MIRRORS="http://distfiles.gentoo.org
82 > http://www.ibiblio.org/pub/Linux/distributions/gentoo
83 > http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
84 > ftp://mirror.qubenet.net/mirror/gentoo/
85 > ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
86 > http://pandemonium.tiscali.de/pub/gentoo/"
87 > LANG="en_GB.UTF-8"
88 > LINGUAS="en_GB"
89 > MAKEOPTS="-j3"
90 > PKGDIR="/usr/portage/packages"
91 > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
92 > --compress --force --whole-file --delete --delete-after --stats
93 > --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages
94 > --filter=H_**/files/digest-*"
95 > PORTAGE_TMPDIR="/var/tmp"
96 > PORTDIR="/usr/portage"
97 > PORTDIR_OVERLAY="/usr/local/portage"
98 > SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
99 > USE="X a52 alsa amd64 avi bash-completion bitmap-fonts bzip2 cairo
100 > cdparanoia cdr clamav cli cracklib crypt cups dbus divx4linux dri dv dvd
101 > dvdr dvdread eds emboss encode esd fam ffmpeg firefox gdbm gif gphoto2
102 > gpm gstreamer gtk2 hal iconv imagemagick ipv6 jack java javascript jpeg
103 > kde ldap lzomaildir mad midi mikmod mjpeg mp3 mpeg mplayer mudflap
104 > ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp oss pam
105 > pascal pcre pdf perl png ppds pppd python qt qt3 qt4 quicktime readline
106 > reflection ruby samba scanner sdl session spell spl sqlite sse3 ssl tcpd
107 > theora truetype truetype-fonts type1-fonts unicode usb v4l vorbis x264
108 > xine xml xml2 xorg xv xvid zlib" ALSA_CARDS="emu10k1"
109 > ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug
110 > file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug
111 > rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic
112 > authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm
113 > authz_default authz_groupfile authz_host authz_owner authz_user autoindex
114 > cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter
115 > file_cache filter headers include info log_config logio mem_cache mime
116 > mime_magic negotiation rewrite setenvif speling status unique_id userdir
117 > usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse"
118 > KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216
119 > lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU"
120 > VIDEO_CARDS="nvidia vesa"
121 > Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL,
122 > LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
123 > PORTAGE_RSYNC_EXTRA_OPTS
124 >
125 >
126 > Thanks paul
127 >
128 > --
129 > This message has been sent using kmail with gentoo linux
130 > --
131 > gentoo-amd64@l.g.o mailing list
132 >
133 >
134
135
136 --
137 dott. ing. beso