Gentoo Archives: gentoo-user

From: Kevin O'Gorman <kogorman@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Gentoo system crumbling, reports of gcc death
Date: Tue, 13 Jun 2006 16:24:16
Message-Id: 9acccfe50606130911qe944b11u529fd7f9d5714157@mail.gmail.com
1 It started with a kalarm problem, proceeded to Gentoo dependency heck, and
2 has progressed to the point that I fear the destruction of my current Gentoo
3 system.
4 (I do have a recent tar backup of my entire root filesystem).
5
6 Right now I'm fighting with 'glib'. Some things are calling for glib-1.2*,
7 and that
8 just won't emerge because the ebuild (get this!) says gcc is incapable of
9 making
10 an executable. Faking it with packages.provided won't work because the
11 dependencies actually use some of the glib stuff during their own ebuilds.
12
13 I am partly to blame, of course. I got frustrated with older ebuilds that
14 were
15 causing some of the dependency trouble, and got carried away with
16 "emerge --prune", which I guess is just as broken as it says it is.
17
18 Anyway, here's what needs that old glib:
19
20 root@treat portage # equery depends glib-1.2*
21 [ Searching for packages depending on glib-1.2*... ]
22 media-libs/libmovtar-0.1.3-r1
23 dev-python/wxpython-2.4.2.4-r3
24 x11-libs/wxGTK-2.4.2-r3
25 media-video/mjpegtools-1.6.2-r3
26 net-analyzer/ethereal-0.99.0
27 root@treat portage #
28 Some dependencies are deep, so I cannot just unmerge that list.
29
30 There's only one ebuild that satisfies this need: 1.2.10-r5
31 * dev-libs/glib
32 Available versions: 1.2.10-r5 2.6.5 2.8.4 2.8.5 2.8.6 ~2.10.3
33 Installed: 2.8.6
34 Homepage: http://www.gtk.org/
35 Description: The GLib library of C routines
36
37 I've been building binary packages for quite a long while, but it
38 doesn't go back quite that far, so I really need it to emerge. But
39 it won't. It won't even configure, because something (autoconf?) says gcc
40 is at fault:
41
42 checking for gcc... gcc
43 checking whether the C compiler (gcc -O2 -march=pentium4
44 -fomit-frame-pointer -pipe -mfpmath=sse -msse2 -mmmx -fPIC -Wl,-O1
45 -ldl-Wl,-O1) works... no
46 configure: error: installation or configuration problem: C compiler cannot
47 create executables.
48
49 !!! Please attach the following file when filing a report to bugs.gentoo.org
50 :
51 !!! /var/tmp/portage/glib-1.2.10-r5/work/glib-1.2.10/config.log
52
53 !!! ERROR: dev-libs/glib-1.2.10-r5 failed.
54 Call stack:
55 ebuild.sh, line 1539: Called dyn_compile
56 ebuild.sh, line 939: Called src_compile
57 glib-1.2.10-r5.ebuild, line 43: Called econf '--with-threads=posix'
58 '--enable-debug=yes'
59 ebuild.sh, line 541: Called die
60
61 !!! econf failed
62 !!! If you need support, post the topmost build error, and the call stack if
63 relevant.
64
65 root@treat portage #
66
67 And that file it says to attach:
68
69 root@treat portage # cat /var/tmp/portage/glib-1.2.10-r5/work/glib-1.2.10
70 /config.log
71 This file contains any messages produced by compilers while
72 running configure, to aid debugging if configure makes a mistake.
73
74 configure:634: checking for a BSD compatible install
75 configure:687: checking whether build environment is sane
76 configure:744: checking whether make sets ${MAKE}
77 configure:783: checking for working aclocal
78 configure:796: checking for working autoconf
79 configure:809: checking for working automake
80 configure:822: checking for working autoheader
81 configure:835: checking for working makeinfo
82 configure:951: checking host system type
83 configure:972: checking build system type
84 configure:992: checking for ranlib
85 configure:1022: checking for gcc
86 configure:1135: checking whether the C compiler (gcc -O2 -march=pentium4
87 -fomit-frame-pointer -pipe -mfpmath=sse -msse2 -mmmx -fPIC -Wl,-O1
88 -ldl-Wl,-O1) works
89 configure:1151: gcc -o conftest -O2 -march=pentium4 -fomit-frame-pointer
90 -pipe -mfpmath=sse -msse2 -mmmx -fPIC -Wl,-O1 -ldl-Wl,-O1 conftest.c 1>&5
91 /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld:
92 cannot find -ldl-Wl,-O1
93 collect2: ld returned 1 exit status
94 configure: failed program was:
95
96 #line 1146 "configure"
97 #include "confdefs.h"
98
99 main(){return(0);}
100 root@treat portage #
101
102 This looks like an error in the last option on that command line. Is it now
103 obsolete? Could
104 I install an earlier gcc and make this ebuild use it?
105
106 One way out just occurred to me: clear a partition to install that tar of
107 the root partition, and
108 use it to quickpkg a copy of that old glib. Is there any simpler way?
109
110 --
111 Kevin O'Gorman, PhD

Replies

Subject Author
Re: [gentoo-user] Gentoo system crumbling, reports of gcc death Richard Fish <bigfish@××××××××××.org>
Re: [gentoo-user] Gentoo system crumbling, reports of gcc death Daniel Drake <dsd@g.o>