Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: Embedded

Problems compiling git-1.6.3.3

 

 

Gentoo embedded RSS feed   Index | Next | Previous | View Threaded


lists at wildgooses

Jul 15, 2009, 4:59 PM

Post #1 of 2 (939 views)
Permalink
Problems compiling git-1.6.3.3

Hi, having a compile error trying to compile git-1.6.3.3 under hardened
(gcc 3.4) with uclibc 0.30.1. Build snippet below:

>>> Configuring source in
/var/tmp/portage/dev-util/git-1.6.3.3/work/git-1.6.3.3 ...
>>> Source configured.
>>> Compiling source in
/var/tmp/portage/dev-util/git-1.6.3.3/work/git-1.6.3.3 ...
make NO_CURL=YesPlease NO_ICONV=YesPlease NO_TCLTK=YesPlease
NO_PERL=YesPlease NO_SVN_TESTS=YesPlease
DESTDIR=/var/tmp/portage/dev-util/git-1.6.3.3/image/
'OPTCFLAGS=-march=k6-2 -Os -pipe -fomit-frame-pointer'
OPTLDFLAGS=-Wl,-z,relro OPTCC=i386-gentoo-linux-uclibc-gcc
OPTAR=i386-gentoo-linux-uclibc-ar prefix=/usr
htmldir=/usr/share/doc/git-1.6.3.3/html
GIT_VERSION = 1.6.3.3
* new build flags or prefix
CC fast-import.o
.. snip ..
CC reachable.o
CC read-cache.o
read-cache.c: In function `fill_stat_cache_info':
read-cache.c:72: error: structure has no member named `st_ctim'
read-cache.c:73: error: structure has no member named `st_mtim'
read-cache.c: In function `read_index_from':
read-cache.c:1302: error: structure has no member named `st_mtim'
read-cache.c: In function `write_index':
read-cache.c:1567: error: structure has no member named `st_mtim'
make: *** [read-cache.o] Error 1
*
* ERROR: dev-util/git-1.6.3.3 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2671: Called die
* The specific snippet of code:
* git_emake || die "emake failed";
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call stack
if relevant.
* A complete build log is located at
'/var/tmp/portage/dev-util/git-1.6.3.3/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/dev-util/git-1.6.3.3/temp/environment'.
*

>>> Failed to emerge dev-util/git-1.6.3.3, Log file:

>>> '/var/tmp/portage/dev-util/git-1.6.3.3/temp/build.log'



I'm assuming this is something to do with kernel headers (2.6.27), but
not sure where to look? Any clues please?

Ed W


vapier at gentoo

Jul 19, 2009, 11:13 AM

Post #2 of 2 (889 views)
Permalink
Re: Problems compiling git-1.6.3.3 [In reply to]

On Wednesday 15 July 2009 19:59:29 Ed W wrote:
> Hi, having a compile error trying to compile git-1.6.3.3 under hardened
>
> CC read-cache.o
> read-cache.c: In function `fill_stat_cache_info':
> read-cache.c:72: error: structure has no member named `st_ctim'
> read-cache.c:73: error: structure has no member named `st_mtim'
> read-cache.c: In function `read_index_from':
> read-cache.c:1302: error: structure has no member named `st_mtim'
> read-cache.c: In function `write_index':
> read-cache.c:1567: error: structure has no member named `st_mtim'

uClibc doesnt support nanosecond resolution yet. sucks that git doesnt test
for it before attempting to use it.
-mike
Attachments: signature.asc (0.82 KB)

Gentoo embedded RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.