[CMake] Cpack generating hundreds of "​Unsupported ioctl: cmd=0xffffffff80046601 (4); 0x80086601 -> FS_IOC_GETFLAGS (8)" messages?

pgndev pgnet.dev at gmail.com
Wed Oct 11 21:39:54 EDT 2017


On 10/11/17 6:28 PM, Guy Harris wrote:> On Oct 11, 2017, at 4:37 PM, pgndev
<pgnet.dev at gmail.com> wrote:
>
>>          Unsupported ioctl: cmd=0xffffffff80046601 (4)
>>          0x80086601      ->      FS_IOC_GETFLAGS (8)
>>          Unsupported ioctl: cmd=0xffffffff80046601 (4)
>>          0x80086601      ->      FS_IOC_GETFLAGS (8)
>>          ... ( 300 + repetitions ) ...
>>          0x80086601      ->      FS_IOC_GETFLAGS (8)
>>          Unsupported ioctl: cmd=0xffffffff80046601 (4)
>>          0x80086601      ->      FS_IOC_GETFLAGS (8)
>>          CPack: - package:
/usr/local/src/pvr.iptvsimple/build/addon-pvr.iptvsimple-3.3.1.zip
generated.
>
> ...
>
>> running in a Raspbian9 chroot.
>
> ...under QEMU's ARM emulator, on some other box, right?

Yep.

chroot launched as

QEMU_CPU=cortex-a15
LC_ALL=C
/usr/sbin/qemu-binfmt-conf.sh
chroot ${CHROOT} /bin/bash

ps ax | grep qemu | grep pts
15193 pts/1    Sl+    0:09 /usr/bin/qemu-arm -0 /bin/bash /bin/bash

on
lsb_release -rd
Description:    openSUSE Leap 42.3
Release:        42.3
uname -m
x86_64
uname -rm
4.13.5-4.g7034d64-default x86_64

where

rpm -q --whatprovides /usr/bin/qemu-arm
qemu-linux-user-2.10.1-407.2.x86_64


> That's a QEMU error message, it appears.  QEMU 2.9.1 *looks* as if it
supports FS_IOC_GETFLAGS, so maybe you need a newer version of QEMU on
which to run Raspbian8.

As per above, I *do* have a newer version ... 2.10.1

> What's happening is probably that whatever program is building the zip
file is making FS_IOC_GETFLAGS ioctls to get additional file flags for the
files it's putting into the zipball.  That program probably has no problem
with FS_IOC_GETFLAGS being unsupported, as it's not supported by all file
systems on Linux, so it *has* to be able to handle not being able to get
those additional file flags.
>
>> What's causing these messages?
>
> Probably an older version of QEMU that doesn't support FS_IOC_GETFLAGS.
>
>> Some missing dependency?
>
> Yes, you depend on having a newer version of QEMU. :-)
>
>> Is there a fix/workaround?
>
> Get a newer version of QEMU?

Considering that 2.10.1 is, per https://www.qemu.org/, the latest release
as of Oct 2nd 2017, options for newer are a bit thin atm ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20171011/29c63a47/attachment.html>


More information about the CMake mailing list