Gentoo Archives: gentoo-embedded

From: Ed W <lists@××××××××××.com>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] Problems compiling git-1.6.3.3
Date: Wed, 15 Jul 2009 23:59:33
Message-Id: 4A5E6D61.3000305@wildgooses.com
1 Hi, having a compile error trying to compile git-1.6.3.3 under hardened
2 (gcc 3.4) with uclibc 0.30.1. Build snippet below:
3
4 >>> Configuring source in
5 /var/tmp/portage/dev-util/git-1.6.3.3/work/git-1.6.3.3 ...
6 >>> Source configured.
7 >>> Compiling source in
8 /var/tmp/portage/dev-util/git-1.6.3.3/work/git-1.6.3.3 ...
9 make NO_CURL=YesPlease NO_ICONV=YesPlease NO_TCLTK=YesPlease
10 NO_PERL=YesPlease NO_SVN_TESTS=YesPlease
11 DESTDIR=/var/tmp/portage/dev-util/git-1.6.3.3/image/
12 'OPTCFLAGS=-march=k6-2 -Os -pipe -fomit-frame-pointer'
13 OPTLDFLAGS=-Wl,-z,relro OPTCC=i386-gentoo-linux-uclibc-gcc
14 OPTAR=i386-gentoo-linux-uclibc-ar prefix=/usr
15 htmldir=/usr/share/doc/git-1.6.3.3/html
16 GIT_VERSION = 1.6.3.3
17 * new build flags or prefix
18 CC fast-import.o
19 .. snip ..
20 CC reachable.o
21 CC read-cache.o
22 read-cache.c: In function `fill_stat_cache_info':
23 read-cache.c:72: error: structure has no member named `st_ctim'
24 read-cache.c:73: error: structure has no member named `st_mtim'
25 read-cache.c: In function `read_index_from':
26 read-cache.c:1302: error: structure has no member named `st_mtim'
27 read-cache.c: In function `write_index':
28 read-cache.c:1567: error: structure has no member named `st_mtim'
29 make: *** [read-cache.o] Error 1
30 *
31 * ERROR: dev-util/git-1.6.3.3 failed.
32 * Call stack:
33 * ebuild.sh, line 49: Called src_compile
34 * environment, line 2671: Called die
35 * The specific snippet of code:
36 * git_emake || die "emake failed";
37 * The die message:
38 * emake failed
39 *
40 * If you need support, post the topmost build error, and the call stack
41 if relevant.
42 * A complete build log is located at
43 '/var/tmp/portage/dev-util/git-1.6.3.3/temp/build.log'.
44 * The ebuild environment file is located at
45 '/var/tmp/portage/dev-util/git-1.6.3.3/temp/environment'.
46 *
47
48 >>> Failed to emerge dev-util/git-1.6.3.3, Log file:
49
50 >>> '/var/tmp/portage/dev-util/git-1.6.3.3/temp/build.log'
51
52
53
54 I'm assuming this is something to do with kernel headers (2.6.27), but
55 not sure where to look? Any clues please?
56
57 Ed W

Replies

Subject Author
Re: [gentoo-embedded] Problems compiling git-1.6.3.3 Mike Frysinger <vapier@g.o>