Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2013 21:57:46 +0200
From:      Paul van der Zwan <paulz@vanderzwan.org>
To:        Jeremy Chadwick <jdc@koitsu.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Make buildworld broken on RELENG_9?
Message-ID:  <EF83582E-A45F-4EE0-AC02-9E248F652E59@vanderzwan.org>
In-Reply-To: <20130418233626.GA39582@icarus.home.lan>
References:  <A2839C0B-667A-4614-9118-D14D3C70BF12@vanderzwan.org> <20130418211628.GA37504@icarus.home.lan> <20130418233626.GA39582@icarus.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help

On 19 Apr 2013, at 1:36 , Jeremy Chadwick <jdc@koitsu.org> wrote:

> 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:
>>> =3D=3D=3D> 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
>>> =3D=3D=3D> share/termcap (all)
>>> gzip -cn /usr/src/share/termcap/termcap.5 > termcap.5.gz
>>> TERM=3Ddumb TERMCAP=3Ddumb: ex - /usr/src/share/termcap/termcap.src =
< /usr/src/share/termcap/reorder
>>> script, 2: Pattern not found
>>> *** [termcap] Error code 1
>>>=20
>>> Stop in /usr/src/share/termcap.
>>> *** [all] Error code 1
>>>=20
>>> Stop in /usr/src/share.
>>> *** [share.all__D] Error code 1
>>>=20
>>> Stop in /usr/src.
>>> *** [everything] Error code 1
>>>=20
>>> Stop in /usr/src.
>>> *** [buildworld] Error code 1
>>>=20
>>> Stop in /usr/src.
>>>=20
>>> Even after updateing /usr/src using svn I keep this.
>>> Before this build I updated it:
>>> $ cd /data/src ; svn up ;=20
>>> 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.
>>>=20
>>> /etc/make.conf is almost empty :
>>> $ cat /etc/make.conf
>>> KERNCONF=3Dvbox
>>> CFLAGS=3D -O2 -fno-strict-aliasing -pipe
>>> COPTFLAGS=3D -O -pipe
>>>=20
>>> # added by use.perl 2013-03-12 18:50:12
>>> PERL_VERSION=3D5.14.2
>>>=20
>>> Any ideas ?
>>=20
>> 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.
>>=20
>> {snip}
>=20
> Can't reproduce the issue.
>=20
> root@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)
>=20
> Here's what I get, around where yours fails:
>=20
> =3D=3D=3D> share/termcap (all)
> gzip -cn /usr/src/share/termcap/termcap.5 > termcap.5.gz
> TERM=3Ddumb TERMCAP=3Ddumb: ex - /usr/src/share/termcap/termcap.src < =
/usr/src/share/termcap/reorder
> cap_mkdb -l termcap
> =3D=3D=3D> share/timedef (all)
> grep -v '^#' < /usr/src/share/timedef/am_ET.UTF-8.src > =
am_ET.UTF-8.out
>=20
> Note that yours says "script, 2: Pattern not found" with no mention of
> cap_mkdb.
>=20
> My guess is that you have one of the following:
>=20
> a) A corrupted src/share/termcap/Makefile,
> b) A corrupted SVN repo,

Deleted the content of src/share/termcap and reran svn.
Now the build succeeds.

> c) Silent filesystem corruption,
> d) Physical disk issues (e.g. bit rot).
>=20
/usr/src is NFS mounted from an OpenIndiana server so the underlying FS =
is ZFS, so no bitrot or silent corruption
should be possible.

I made a snapshot before I deleted the files and ran svn:
$ ls -l /data//src/.zfs/snapshot/20130419/share/termcap/
total 669
-rw-r--r--   1 paulz    home         731 Nov 18 22:26 Makefile
-rw-r--r--   1 paulz    home        2501 Nov 18 22:26 README
-rw-r--r--   1 paulz    home        1467 Nov 18 22:26 reorder
-rw-r--r--   1 paulz    home        3531 Nov 18 22:26 tck
-rw-r--r--   1 paulz    home       66181 Nov 18 22:26 termcap.5
-rw-r--r--   1 paulz    home      214309 Apr 16 18:55 termcap.src
$ ls -l
total 669
-rw-r--r--   1 paulz    home         731 Apr 19 17:01 Makefile
-rw-r--r--   1 paulz    home        2501 Apr 19 17:01 README
-rw-r--r--   1 paulz    home        1467 Apr 19 17:01 reorder
-rw-r--r--   1 paulz    home        3531 Apr 19 17:01 tck
-rw-r--r--   1 paulz    home       66181 Apr 19 17:01 termcap.5
-rw-r--r--   1 paulz    home      208289 Apr 19 17:01 termcap.src

So it looks like termcap.src was very different but somehow svn never =
updated that file.
I have only used svn to pull in the FreeBSD source so at the moment no =
idea if that is normal,
but it surprised my that this happened..

Paul





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EF83582E-A45F-4EE0-AC02-9E248F652E59>