Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] unixODBC econf failure
Date: Sun, 23 Mar 2008 08:04:33
Message-Id: 200803231003.31437.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] unixODBC econf failure by Max
1 On Saturday 22 March 2008, Max wrote:
2 > Hello Alan,
3 >
4 > thanks for your instant reply. Answers below the questions.
5
6 Hi Max,
7
8 Your settings seem sane, there's nothing outlandish in there.
9
10 The "cannot create executables" error seems quite generic in practise -
11 I've never had it myself but google shows various reasons, all
12 amounting to gcc can't run properly.
13
14 Top of the list is sandbox, whichis in your FEATURES. A few tests to
15 determine what is going on:
16
17 1. Unpack unixODBC somewhere and manually config and compile unixODBC to
18 test the toolchain
19 2. Remove sandbox from FEATURES and try again
20
21 alan
22
23
24
25 >
26 > On Sat, 2008-03-22 at 22:06 +0200, Alan McKinnon wrote:
27 > > On Saturday 22 March 2008, Max wrote:
28 > > > Hello,
29 > > >
30 > > > After updating gnutls revdep-rebuild would like to update an
31 > > > awfull lot of packages, including unixODBC. So far no problem but
32 > > > unixODBC does not compile. After a while it comes up with the
33 > > > following error message:
34 > >
35 > > <shameless crib of request for more info from the forums>
36 > >
37 > > Please post the output of "emerge --info".
38 > > Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2,
39 > > glibc-2.6.1-r0, 2.6.24-gentoo-r3 x86_64)
40 >
41 > =================================================================
42 > System uname: 2.6.24-gentoo-r3 x86_64 Intel(R) Pentium(R) D CPU
43 > 3.00GHz Timestamp of tree: Sat, 22 Mar 2008 17:00:01 +0000
44 > app-shells/bash: 3.2_p17-r1
45 > dev-java/java-config: 1.3.7, 2.1.4
46 > dev-lang/python: 2.4.4-r9
47 > dev-python/pycrypto: 2.0.1-r6
48 > sys-apps/baselayout: 1.12.11.1
49 > sys-apps/sandbox: 1.2.18.1-r2
50 > sys-devel/autoconf: 2.13, 2.61-r1
51 > sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
52 > sys-devel/binutils: 2.18-r1
53 > sys-devel/gcc-config: 1.4.0-r4
54 > sys-devel/libtool: 1.5.26
55 > virtual/os-headers: 2.6.23-r3
56 > ACCEPT_KEYWORDS="amd64"
57 > CBUILD="x86_64-pc-linux-gnu"
58 > CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
59 > CHOST="x86_64-pc-linux-gnu"
60 > CONFIG_PROTECT="/etc"
61 > CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/
62 > /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/
63 > /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/
64 > /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
65 > CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
66 > DISTDIR="/usr/portage/distfiles"
67 > FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox
68 > sfperms strict unmerge-orphans userfetch"
69 > GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/
70 > ftp://ftp.free.fr/mirrors/ftp.gentoo.org/
71 > ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ "
72 > LINGUAS="en_GB fr de"
73 > MAKEOPTS="-j4"
74 > PKGDIR="/usr/portage/packages"
75 > PORTAGE_RSYNC_EXTRA_OPTS="--bwlimit=40"
76 > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
77 > --compress --force --whole-file --delete --stats --timeout=180
78 > --exclude=/distfiles --exclude=/local --exclude=/packages"
79 > PORTAGE_TMPDIR="/var/tmp"
80 > PORTDIR="/usr/portage"
81 > SYNC="rsync://rsync.gentoo.org/gentoo-portage"
82 > USE="3dnow X Xaw3d a52 aac acl alsa amd64 apache2 audiofile
83 > bash-completion beagle berkdb bzip2 cairo cddb cdio cdparanoia cdr
84 > cgi cli cpudetection cracklib crypt css cups curl curlwrappers cvs
85 > dbus directfb dri dv dvd dvdr dvdread emacs encode esd examples
86 > ffmpeg filepicker firefox flac flatfile fontconfig fortran freetype
87 > ftp gd gdbm gif gnome gnutls gpgme gpm gstreamer gtk hal hash iconv
88 > idea ieee1394 imagemagick imap inifile ipod ipv6 isdnlog jabber jack
89 > java jpeg jpeg2k kerberos keyring lame ldap libnotify live mad
90 > maildir mbox mhash midi mmx mng mono motif mp2 mp3 mp4 mpeg mplayer
91 > mudflap musicbrainz mysql ncurses nfs nls nntp nptl nptlonly nsplugin
92 > ogg openal opengl openmp oss pam pcre pdf perl php pic png pop posix
93 > postgres pppd python quicktime rar readline reflection samba sasl sdl
94 > session simplexml smtp speex spell spl sse sse2 ssh ssl subversion
95 > svg tagwriting tcl tcpd threads tidy tiff tk truetype unicode v4l
96 > v4l2 vcd vorbis vram x264 xcb xine xinerama xml xmlreader xmlwriter
97 > xorg xpm xprint xscreensaver xv xvid zip zlib" ALSA_CARDS="ali5451
98 > als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370
99 > ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3
100 > trident usb-audio via82xx via82xx-modem ymfpci"
101 > ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty
102 > extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw
103 > multi null plug rate route share shm softvol"
104 > APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon
105 > authn_dbm authn_default authn_file authz_dbm authz_default
106 > authz_groupfile authz_host authz_owner authz_user autoindex cache dav
107 > dav_fs dav_lock deflate dir disk_cache env expires ext_filter
108 > file_cache filter headers include info log_config logio mem_cache
109 > mime mime_magic negotiation rewrite setenvif speling status unique_id
110 > userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard
111 > mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk
112 > hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB fr de"
113 > USERLAND="GNU" VIDEO_CARDS="nv nvidia" Unset: CPPFLAGS, CTARGET,
114 > EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
115 > PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
116 > PORTDIR_OVERLAY
117 >
118 > > Have you changed any of CFLAGS, CXXFLAGS, CHOST or LDFLAGS
119 > > in /etc/make.conf recently? Have you changed your profile recently?
120 >
121 > No.
122 >
123 > > Have you upgraded or unmerged ay version of GCC recently? If so,
124 > > what was the old value/version and what is the current
125 > > value/version?
126 >
127 > Yes, a gcc update happened a few days ago. Honistly I don't know what
128 > the old version was. Was the first update since installation. The
129 > fact, that 4.1.1 is available as well could mean that this is the old
130 > one.
131 >
132 > > </shameless crib>
133 > >
134 > > also please post 'gcc-config -l'
135 >
136 > [1] x86_64-pc-linux-gnu-4.1.1
137 > [2] x86_64-pc-linux-gnu-4.1.2 *
138 >
139 > Tried it with both of them.
140 >
141 > > > ...
142 > > > checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
143 > > > checking for C compiler default output file name...
144 > > > configure: error: C compiler cannot create executables
145 > > > See `config.log' for more details.
146 > > >
147 > > > !!! Please attach the following file when seeking support:
148 > > > !!!
149 > > > /var/tmp/portage/dev-db/unixODBC-2.2.12/work/unixODBC-2.2.12/gODB
150 > > >CCon fig/config.log *
151 > > > * ERROR: dev-db/unixODBC-2.2.12 failed.
152 > > > * Call stack:
153 > > > * ebuild.sh, line 49: Called src_compile
154 > > > * environment, line 2622: Called econf
155 > > > 'src_compile' 'src_compile' '--host=x86_64-pc-linux-gnu'
156 > > > '--with-odbc=/var/tmp/portage/dev-db/unixODBC-2.2.12/work/unixODB
157 > > >C-2. 2.12' '--enable-static' * ebuild.sh, line 513:
158 > > > Called die
159 > > > * The specific snippet of code:
160 > > > * die "econf failed"
161 > > > * The die message:
162 > > > * econf failed
163 > > > *
164 > > > * If you need support, post the topmost build error, and the
165 > > > call stack if relevant.
166 > > > * A complete build log is located at
167 > > > '/var/tmp/portage/dev-db/unixODBC-2.2.12/temp/build.log'.
168 > > > * The ebuild environment file is located at
169 > > > '/var/tmp/portage/dev-db/unixODBC-2.2.12/temp/environment'.
170 > > > *
171 > > > ...
172 > > >
173 > > > The following gcc is installed:
174 > > >
175 > > > sys-devel/gcc-4.1.2 USE="doc fortran gcj gtk ip28 ip32r10k
176 > > > mudflap multislot nls objc objc++ objc-gc (-altivec) -bootstrap
177 > > > -build -d (-hardened) -libffi (-multilib) (-n32) (-n64) -nocxx
178 > > > -test -vanilla"
179 > > >
180 > > > Some information about the system:
181 > > >
182 > > > CPU: Intel P4D Processor Family 15
183 > > > Gentoo: AMD64
184 > > >
185 > > > CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
186 > > > CXXFLAGS="${CFLAGS}"
187 > > >
188 > > > Kernel: gentoo 2.6.24-r3
189 > > >
190 > > > If any further information is needed to solve the problem i'll be
191 > > > glad to provide it. Thank you a lot in advance.
192 > > >
193 > > > cu
194 > > > Max
195 > >
196 > > --
197 > > Alan McKinnon
198 > > alan dot mckinnon at gmail dot com
199
200
201
202 --
203 Alan McKinnon
204 alan dot mckinnon at gmail dot com
205
206 --
207 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] unixODBC econf failure Max <gentoo@××××××××.net>