Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 884585 - sys-kernel/gentoo-sources-6.0.11: net/netfilter/nf_conntrack_netlink.c:725:6: error: unused variable 'mark' [-Werror,-Wunused-variable]
Summary: sys-kernel/gentoo-sources-6.0.11: net/netfilter/nf_conntrack_netlink.c:725:6:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: https://git.kernel.org/pub/scm/linux/...
Whiteboard: gentoo-sources-6.0.12
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2022-12-06 12:18 UTC by Daniel Dawson
Modified: 2022-12-08 18:45 UTC (History)
0 users

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


Attachments
A config that leads to the error (.config,133.57 KB, text/plain)
2022-12-06 12:18 UTC, Daniel Dawson
Details
Build log (kernel.log.xz,181.02 KB, application/x-xz)
2022-12-06 12:20 UTC, Daniel Dawson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Dawson 2022-12-06 12:18:43 UTC
Created attachment 840439 [details]
A config that leads to the error

This pops up in some (but not all) configurations with CONFIG_WERROR=y and CONFIG_NF_CONNTRACK_MARK=n. Looks like it's caused by something Gentoo backported from mainline, where it has also been reported: https://lore.kernel.org/lkml/CAGjnhw_2oSWfMjNPZMneJXxdvT+qoqhKV8787NYuHnOauhSVyw@mail.gmail.com/

Worked around, of course, by changing either of the above options.
Comment 1 Daniel Dawson 2022-12-06 12:20:20 UTC
Created attachment 840441 [details]
Build log
Comment 2 Mike Pagano gentoo-dev 2022-12-06 13:47:54 UTC
Thanks for your detailed report and attachments. It made my job easier. The upstream patch will be included in gentoo-sources-6.0.12 and other kernels which include genpatches
Comment 3 Mike Pagano gentoo-dev 2022-12-08 18:45:29 UTC
This is released in gentoo-sources-6.0.12 and other kernels that include genpatches-6.0-11