Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922866 - net-wireless/aic8800-1.0.3 - /.../rwnx_main.c: error: struct wireless_dev has no member named mtx
Summary: net-wireless/aic8800-1.0.3 - /.../rwnx_main.c: error: struct wireless_dev has...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-24 18:18 UTC by Toralf Förster
Modified: 2024-05-03 12:02 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.21 KB, text/plain)
2024-01-24 18:18 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,61.70 KB, application/x-xz)
2024-01-24 18:18 UTC, Toralf Förster
Details
environment (environment,122.93 KB, text/plain)
2024-01-24 18:18 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.07 KB, application/x-xz)
2024-01-24 18:18 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,38.43 KB, application/x-xz)
2024-01-24 18:18 UTC, Toralf Förster
Details
net-wireless:aic8800-1.0.3:20240124-111341.log (net-wireless:aic8800-1.0.3:20240124-111341.log,76.15 KB, text/plain)
2024-01-24 18:18 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,69.82 KB, application/x-xz)
2024-01-24 18:18 UTC, Toralf Förster
Details
.config (.config,91.58 KB, text/plain)
2024-04-23 06:51 UTC, Toralf Förster
Details
config-6.5.9 (config-6.5.9,89.51 KB, application/text-plain)
2024-04-24 07:06 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-01-24 18:18:13 UTC
too long lines were shrinked:

  /usr/bin/x86_64-pc-linux-gnu-gcc-13 -Wp,-MMD,/var/tmp/portage/net-wireless/aic8800-1.0.3/work/usr/src/aic8800-1.0.3/aic8800_fdrv/.rwnx_mod_params.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include
# CC [M]  /var/tmp/portage/net-wireless/aic8800-1.0.3/work/usr/src/aic8800-1.0.3/aic8800_fdrv/rwnx_mesh.o
  /usr/bin/x86_64-pc-linux-gnu-gcc-13 -Wp,-MMD,/var/tmp/portage/net-wireless/aic8800-1.0.3/work/usr/src/aic8800-1.0.3/aic8800_fdrv/.rwnx_mesh.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi 
# CC [M]  /var/tmp/portage/net-wireless/aic8800-1.0.3/work/usr/src/aic8800-1.0.3/aic8800_fdrv/rwnx_platform.o
  /usr/bin/x86_64-pc-linux-gnu-gcc-13 -Wp,-MMD,/var/tmp/portage/net-wireless/aic8800-1.0.3/work/usr/src/aic8800-1.0.3/aic8800_fdrv/.rwnx_platform.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/u
/var/tmp/portage/net-wireless/aic8800-1.0.3/work/usr/src/aic8800-1.0.3/aic8800_fdrv/rwnx_main.c: In function rwnx_csa_finish:
/var/tmp/portage/net-wireless/aic8800-1.0.3/work/usr/src/aic8800-1.0.3/aic8800_fdrv/rwnx_main.c:1057:30: error: struct wireless_dev has no member named mtx
 1057 |         mutex_lock(&vif->wdev.mtx);
      |                              ^

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-20240120-172004

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.74.1
  [2]   rust-1.74.1 *
The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.1
  [2]   php8.3 *
go version go1.21.6 linux/amd64

  HEAD of ::gentoo
commit b603ae9a12a427b2a7a56675375b6f9492d3db82
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Jan 24 10:33:11 2024 +0000

    2024-01-24 10:33:11 UTC

emerge -qpvO net-wireless/aic8800
[ebuild  N    ] net-wireless/aic8800-1.0.3  USE="firmware strip -dist-kernel -modules-compress -modules-sign -udev"
Comment 1 Toralf Förster gentoo-dev 2024-01-24 18:18:14 UTC
Created attachment 883053 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-01-24 18:18:15 UTC
Created attachment 883054 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-01-24 18:18:16 UTC
Created attachment 883055 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-01-24 18:18:17 UTC
Created attachment 883056 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-01-24 18:18:18 UTC
Created attachment 883057 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-01-24 18:18:19 UTC
Created attachment 883058 [details]
net-wireless:aic8800-1.0.3:20240124-111341.log
Comment 7 Toralf Förster gentoo-dev 2024-01-24 18:18:21 UTC
Created attachment 883059 [details]
qlist-info.txt.xz
Comment 8 Chí-Thanh Christopher Nguyễn gentoo-dev 2024-04-23 06:15:00 UTC
Can you please attach the kernel .config?
Comment 9 Toralf Förster gentoo-dev 2024-04-23 06:50:26 UTC
(In reply to Chí-Thanh Christopher Nguyễn from comment #8)
> Can you please attach the kernel .config?

the image is gone, but pbly it was the kernel host config - will attach a recent one.
Comment 10 Toralf Förster gentoo-dev 2024-04-23 06:51:10 UTC
Created attachment 891426 [details]
.config

config
Comment 11 Chí-Thanh Christopher Nguyễn gentoo-dev 2024-04-23 12:09:59 UTC
(In reply to Toralf Förster from comment #10)

It is probably not the same kernel .config, because the one which you attached has CONFIG_MODVERSIONS and CONFIG_MAC80211 disabled, which would cause warnings/errors in build.log

I found that CONFIG_MAC80211 and CONFIG_USB need to be a hard requirement or else the build will fail, and will update the ebuild shortly.

Can you check if the error still happens with aic8800-1.0.5 and if so, please attach the kernel .config ?
Comment 12 Toralf Förster gentoo-dev 2024-04-24 07:06:31 UTC
Created attachment 891599 [details]
config-6.5.9

config of kernel 6.6.14 (.13 was likely the one of the time of the bug report)
Comment 13 Chí-Thanh Christopher Nguyễn gentoo-dev 2024-05-03 12:02:12 UTC
(In reply to Toralf Förster from comment #12)

This is unfortunately not the kernel configuration which was used with this build, or else there would have been a warning about missing CONFIG_MAC80211 in the build.log