Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: build failure w/ latest quota merge



On Fri, Mar 25, 2011 at 12:09:20AM +0000, bch%methodlogic.net@localhost wrote:
> On Thu, Mar 24, 2011 at 11:21:29PM +0000, bch%methodlogic.net@localhost wrote:
> > On Fri, Mar 25, 2011 at 12:19:17AM +0100, Manuel Bouyer wrote:
> > > On Thu, Mar 24, 2011 at 08:02:32PM +0000, bch%methodlogic.net@localhost 
> > > wrote:
> > > > 
> > > > More complete paste:
> > > > 
> > > > #   compile  makefs/ffs_bswap.lo^M
> > > > cc -O -I. -I/usr/src/obj/tooldir.NetBSD-5.99.48-amd64/include/nbinclude 
> > > > -I/usr/src/obj/tooldir.NetBSD-5.99.48-amd64/include 
> > > > -I/usr/src/tools/compat/obj -I/usr/src/tools/compat/obj/include 
> > > > -I/usr/src/tools/makefs/
> > > > ../compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 
> > > > -I/usr/src/tools/makefs/../../usr.sbin/makefs -I/usr/src/sbin/mknod 
> > > > -I/usr/src/usr.sbin/mtree -I/usr/src/sys/fs/cd9660 -c -o ffs_bswap.lo.o 
> > > >    /usr/src/sy
> > > > s/ufs/ffs/ffs_bswap.c^M
> > > > In file included from /usr/src/sys/ufs/ffs/ffs_bswap.c:41:^M
> > > > /usr/src/obj/tooldir.NetBSD-5.99.48-amd64/include/nbinclude/ufs/ufs/quota.h:39:29:
> > > >  error: quota/quotaprop.h: No such file or directory^M
> > > 
> > > Strange, it builds fine for me.
> > > On what host is this ?
> > 
> > Hi Manuel.
> > 
> > I'm amd64, completely up-to-date src. I don't know if there's stray
> > cruft, but "cvs updates" don't indicate any, and build w/ implicit clean
> > (./build.sh -j4 -x distribution) still fail.
> > 
> > > can you try the attached patch ?
> > 
> > Will do.
> 
> First attempt failed; I'm doing an explicit clean and retrying.

Still fails. I deleted my obj dirs, rebuilt tools and started building 
distribution from scratch (nice ./build.sh   -j4 -x distribution).

#      link  quotactl/quotactl
/usr/src/obj/tooldir.NetBSD-5.99.48-amd64/bin/x86_64--netbsd-gcc  
-B/usr/src/obj/destdir.amd64/usr/lib/ -B/usr/src/obj/destdir.amd64/usr/lib/  
-Wl,-nostdlib   -Wl,--fatal-warnings     -o quotactl  quotactl.o quota2_prop.o 
-lprop      -L/usr/src/obj/destdir.amd64/usr/lib   
-Wl,-rpath-link,/usr/src/obj/destdir.amd64/lib  
-L/usr/src/obj/destdir.amd64/lib 
-Wl,-rpath-link,/usr/src/obj/destdir.amd64/usr/lib  
-L/usr/src/obj/destdir.amd64/usr/lib
x86_64--netbsd-gcc: quota2_prop.o: No such file or directory
--- dependall-usr.bin ---
--- whatis.cat1 ---
#    format  whatis/whatis.cat1
PATH=/usr/src/obj/tooldir.NetBSD-5.99.48-amd64/lib/groff:${PATH} 
/usr/src/obj/tooldir.NetBSD-5.99.48-amd64/bin/nbnroff -mandoc 
/usr/src/usr.bin/whatis/whatis.1   > whatis.cat1.tmp && mv whatis.cat1.tmp 
whatis.cat1
--- dependall-usr.sbin ---
*** [quotactl] Error code 1
nbmake: stopped in /usr/src/usr.sbin/quotactl
1 error
nbmake: stopped in /usr/src/usr.sbin/quotactl
*** [dependall] Error code 2
nbmake: stopped in /usr/src/usr.sbin/quotactl
1 error
nbmake: stopped in /usr/src/usr.sbin/quotactl
*** [dependall-quotactl] Error code 2
nbmake: stopped in /usr/src/usr.sbin
1 error
nbmake: stopped in /usr/src/usr.sbin
*** [dependall-usr.sbin] Error code 2
nbmake: stopped in /usr/src
--- dependall-usr.bin ---
A failure has been detected in another branch of the parallel make
nbmake: stopped in /usr/src/usr.bin/whatis
*** [dependall] Error code 2
nbmake: stopped in /usr/src/usr.bin/whatis
1 error
nbmake: stopped in /usr/src/usr.bin/whatis
*** [dependall-whatis] Error code 2
nbmake: stopped in /usr/src/usr.bin
1 error
nbmake: stopped in /usr/src/usr.bin
*** [dependall-usr.bin] Error code 2
nbmake: stopped in /usr/src
--- dependall-external ---
A failure has been detected in another branch of the parallel make
nbmake: stopped in /usr/src/external/bsd/atf/tests/atf/atf-run
*** [dependall] Error code 2
nbmake: stopped in /usr/src/external/bsd/atf/tests/atf/atf-run
1 error
nbmake: stopped in /usr/src/external/bsd/atf/tests/atf/atf-run
*** [dependall-atf-run] Error code 2
nbmake: stopped in /usr/src/external/bsd/atf/tests/atf
1 error
nbmake: stopped in /usr/src/external/bsd/atf/tests/atf
*** [dependall-atf] Error code 2
nbmake: stopped in /usr/src/external/bsd/atf/tests
1 error
nbmake: stopped in /usr/src/external/bsd/atf/tests
*** [dependall-tests] Error code 2
nbmake: stopped in /usr/src/external/bsd/atf
1 error
nbmake: stopped in /usr/src/external/bsd/atf
*** [dependall-atf] Error code 2
nbmake: stopped in /usr/src/external/bsd
1 error
nbmake: stopped in /usr/src/external/bsd
*** [dependall-bsd] Error code 2
nbmake: stopped in /usr/src/external
1 error
nbmake: stopped in /usr/src/external
*** [dependall-external] Error code 2
nbmake: stopped in /usr/src
--- dependall-gnu ---
/usr/src/obj/tooldir.NetBSD-5.99.48-amd64/bin/x86_64--netbsd-objcopy -x 
insn-attrtab.o
A failure has been detected in another branch of the parallel make
nbmake: stopped in /usr/src/gnu/usr.bin/gcc4/backend
*** [dependall] Error code 2
nbmake: stopped in /usr/src/gnu/usr.bin/gcc4/backend
1 error
nbmake: stopped in /usr/src/gnu/usr.bin/gcc4/backend
*** [dependall-backend] Error code 2
nbmake: stopped in /usr/src/gnu/usr.bin/gcc4
1 error
nbmake: stopped in /usr/src/gnu/usr.bin/gcc4
*** [dependall-gcc4] Error code 2
nbmake: stopped in /usr/src/gnu/usr.bin
1 error
nbmake: stopped in /usr/src/gnu/usr.bin
*** [dependall-usr.bin] Error code 2
nbmake: stopped in /usr/src/gnu
1 error
nbmake: stopped in /usr/src/gnu
*** [dependall-gnu] Error code 2
nbmake: stopped in /usr/src
4 errors
nbmake: stopped in /usr/src
*** [do-build] Error code 2
nbmake: stopped in /usr/src
1 error
nbmake: stopped in /usr/src
*** [build] Error code 2
nbmake: stopped in /usr/src
1 error
nbmake: stopped in /usr/src
*** [distribution] Error code 2

nbmake: stopped in /usr/src
1 error

nbmake: stopped in /usr/src

ERROR: Failed to make distribution
*** BUILD ABORTED ***


> -bch
> 
> > 
> > > -- 
> > > Manuel Bouyer <bouyer%antioche.eu.org@localhost>
> > >      NetBSD: 26 ans d'experience feront toujours la difference
> > > --
> > 
> > > Index: ufs/ufs/quota.h
> > > ===================================================================
> > > RCS file: /cvsroot/src/sys/ufs/ufs/quota.h,v
> > > retrieving revision 1.27
> > > diff -u -r1.27 quota.h
> > > --- ufs/ufs/quota.h       24 Mar 2011 17:05:45 -0000      1.27
> > > +++ ufs/ufs/quota.h       24 Mar 2011 23:18:28 -0000
> > > @@ -36,7 +36,6 @@
> > >  
> > >  #ifndef  _UFS_UFS_QUOTA_H_
> > >  #define  _UFS_UFS_QUOTA_H_
> > > -#include <quota/quotaprop.h>
> > >  
> > >  /*
> > >   * These definitions are common to the original disk quota implementation
> > > @@ -55,6 +54,8 @@
> > >  #define  GRPQUOTA        1       /* element used for group quotas */
> > >  
> > >  
> > > +#if !defined(HAVE_NBTOOL_CONFIG_H)
> > > +#include <quota/quotaprop.h>
> > >  __inline static int __unused
> > >  ufsclass2qtype(int class)
> > >  {
> > > @@ -80,6 +81,7 @@
> > >           return -1;
> > >   }
> > >  }
> > > +#endif /* !defined(HAVE_NBTOOL_CONFIG_H) */
> > >  
> > >  #ifdef _KERNEL
> > >  
> > 
> > 
> > -- 
> > Brad Harder
> > Method Logic Digital Consulting
> > http://methodlogic.net
> > http://twitter.com/bcharder
> > 
> 
> -- 
> Brad Harder
> Method Logic Digital Consulting
> http://methodlogic.net
> http://twitter.com/bcharder
> 

-- 
Brad Harder
Method Logic Digital Consulting
http://methodlogic.net
http://twitter.com/bcharder



Home | Main Index | Thread Index | Old Index