From owner-freebsd-current@freebsd.org Thu Sep 10 16:44:22 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 9A9333DD1C4 for ; Thu, 10 Sep 2020 16:44:22 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-ot1-f49.google.com (mail-ot1-f49.google.com [209.85.210.49]) (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 4BnPqT4Wk9z4Hpw for ; Thu, 10 Sep 2020 16:44:21 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-ot1-f49.google.com with SMTP id h17so5937576otr.1 for ; Thu, 10 Sep 2020 09:44:21 -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=Iqhrja1SghrplqCKD2Uku5eox7p51aCAE36wOZQjD44=; b=Id5VohE3rS3deIN5hmimLXsbrVi1tu1Mf5ys4A1TgMEt34APpN2543Q0EOvMLRqYeJ iD55xNzbTXbYoXg/i3EdBVoFgpUM8UfujJf+JuboZIaSDXJRX0kWEf3ek9w9+V71R0Bo iTYGGAjfPmGvsyR5GBKdc6rKj3VrwSxchyEHnCoCqF0wi4sCoizsnN60Bd+tZ3LGilMR DMgaRkGgjn1f8S5kOEzvHxNkyvIyKwQzO8HBZz8uQbkLqApTbhF2pxIZHS4F4oUV5QLB d/XJy657jKJDBxbyrGwEOPysvmBZcSqwGuw65sTR/XUfqAD1U/UyKxh4088c6snykXJp o7CQ== X-Gm-Message-State: AOAM5330D7VQdvTBVp+2rTCcdmEXtaeQTm+Sk/50uxGH0K1Sr5Wd3pp6 OfRh5U5rC2+oFalIoypILJtwE9Puf+A9vqut+979vf3o X-Google-Smtp-Source: ABdhPJxiS9TnwrvONNXe4EUxEN6pHTZi0OMWYF2FRryY0s/BUNpmz/+9lIBR9qjNpsNcm6QBmoY0myFXyM0ozFDY8T0= X-Received: by 2002:a9d:758b:: with SMTP id s11mr4222651otk.251.1599756259824; Thu, 10 Sep 2020 09:44:19 -0700 (PDT) MIME-Version: 1.0 References: <07df44dc-5635-121e-bcd0-f5bb6c70ee54@protected-networks.net> In-Reply-To: From: Alan Somers Date: Thu, 10 Sep 2020 10:44:08 -0600 Message-ID: Subject: Re: buildworld: "cp: /dev/null: Invalid argument" To: Ryan Stone Cc: Michael Butler , FreeBSD Current X-Rspamd-Queue-Id: 4BnPqT4Wk9z4Hpw X-Spamd-Bar: - X-Spamd-Result: default: False [-1.51 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FREEFALL_USER(0.00)[asomers]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; NEURAL_HAM_LONG(-0.98)[-0.977]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; RWL_MAILSPIKE_GOOD(0.00)[209.85.210.49:from]; NEURAL_SPAM_SHORT(0.46)[0.455]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.210.49:from]; NEURAL_HAM_MEDIUM(-0.99)[-0.987]; FREEMAIL_TO(0.00)[gmail.com]; FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com]; MAILMAN_DEST(0.00)[freebsd-current] 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: Thu, 10 Sep 2020 16:44:22 -0000 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" >