Gentoo Archives: gentoo-user

From: Tomas Mozes <tomas.mozes@××××.sk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] another old box to update
Date: Wed, 07 Jan 2015 12:01:44
Message-Id: 8124f46f980ca9f94372b9c48dfb461a@shmu.sk
In Reply to: [gentoo-user] another old box to update by "Stefan G. Weichinger"
1 On 2015-01-07 12:52, Stefan G. Weichinger wrote:
2 > I am in the process of upgrading an old (~2010) gentoo server.
3 > The customer never wanted updates ... and now he wants ... *sigh*
4 >
5 > I managed to compile basic stuff already ... portage, gcc etc
6 >
7 > Now I get errors at emerging packages which is bad.
8 >
9 > Still no openrc installed and the udev-upgrade also is still pending.
10 >
11 > gcc-4.8.3
12 >
13 > When I try to emerge "grep" for example, the config.log says:
14 >
15 > configure:4451: $? = 0
16 > configure:4440: i686-pc-linux-gnu-gcc -v >&5
17 > Using built-in specs.
18 > COLLECT_GCC=/usr/i686-pc-linux-gnu/gcc-bin/4.8.3/i686-pc-linux-gnu-gcc
19 > COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-pc-linux-gnu/4.8.3/lto-wrapper
20 > Target: i686-pc-linux-gnu
21 > Configured with:
22 > /var/tmp/portage/sys-devel/gcc-4.8.3/work/gcc-4.8.3/configure
23 > --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --prefix=/usr
24 > --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.8.3
25 > --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.8.3/include
26 > --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.8.3
27 > --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.8.3/man
28 > --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.8.3/info
29 > --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.8.3/include/g++-v4
30 > --with-python-dir=/share/gcc-data/i686-pc-linux-gnu/4.8.3/python
31 > --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt
32 > --disable-werror --with-system-zlib --enable-nls
33 > --without-included-gettext --enable-checking=release
34 > --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.8.3
35 > p1.1, pie-0.5.9' --enable-libstdcxx-time --enable-shared
36 > --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
37 > --disable-multilib --disable-altivec --disable-fixed-point
38 > --with-arch=i686 --enable-targets=all --disable-libgcj --enable-libgomp
39 > --disable-libmudflap --disable-libssp --enable-lto --without-cloog
40 > --enable-libsanitizer
41 > Thread model: posix
42 > gcc version 4.8.3 (Gentoo 4.8.3 p1.1, pie-0.5.9)
43 > configure:4451: $? = 0
44 > configure:4440: i686-pc-linux-gnu-gcc -V >&5
45 > i686-pc-linux-gnu-gcc: error: unrecognized command line option '-V'
46 > i686-pc-linux-gnu-gcc: fatal error: no input files
47 > compilation terminated.
48 > configure:4451: $? = 1
49 > configure:4440: i686-pc-linux-gnu-gcc -qversion >&5
50 > i686-pc-linux-gnu-gcc: error: unrecognized command line option
51 > '-qversion'
52 > i686-pc-linux-gnu-gcc: fatal error: no input files
53 > compilation terminated.
54 > configure:4451: $? = 1
55 > configure:4440: i686-pc-linux-gnu-gcc -version >&5
56 > i686-pc-linux-gnu-gcc: error: unrecognized command line option
57 > '-version'
58 > i686-pc-linux-gnu-gcc: fatal error: no input files
59 > compilation terminated.
60 > configure:4451: $? = 1
61 > configure:4471: checking whether the C compiler works
62 > configure:4493: i686-pc-linux-gnu-gcc -O2 -march=prescott -pipe
63 > -fomit-frame-pointer conftest.c >&5
64 > i686-pc-linux-gnu-gcc: error trying to exec 'as': execvp: No such file
65 > or directory
66 > configure:4497: $? = 2
67 > configure:4535: result: no
68 >
69 >
70 >
71 > I understand that "configure" is called with "wrong" parameters ...
72 > where do they come from?
73 >
74 > -->
75 >
76 > For reference:
77 >
78 > $ emerge --info
79 > Portage 2.2.14 (python 2.7.9-final-0, default/linux/x86/13.0,
80 > gcc-4.8.3,
81 > glibc-2.11.2-r3, 2.6.36-gentoo-r5 i686)
82 > =================================================================
83 > System uname:
84 > Linux-2.6.36-gentoo-r5-i686-Intel-R-_Xeon-R-_CPU_X3430_@_2.40GHz-with-gentoo-2.2
85 > KiB Mem: 2065232 total, 944892 free
86 > KiB Swap: 1044216 total, 1044104 free
87 > Timestamp of tree: Fri, 02 Jan 2015 17:30:01 +0000
88 > ccache version 2.4 [disabled]
89 > app-shells/bash: 4.2_p53
90 > dev-lang/perl: 5.12.3-r1
91 > dev-lang/python: 2.6.4-r1, 2.7.9-r1, 3.3.5-r1
92 > dev-util/ccache: 2.4-r9
93 > dev-util/cmake: 2.6.4-r3
94 > dev-util/pkgconfig: 0.28-r1
95 > sys-apps/baselayout: 2.2
96 > sys-apps/sandbox: 2.6-r1
97 > sys-devel/autoconf: 2.69
98 > sys-devel/automake: 1.9.6-r2::<unknown repository>, 1.11.1,
99 > 1.13.4
100 > sys-devel/binutils: 2.24-r3
101 > sys-devel/gcc: 4.3.4, 4.4.4-r2, 4.8.3
102 > sys-devel/gcc-config: 1.7.3
103 > sys-devel/libtool: 2.4.2-r1
104 > sys-devel/make: 4.0-r1
105 > sys-kernel/linux-headers: 3.16 (virtual/os-headers)
106 > sys-libs/glibc: 2.11.2-r3
107 > Repositories: gentoo local_overlay
108 > ACCEPT_KEYWORDS="x86"
109 > ACCEPT_LICENSE="* -@EULA"
110 > CBUILD="i686-pc-linux-gnu"
111 > CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
112 > CHOST="i686-pc-linux-gnu"
113 > CONFIG_PROTECT="/etc"
114 > CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d
115 > /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
116 > /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/
117 > /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d
118 > /etc/terminfo"
119 > CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
120 > DISTDIR="/usr/portage/distfiles"
121 > FCFLAGS="-O2 -march=i686 -pipe"
122 > FEATURES="assume-digests binpkg-logs config-protect-if-modified
123 > distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch
124 > preserve-libs protect-owned sandbox sfperms strict
125 > unknown-features-warn
126 > unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
127 > FFLAGS="-O2 -march=i686 -pipe"
128 > GENTOO_MIRRORS=" http://gentoo.osuosl.org/
129 > http://distro.ibiblio.org/pub/linux/distributions/gentoo/
130 > http://www.gtlib.gatech.edu/pub/gentoo
131 > http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/
132 > http://gentoo.seren.com/gentoo http://gentoo.chem.wisc.edu/gentoo/
133 > http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/
134 > http://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net
135 > http://mirror.espri.arizona.edu/gentoo/
136 > http://mirrors.acm.cs.rpi.edu/gentoo/ http://gentoo.llarian.net/
137 > http://mirror.datapipe.net/gentoo http://gentoo.cs.lewisu.edu/gentoo/
138 > http://prometheus.cs.wmich.edu/gentoo
139 > http://mirror.usu.edu/mirrors/gentoo/
140 > http://mirror.phy.olemiss.edu/mirror/gentoo
141 > http://mirror.mcs.anl.gov/pub/gentoo/
142 > http://gentoo.cites.uiuc.edu/pub/gentoo/
143 > http://mirror.clarkson.edu/pub/distributions/gentoo/
144 > http://www.las.ic.unicamp.br/pub/gentoo/"
145 > LANG="de_DE.UTF-8"
146 > LC_ALL="de_DE.UTF-8"
147 > LDFLAGS="-Wl,-O1 -Wl,--as-needed"
148 > MAKEOPTS="-j5"
149 > PKGDIR="/usr/portage/packages"
150 > PORTAGE_CONFIGROOT="/"
151 > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
152 > --omit-dir-times --compress --force --whole-file --delete --stats
153 > --human-readable --timeout=180 --exclude=/distfiles --exclude=/local
154 > --exclude=/packages"
155 > PORTAGE_TMPDIR="/var/tmp"
156 > PORTDIR="/usr/portage"
157 > PORTDIR_OVERLAY="/usr/local/portage"
158 > USE="acl acpi apache2 berkdb bzip2 cli cracklib crypt cups cxx dri
159 > fortran gdbm iconv imagemagick mcal modules ncurses nls nptl openmp pam
160 > pcre php readline samba session sse ssl tcpd unicode x86 xml2 zlib"
161 > ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x
162 > ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801
163 > hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx
164 > via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core
165 > socache_shmcb unixd actions alias auth_basic authn_alias authn_anon
166 > authn_dbm authn_default authn_file authz_dbm authz_default
167 > authz_groupfile authz_host authz_owner authz_user autoindex cache cgi
168 > cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter
169 > file_cache filter headers include info log_config logio mem_cache mime
170 > mime_magic negotiation rewrite setenvif speling status unique_id
171 > userdir
172 > usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets
173 > stage tables krita karbon braindump author" CAMERAS="ptp2"
174 > COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
175 > ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18
176 > garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver
177 > oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip
178 > tripmate
179 > tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux"
180 > LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
181 > ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console
182 > presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice"
183 > PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7"
184 > PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20"
185 > USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv
186 > r128
187 > radeon savage sis tdfx trident vesa via vmware dummy v4l"
188 > XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p
189 > iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark
190 > ipmark
191 > dhcpmac delude chaos account"
192 > Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK,
193 > PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
194 > PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
195 >
196 >
197 > Thanks for any pointers!
198 >
199 > best, Stefan
200
201 Try to fetch some older portage snapshots
202 http://dev.gentoo.org/~swift/snapshots/ and update in steps, not as a 4
203 year giant leap. Try to fetch snapshot 2011, then upgrade, then 2012,
204 upgrade... It takes more time, but it should work.

Replies

Subject Author
Re: [gentoo-user] another old box to update Neil Bothwick <neil@××××××××××.uk>