Gentoo Archives: gentoo-amd64

From: Yuri Pimenov <yuri@×××××××××××××.com>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Switching profiles
Date: Mon, 10 Jul 2006 10:07:28
Message-Id: 44B2265E.7010408@potentialcash.com
1 Hello,
2
3 Today I switched my profile from x86 to amd64 and have problems
4 rebuilding the system.
5 I know that AMD64 FAQ states that it is impossible to upgrade from
6 x86 to amd64,
7 and it's better to perform the "fresh install". But is that really so?
8
9 At the moment I cant' rebuild ncurses, because configure can't find gpm
10 in /lib64, so the "emerge -e system" fails.
11
12 Thank you.
13
14 zealot ~ # ls -la /etc/make.profile
15 lrwxrwxrwx 1 root root 50 Jul 7 17:12 /etc/make.profile ->
16 ../usr/portage/profiles/default-linux/amd64/2006.0
17
18 zealot ~ # emerge --info
19 Portage 2.1-r1 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.3.6-r4,
20 2.6.16-gentoo-r3 i686)
21 =================================================================
22 System uname: 2.6.16-gentoo-r3 i686 AMD Athlon(tm) 64 Processor 3000+
23 Gentoo Base System version 1.6.15
24 ccache version 2.3 [disabled]
25 dev-lang/python: 2.4.3-r1
26 dev-python/pycrypto: 2.0.1-r5
27 dev-util/ccache: 2.3
28 dev-util/confcache: [Not Present]
29 sys-apps/sandbox: 1.2.17
30 sys-devel/autoconf: 2.13, 2.59-r7
31 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
32 sys-devel/binutils: 2.16.1-r3
33 sys-devel/gcc-config: 1.3.13-r3
34 sys-devel/libtool: 1.5.22
35 virtual/os-headers: 2.6.11-r2
36 ACCEPT_KEYWORDS="amd64"
37 AUTOCLEAN="yes"
38 CBUILD="x86_64-pc-linux-gnu"
39 CFLAGS="-march=athlon64 -O2 -pipe -msse3"
40 CHOST="x86_64-pc-linux-gnu"
41 CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config
42 /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config
43 /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
44 CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
45 /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
46 CXXFLAGS="-march=athlon64 -O2 -pipe -msse3"
47 DISTDIR="/usr/portage/distfiles"
48 FEATURES="autoconfig distlocks metadata-transfer nodoc noinfo
49 parallel-fetch sandbox sfperms strict"
50 GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/
51 http://distfiles.gentoo.org
52 http://distro.ibiblio.org/pub/linux/distributions/gentoo"
53 MAKEOPTS=""
54 PKGDIR="/usr/portage/packages"
55 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
56 --compress --force --whole-file --delete --delete-after --stats
57 --timeout=180 --exclude='/distfiles' --exclude='/local'
58 --exclude='/packages'"
59 PORTAGE_TMPDIR="/var/tmp"
60 PORTDIR="/usr/portage"
61 SYNC="rsync://rsync.gentoo.org/gentoo-portage"
62 USE="X alsa amd64 apache2 apm arts audiofile avi berkdb bitmap-fonts
63 bzip2 cdr cli crypt ctype cups dba dlloader dri eds elibc_glibc emboss
64 encode esd ethereal exif expat fam fastbuild foomaticdb
65 force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gpm gstreamer
66 gtk gtk2 gtkhtml guile idn imlib ipv6 isdnlog javamail jpeg kde
67 kernel_linux lcms libg++ libwww lzw lzw-tiff mad memlimit mikmod mng
68 motif mozilla mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib
69 perl png posix pppd python qt qt3 qt4 quicktime readline reflection
70 samba sdl session simplexml slang soap sockets spell spl ssl tcltk tcpd
71 tiff tokenizer truetype truetype-fonts type1-fonts udev usb userland_GNU
72 vorbis xml xml2 xmms xorg xpm xsl xv zlib input_devices_keyboard
73 input_devices_mouse video_cards_radeon video_cards_fglrx
74 video_cards_vesa video_cards_dri"
75 Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
76 LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
77
78
79 zealot ~ # ls -la /usr/lib64/
80 total 208
81 drwxr-xr-x 4 root root 4096 Jul 10 12:57 .
82 drwxr-xr-x 19 root root 4096 Jul 7 20:13 ..
83 -rw-r--r-- 1 root root 23476 Jul 10 12:57 libgpm.a
84 -rwxr-xr-x 1 root root 295 Jul 10 12:57 libgpm.so
85 -rw-r--r-- 1 root root 24356 Jul 7 20:36 libltdl.a
86 -rw-r--r-- 1 root root 793 Jul 7 20:36 libltdl.la
87 lrwxrwxrwx 1 root root 16 Jul 7 20:36 libltdl.so -> libltdl.so.3.1.4
88 lrwxrwxrwx 1 root root 16 Jul 7 20:36 libltdl.so.3 -> libltdl.so.3.1.4
89 -rwxr-xr-x 1 root root 24560 Jul 7 20:36 libltdl.so.3.1.4
90 -rw-r--r-- 1 root root 806 Jul 7 19:31 libsandbox.la
91 lrwxrwxrwx 1 root root 19 Jul 7 19:31 libsandbox.so ->
92 libsandbox.so.0.0.0
93 lrwxrwxrwx 1 root root 19 Jul 7 19:31 libsandbox.so.0 ->
94 libsandbox.so.0.0.0
95 -rwxr-xr-x 1 root root 22656 Jul 7 19:31 libsandbox.so.0.0.0
96 -rw-r--r-- 1 root root 88108 Jul 7 20:39 libz.a
97 -rwxr-xr-x 1 root root 293 Jul 7 20:39 libz.so
98 drwxr-xr-x 2 root root 23 Jul 8 03:12 misc
99 drwxr-xr-x 3 root root 20 Jul 7 18:53 nsbrowser
100
101 zealot ~ # ls -la /lib64/
102 total 100
103 drwxr-xr-x 5 root root 4096 Jul 10 12:57 .
104 drwxr-xr-x 21 root root 4096 Jul 7 20:49 ..
105 drwxr-xr-x 2 root root 18 Jul 7 20:49 dev-state
106 lrwxrwxrwx 1 root root 11 Jul 10 12:57 libgpm.so -> libgpm.so.1
107 lrwxrwxrwx 1 root root 16 Jul 10 12:57 libgpm.so.1 -> libgpm.so.1.19.0
108 -rwxr-xr-x 1 root root 18832 Jul 10 12:57 libgpm.so.1.19.0
109 lrwxrwxrwx 1 root root 13 Jul 7 20:39 libz.so -> libz.so.1.2.3
110 lrwxrwxrwx 1 root root 13 Jul 7 20:39 libz.so.1 -> libz.so.1.2.3
111 -rwxr-xr-x 1 root root 71144 Jul 7 20:39 libz.so.1.2.3
112 drwxr-xr-x 5 root root 45 Jul 7 20:49 rcscripts
113 drwxr-xr-x 2 root root 18 Jul 7 20:49 udev-state
114
115
116
117
118 >>> Emerging (2 of 2) sys-libs/ncurses-5.5-r2 to /
119 >>> checking ebuild checksums ;-)
120 >>> checking auxfile checksums ;-)
121 >>> checking miscfile checksums ;-)
122 >>> checking ncurses-5.5.tar.gz ;-)
123 >>> Unpacking source...
124 >>> Unpacking ncurses-5.5.tar.gz to /var/tmp/portage/ncurses-5.5-r2/work
125 * Applying ncurses-5.5-gfbsd.patch
126 ...
127 [ ok ]
128 >>> Source unpacked.
129 >>> Compiling source in
130 /var/tmp/portage/ncurses-5.5-r2/work/ncurses-5.5 ...
131 * econf: updating ncurses-5.5/config.guess with
132 /usr/share/gnuconfig/config.guess
133 * econf: updating ncurses-5.5/config.sub with
134 /usr/share/gnuconfig/config.sub
135 /var/tmp/portage/ncurses-5.5-r2/work/ncurses-5.5/configure --prefix=/usr
136 --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
137 --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
138 --localstatedir=/var/lib --libdir=/lib64
139 --with-terminfo-dirs=/etc/terminfo:/usr/share/terminfo --disable-termcap
140 --with-shared --with-rcs-ids --without-ada --enable-symlinks
141 --enable-const --with-chtype=long --with-mmask-t=long --without-debug
142 --with-gpm --build=x86_64-pc-linux-gnu
143 Configuring NCURSES 5.5 ABI 5 (Mon Jul 10 12:58:10 EEST 2006)
144 checking build system type... x86_64-pc-linux-gnu
145 checking host system type... x86_64-pc-linux-gnu
146 checking target system type... x86_64-pc-linux-gnu
147 Configuring for linux-gnu
148 checking for prefix... /usr
149 checking for x86_64-pc-linux-gnu-gcc... no
150 checking for gcc... gcc
151 checking for C compiler default output... a.out
152 checking whether the C compiler works... yes
153 checking whether we are cross compiling... no
154 checking for executable suffix...
155 checking for object suffix... o
156 checking whether we are using the GNU C compiler... yes
157 checking whether gcc accepts -g... yes
158 checking version of gcc... 4.1.1
159 checking how to run the C preprocessor... gcc -E
160 checking whether gcc needs -traditional... no
161 checking whether gcc understands -c and -o together... yes
162 checking for POSIXized ISC... no
163 checking for gcc option to accept ANSI C... -DCC_HAS_PROTOS
164 checking for ldconfig... /sbin/ldconfig
165 checking if you want to ensure bool is consistent with C++... yes
166 checking for x86_64-pc-linux-gnu-g++... no
167 checking for x86_64-pc-linux-gnu-c++... no
168 checking for x86_64-pc-linux-gnu-gpp... no
169 checking for x86_64-pc-linux-gnu-aCC... no
170 checking for x86_64-pc-linux-gnu-CC... no
171 checking for x86_64-pc-linux-gnu-cxx... no
172 checking for x86_64-pc-linux-gnu-cc++... no
173 checking for x86_64-pc-linux-gnu-cl... no
174 checking for x86_64-pc-linux-gnu-FCC... no
175 checking for x86_64-pc-linux-gnu-KCC... no
176 checking for x86_64-pc-linux-gnu-RCC... no
177 checking for x86_64-pc-linux-gnu-xlC_r... no
178 checking for x86_64-pc-linux-gnu-xlC... no
179 checking for g++... g++
180 checking whether we are using the GNU C++ compiler... yes
181 checking whether g++ accepts -g... yes
182 checking for g++... /usr/bin/g++
183 checking version of g++... 4.1.1
184 checking if you want to build C++ binding and demo... yes
185 checking if you want to build with Ada95... no
186 checking if you want to build programs such as tic... yes
187 checking if you wish to install curses.h... yes
188 checking for mawk... no
189 checking for gawk... gawk
190 checking whether make sets ${MAKE}... yes
191 checking for a BSD compatible install... /bin/install -c
192 checking for long file names... yes
193 checking if filesystem supports mixed-case filenames... yes
194 checking whether ln -s works... yes
195 checking for ctags... no
196 checking for etags... no
197 checking for tdlint... no
198 checking for lint... no
199 checking for alint... no
200 checking for man... man
201 checking for x86_64-pc-linux-gnu-ranlib... no
202 checking for ranlib... ranlib
203 checking for x86_64-pc-linux-gnu-ld... no
204 checking for ld... ld
205 checking for x86_64-pc-linux-gnu-ar... no
206 checking for ar... ar
207 checking for archiver options (symbol AR_OPTS)... rv
208 checking for makeflags variable...
209 checking if you have specified an install-prefix...
210 checking if you want to build libraries with libtool... no
211 checking if you want to build shared libraries... yes
212 checking if you want to build static libraries... yes
213 checking if you want to build debug libraries... no
214 checking if you want to build profiling libraries... no
215 checking for specified models... shared normal
216 checking for default model... shared
217 checking if you want to build a separate terminfo library... no
218 checking if you want to link with dbmalloc for testing... no
219 checking if you want to link with dmalloc for testing... no
220 checking if you want to link with the GPM mouse library... yes
221 checking for Gpm_Open in -lgpm... no
222 configure: error: Cannot link with GPM library
223
224 !!! Please attach the following file when filing a report to
225 bugs.gentoo.org:
226 !!! /var/tmp/portage/ncurses-5.5-r2/work/narrowc/config.log
227
228 !!! ERROR: sys-libs/ncurses-5.5-r2 failed.
229 Call stack:
230 ebuild.sh, line 1539: Called dyn_compile
231 ebuild.sh, line 939: Called src_compile
232 ncurses-5.5-r2.ebuild, line 49: Called do_compile
233 ncurses-5.5-r2.ebuild, line 70: Called econf '--libdir=/lib64'
234 '--with-terminfo-dirs=/etc/terminfo:/usr/share/terminfo'
235 '--disable-termcap' '--with-shared' '--with-rcs-ids' '--without-ada'
236 '--enable-symlinks' '--enable-const' '--with-chtype=long'
237 '--with-mmask-t=long' '--without-debug' '--with-gpm'
238 ebuild.sh, line 541: Called die
239
240 !!! econf failed
241 !!! If you need support, post the topmost build error, and the call
242 stack if relevant.
243
244
245 --
246 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] Switching profiles Simon Stelling <blubb@g.o>
[gentoo-amd64] Re: Switching profiles Duncan <1i5t5.duncan@×××.net>