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>

next in thread | raw e-mail | index | archive | help
--Sig_/tPbItj6yz+LupVz2Cw=Oc0i
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Buildworld (r295070) fails in building nvmecontrol patches correctly:

[...]
(cd /usr/src/lib/libc/tests/gen &&  DEPENDFILE=3D.depend.raise_test  NO_SUB=
DIR=3D1 make
-f /usr/src/lib/libc/tests/gen/Makefile _RECURSING_PROGS=3Dt  PROG=3Draise_=
test ) ---
all_subdir_share --- =3D=3D=3D> share/i18n/csmapper/APPLE (all)
--- all_subdir_usr.sbin ---
=3D=3D=3D> usr.sbin/acpi/iasl (all)
--- all_subdir_sbin ---
/usr/src/sbin/nvmecontrol/power.c:44:16: error: invalid application of 'siz=
eof' to an
incomplete type 'struct nvme_power_state' _Static_assert(sizeof(struct nvme=
_power_state)
=3D=3D 256 / NBBY, ^     ~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/sbin/nvmecontrol/power.c:44:30: note: forward declaration of 'stru=
ct
nvme_power_state' _Static_assert(sizeof(struct nvme_power_state) =3D=3D 256=
 / NBBY,
                             ^
/usr/src/sbin/nvmecontrol/power.c:60:14: error: incomplete definition of ty=
pe 'struct
nvme_power_state' mpower =3D nps->mp;
                 ~~~^
/usr/src/sbin/nvmecontrol/power.c:44:30: note: forward declaration of 'stru=
ct
nvme_power_state' _Static_assert(sizeof(struct nvme_power_state) =3D=3D 256=
 / NBBY,
                             ^
/usr/src/sbin/nvmecontrol/power.c:61:9: error: incomplete definition of typ=
e 'struct
nvme_power_state' if (nps->mps =3D=3D 0)


regards

oh

--Sig_/tPbItj6yz+LupVz2Cw=Oc0i
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----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-----

--Sig_/tPbItj6yz+LupVz2Cw=Oc0i--



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