Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911193 - net-wireless/kismet-2023.07.1 error: unknown type name '_u16' (and similar)
Summary: net-wireless/kismet-2023.07.1 error: unknown type name '_u16' (and similar)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-25 11:54 UTC by Lolo
Modified: 2023-10-03 06:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build_kismet-2023.07.1.log (build_kismet-2023.07.1.log,248.26 KB, text/plain)
2023-07-25 19:37 UTC, Lolo
Details
emerge --info (emerge-info,7.27 KB, text/plain)
2023-09-04 09:32 UTC, Kenneth Lakin
Details
kismet 2023.07.1 build.log (kismet-2023.07.1-build.log,226.35 KB, text/plain)
2023-09-04 09:33 UTC, Kenneth Lakin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lolo 2023-07-25 11:54:57 UTC
Hi,

I am unable to build 'net-wireless/kismet-2023.07.1'

Here is the error output of calling `emerge -avp net-wireless/kismet`:

[...]
x86_64-pc-linux-gnu-gcc -march=skylake -mtune=skylake -O2 -pipe -frecord-gcc-switches -Wall -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -pthread  -I/usr/include/libnl3   -pthread  -I/usr/include/libnl3 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include   -Wall -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -pthread  -I/usr/include/libnl3   -pthread  -I/usr/include/libnl3 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include    -c capture_nrf_51822.c -o capture_nrf_51822.c.o
In file included from libwifiuserspace/kernel/nl80211.h:36,
                 from libwifiuserspace/userspace/userspace.h:19,
                 from capture_hak5_coconut.c:55:
libwifiuserspace/kernel/types.h:40:9: error: unknown type name ‘__u16’
   40 | typedef __u16 __le16;
      |         ^~~~~
libwifiuserspace/kernel/types.h:41:9: error: unknown type name ‘__u32’
   41 | typedef __u32 __le32;
      |         ^~~~~
libwifiuserspace/kernel/types.h:42:9: error: unknown type name ‘__u64’
   42 | typedef __u64 __le64;
      |         ^~~~~
libwifiuserspace/kernel/types.h:44:9: error: unknown type name ‘__u16’
   44 | typedef __u16 __be16;
      |         ^~~~~
libwifiuserspace/kernel/types.h:45:9: error: unknown type name ‘__u32’
   45 | typedef __u32 __be32;
      |         ^~~~~
libwifiuserspace/kernel/types.h:46:9: error: unknown type name ‘__u64’
   46 | typedef __u64 __be64;
      |         ^~~~~
In file included from libwifiuserspace/userspace/userspace.h:21:
libwifiuserspace/kernel/usb.h:92:9: error: unknown type name ‘__u16’
   92 |         __u16           match_flags;
      |         ^~~~~
libwifiuserspace/kernel/usb.h:95:9: error: unknown type name ‘__u16’
   95 |         __u16           idVendor;
      |         ^~~~~
libwifiuserspace/kernel/usb.h:96:9: error: unknown type name ‘__u16’
   96 |         __u16           idProduct;
      |         ^~~~~
libwifiuserspace/kernel/usb.h:97:9: error: unknown type name ‘__u16’
   97 |         __u16           bcdDevice_lo;
      |         ^~~~~
libwifiuserspace/kernel/usb.h:98:9: error: unknown type name ‘__u16’
   98 |         __u16           bcdDevice_hi;
      |         ^~~~~
libwifiuserspace/kernel/usb.h:101:9: error: unknown type name ‘__u8’
  101 |         __u8            bDeviceClass;
      |         ^~~~
libwifiuserspace/kernel/usb.h:102:9: error: unknown type name ‘__u8’
  102 |         __u8            bDeviceSubClass;
      |         ^~~~
libwifiuserspace/kernel/usb.h:103:9: error: unknown type name ‘__u8’
  103 |         __u8            bDeviceProtocol;
      |         ^~~~
libwifiuserspace/kernel/usb.h:106:9: error: unknown type name ‘__u8’
  106 |         __u8            bInterfaceClass;
      |         ^~~~
libwifiuserspace/kernel/usb.h:107:9: error: unknown type name ‘__u8’
  107 |         __u8            bInterfaceSubClass;
      |         ^~~~
libwifiuserspace/kernel/usb.h:108:9: error: unknown type name ‘__u8’
  108 |         __u8            bInterfaceProtocol;
      |         ^~~~
libwifiuserspace/kernel/usb.h:111:9: error: unknown type name ‘__u8’
  111 |         __u8            bInterfaceNumber;
      |         ^~~~
make[1]: *** [Makefile:39: capture_hak5_coconut.c.o] Error 1
make[1]: *** Waiting for unfinished jobs....
[...]

Thank you :)


$ emerge -pqv '=net-wireless/kismet-2023.07.1::gentoo'; echo; emerge --info '=net-wireless/kismet-2023.07.1::gentoo'
[ebuild     U ] net-wireless/kismet-2023.07.1 [2022.08.1-r2] USE="libusb lm-sensors networkmanager pcre rtlsdr suid ubertooth udev (-selinux)" PYTHON_SINGLE_TARGET="python3_11 -python3_10" 

Portage 3.0.49 (python 3.11.4-final-0, default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr, gcc-12, glibc-2.37-r3, 6.1.41-gentoo-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.1.41-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-8565U_CPU_@_1.80GHz-with-glibc2.37
KiB Mem:    32665604 total,  13105452 free
KiB Swap:   49151996 total,  49151996 free
Timestamp of repository gentoo: Tue, 25 Jul 2023 10:30:01 +0000
Head commit of repository gentoo: 568b05e64aaeb061f7acd7647185a07c199e054c
Timestamp of repository brother-overlay: Sat, 22 Jul 2023 00:03:22 +0000
Head commit of repository brother-overlay: 1a71f2010d25b935edc5543ffe8d6c0b672f0db0

Timestamp of repository guru: Tue, 25 Jul 2023 08:01:39 +0000
Head commit of repository guru: 37fcb9163392944c5a166f6ef6ad7957920f0d22

Timestamp of repository haskell: Sat, 22 Jul 2023 16:31:46 +0000
Head commit of repository haskell: d748b4e5754b70ba29fe4480e8702e1b2f3d1912

Head commit of repository lolo-gcpan-overlay: 4e97e8b412c7edbaaebec1e62109a6c925bc99cd

Head commit of repository lolo-overlay: 6f6c7d45bc7e40cef1c14f93d3ea40789a3e6cd9

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.40 p5) 2.40.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-java/java-config:      2.3.1-r1::gentoo
dev-lang/perl:             5.36.1-r3::gentoo
dev-lang/python:           3.10.12::gentoo, 3.11.4::gentoo
dev-lang/rust:             1.69.0-r1::gentoo
dev-util/cmake:            3.26.4-r1::gentoo
dev-util/meson:            1.1.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/sandbox:          2.37::gentoo
sys-apps/systemd:          253.6::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           14.0.6-r4::gentoo, 15.0.7-r3::gentoo, 16.0.6::gentoo
sys-devel/gcc:             12.3.1_p20230526::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            14.0.6-r4::gentoo, 15.0.7-r3::gentoo, 16.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r3::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes

brother-overlay
    location: /var/db/repos/brother-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/brother-overlay.git
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

haskell
    location: /var/db/repos/haskell
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/haskell.git
    masters: gentoo
    volatile: False

lolo-gcpan-overlay
    location: /var/db/repos/lolo-gcpan-overlay
    sync-type: git
    sync-uri: https://github.com/hereGittyGitty/lolo-gcpan-overlay.git
    masters: gentoo
    volatile: False

lolo-overlay
    location: /var/db/repos/lolo-overlay
    sync-type: git
    sync-uri: https://github.com/hereGittyGitty/lolo-overlay.git
    masters: gentoo
    priority: 50
    volatile: False

Installed sets: @my_qt5-addons, @my_qt5-essentials, @my_qt5-tools
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE CC-Sampling-Plus-1.0"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=skylake -mtune=skylake -O2 -pipe -frecord-gcc-switches"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/brother/scanner/brscan4/brsanenetdevice4.cfg /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/languagetool/lib/language-modules/org/languagetool/resource/de/hunspell/ignore.txt /usr/share/languagetool/lib/language-modules/org/languagetool/resource/de/hunspell/prohibited.txt /usr/share/languagetool/lib/language-modules/org/languagetool/resource/de/hunspell/spelling.txt /usr/share/languagetool/lib/language-modules/org/languagetool/resource/en/hunspell/ignore.txt /usr/share/languagetool/lib/language-modules/org/languagetool/resource/en/hunspell/prohibited.txt /usr/share/languagetool/lib/language-modules/org/languagetool/resource/en/hunspell/spelling.txt /usr/share/languagetool/lib/language-modules/org/languagetool/resource/fr/hunspell/ignore.txt /usr/share/languagetool/lib/language-modules/org/languagetool/resource/fr/hunspell/prohibited.txt /usr/share/languagetool/lib/language-modules/org/languagetool/resource/fr/hunspell/spelling.txt /usr/share/maven-bin-3.9/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=skylake -mtune=skylake -O2 -pipe -frecord-gcc-switches"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=skylake -mtune=skylake -O2 -pipe -frecord-gcc-switches"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=skylake -mtune=skylake -O2 -pipe -frecord-gcc-switches"
GENTOO_MIRRORS="https://gentoo.osuosl.org/ https://mirrors.rit.edu/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/zsh"
USE="X a52 aac acl acpi alsa amd64 bash-completion bluetooth branding bzip2 cairo cdda cdr cli colord crypt cups dbus dri dts dvd dvdr eds emacs encode evo exif flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gui hoogle hscolour iconv icu introspection ipv6 jpeg keyring lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls nptl offensive ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 readline screencast sdl seccomp sound spell ssl startup-notification svg sysprof systemd test-rust tiff truetype udev udisks unicode upower usb vim-syntax vorbis vulkan wayland wxwidgets x264 xattr xcb xft xml xv xvid zlib zsh-completion" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de en fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1 lua5-4 luajit" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11 python3_10" RUBY_TARGETS="ruby31" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Mike Gilbert gentoo-dev 2023-07-25 19:13:31 UTC
Please attach a full build log and change the bug status to UNCONFIRMED.
Comment 2 Lolo 2023-07-25 19:37:32 UTC
Created attachment 866258 [details]
build_kismet-2023.07.1.log

here you go
Comment 3 Kenneth Lakin 2023-09-04 09:32:14 UTC
This has been happening to me as well on ~amd64. I'll attach emerge --info and the relevant build.log
Comment 4 Kenneth Lakin 2023-09-04 09:32:44 UTC
Created attachment 869575 [details]
emerge --info
Comment 5 Kenneth Lakin 2023-09-04 09:33:19 UTC
Created attachment 869576 [details]
kismet 2023.07.1 build.log
Comment 6 Larry the Git Cow gentoo-dev 2023-10-02 14:06:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e02ccff5769f8750cb3260282f8da33d3bc5072

commit 3e02ccff5769f8750cb3260282f8da33d3bc5072
Author:     Rick Farina <zerochaos@gentoo.org>
AuthorDate: 2023-10-02 14:04:43 +0000
Commit:     Rick Farina <zerochaos@gentoo.org>
CommitDate: 2023-10-02 14:06:07 +0000

    net-wireless/kismet: 2023.07.1 build fix
    
    I still honestly don't know what causes this, and I can't replicate
    myself.  That said, I had a tester confirm this fixes it for them so
    hopefully it fixes it for everyone.
    
    Closes: https://bugs.gentoo.org/911193
    Signed-off-by: Rick Farina <zerochaos@gentoo.org>

 net-wireless/kismet/Manifest                | 1 +
 net-wireless/kismet/kismet-2023.07.1.ebuild | 7 +++++--
 net-wireless/kismet/kismet-9999.ebuild      | 2 +-
 3 files changed, 7 insertions(+), 3 deletions(-)
Comment 7 Lolo 2023-10-03 06:36:11 UTC
Yes that fixed it for me. Thank you very much.