I have recently moved to Funtoo from Arch, loving the customization options so far. This is my first post here, so please let me know if there is anything else I should post about my setup. Installing gentoo on a 32 bit dell intel atom netbook, but I am getting some errors when trying to emerge NetworkManager as part of the installation process. Any help would be much appreciated!
* Package: net-wireless/crda-3.18-r1
* Repository: core-kit
* Maintainer: gurligebis@gentoo.org zerochaos@gentoo.org
* USE: abi_x86_32 elibc_glibc kernel_linux userland_GNU x86
* 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 -j3 PREFIX=/usr SBINDIR=$(PREFIX)/sbin/ LIBDIR=$(PREFIX)/lib UDEV_RULE_DIR=/lib/udev/rules.d REG_BIN=/usr/lib/crda/regulatory.bin USE_OPENSSL=1 CC=i686-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
i686-pc-linux-gnu-gcc -march=native -O2 -fpic -std=gnu99 -Wall -pedantic -DUSE_OPENSSL -DPUBKEY_DIR=\"/etc/wireless-regdb/pubkeys\" `i686-pc-linux-gnu-pkg-config --cflags openssl` -DCONFIG_LIBNL30 `i686-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 `i686-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::core-kit failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=net-wireless/crda-3.18-r1::core-kit'`,
* the complete build log and the output of `emerge -pqv '=net-wireless/crda-3.18-r1::core-kit'`.
* 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'
Question
bkotis
I have recently moved to Funtoo from Arch, loving the customization options so far. This is my first post here,
so please let me know if there is anything else I should post about my setup.
Installing gentoo on a 32 bit dell intel atom netbook, but I am getting some errors when trying to emerge
NetworkManager as part of the installation process. Any help would be much appreciated!
emerge --info '=net-wireless/crda-3.18-r1::core-kit' setlocale: unsupported locale setting setlocale: unsupported locale setting Portage 2.3.41 (python 2.7.14-final-0, funtoo/1.0/linux-gnu/arch/x86-32bit, gcc-7.3.1, glibc-2.26-r7, 4.15.0-20-generic i686) ================================================================= System Settings ================================================================= System uname: Linux-4.15.0-20-generic-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-gentoo-2.2.2 KiB Mem: 1012492 total, 100948 free KiB Swap: 2603388 total, 2303464 free sh bash 4.4_p18 ld GNU ld (Gentoo 2.29.1 p3) 2.29.1 app-shells/bash: 4.4_p18::core-kit dev-lang/perl: 5.24.0-r3::perl-kit dev-lang/python: 2.7.14-r2::python-kit, 3.6.5-r1::python-kit dev-util/cmake: 3.10.1::core-kit sys-apps/baselayout: 2.2.2::core-kit sys-apps/openrc: 0.35.5::core-kit sys-apps/sandbox: 2.12::core-kit sys-devel/autoconf: 2.69-r4::core-kit sys-devel/automake: 1.15.1-r1::core-kit sys-devel/binutils: 2.29.1-r1::core-kit sys-devel/gcc: 7.3.1::core-kit sys-devel/gcc-config: 1.9.1::core-kit sys-devel/libtool: 2.4.6-r4::core-kit sys-devel/make: 4.2.1-r1::core-kit sys-kernel/linux-headers: 4.14::core-kit (virtual/os-headers) sys-libs/glibc: 2.26-r7::core-kit Repositories: nokit location: /var/git/meta-repo/kits/nokit masters: core-kit priority: -500 core-hw-kit location: /var/git/meta-repo/kits/core-hw-kit masters: core-kit priority: 1 core-kit location: /var/git/meta-repo/kits/core-kit masters: core-kit priority: 1 aliases: gentoo desktop-kit location: /var/git/meta-repo/kits/desktop-kit masters: core-kit priority: 1 dev-kit location: /var/git/meta-repo/kits/dev-kit masters: core-kit priority: 1 editors-kit location: /var/git/meta-repo/kits/editors-kit masters: core-kit priority: 1 games-kit location: /var/git/meta-repo/kits/games-kit masters: core-kit priority: 1 gnome-kit location: /var/git/meta-repo/kits/gnome-kit masters: core-kit priority: 1 haskell-kit location: /var/git/meta-repo/kits/haskell-kit masters: core-kit priority: 1 java-kit location: /var/git/meta-repo/kits/java-kit masters: core-kit priority: 1 kde-kit location: /var/git/meta-repo/kits/kde-kit masters: core-kit priority: 1 lang-kit location: /var/git/meta-repo/kits/lang-kit masters: core-kit priority: 1 lisp-scheme-kit location: /var/git/meta-repo/kits/lisp-scheme-kit masters: core-kit priority: 1 llvm-kit location: /var/git/meta-repo/kits/llvm-kit masters: core-kit priority: 1 media-kit location: /var/git/meta-repo/kits/media-kit masters: core-kit priority: 1 ml-lang-kit location: /var/git/meta-repo/kits/ml-lang-kit masters: core-kit priority: 1 net-kit location: /var/git/meta-repo/kits/net-kit masters: core-kit priority: 1 perl-kit location: /var/git/meta-repo/kits/perl-kit masters: core-kit priority: 1 php-kit location: /var/git/meta-repo/kits/php-kit masters: core-kit priority: 1 python-kit location: /var/git/meta-repo/kits/python-kit masters: core-kit priority: 1 python-modules-kit location: /var/git/meta-repo/kits/python-modules-kit masters: core-kit priority: 1 ruby-kit location: /var/git/meta-repo/kits/ruby-kit masters: core-kit priority: 1 science-kit location: /var/git/meta-repo/kits/science-kit masters: core-kit priority: 1 security-kit location: /var/git/meta-repo/kits/security-kit masters: core-kit priority: 1 text-kit location: /var/git/meta-repo/kits/text-kit masters: core-kit priority: 1 xfce-kit location: /var/git/meta-repo/kits/xfce-kit masters: core-kit priority: 1 xorg-kit location: /var/git/meta-repo/kits/xorg-kit masters: core-kit priority: 1 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=native -O2" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2" DISTDIR="/var/cache/portage/distfiles" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -fomit-frame-pointer -march=atom -pipe" GENTOO_MIRRORS="https://fastpull-us.funtoo.org" LANG="C.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" MAKEOPTS="-j1" PKGDIR="/var/cache/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_TMPDIR="/var/tmp" USE="acl berkdb bzip2 cracklib crypt curl cxx gdbm iconv icu ipv6 modules mudflap ncurses nls nptl openmp pam pcre python readline resolvconf ssl tcpd unicode x86 xattr xml zlib" ABI_X86="32" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-32 pc" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_6 python2_7" QEMU_SOFTMMU_TARGETS="i386" QEMU_USER_TARGETS="i386" RUBY_TARGETS="ruby23 ruby24" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, ENV_UNSET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
My make.conf:
ACCEPT_LICENSE="*" USE="" MAKEOPTS="-j3" CFLAGS="-march=native -O2" CXXFLAGS="${CFLAGS}"
The build log:
* Package: net-wireless/crda-3.18-r1 * Repository: core-kit * Maintainer: gurligebis@gentoo.org zerochaos@gentoo.org * USE: abi_x86_32 elibc_glibc kernel_linux userland_GNU x86 * 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 -j3 PREFIX=/usr SBINDIR=$(PREFIX)/sbin/ LIBDIR=$(PREFIX)/lib UDEV_RULE_DIR=/lib/udev/rules.d REG_BIN=/usr/lib/crda/regulatory.bin USE_OPENSSL=1 CC=i686-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 i686-pc-linux-gnu-gcc -march=native -O2 -fpic -std=gnu99 -Wall -pedantic -DUSE_OPENSSL -DPUBKEY_DIR=\"/etc/wireless-regdb/pubkeys\" `i686-pc-linux-gnu-pkg-config --cflags openssl` -DCONFIG_LIBNL30 `i686-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 `i686-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::core-kit failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-wireless/crda-3.18-r1::core-kit'`, * the complete build log and the output of `emerge -pqv '=net-wireless/crda-3.18-r1::core-kit'`. * 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'
Link to comment
Share on other sites
2 answers to this question
Recommended Posts