Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] another old box to update "Stefan G. Weichinger" <lists@×××××.at>
Re: [gentoo-user] another old box to update Tomas Mozes <tomas.mozes@××××.sk>
Re: [gentoo-user] another old box to update Alan McKinnon <alan.mckinnon@×××××.com>
[gentoo-user] Re: another old box to update James <wireless@×××××××××××.com>