Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jan 2016 12:39:07 +0100
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   CURRENT: buildworld failure due to nvmecontrol source error
Message-ID:  <20160130123907.6844f551.ohartman@zedat.fu-berlin.de>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJWrKDbAAoJEOgBcD7A/5N8VWMH/iBm2ubk6KtTE5gdYBQ6DA+5
rPvtBvkBWhkCN9/m/AJCQVcBryfZ91BrgdcZJKXqPJFbcYqzKa7um0BG1RVKiNM2
znhMfjaDGSuLQBXZ9hdEfF2cPRuifYIFCcd50grJFeUvPS2XQyFVeg1/uEUrH9Kx
2VxU/TxUV5b2Utlq866pFRF05Zihq47dl1PxM9boyYqabAy+lN7YMj1YbsdNCus0
8+RjbRxi8n5ukIVqqed3dz2i/ImFFZYKfzIPvYsjGGiRfl/03RwWCe/21X9vdNlN
DrsmntDqR3Gr/36uQio1ZiDIet5HlIfrKXspBtEPnd6jHu+f6zV3J9TLheKgXdg=
=cG/g
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160130123907.6844f551.ohartman>