1 |
This is usually CFLAGS and other bits of env stuff. There's probably a more |
2 |
meaningful error earlier in the build log. |
3 |
|
4 |
Can you post the full log for a failing file? |
5 |
|
6 |
|
7 |
Apparently, though unproven, at 09:45 on Friday 06 May 2011, Dale did opine |
8 |
thusly: |
9 |
|
10 |
> Hi, |
11 |
> |
12 |
> I'm trying to update my old rig, the x86 one. It is about 2 months or |
13 |
> so behind. I wanted to get it ready for the latest KDE for my brother |
14 |
> to play on. I keep running into this type of error: |
15 |
> |
16 |
> checking whether make sets $(MAKE)... yes |
17 |
> checking whether to disable maintainer-specific portions of Makefiles... |
18 |
> yes checking for i686-pc-linux-gnu-gcc... gcc |
19 |
> checking whether the C compiler works... no |
20 |
> configure: error: in |
21 |
> `/var/tmp/portage/x11-libs/gdk-pixbuf-2.22.1/work/gdk-pixbuf-2.22.1': |
22 |
> configure: error: C compiler cannot create executables |
23 |
> See `config.log' for more details. |
24 |
> |
25 |
> !!! Please attach the following file when seeking support: |
26 |
> !!! |
27 |
> /var/tmp/portage/x11-libs/gdk-pixbuf-2.22.1/work/gdk-pixbuf-2.22.1/config.l |
28 |
> og * ERROR: x11-libs/gdk-pixbuf-2.22.1 failed (configure phase): |
29 |
> * econf failed |
30 |
> |
31 |
> |
32 |
> This happens with LOTS of packages. I did a google search and found |
33 |
> some really old threads and tried a few things but nothing seems to |
34 |
> work. This is emerge info: |
35 |
> |
36 |
> root@smoker ~ # emerge --info |
37 |
> Portage 2.2.0_alpha31 (default/linux/x86/10.0/desktop/kde, gcc-4.4.4, |
38 |
> glibc-2.11.2-r3, 2.6.36-gentoo-r5 i686) |
39 |
> ================================================================= |
40 |
> System uname: |
41 |
> Linux-2.6.36-gentoo-r5-i686-AMD_Athlon-tm-_XP_2500+-with-gentoo-1.12.14 |
42 |
> Timestamp of tree: Fri, 06 May 2011 00:15:01 +0000 |
43 |
> app-shells/bash: 4.1_p9 |
44 |
> dev-java/java-config: 2.1.11-r3 |
45 |
> dev-lang/python: 2.6.6-r1, 2.7.1-r1, 3.1.3-r1 |
46 |
> dev-util/cmake: 2.8.1-r2 |
47 |
> sys-apps/baselayout: 1.12.14-r1 |
48 |
> sys-apps/sandbox: 2.4 |
49 |
> sys-devel/autoconf: 2.13, 2.65-r1 |
50 |
> sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 |
51 |
> sys-devel/binutils: 2.20.1-r1 |
52 |
> sys-devel/gcc: 4.4.4-r2 |
53 |
> sys-devel/gcc-config: 1.4.1-r1 |
54 |
> sys-devel/libtool: 2.2.10 |
55 |
> sys-devel/make: 3.81-r2 |
56 |
> sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers) |
57 |
> sys-libs/glibc: 2.11.2-r3 |
58 |
> Repositories: gentoo |
59 |
> Installed sets: @system, @xorg-drivers |
60 |
> ACCEPT_KEYWORDS="x86" |
61 |
> ACCEPT_LICENSE="*" |
62 |
> CBUILD="i686-pc-linux-gnu" |
63 |
> CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" |
64 |
> CHOST="i686-pc-linux-gnu" |
65 |
> CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb" |
66 |
> CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d |
67 |
> /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild |
68 |
> /etc/sandbox.d /etc/terminfo" |
69 |
> CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" |
70 |
> DISTDIR="/usr/portage/distfiles" |
71 |
> EMERGE_DEFAULT_OPTS="--with-bdeps y --backtrack=30" |
72 |
> FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles |
73 |
> fixpackages news parallel-fetch preserve-libs protect-owned sandbox |
74 |
> sfperms strict unknown-features-warn unmerge-logs unmerge-orphans |
75 |
> userfetch" FFLAGS="" |
76 |
> GENTOO_MIRRORS="http://distfiles.gentoo.org" |
77 |
> LANG="en_US" |
78 |
> LC_ALL="en_US.utf8" |
79 |
> LDFLAGS="-Wl,-O1 -Wl,--as-needed" |
80 |
> LINGUAS="en_US en" |
81 |
> MAKEOPTS="-j2" |
82 |
> PKGDIR="/usr/portage/packages" |
83 |
> PORTAGE_CONFIGROOT="/" |
84 |
> PORTAGE_RSYNC_EXTRA_OPTS="--timeout=600" |
85 |
> PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times |
86 |
> --compress --force --whole-file --delete --stats --timeout=180 |
87 |
> --exclude=/distfiles --exclude=/local --exclude=/packages" |
88 |
> PORTAGE_TMPDIR="/var/tmp" |
89 |
> PORTDIR="/usr/portage" |
90 |
> PORTDIR_OVERLAY="" |
91 |
> |
92 |
> Unset: CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, |
93 |
> PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS |
94 |
> |
95 |
> root@smoker ~ # |
96 |
> |
97 |
> I left out the USE line. It needs cleaning. lol This is a list of the |
98 |
> packages that have failed so far: |
99 |
> |
100 |
> =sys-kernel/linux-headers-2.6.36.1 |
101 |
> =sys-libs/glibc-2.11.3 |
102 |
> =sys-devel/binutils-2.20.1-r1 |
103 |
> =sys-libs/zlib-1.2.5-r2 |
104 |
> =dev-libs/expat-2.0.1-r3 |
105 |
> =app-arch/xz-utils-5.0.1 |
106 |
> =app-arch/bzip2-1.0.6 |
107 |
> =media-libs/libogg-1.2.0 |
108 |
> =app-misc/pax-utils-0.2.2 |
109 |
> =app-arch/cpio-2.11 |
110 |
> =dev-libs/gmp-4.3.2 |
111 |
> =app-text/libpaper-1.1.23 |
112 |
> =media-libs/openjpeg-1.3-r3 |
113 |
> =sys-apps/tcp-wrappers-7.6-r8 |
114 |
> =app-portage/portage-utils-0.3.1 |
115 |
> =dev-libs/nspr-4.8.7 |
116 |
> =sys-libs/timezone-data-2011d |
117 |
> =media-libs/jbigkit-2.0-r1 |
118 |
> =sys-fs/sysfsutils-2.1.0 |
119 |
> =sys-libs/libutempter-1.1.5 |
120 |
> =dev-libs/libx86-1.1-r1 |
121 |
> =sys-apps/sdparm-1.03 |
122 |
> =media-libs/libdvbpsi-0.1.6 |
123 |
> =dev-libs/libevent-2.0.10 |
124 |
> =dev-libs/libdaemon-0.14-r1 |
125 |
> =dev-libs/libusb-1.0.8 |
126 |
> =media-libs/jpeg-8b |
127 |
> =dev-libs/libffi-3.0.9-r2 |
128 |
> =sys-devel/patch-2.5.9 |
129 |
> =sys-apps/which-2.20 |
130 |
> =dev-util/gperf-3.0.4 |
131 |
> =dev-lang/swig-1.3.40-r1 |
132 |
> =sys-devel/m4-1.4.15 |
133 |
> =media-libs/libpng-1.4.5 |
134 |
> =app-arch/unzip-6.0-r1 |
135 |
> =sys-apps/pciutils-3.1.7 |
136 |
> =dev-libs/mpfr-3.0.0_p3 |
137 |
> =sys-apps/sandbox-2.4 |
138 |
> |
139 |
> It only has one gcc installed and it is selected: |
140 |
> |
141 |
> root@smoker / # gcc-config -l |
142 |
> [1] i686-pc-linux-gnu-4.4.4 * |
143 |
> root@smoker / # |
144 |
> |
145 |
> Can anyone see what I am missing? I got to be missing something. It |
146 |
> won't even do a emerge -e system right now. |
147 |
> |
148 |
> Thanks. |
149 |
> |
150 |
> Dale |
151 |
> |
152 |
> :-) :-) |
153 |
|
154 |
-- |
155 |
alan dot mckinnon at gmail dot com |