|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
amd64 5.0_STABLE -> i386 -current cross build fails in lint?This is an odd one, I see lint failures even after cleaning out both the
objdir and destdir and rebuilding tools: --- LintSysNoerr.ln --- CC=/extra/tools/i386/bin/i486--netbsdelf-gcc /extra/tools/i386/bin/i486--netbsde lf-lint -chapbxzFS -w -X 272 -d /extra/i386/root/usr/include -D_LIBC -DLIBC_SCC S -DSYSLIBC_SCCS -D_REENTRANT -DHESIOD -DINET6 -DNLS -DYP -I/extra/netbsd-src/cu rrent/lib/libc/include -I/extra/netbsd-src/current/lib/libc -I/extra/netbsd-src/ current/sys -I/extra/netbsd-src/current/lib/libc/compat/stdlib -I/extra/netbsd-s rc/current/lib/libc/compat/../stdlib -I/extra/netbsd-src/current/lib/libc/../../ common/lib/libc/quad -I/extra/netbsd-src/current/lib/libc/../../common/lib/libc/ string -I/extra/netbsd-src/current/lib/libc/../../common/lib/libc/arch/i386/stri ng -D__DBINTERFACE_PRIVATE -I/extra/netbsd-src/current/libexec/ld.elf_so -I/extr a/netbsd-src/current/lib/libc/dlfcn -I/extra/netbsd-src/current/lib/libc/gdtoa - DNO_FENV_H -I/extra/netbsd-src/current/lib/libc/arch/i386/gdtoa -DWITH_RUNE -I/e xtra/netbsd-src/current/lib/libc -DPOSIX_MISTAKE -DCOMPAT__RES -DUSE_POLL -DPORT MAP -DWIDE_DOUBLE -DALL_STATE -DUSG_COMPAT -D_FORTIFY_SOURCE=2 -i LintSysNoer r.c /extra/netbsd-src/current/sys/compat/sys/time.h(131): redeclaration of getitimer [27] /extra/netbsd-src/current/sys/compat/sys/time.h(132): redeclaration of gettimeof day [27] /extra/netbsd-src/current/sys/compat/sys/time.h(134): redeclaration of setitimer [27] /extra/netbsd-src/current/sys/compat/sys/time.h(135): redeclaration of utimes [2 7] /extra/netbsd-src/current/sys/compat/sys/time.h(144): redeclaration of adjtime [ 27] /extra/netbsd-src/current/sys/compat/sys/time.h(145): redeclaration of futimes [ 27] /extra/netbsd-src/current/sys/compat/sys/time.h(146): redeclaration of lutimes [ 27] /extra/netbsd-src/current/sys/compat/sys/time.h(148): redeclaration of settimeof day [27] *** [LintSysPseudoNoerr.ln] Error code 1 The build got through this phase last night, then I updated (and nothing relevant changed AFAICT) and I'm stuck here. Any clues welcome, --rafal -- Time is an illusion; lunchtime, doubly so. |/\/\| Rafal Boni -- Ford Prefect |\/\/| rafal@... |
|
|
Re: amd64 5.0_STABLE -> i386 -current cross build fails in lint?On Thu, Nov 05, 2009 at 11:18:19AM -0500, Rafal Boni wrote:
> This is an odd one, I see lint failures even after cleaning out both the > objdir and destdir and rebuilding tools: > > --- LintSysNoerr.ln --- > CC=/extra/tools/i386/bin/i486--netbsdelf-gcc /extra/tools/i386/bin/i486--netbsde > lf-lint -chapbxzFS -w -X 272 -d /extra/i386/root/usr/include -D_LIBC -DLIBC_SCC > S -DSYSLIBC_SCCS -D_REENTRANT -DHESIOD -DINET6 -DNLS -DYP -I/extra/netbsd-src/cu > rrent/lib/libc/include -I/extra/netbsd-src/current/lib/libc -I/extra/netbsd-src/ > current/sys -I/extra/netbsd-src/current/lib/libc/compat/stdlib -I/extra/netbsd-s > rc/current/lib/libc/compat/../stdlib -I/extra/netbsd-src/current/lib/libc/../../ > common/lib/libc/quad -I/extra/netbsd-src/current/lib/libc/../../common/lib/libc/ > string -I/extra/netbsd-src/current/lib/libc/../../common/lib/libc/arch/i386/stri > ng -D__DBINTERFACE_PRIVATE -I/extra/netbsd-src/current/libexec/ld.elf_so -I/extr > a/netbsd-src/current/lib/libc/dlfcn -I/extra/netbsd-src/current/lib/libc/gdtoa - > DNO_FENV_H -I/extra/netbsd-src/current/lib/libc/arch/i386/gdtoa -DWITH_RUNE -I/e > xtra/netbsd-src/current/lib/libc -DPOSIX_MISTAKE -DCOMPAT__RES -DUSE_POLL -DPORT > MAP -DWIDE_DOUBLE -DALL_STATE -DUSG_COMPAT -D_FORTIFY_SOURCE=2 -i LintSysNoer > r.c > /extra/netbsd-src/current/sys/compat/sys/time.h(131): redeclaration of getitimer > [27] > /extra/netbsd-src/current/sys/compat/sys/time.h(132): redeclaration of gettimeof > day [27] > /extra/netbsd-src/current/sys/compat/sys/time.h(134): redeclaration of setitimer > [27] > /extra/netbsd-src/current/sys/compat/sys/time.h(135): redeclaration of utimes [2 > 7] > /extra/netbsd-src/current/sys/compat/sys/time.h(144): redeclaration of adjtime [ > 27] > /extra/netbsd-src/current/sys/compat/sys/time.h(145): redeclaration of futimes [ > 27] > /extra/netbsd-src/current/sys/compat/sys/time.h(146): redeclaration of lutimes [ > 27] > /extra/netbsd-src/current/sys/compat/sys/time.h(148): redeclaration of settimeof > day [27] > *** [LintSysPseudoNoerr.ln] Error code 1 > > The build got through this phase last night, then I updated (and nothing > relevant changed AFAICT) and I'm stuck here. This is related to recent lfs compat changes ... LintSys*.c files do include both `sys/time.h' and `compat/sys/time.h' (from ufs/lfs/lfs.h) which have conflicting definitions ... -- Nicolas Joly Biological Software and Databanks. Institut Pasteur, Paris. |
|
|
Re: amd64 5.0_STABLE -> i386 -current cross build fails in lint?On Thu, Nov 05, 2009 at 11:18:19AM -0500, Rafal Boni wrote:
> This is an odd one, I see lint failures even after cleaning out both the > objdir and destdir and rebuilding tools: > > --- LintSysNoerr.ln --- > CC=/extra/tools/i386/bin/i486--netbsdelf-gcc /extra/tools/i386/bin/i486--netbsde > lf-lint -chapbxzFS -w -X 272 -d /extra/i386/root/usr/include -D_LIBC -DLIBC_SCC > S -DSYSLIBC_SCCS -D_REENTRANT -DHESIOD -DINET6 -DNLS -DYP -I/extra/netbsd-src/cu > rrent/lib/libc/include -I/extra/netbsd-src/current/lib/libc -I/extra/netbsd-src/ > current/sys -I/extra/netbsd-src/current/lib/libc/compat/stdlib -I/extra/netbsd-s > rc/current/lib/libc/compat/../stdlib -I/extra/netbsd-src/current/lib/libc/../../ > common/lib/libc/quad -I/extra/netbsd-src/current/lib/libc/../../common/lib/libc/ > string -I/extra/netbsd-src/current/lib/libc/../../common/lib/libc/arch/i386/stri > ng -D__DBINTERFACE_PRIVATE -I/extra/netbsd-src/current/libexec/ld.elf_so -I/extr > a/netbsd-src/current/lib/libc/dlfcn -I/extra/netbsd-src/current/lib/libc/gdtoa - > DNO_FENV_H -I/extra/netbsd-src/current/lib/libc/arch/i386/gdtoa -DWITH_RUNE -I/e > xtra/netbsd-src/current/lib/libc -DPOSIX_MISTAKE -DCOMPAT__RES -DUSE_POLL -DPORT > MAP -DWIDE_DOUBLE -DALL_STATE -DUSG_COMPAT -D_FORTIFY_SOURCE=2 -i LintSysNoer > r.c > /extra/netbsd-src/current/sys/compat/sys/time.h(131): redeclaration of getitimer > [27] > /extra/netbsd-src/current/sys/compat/sys/time.h(132): redeclaration of gettimeof > day [27] > /extra/netbsd-src/current/sys/compat/sys/time.h(134): redeclaration of setitimer > [27] > /extra/netbsd-src/current/sys/compat/sys/time.h(135): redeclaration of utimes [2 > 7] > /extra/netbsd-src/current/sys/compat/sys/time.h(144): redeclaration of adjtime [ > 27] > /extra/netbsd-src/current/sys/compat/sys/time.h(145): redeclaration of futimes [ > 27] > /extra/netbsd-src/current/sys/compat/sys/time.h(146): redeclaration of lutimes [ > 27] > /extra/netbsd-src/current/sys/compat/sys/time.h(148): redeclaration of settimeof > day [27] > *** [LintSysPseudoNoerr.ln] Error code 1 For what it's worth, this seems like it's related to the removal of COMPAT_50 from lfs.h; though I'm not sure putting it back is the uber-correct fix, at least it let me get past this, so I did that locally (only around the include of compat/sys/time.h). --rafal -- Time is an illusion; lunchtime, doubly so. |/\/\| Rafal Boni -- Ford Prefect |\/\/| rafal@... |
|
|
Re: amd64 5.0_STABLE -> i386 -current cross build fails in lint?On Thu, Nov 05, 2009 at 11:57:26AM -0500, Rafal Boni wrote:
> > /extra/netbsd-src/current/sys/compat/sys/time.h(146): redeclaration of lutimes [ > > 27] > > /extra/netbsd-src/current/sys/compat/sys/time.h(148): redeclaration of settimeof > > day [27] > > *** [LintSysPseudoNoerr.ln] Error code 1 > > For what it's worth, this seems like it's related to the removal of COMPAT_50 > from lfs.h; though I'm not sure putting it back is the uber-correct fix, at > least it let me get past this, so I did that locally (only around the include > of compat/sys/time.h). Hrmph, built the wrong tree (there's always an excuse ;) Should be fixed now, cvs up sys/compat/sys and sys/ufs/lfs. Sorry 'bout that. |
|
|
Re: amd64 5.0_STABLE -> i386 -current cross build fails in lint?On Thu, Nov 05, 2009 at 07:01:38PM +0200, Antti Kantee wrote:
> On Thu, Nov 05, 2009 at 11:57:26AM -0500, Rafal Boni wrote: > > > /extra/netbsd-src/current/sys/compat/sys/time.h(146): redeclaration of lutimes [ > > > 27] > > > /extra/netbsd-src/current/sys/compat/sys/time.h(148): redeclaration of settimeof > > > day [27] > > > *** [LintSysPseudoNoerr.ln] Error code 1 > > > > For what it's worth, this seems like it's related to the removal of COMPAT_50 > > from lfs.h; though I'm not sure putting it back is the uber-correct fix, at > > least it let me get past this, so I did that locally (only around the include > > of compat/sys/time.h). > > Hrmph, built the wrong tree (there's always an excuse ;) > > Should be fixed now, cvs up sys/compat/sys and sys/ufs/lfs. > > Sorry 'bout that. Actually, that doesn't quite do it. hmmmm |
|
|
Re: amd64 5.0_STABLE -> i386 -current cross build fails in lint?On Thu, Nov 05, 2009 at 07:06:49PM +0200, Antti Kantee wrote:
> On Thu, Nov 05, 2009 at 07:01:38PM +0200, Antti Kantee wrote: > > On Thu, Nov 05, 2009 at 11:57:26AM -0500, Rafal Boni wrote: > > > > /extra/netbsd-src/current/sys/compat/sys/time.h(146): redeclaration of lutimes [ > > > > 27] > > > > /extra/netbsd-src/current/sys/compat/sys/time.h(148): redeclaration of settimeof > > > > day [27] > > > > *** [LintSysPseudoNoerr.ln] Error code 1 > > > > > > For what it's worth, this seems like it's related to the removal of COMPAT_50 > > > from lfs.h; though I'm not sure putting it back is the uber-correct fix, at > > > least it let me get past this, so I did that locally (only around the include > > > of compat/sys/time.h). > > > > Hrmph, built the wrong tree (there's always an excuse ;) > > > > Should be fixed now, cvs up sys/compat/sys and sys/ufs/lfs. > > > > Sorry 'bout that. > > Actually, that doesn't quite do it. hmmmm Ok, now. (unless I built the wrong tree again) |
| Free embeddable forum powered by Nabble | Forum Help |