Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 902133

Summary: app-laptop/tuxedo-keyboard-3.1.3-r1 fails to compile with error: ‘dmi_string_in’ defined but not used [-Werror=unused-function]
Product: Gentoo Linux Reporter: Lars <gentoo>
Component: Current packagesAssignee: Marc Schiffbauer <mschiff>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/tuxedocomputers/tuxedo-keyboard/issues/164
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
tuxedo-keyboard-3.1.4 ebuild with patch
Patch to solve this issue

Description Lars 2023-03-19 12:39:41 UTC
This also applies to upstream's current version 3.1.4.

Reproduced with Linux kernel sources 5.15.80 and 6.1.12.

Reproducible: Always




Reported upstream: https://github.com/tuxedocomputers/tuxedo-keyboard/issues/164
Comment 1 Lars 2023-03-19 12:42:47 UTC
Created attachment 858317 [details]
build log

tuxedo-keyboard-3.1.3 build log
Comment 2 Lars 2023-03-19 12:44:54 UTC
Created attachment 858319 [details]
tuxedo-keyboard-3.1.4 ebuild with patch

Ebuild containing patch. It is a renamed copy of tuxedo-keyboard-3.1.3-r1 including the patch for this issue.
Comment 3 Lars 2023-03-19 12:45:56 UTC
Created attachment 858321 [details, diff]
Patch to solve this issue

Patch provided by user tirnanog on #gentoo (libera.chat)
Comment 4 Larry the Git Cow gentoo-dev 2023-05-13 03:02:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b2ae9bb2ee3ed4d061a4c2e633a04bbcc197f70

commit 0b2ae9bb2ee3ed4d061a4c2e633a04bbcc197f70
Author:     Peter Kaukov <peter@kaukov.dev>
AuthorDate: 2023-04-12 11:05:39 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-13 03:01:28 +0000

    app-laptop/tuxedo-keyboard: add 3.2.1
    
    Closes: https://bugs.gentoo.org/902133
    Signed-off-by: Peter Kaukov <peter@kaukov.dev>
    Closes: https://github.com/gentoo/gentoo/pull/30533
    Signed-off-by: Sam James <sam@gentoo.org>

 app-laptop/tuxedo-keyboard/Manifest                |  1 +
 ...tuxedo-keyboard-3.2.1-rm-unused-functions.patch | 67 ++++++++++++++++++++++
 .../tuxedo-keyboard/tuxedo-keyboard-3.2.1.ebuild   | 24 ++++++++
 3 files changed, 92 insertions(+)

Additionally, it has been referenced in the following commit(s):

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

commit c88b449bff54edbb85f1769022119c58b3abeaea
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-05-13 03:00:38 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-13 03:01:33 +0000

    app-laptop/tuxedo-keyboard: add patch metadata
    
    Bug: https://bugs.gentoo.org/902133
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/tuxedo-keyboard-3.2.1-rm-unused-functions.patch             | 4 ++++
 1 file changed, 4 insertions(+)