[lsb-bugs] [Bug 1848] New: LSB-si build fails during coreutils compile due to conflicting types for ' tee'

bugzilla-daemon at linux-foundation.org bugzilla-daemon at linux-foundation.org
Tue Dec 18 08:31:44 PST 2007


http://bugs.linuxbase.org/show_bug.cgi?id=1848

           Summary: LSB-si build fails during coreutils compile due to
                    conflicting types for 'tee'
           Product: Sample Implementation
           Version: unspecified
          Platform: Other
        OS/Version: Debian
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Sample Runtime
        AssignedTo: heffler at us.ibm.com
        ReportedBy: sam at linux-foundation.org
         QAContact: lsb-bugs at freestandards.org
        Depends on: 1815
            Blocks: 1308


During the 'make build' or 'nALFS -i -l LSB.xml' process, we encounter the
following problem while coreutils is being built:

make  all-recursive
make[1]: Entering directory
`/usr/src/si/lsbsi-bootstrap-ia32/usr/src/coreutils-5.96'
Making all in lib
make[2]: Entering directory
`/usr/src/si/lsbsi-bootstrap-ia32/usr/src/coreutils-5.96/lib'
make  all-am
make[3]: Entering directory
`/usr/src/si/lsbsi-bootstrap-ia32/usr/src/coreutils-5.96/lib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory
`/usr/src/si/lsbsi-bootstrap-ia32/usr/src/coreutils-5.96/lib'
make[2]: Leaving directory
`/usr/src/si/lsbsi-bootstrap-ia32/usr/src/coreutils-5.96/lib'
Making all in src
make[2]: Entering directory
`/usr/src/si/lsbsi-bootstrap-ia32/usr/src/coreutils-5.96/src'
make  all-am
make[3]: Entering directory
`/usr/src/si/lsbsi-bootstrap-ia32/usr/src/coreutils-5.96/src'
if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I. -I../lib -I../lib   -g
-O2 -MT tee.o -MD -MP -MF ".deps/tee.Tpo" -c -o tee.o tee.c; \
        then mv -f ".deps/tee.Tpo" ".deps/tee.Po"; else rm -f ".deps/tee.Tpo";
exit 1; fi
tee.c:34: error: conflicting types for 'tee'
/usr/include/bits/fcntl.h:250: error: previous declaration of 'tee' was here
make[3]: *** [tee.o] Error 1
make[3]: Leaving directory
`/usr/src/si/lsbsi-bootstrap-ia32/usr/src/coreutils-5.96/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/usr/src/si/lsbsi-bootstrap-ia32/usr/src/coreutils-5.96/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/src/si/lsbsi-bootstrap-ia32/usr/src/coreutils-5.96'
make: *** [all] Error 2

The build environments tested thus far (that had this error) were Debian x86
and Debian x86_64.

This was built using the experimental patch from:
http://www.linux-foundation.org/~criswell/coreutils-5.96-futimens.patch

which may be a solution to bug #1815.


-- 
Configure bugmail: http://bugs.linuxbase.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the lsb-bugs mailing list