| Summary: | sys-apps/busybox-1.17.1 for MIPS fails to emerge using cross-compilation | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Sergio Costas <raster> |
| Component: | [OLD] Core system | Assignee: | Embedded Gentoo Team <embedded> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | MIPS | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
ive added the fix from upstream ... build should be ok now |
When I try to emerge Busybox 1.17.1 using crosscompilation for MIPS, I receive a compilation error. I attach a patch. Reproducible: Always Steps to Reproduce: emerge-mipsel-unknown-linux-uclibc system Actual Results: coreutils/date.c: In function 'date_main': coreutils/date.c:210: error: 'struct stat' has no member named 'st_mtim' Expected Results: Right compilation. This patch (busybox-1.17.1-date.patch) fixes the problem. --- a/coreutils/date.c 2010-09-04 16:37:18.269169000 +0200 +++ b/coreutils/date.c 2010-09-04 16:54:50.443406027 +0200 @@ -207,7 +207,7 @@ xstat(filename, &statbuf); ts.tv_sec = statbuf.st_mtime; #if ENABLE_FEATURE_DATE_NANO - ts.tv_nsec = statbuf.st_mtim.tv_nsec; + ts.tv_nsec = statbuf.st_mtimensec; #endif } else { #if ENABLE_FEATURE_DATE_NANO