Make buildworld broken on RELENG_9?

Jeremy Chadwick jdc at koitsu.org
Thu Apr 18 23:36:28 UTC 2013


On Thu, Apr 18, 2013 at 02:16:28PM -0700, Jeremy Chadwick wrote:
> On Thu, Apr 18, 2013 at 10:59:29PM +0200, Paul van der Zwan wrote:
> > Since last weekend or so my make buildworld terminate at the following error:
> > ===> share/tabset (all)
> > uudecode < /usr/src/share/tabset/3101.uu
> > uudecode < /usr/src/share/tabset/9837.uu
> > uudecode < /usr/src/share/tabset/aa.uu
> > uudecode < /usr/src/share/tabset/aed512.uu
> > uudecode < /usr/src/share/tabset/beehive.uu
> > uudecode < /usr/src/share/tabset/diablo.uu
> > uudecode < /usr/src/share/tabset/dtc382.uu
> > uudecode < /usr/src/share/tabset/hp700-wy.uu
> > uudecode < /usr/src/share/tabset/ibm3101.uu
> > uudecode < /usr/src/share/tabset/std.uu
> > uudecode < /usr/src/share/tabset/stdcrt.uu
> > uudecode < /usr/src/share/tabset/tandem653.uu
> > uudecode < /usr/src/share/tabset/teleray.uu
> > uudecode < /usr/src/share/tabset/vt100.uu
> > uudecode < /usr/src/share/tabset/vt100-w.uu
> > uudecode < /usr/src/share/tabset/wyse-adds.uu
> > uudecode < /usr/src/share/tabset/xerox1720.uu
> > uudecode < /usr/src/share/tabset/xerox1730.uu
> > uudecode < /usr/src/share/tabset/xerox1730-lm.uu
> > uudecode < /usr/src/share/tabset/zenith29.uu
> > ===> share/termcap (all)
> > gzip -cn /usr/src/share/termcap/termcap.5 > termcap.5.gz
> > TERM=dumb TERMCAP=dumb: ex - /usr/src/share/termcap/termcap.src < /usr/src/share/termcap/reorder
> > script, 2: Pattern not found
> > *** [termcap] Error code 1
> > 
> > Stop in /usr/src/share/termcap.
> > *** [all] Error code 1
> > 
> > Stop in /usr/src/share.
> > *** [share.all__D] Error code 1
> > 
> > Stop in /usr/src.
> > *** [everything] Error code 1
> > 
> > Stop in /usr/src.
> > *** [buildworld] Error code 1
> > 
> > Stop in /usr/src.
> > 
> > Even after updateing /usr/src using svn I keep this.
> > Before this build I updated it:
> > $ cd /data/src ; svn up ; 
> > U    sys/sys/vnode.h
> >  U   sys/sys
> > U    sys/geom/geom_disk.c
> > U    sys/geom/geom_int.h
> > U    sys/geom/geom_subr.c
> > U    sys/geom/geom_dev.c
> > U    sys/geom/geom_event.c
> > U    sys/ufs/ufs/ufs_lookup.c
> > U    sys/ufs/ffs/ffs_softdep.c
> > U    sys/cam/cam_xpt.c
> > U    sys/cam/cam_periph.c
> > U    sys/cam/cam_sim.c
> > U    sys/cam/cam_periph.h
> > U    sys/cam/cam_sim.h
> > U    sys/cam/scsi/scsi_xpt.c
> > U    sys/cam/scsi/scsi_da.c
> > U    sys/cam/scsi/scsi_pass.c
> > U    sys/cam/scsi/scsi_cd.c
> > U    sys/cam/ata/ata_da.c
> > U    sys/cam/ata/ata_all.c
> > U    sys/cam/ata/ata_xpt.c
> > U    sys/dev/usb/controller/xhci_pci.c
> >  U   sys/dev
> > U    sys/kern/vfs_cache.c
> >  U   sys
> > Updated to revision 249624.
> > 
> > /etc/make.conf is almost empty :
> > $ cat /etc/make.conf
> > KERNCONF=vbox
> > CFLAGS= -O2 -fno-strict-aliasing -pipe
> > COPTFLAGS= -O -pipe
> > 
> > # added by use.perl 2013-03-12 18:50:12
> > PERL_VERSION=5.14.2
> > 
> > Any ideas ?
> 
> I've been able to build stable/9 world without issue even as recent as
> last night.  I'll rm -fr /usr/obj/* and rebuild world under "script"
> then go look at the output to see if I see anything anomalous around
> the area you've shown.  I'll reply when that's done.
>
> {snip}

Can't reproduce the issue.

root at testbox:/usr/src # svn info
Path: .
Working Copy Root Path: /usr/src
URL: svn://svn.freebsd.org/base/stable/9
Repository Root: svn://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 249628
Node Kind: directory
Schedule: normal
Last Changed Author: mav
Last Changed Rev: 249624
Last Changed Date: 2013-04-18 06:19:41 -0700 (Thu, 18 Apr 2013)

Here's what I get, around where yours fails:

===> share/termcap (all)
gzip -cn /usr/src/share/termcap/termcap.5 > termcap.5.gz
TERM=dumb TERMCAP=dumb: ex - /usr/src/share/termcap/termcap.src < /usr/src/share/termcap/reorder
cap_mkdb -l termcap
===> share/timedef (all)
grep -v '^#' < /usr/src/share/timedef/am_ET.UTF-8.src > am_ET.UTF-8.out

Note that yours says "script, 2: Pattern not found" with no mention of
cap_mkdb.

My guess is that you have one of the following:

a) A corrupted src/share/termcap/Makefile,
b) A corrupted SVN repo,
c) Silent filesystem corruption,
d) Physical disk issues (e.g. bit rot).

I've put the full output of my build here (~791KBytes):

http://jdc.koitsu.org/freebsd/output.20130418.txt.gz

Contents of my /etc/src.conf, which should have no bearing on your
issue:

WITHOUT_CLANG=true
WITHOUT_INET6=true
WITHOUT_IPFILTER=true
WITHOUT_LIB32=true
WITHOUT_KERBEROS=true
WITHOUT_PAM_SUPPORT=true
WITHOUT_SENDMAIL=true
WITH_OPENSSH_NONE_CIPHER=true

If you want to "start fresh" with your repo and use SVN, do this:

rm -fr /usr/src
rm -fr /usr/src/.svn
svn checkout svn://svn.freebsd.org/base/stable/9 /usr/src

Then do this before retrying buildworld:

rm -fr /usr/obj/*
cd /usr/src
make buildworld

-- 
| Jeremy Chadwick                                   jdc at koitsu.org |
| UNIX Systems Administrator                http://jdc.koitsu.org/ |
| Mountain View, CA, US                                            |
| Making life hard for others since 1977.             PGP 4BD6C0CB |


More information about the freebsd-stable mailing list