Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 902133 - app-laptop/tuxedo-keyboard-3.1.3-r1 fails to compile with error: ‘dmi_string_in’ defined but not used [-Werror=unused-function]
Summary: app-laptop/tuxedo-keyboard-3.1.3-r1 fails to compile with error: ‘dmi_string_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marc Schiffbauer
URL: https://github.com/tuxedocomputers/tu...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2023-03-19 12:39 UTC by Lars
Modified: 2023-05-13 03:02 UTC (History)
0 users

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


Attachments
build log (build.log,22.43 KB, text/x-log)
2023-03-19 12:42 UTC, Lars
Details
tuxedo-keyboard-3.1.4 ebuild with patch (tuxedo-keyboard-3.1.4.ebuild,795 bytes, text/plain)
2023-03-19 12:44 UTC, Lars
Details
Patch to solve this issue (tuxedo-keyboard-rm-unused-functions.patch,1.29 KB, patch)
2023-03-19 12:45 UTC, Lars
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(+)