* Package: net-wireless/crda-3.18-r1  * Repository: gentoo  * Maintainer: zerochaos@gentoo.org  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU  * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking crda-3.18.tar.xz to /var/tmp/portage/net-wireless/crda-3.18-r1/work >>> Source unpacked in /var/tmp/portage/net-wireless/crda-3.18-r1/work >>> Preparing source in /var/tmp/portage/net-wireless/crda-3.18-r1/work/crda-3.18 ... * Applying crda-3.18-no-ldconfig.patch ...  [ ok ] * Applying crda-3.18-no-werror.patch ...  [ ok ] * Applying crda-3.18-openssl.patch ...  [ ok ] * Applying crda-3.18-cflags.patch ...  [ ok ] * Applying crda-3.18-libreg-link.patch ...  [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-wireless/crda-3.18-r1/work/crda-3.18 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-wireless/crda-3.18-r1/work/crda-3.18 ... make -j9 PREFIX=/usr SBINDIR=$(PREFIX)/sbin/ LIBDIR=$(PREFIX)/lib64 UDEV_RULE_DIR=/lib/udev/rules.d REG_BIN=/usr/lib/crda/regulatory.bin USE_OPENSSL=1 CC=x86_64-pc-linux-gnu-gcc V=1 WERROR= all_noverify ./utils/key2pub.py --ssl pubkeys/linville.key.pub.pem pubkeys/sforshee.key.pub.pem keys-ssl.c x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fpic -std=gnu99 -Wall -pedantic -DUSE_OPENSSL -DPUBKEY_DIR=\"/etc/wireless-regdb/pubkeys\" `x86_64-pc-linux-gnu-pkg-config --cflags openssl` -DCONFIG_LIBNL30 `x86_64-pc-linux-gnu-pkg-config --cflags libnl-3.0` -o libreg.so -shared -Wl,-soname,libreg.so regdb.h reglib.h reglib.c keys-ssl.c -lm `x86_64-pc-linux-gnu-pkg-config --libs openssl` In file included from reglib.c:34:0: keys-ssl.c:57:19: error: field ‘e’ has incomplete type struct bignum_st e, n; ^ keys-ssl.c:57:22: error: field ‘n’ has incomplete type struct bignum_st e, n; ^ keys-ssl.c:61:2: error: field name not in record or union initializer .d = data, \ ^ keys-ssl.c:65:21: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:68:2: note: in expansion of macro ‘KEYS’ KEYS(e_0, n_0), ^~~~ keys-ssl.c:61:2: note: (near initialization for ‘keys[0].e’) .d = data, \ ^ keys-ssl.c:65:21: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:68:2: note: in expansion of macro ‘KEYS’ KEYS(e_0, n_0), ^~~~ keys-ssl.c:62:2: error: field name not in record or union initializer .top = sizeof(data)/sizeof(data[0]), \ ^ keys-ssl.c:65:21: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:68:2: note: in expansion of macro ‘KEYS’ KEYS(e_0, n_0), ^~~~ keys-ssl.c:62:2: note: (near initialization for ‘keys[0].e’) .top = sizeof(data)/sizeof(data[0]), \ ^ keys-ssl.c:65:21: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:68:2: note: in expansion of macro ‘KEYS’ KEYS(e_0, n_0), ^~~~ keys-ssl.c:61:2: error: field name not in record or union initializer .d = data, \ ^ keys-ssl.c:65:29: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:68:2: note: in expansion of macro ‘KEYS’ KEYS(e_0, n_0), ^~~~ keys-ssl.c:61:2: note: (near initialization for ‘keys[0].n’) .d = data, \ ^ keys-ssl.c:65:29: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:68:2: note: in expansion of macro ‘KEYS’ KEYS(e_0, n_0), ^~~~ keys-ssl.c:62:2: error: field name not in record or union initializer .top = sizeof(data)/sizeof(data[0]), \ ^ keys-ssl.c:65:29: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:68:2: note: in expansion of macro ‘KEYS’ KEYS(e_0, n_0), ^~~~ keys-ssl.c:62:2: note: (near initialization for ‘keys[0].n’) .top = sizeof(data)/sizeof(data[0]), \ ^ keys-ssl.c:65:29: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:68:2: note: in expansion of macro ‘KEYS’ KEYS(e_0, n_0), ^~~~ keys-ssl.c:61:2: error: field name not in record or union initializer .d = data, \ ^ keys-ssl.c:65:21: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:69:2: note: in expansion of macro ‘KEYS’ KEYS(e_1, n_1), ^~~~ keys-ssl.c:61:2: note: (near initialization for ‘keys[1].e’) .d = data, \ ^ keys-ssl.c:65:21: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:69:2: note: in expansion of macro ‘KEYS’ KEYS(e_1, n_1), ^~~~ keys-ssl.c:62:2: error: field name not in record or union initializer .top = sizeof(data)/sizeof(data[0]), \ ^ keys-ssl.c:65:21: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:69:2: note: in expansion of macro ‘KEYS’ KEYS(e_1, n_1), ^~~~ keys-ssl.c:62:2: note: (near initialization for ‘keys[1].e’) .top = sizeof(data)/sizeof(data[0]), \ ^ keys-ssl.c:65:21: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:69:2: note: in expansion of macro ‘KEYS’ KEYS(e_1, n_1), ^~~~ keys-ssl.c:61:2: error: field name not in record or union initializer .d = data, \ ^ keys-ssl.c:65:29: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:69:2: note: in expansion of macro ‘KEYS’ KEYS(e_1, n_1), ^~~~ keys-ssl.c:61:2: note: (near initialization for ‘keys[1].n’) .d = data, \ ^ keys-ssl.c:65:29: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:69:2: note: in expansion of macro ‘KEYS’ KEYS(e_1, n_1), ^~~~ keys-ssl.c:62:2: error: field name not in record or union initializer .top = sizeof(data)/sizeof(data[0]), \ ^ keys-ssl.c:65:29: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:69:2: note: in expansion of macro ‘KEYS’ KEYS(e_1, n_1), ^~~~ keys-ssl.c:62:2: note: (near initialization for ‘keys[1].n’) .top = sizeof(data)/sizeof(data[0]), \ ^ keys-ssl.c:65:29: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:69:2: note: in expansion of macro ‘KEYS’ KEYS(e_1, n_1), ^~~~ reglib.c: In function ‘reglib_verify_db_signature’: reglib.c:98:31: warning: division by zero [-Wdiv-by-zero] for (i = 0; (i < sizeof(keys)/sizeof(keys[0])) && (!ok); i++) { ^ reglib.c:105:6: error: dereferencing pointer to incomplete type ‘RSA {aka struct rsa_st}’ rsa->e = &keys[i].e; ^~ reglib.c:105:6: error: request for member ‘e’ in something not a structure or union reglib.c:105:3: warning: statement with no effect [-Wunused-value] rsa->e = &keys[i].e; ^~~ reglib.c:106:6: error: request for member ‘n’ in something not a structure or union rsa->n = &keys[i].n; ^~ reglib.c:106:3: warning: statement with no effect [-Wunused-value] rsa->n = &keys[i].n; ^~~ reglib.c:111:6: error: request for member ‘e’ in something not a structure or union rsa->e = NULL; ^~ reglib.c:111:3: warning: statement with no effect [-Wunused-value] rsa->e = NULL; ^~~ reglib.c:112:6: error: request for member ‘n’ in something not a structure or union rsa->n = NULL; ^~ reglib.c:112:3: warning: statement with no effect [-Wunused-value] rsa->n = NULL; ^~~ keys-ssl.c:57:19: error: field ‘e’ has incomplete type struct bignum_st e, n; ^ keys-ssl.c:57:22: error: field ‘n’ has incomplete type struct bignum_st e, n; ^ keys-ssl.c:61:2: error: field name not in record or union initializer .d = data, \ ^ keys-ssl.c:65:21: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:68:2: note: in expansion of macro ‘KEYS’ KEYS(e_0, n_0), ^~~~ keys-ssl.c:61:2: note: (near initialization for ‘keys[0].e’) .d = data, \ ^ keys-ssl.c:65:21: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:68:2: note: in expansion of macro ‘KEYS’ KEYS(e_0, n_0), ^~~~ keys-ssl.c:62:2: error: field name not in record or union initializer .top = sizeof(data)/sizeof(data[0]), \ ^ keys-ssl.c:65:21: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:68:2: note: in expansion of macro ‘KEYS’ KEYS(e_0, n_0), ^~~~ keys-ssl.c:62:2: note: (near initialization for ‘keys[0].e’) .top = sizeof(data)/sizeof(data[0]), \ ^ keys-ssl.c:65:21: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:68:2: note: in expansion of macro ‘KEYS’ KEYS(e_0, n_0), ^~~~ keys-ssl.c:61:2: error: field name not in record or union initializer .d = data, \ ^ keys-ssl.c:65:29: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:68:2: note: in expansion of macro ‘KEYS’ KEYS(e_0, n_0), ^~~~ keys-ssl.c:61:2: note: (near initialization for ‘keys[0].n’) .d = data, \ ^ keys-ssl.c:65:29: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:68:2: note: in expansion of macro ‘KEYS’ KEYS(e_0, n_0), ^~~~ keys-ssl.c:62:2: error: field name not in record or union initializer .top = sizeof(data)/sizeof(data[0]), \ ^ keys-ssl.c:65:29: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:68:2: note: in expansion of macro ‘KEYS’ KEYS(e_0, n_0), ^~~~ keys-ssl.c:62:2: note: (near initialization for ‘keys[0].n’) .top = sizeof(data)/sizeof(data[0]), \ ^ keys-ssl.c:65:29: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:68:2: note: in expansion of macro ‘KEYS’ KEYS(e_0, n_0), ^~~~ keys-ssl.c:61:2: error: field name not in record or union initializer .d = data, \ ^ keys-ssl.c:65:21: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:69:2: note: in expansion of macro ‘KEYS’ KEYS(e_1, n_1), ^~~~ keys-ssl.c:61:2: note: (near initialization for ‘keys[1].e’) .d = data, \ ^ keys-ssl.c:65:21: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:69:2: note: in expansion of macro ‘KEYS’ KEYS(e_1, n_1), ^~~~ keys-ssl.c:62:2: error: field name not in record or union initializer .top = sizeof(data)/sizeof(data[0]), \ ^ keys-ssl.c:65:21: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:69:2: note: in expansion of macro ‘KEYS’ KEYS(e_1, n_1), ^~~~ keys-ssl.c:62:2: note: (near initialization for ‘keys[1].e’) .top = sizeof(data)/sizeof(data[0]), \ ^ keys-ssl.c:65:21: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:69:2: note: in expansion of macro ‘KEYS’ KEYS(e_1, n_1), ^~~~ keys-ssl.c:61:2: error: field name not in record or union initializer .d = data, \ ^ keys-ssl.c:65:29: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:69:2: note: in expansion of macro ‘KEYS’ KEYS(e_1, n_1), ^~~~ keys-ssl.c:61:2: note: (near initialization for ‘keys[1].n’) .d = data, \ ^ keys-ssl.c:65:29: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:69:2: note: in expansion of macro ‘KEYS’ KEYS(e_1, n_1), ^~~~ keys-ssl.c:62:2: error: field name not in record or union initializer .top = sizeof(data)/sizeof(data[0]), \ ^ keys-ssl.c:65:29: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:69:2: note: in expansion of macro ‘KEYS’ KEYS(e_1, n_1), ^~~~ keys-ssl.c:62:2: note: (near initialization for ‘keys[1].n’) .top = sizeof(data)/sizeof(data[0]), \ ^ keys-ssl.c:65:29: note: in expansion of macro ‘KEY’ #define KEYS(e,n) { KEY(e), KEY(n), } ^~~ keys-ssl.c:69:2: note: in expansion of macro ‘KEYS’ KEYS(e_1, n_1), ^~~~ keys-ssl.c:67:22: warning: ‘keys’ defined but not used [-Wunused-variable] static struct pubkey keys[] = { ^~~~ make: *** [Makefile:120: libreg.so] Error 1 * ERROR: net-wireless/crda-3.18-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-wireless/crda-3.18-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-wireless/crda-3.18-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-wireless/crda-3.18-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-wireless/crda-3.18-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-wireless/crda-3.18-r1/work/crda-3.18' * S: '/var/tmp/portage/net-wireless/crda-3.18-r1/work/crda-3.18'