[oe-issues] [Bug 2553] New: fix native coreutils build failure
bugzilla-daemon at tinman.treke.net
bugzilla-daemon at tinman.treke.net
Sat Jun 23 10:40:18 UTC 2007
http://bugs.openembedded.org/show_bug.cgi?id=2553
Summary: fix native coreutils build failure
Product: Openembedded
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: trivial
Priority: P2
Component: Build
AssignedTo: openembedded-issues at lists.openembedded.org
ReportedBy: utx at penguin.cz
QAContact: tinderbox-oe at gmx.net
On OpenSUSE 10.3 alpha native build of coreutils fails on following bug:
In file included from utimecmp.c:39:
utimens.h:2: error: conflicting types for 'futimens'
/usr/include/sys/stat.h:370: error: previous declaration of 'futimens' was here
It happens because sys/stat.h defines fourth argument - flags.
Looking at OpenSUSE patch for this problem (for the same version of coreutils),
replacing of all occurrences of futimens by gl_futimens works around this
problem.
./lib/utimens.c: return gl_futimens (-1, file, timespec);
./lib/utimens.h:int gl_futimens (int, char const *, struct timespec const [2]);
./src/touch.c: ok = (gl_futimens (fd, file, t) == 0);
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Openembedded-issues
mailing list