Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Sep 2020 09:57:29 +0200
From:      "O. Hartmann" <ohartmann@walstatt.org>
To:        Alan Somers <asomers@freebsd.org>
Cc:        Ryan Stone <rysto32@gmail.com>, Michael Butler <imb@protected-networks.net>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: buildworld: "cp: /dev/null: Invalid argument"
Message-ID:  <20200911095723.12e10580@freyja>
In-Reply-To: <CAOtMX2jf%2Bd=BCe8j9AYs3Rv=0rEjSNeZuy85En2QNi%2B0oY_E6Q@mail.gmail.com>
References:  <07df44dc-5635-121e-bcd0-f5bb6c70ee54@protected-networks.net> <ceba25c4-9b93-a77f-52ee-5c989559ab92@protected-networks.net> <CAFMmRNxdtxCmvCeNnZU_E9Vy_ux3WNELJXAbm4AVNVt_LkkjaA@mail.gmail.com> <CAOtMX2jf%2Bd=BCe8j9AYs3Rv=0rEjSNeZuy85En2QNi%2B0oY_E6Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 10 Sep 2020 10:44:08 -0600
Alan Somers <asomers@freebsd.org> wrote:

> No, it's devfs.  I'll fix it.
>
> On Thu, Sep 10, 2020 at 10:18 AM Ryan Stone <rysto32@gmail.com> wrote:
>
> > I'm curious: does this give a similar issue?
> >
> > touch /tmp/foo
> > cp /tmp/foo /tmo/foo2
> >
> > I'm wondering if the issue is that copy_file_range isn't handling
> > empty files, or if it's a devfs issue.
> >
> >
> > On Thu, Sep 10, 2020 at 11:45 AM Michael Butler
> > <imb@protected-networks.net> wrote:
> > >
> > > It seems that SVN r365549 broke "cp /dev/null ..."
> > >
> > >     imb
> > >
> > > On 9/10/20 10:35 AM, Michael Butler wrote:
> > > > Is anyone else seeing failures like this in building world and, in=
 my
> > > > case, cron jobs as well?
> > > >
> > > >
> > > > Building /usr/obj/usr/src/amd64.amd64/stand/i386/zfsboot/zfsboot.l=
dr
> > > > --- all_subdir_sbin ---
> > > > Building /usr/obj/usr/src/amd64.amd64/sbin/bsdlabel/bsdlabel
> > > > --- all_subdir_stand ---
> > > > --- zfsboot.ldr ---
> > > > cp: /dev/null: Invalid argument
> > > > *** [zfsboot.ldr] Error code 1
> > > > make[5]: *** zfsboot.ldr removed
> > > > --- all_subdir_kerberos5 ---
> > > > Building
> > /usr/obj/usr/src/amd64.amd64/kerberos5/usr.sbin/iprop-log/iprop-log
> > > > --- all_subdir_stand ---
> > > >
> > > > make[5]: stopped in /usr/src/stand/i386/zfsboot
> > > > .ERROR_TARGET=3D'zfsboot.ldr'
> > > >
> > .ERROR_META_FILE=3D'/usr/obj/usr/src/amd64.amd64/stand/i386/zfsboot/zf=
sboot.ldr.meta'
> >
> > > > .MAKE.LEVEL=3D'5'
> > > > MAKEFILE=3D''
> > > > .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=
=3Dyes
> > verbose'
> > > > _ERROR_CMD=3D'cp /dev/null zfsboot.ldr;'
> > > > .CURDIR=3D'/usr/src/stand/i386/zfsboot'
> > > > .MAKE=3D'make'
> > > > .OBJDIR=3D'/usr/obj/usr/src/amd64.amd64/stand/i386/zfsboot'
> > > > .TARGETS=3D'all'
> > > > DESTDIR=3D'/usr/obj/usr/src/amd64.amd64/tmp'
> > > > LD_LIBRARY_PATH=3D''
> > > > MACHINE=3D'amd64'
> > > > MACHINE_ARCH=3D'amd64'
> > > > MAKEOBJDIRPREFIX=3D''
> > > > MAKESYSPATH=3D'/usr/src/share/mk'
> > > > MAKE_VERSION=3D'20200902'
> > > >
> > > > _______________________________________________
> > > > freebsd-current@freebsd.org mailing list
> > > > https://lists.freebsd.org/mailman/listinfo/freebsd-current
> > > > To unsubscribe, send any mail to "
> > freebsd-current-unsubscribe@freebsd.org"
> > >
> > >
> > > _______________________________________________
> > > freebsd-current@freebsd.org mailing list
> > > https://lists.freebsd.org/mailman/listinfo/freebsd-current
> > > To unsubscribe, send any mail to "
> > freebsd-current-unsubscribe@freebsd.org"
> >
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.or=
g"

I still get this error on a couple of boxes, while others seem to buildwor=
ld
fine. All boxes are at CURRENT revision 365625. It is a bit looking weird =
to
me. Running now a make cleanworld/cleandir on the specific boxes and start
building OS again.

oh



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200911095723.12e10580>