CURRENT: buildworld failure due to nvmecontrol source error

O. Hartmann ohartman at zedat.fu-berlin.de
Sat Jan 30 11:39:22 UTC 2016


Buildworld (r295070) fails in building nvmecontrol patches correctly:

[...]
(cd /usr/src/lib/libc/tests/gen &&  DEPENDFILE=.depend.raise_test  NO_SUBDIR=1 make
-f /usr/src/lib/libc/tests/gen/Makefile _RECURSING_PROGS=t  PROG=raise_test ) ---
all_subdir_share --- ===> share/i18n/csmapper/APPLE (all)
--- all_subdir_usr.sbin ---
===> usr.sbin/acpi/iasl (all)
--- all_subdir_sbin ---
/usr/src/sbin/nvmecontrol/power.c:44:16: error: invalid application of 'sizeof' to an
incomplete type 'struct nvme_power_state' _Static_assert(sizeof(struct nvme_power_state)
== 256 / NBBY, ^     ~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/sbin/nvmecontrol/power.c:44:30: note: forward declaration of 'struct
nvme_power_state' _Static_assert(sizeof(struct nvme_power_state) == 256 / NBBY,
                             ^
/usr/src/sbin/nvmecontrol/power.c:60:14: error: incomplete definition of type 'struct
nvme_power_state' mpower = nps->mp;
                 ~~~^
/usr/src/sbin/nvmecontrol/power.c:44:30: note: forward declaration of 'struct
nvme_power_state' _Static_assert(sizeof(struct nvme_power_state) == 256 / NBBY,
                             ^
/usr/src/sbin/nvmecontrol/power.c:61:9: error: incomplete definition of type 'struct
nvme_power_state' if (nps->mps == 0)


regards

oh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20160130/ea46ca65/attachment.sig>


More information about the freebsd-current mailing list