Re: CURRENT: buildworld failure due to nvmecontrol source error
> On Jan 30, 2016, at 04:10, Outback Dingo wrote: > > On Sat, Jan 30, 2016 at 12:39 PM, O. Hartmann > wrote: > >> 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) > > same here to confirm > cc -pg -O2 -pipe > -I/backup/freebsd/kerberos5/lib/libroken/../../../crypto/heimdal/lib/roken > -I. -DHAVE_CONFIG_H > -I/backup/freebsd/kerberos5/lib/libroken/../../include -std=gnu99 -fstack > -protector-strong-Qunused-arguments -c > /backup/freebsd/kerberos5/lib/libroken/../../../crypto/heimdal/lib/roken/eread.c > -o eread.po > --- all_subdir_secure --- > cc -pg -O2 -pipe > -I/backup/freebsd/secure/lib/libcrypto/../../../crypto/openssl -DTERMIOS > -DANSI_SOURCE -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN > -DOPENSSL_IA32_SSE2 -DAES > _ASM -DBSAES_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DOPENSSL_BN_ASM_MONT > -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DMD5_ASM -DGHASH_ASM > -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DWHIRLPOOL_ASM > -I/usr/obj/backup/freebsd/secure/lib/libcrypto > -I/backup/freebsd/secure/lib/libcrypto/../../../crypto/openssl/crypto > -I/backup/freebsd/secure/lib/libcrypto/../../../crypto/openssl/crypto/a > sn1 > -I/backup/freebsd/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp > -I/backup/freebsd/secure/lib/libcrypto/../../../crypto/openssl/crypto/modes > -std=gnu89 -fstack-protector-strong > -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int > -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value > -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conve > rsion -Wno-unused-local-typedef -Wno-switch -Wno-switch-enum > -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -c > /backup/freebsd/secure/lib/libcrypto/../../../crypto/openssl > /crypto/evp/m_md5.c -o m_md5.po > --- all_subdir_sbin --- > /backup/freebsd/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, > ^ ~ > /backup/freebsd/sbin/nvmecontrol/power.c:44:30: note: forward declaration > of 'struct nvme_power_state' > _Static_assert(sizeof(struct nvme_power_state) == 256 / NBBY, >^ > /backup/freebsd/sbin/nvmecontrol/power.c:60:14: error: incomplete > definition of type 'struct nvme_power_state' > mpower = nps->mp; >~~~^ > /backup/freebsd/sbin/nvmecontrol/power.c:44:30: note: forward declaration > of 'struct nvme_power_state' > _Static_assert(sizeof(struct nvme_power_state) == 256 / NBBY, >^ > /backup/freebsd/sbin/nvmecontrol/power.c:61:9: error: incomplete definition > of type 'struct nvme_power_state' > if (nps->mps == 0) > ~~~^ > /backup/freebsd/sbin/nvmecontrol/power.c:44:30: note: forward declaration > of 'struct nvme_power_state' > _Static_assert(sizeof(struct nvme_power_state) == 256 / NBBY, >^ > /backup/freebsd/sbin/nvmecontrol/power.c:63:14: error: incomplete > definition of type 'struct nvme_power_state' > ipower = nps->idlp; >~~~^ > /backup/freebsd/sbin/nvmecontrol/power.c:44:30: note: forward declaration > of 'struct nvme_power_state' > _Static_assert(sizeof(struct nvme_power_state) == 256 / NBBY, >^ > /backup/freebsd/sbin/nvmecontrol/power.c:64:9: error: incomplete definition > of type 'struct nvme_power_state' > if (nps->ips == 1) > ~~~^ > /backup/freebsd/sbin/nvmecontrol/power.c:44:30: note: forward declaration > of 'struct nvme_power_state' > _Static_assert(sizeof(struct nvme_power_state) == 256 / NBBY, >^ > /ba
Re: CURRENT: buildworld failure due to nvmecontrol source error
On Sat, Jan 30, 2016 at 12:39 PM, O. Hartmann wrote: > 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 > same here to confirm cc -pg -O2 -pipe -I/backup/freebsd/kerberos5/lib/libroken/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/backup/freebsd/kerberos5/lib/libroken/../../include -std=gnu99 -fstack -protector-strong-Qunused-arguments -c /backup/freebsd/kerberos5/lib/libroken/../../../crypto/heimdal/lib/roken/eread.c -o eread.po --- all_subdir_secure --- cc -pg -O2 -pipe -I/backup/freebsd/secure/lib/libcrypto/../../../crypto/openssl -DTERMIOS -DANSI_SOURCE -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DOPENSSL_IA32_SSE2 -DAES _ASM -DBSAES_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DMD5_ASM -DGHASH_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DWHIRLPOOL_ASM -I/usr/obj/backup/freebsd/secure/lib/libcrypto -I/backup/freebsd/secure/lib/libcrypto/../../../crypto/openssl/crypto -I/backup/freebsd/secure/lib/libcrypto/../../../crypto/openssl/crypto/a sn1 -I/backup/freebsd/secure/lib/libcrypto/../../../crypto/openssl/crypto/evp -I/backup/freebsd/secure/lib/libcrypto/../../../crypto/openssl/crypto/modes -std=gnu89 -fstack-protector-strong -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conve rsion -Wno-unused-local-typedef -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -c /backup/freebsd/secure/lib/libcrypto/../../../crypto/openssl /crypto/evp/m_md5.c -o m_md5.po --- all_subdir_sbin --- /backup/freebsd/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, ^ ~ /backup/freebsd/sbin/nvmecontrol/power.c:44:30: note: forward declaration of 'struct nvme_power_state' _Static_assert(sizeof(struct nvme_power_state) == 256 / NBBY, ^ /backup/freebsd/sbin/nvmecontrol/power.c:60:14: error: incomplete definition of type 'struct nvme_power_state' mpower = nps->mp; ~~~^ /backup/freebsd/sbin/nvmecontrol/power.c:44:30: note: forward declaration of 'struct nvme_power_state' _Static_assert(sizeof(struct nvme_power_state) == 256 / NBBY, ^ /backup/freebsd/sbin/nvmecontrol/power.c:61:9: error: incomplete definition of type 'struct nvme_power_state' if (nps->mps == 0) ~~~^ /backup/freebsd/sbin/nvmecontrol/power.c:44:30: note: forward declaration of 'struct nvme_power_state' _Static_assert(sizeof(struct nvme_power_state) == 256 / NBBY, ^ /backup/freebsd/sbin/nvmecontrol/power.c:63:14: error: incomplete definition of type 'struct nvme_power_state' ipower = nps->idlp; ~~~^ /backup/freebsd/sbin/nvmecontrol/power.c:44:30: note: forward declaration of 'struct nvme_power_state' _Static_assert(sizeof(struct nvme_power_state) == 256 / NBBY, ^ /backup/freebsd/sbin/nvmecontrol/power.c:64:9: error: incomplete definition of type 'struct nvme_power_state' if (nps->ips == 1) ~~~^ /backup/freebsd/sbin/nvmecontrol/power.c:44:30: note: forward declaration of 'struct nvme_power_state' _Static_assert(sizeof(struct nvme_power_state) == 256 / NBBY, ^ /backup/freebsd/sbin/nvmecontrol/power.c:66:14: error: incomplete definition of type 'struct nvme_power_state' --- all_subdir_rescue --- --- dhclient_make --- --- packet.o --- --- all_subdir_sbin --- ap
CURRENT: buildworld failure due to nvmecontrol source error
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 pgpGHDuTW6YyF.pgp Description: OpenPGP digital signature