Summary: | app-emulation/virtualbox-6.1.38 failed to compile with sys-kernel/linux-headers-6.0 (usbdevice_fs.h:134:41: error: flexible array member ‘usbdevfs_urb::iso_frame_desc’ not at end of ‘struct USBPROXYURBLNX’) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Leonid Kopylov <leonchik1976> |
Component: | Current packages | Assignee: | Viorel Munteanu <ceamac> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nitro, proxy-maint |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/27818 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 876331 | ||
Attachments: | build.log.xz |
Description
Leonid Kopylov
2022-10-16 05:24:25 UTC
Created attachment 824353 [details]
build.log.xz
x86_64-pc-linux-gnu-g++ -c -O2 -march=native -O2 -pipe -fomit-frame-pointer -mno-abm -mno-avx -mno-avx2 -mno-bmi -mno-bmi2 -mno-fma -mno-fma4 -mno-popcnt -g -pipe -march=native -O2 -pipe -fomit-frame-pointer -mno-abm -mno-avx -mno-avx2 -mno-bmi -mno-bmi2 -mno-fma -mno-fma4 -mno-popcnt -fno-omit-frame-pointer -fno-strict-aliasing -fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN -DRT_USE_VISIBILITY_DEFAULT -fvisibility-inlines-hidden -Wno-sign-compare -m64 -I/var/tmp/portage/app-emulation/virtualbox-6.1.38/work/VirtualBox-6.1.38/src/VBox/RDP/client-1.8.4 -I/var/tmp/portage/app-emulation/virtualbox-6.1.38/work/VirtualBox-6.1.38/src/VBox/RDP/client-1.8.4/vrdp -I/var/tmp/portage/app-emulation/virtualbox-6.1.38/work/VirtualBox-6.1.38/src/VBox/Devices/USB -I/var/tmp/portage/app-emulation/virtualbox-6.1.38/work/VirtualBox-6.1.38/src/VBox/Main/include -I/var/tmp/portage/app-emulation/virtualbox-6.1.38/work/VirtualBox-6.1.38/include/VBox -I/var/tmp/portage/app-emulation/virtualbox-6.1.38/work/VirtualBox-6.1.38/out/linux.amd64/release/obj/rdesktop-vrdp/dtrace -I/var/tmp/portage/app-emulation/virtualbox-6.1.38/work/VirtualBox-6.1.38/include -I/var/tmp/portage/app-emulation/virtualbox-6.1.38/work/VirtualBox-6.1.38/out/linux.amd64/release -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DRT_OS_LINUX -D_FILE_OFFSET_BITS=64 -DRT_ARCH_AMD64 -D__AMD64__ -DVBOX_WITH_DEBUGGER -DVBOX_WITH_HARDENING -DRTPATH_APP_PRIVATE=\"/usr/share/virtualbox\" -DRTPATH_APP_PRIVATE_ARCH=\"/usr/lib64/virtualbox\" -DRTPATH_SHARED_LIBS=\"/usr/lib64/virtualbox\" -DRTPATH_APP_DOCS=\"\" -DIN_RING3 -DGC_ARCH_BITS=64 -DVBOX_WITH_DTRACE -DVBOX_WITH_DTRACE_R3 -DPACKAGE_NAME=\"rdesktop-vrdp\" -DPACKAGE_TARNAME=\"rdesktop-vrdp\" -DPACKAGE_VERSION=\"1.8.4\" -DPACKAGE_STRING=\"rdesktop\ -D1.8.4\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DL_ENDIAN=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_LOCALE_H=1 -DHAVE_LANGINFO_H=1 -DHAVE_ICONV_H=1 -DEGD_SOCKET=\"/var/run/egd-pool\" -DWITH_RDPSND=1 -DHAVE_DIRENT_H=1 -DHAVE_ICONV=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_STRUCT_STATVFS_F_NAMEMAX=1 -DKEYMAP_PATH=RTPATH_APP_PRIVATE\"/rdesktop-vrdp-keymaps\" -DRDESKTOP=1 -DHAVE_MNTENT_H=1 -DHAVE_SETMNTENT=1 -DSTAT_STATVFS=1 -DHAVE_SYS_VFS_H=1 -DHAVE_STRUCT_STATFS_F_NAMELEN=1 -DICONV_CONST= -DRDPSND_OSS=1 -DWITH_RDPUSB=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_DIRFD=1 -DHAVE_DECL_DIRFD=1 -DVBOX_USB_WITH_SYSFS=1 -DHC_ARCH_BITS=64 -Wp,-MD,/var/tmp/portage/app-emulation/virtualbox-6.1.38/work/VirtualBox-6.1.38/out/linux.amd64/release/obj/rdesktop-vrdp/src/VBox/Devices/USB/linux/USBProxyDevice-linux.o.dep -Wp,-MT,/var/tmp/portage/app-emulation/virtualbox-6.1.38/work/VirtualBox-6.1.38/out/linux.amd64/release/obj/rdesktop-vrdp/src/VBox/Devices/USB/linux/USBProxyDevice-linux.o -Wp,-MP -o /var/tmp/portage/app-emulation/virtualbox-6.1.38/work/VirtualBox-6.1.38/out/linux.amd64/release/obj/rdesktop-vrdp/src/VBox/Devices/USB/linux/USBProxyDevice-linux.o /var/tmp/portage/app-emulation/virtualbox-6.1.38/work/VirtualBox-6.1.38/src/VBox/Devices/USB/linux/USBProxyDevice-linux.cpp In file included from /var/tmp/portage/app-emulation/virtualbox-6.1.38/work/VirtualBox-6.1.38/src/VBox/Devices/USB/linux/USBProxyDevice-linux.cpp:49: /usr/include/linux/usbdevice_fs.h:134:41: error: flexible array member ‘usbdevfs_urb::iso_frame_desc’ not at end of ‘struct USBPROXYURBLNX’ 134 | struct usbdevfs_iso_packet_desc iso_frame_desc[]; | ^~~~~~~~~~~~~~ /var/tmp/portage/app-emulation/virtualbox-6.1.38/work/VirtualBox-6.1.38/src/VBox/Devices/USB/linux/USBProxyDevice-linux.cpp:98:37: note: next member ‘usbdevfs_iso_packet_desc USBPROXYURBLNX::aIsocPktsDonUseTheseUseTheOnesInKUrb [8]’ declared here 98 | struct usbdevfs_iso_packet_desc aIsocPktsDonUseTheseUseTheOnesInKUrb[8]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/app-emulation/virtualbox-6.1.38/work/VirtualBox-6.1.38/src/VBox/Devices/USB/linux/USBProxyDevice-linux.cpp:85:16: note: in the definition of ‘struct USBPROXYURBLNX’ 85 | typedef struct USBPROXYURBLNX | ^~~~~~~~~~~~~~ kmk: *** [/usr/share/kBuild/footer-pass2-compiling-targets.kmk:277: /var/tmp/portage/app-emulation/virtualbox-6.1.38/work/VirtualBox-6.1.38/out/linux.amd64/release/obj/rdesktop-vrdp/src/VBox/Devices/USB/linux/USBProxyDevice-linux.o] Error 1 kmk: *** Waiting for unfinished jobs.... It's linux-headers-6.0. I just ran into this myself. Seems there's a new 6.1.40 release out to fix 6.0 compatibility: https://www.virtualbox.org/wiki/Changelog-6.1#v40 I am facing this same issue running Kernel Version: 5.19.16-gentoo-dist(64-bit) I have not had any compile errors with any other application except this one. I have installed KDE Plasma Meta, The Kde Apps Meta Package, Chromium, Firefox, and VSCodium… all with no issues. I conclude it is an issue with the updates to the package because on a previous install a couple of weeks ago, there was no issue. Is there a workaround for this or just wait for the next update? Thanks. (In reply to blackmamba007 from comment #4) > I am facing this same issue running Kernel Version: > 5.19.16-gentoo-dist(64-bit) > I have not had any compile errors with any other application except this one. > I have installed KDE Plasma Meta, The Kde Apps Meta Package, Chromium, > Firefox, and VSCodium… all with no issues. > > I conclude it is an issue with the updates to the package because on a > previous install a couple of weeks ago, there was no issue. > > Is there a workaround for this or just wait for the next update? > Thanks. Mask =sys-kernel/linux-headers-6.0 for now. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a602feef34dcf2f45a0e7b7f2149c6a2e148eaf4 commit a602feef34dcf2f45a0e7b7f2149c6a2e148eaf4 Author: Viorel Munteanu <ceamac.paragon@gmail.com> AuthorDate: 2022-10-17 05:42:51 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-10-17 21:04:46 +0000 app-emulation/virtualbox: add 6.1.40 Closes: https://bugs.gentoo.org/877273 Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> app-emulation/virtualbox/Manifest | 1 + app-emulation/virtualbox/virtualbox-6.1.40.ebuild | 663 ++++++++++++++++++++++ 2 files changed, 664 insertions(+) |