Re: buildworld: "cp: /dev/null: Invalid argument"

From: Michael Butler <imb_at_protected-networks.net>
Date: Thu, 10 Sep 2020 12:30:16 -0400
On 9/10/20 12:17 PM, 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.


An empty file doesn't generate the error ..

imb_at_vm01:/home/imb> touch xx
imb_at_vm01:/home/imb> cp xx yy
imb_at_vm01:/home/imb>
imb_at_vm01:/home/imb> cp /dev/null yy
cp: /dev/null: Invalid argument
imb_at_vm01:/home/imb>


>
> On Thu, Sep 10, 2020 at 11:45 AM Michael Butler
> <imb_at_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.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_at_freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>>> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>>
>> _______________________________________________
>> freebsd-current_at_freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Thu Sep 10 2020 - 14:30:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:25 UTC