From owner-freebsd-current@freebsd.org Fri Sep 11 13:18:48 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 00BD53D9E2A for ; Fri, 11 Sep 2020 13:18:48 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-oi1-f172.google.com (mail-oi1-f172.google.com [209.85.167.172]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BnxCq0N9yz4L0K for ; Fri, 11 Sep 2020 13:18:46 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-oi1-f172.google.com with SMTP id w16so9428853oia.2 for ; Fri, 11 Sep 2020 06:18:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=puHdFYpWTD5ALl88sGJrCHkp7el8Cbrn1F0dujZWKU8=; b=V/MjlUYDfKpjzbWj5wqL/vLezNJ7nFpxrmhnwhopgd0p0mcVkg/7IW5v33TnBKNlzt CtKQa+58WdEimVsnCAIHjQLZVZTv/85eKh9UsdXZriYBQuQlJdUG70ezhJUrI2rlc/M4 VANH9e8EBPmkIur4Rez5a3ayuP9syZFTtcC5KUQP4gdjbPW+dwii9UKoM2rO3Ch0QAAY h+kvpBXhkcq4he0e+xbDKQltguoVm0DNNFy32hASZK1PypO/Gp2COu1phQOxhk28B5Nb Ect9Xy2DovfQ4eiCiViUJx970vbaERbpZ4iIuQrzKW1alpsHQO6oKi+XNawlPoeQl5tJ Lz0Q== X-Gm-Message-State: AOAM531pstDDCqhGO1BXzCpwDMZ3Na0agzPMIAf4lSPtzJ2Q/Xw6Bt/J XPfaJwMjJ2vUkUOd8uT2/JicXGLzNl3CiytsOK/jfkKRA+I= X-Google-Smtp-Source: ABdhPJxc/XDg6ykmj1xynGbvfc4GNr3FPUniNKtQ75CDWaq183QusLuvJpnVlo3fkVdCyluMSUcEjkqeTqdU1e5GrUQ= X-Received: by 2002:aca:7588:: with SMTP id q130mr1214328oic.73.1599830325003; Fri, 11 Sep 2020 06:18:45 -0700 (PDT) MIME-Version: 1.0 References: <07df44dc-5635-121e-bcd0-f5bb6c70ee54@protected-networks.net> <20200911095723.12e10580@freyja> In-Reply-To: <20200911095723.12e10580@freyja> From: Alan Somers Date: Fri, 11 Sep 2020 07:18:33 -0600 Message-ID: Subject: Re: buildworld: "cp: /dev/null: Invalid argument" To: "O. Hartmann" Cc: Ryan Stone , Michael Butler , FreeBSD Current X-Rspamd-Queue-Id: 4BnxCq0N9yz4L0K X-Spamd-Bar: - X-Spamd-Result: default: False [-1.16 / 15.00]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; URI_COUNT_ODD(1.00)[1]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.19)[-0.192]; FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; R_DKIM_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.989]; FREEFALL_USER(0.00)[asomers]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-0.98)[-0.979]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.167.172:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.167.172:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current]; FREEMAIL_CC(0.00)[gmail.com,protected-networks.net,freebsd.org] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2020 13:18:48 -0000 On Fri, Sep 11, 2020 at 1:57 AM O. Hartmann wrote: > On Thu, 10 Sep 2020 10:44:08 -0600 > Alan Somers wrote: > > > No, it's devfs. I'll fix it. > > > > On Thu, Sep 10, 2020 at 10:18 AM Ryan Stone 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 > > > 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.ldr > > > > > --- 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='zfsboot.ldr' > > > > > > > > > .ERROR_META_FILE='/usr/obj/usr/src/amd64.amd64/stand/i386/zfsboot/zfsboot.ldr.meta' > > > > > > > > .MAKE.LEVEL='5' > > > > > MAKEFILE='' > > > > > .MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes > > > verbose' > > > > > _ERROR_CMD='cp /dev/null zfsboot.ldr;' > > > > > .CURDIR='/usr/src/stand/i386/zfsboot' > > > > > .MAKE='make' > > > > > .OBJDIR='/usr/obj/usr/src/amd64.amd64/stand/i386/zfsboot' > > > > > .TARGETS='all' > > > > > DESTDIR='/usr/obj/usr/src/amd64.amd64/tmp' > > > > > LD_LIBRARY_PATH='' > > > > > MACHINE='amd64' > > > > > MACHINE_ARCH='amd64' > > > > > MAKEOBJDIRPREFIX='' > > > > > MAKESYSPATH='/usr/src/share/mk' > > > > > MAKE_VERSION='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.org" > > I still get this error on a couple of boxes, while others seem to > buildworld > 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 > I don't know why it's intermittent, but in any case this patch should fix it: https://reviews.freebsd.org/D26395 -Alan