Package Details: fwts-git 23.11.00.r9.ffc2469b-1

Git Clone URL: https://aur.archlinux.org/fwts-git.git (read-only, click to copy)
Package Base: fwts-git
Description: The FirmWare Test Suite is a tool to do automatic testing of a PC's firmware
Upstream URL: https://github.com/fwts/fwts
Licenses: GPL
Conflicts: fwts
Provides: fwts
Submitter: robertfoster
Maintainer: robertfoster
Last Packager: robertfoster
Votes: 20
Popularity: 0.006515
First Submitted: 2010-08-11 12:23 (UTC)
Last Updated: 2023-12-21 09:11 (UTC)

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

1 2 3 Next › Last »

dreieck commented on 2025-05-29 10:14 (UTC)

Ahoj,

the license identifier should be updated to be SPDX compliant:

fwts-git E: GPL is not a valid SPDX license identifier. See https://spdx.org/licenses/ for valid identifiers, or prefix the identifier with 'LicenseRef-', if it is custom.

Also, pciutils might be needed to be added to the depends array:

fwts-git E: Dependency pciutils detected and not included (libraries ['usr/lib/libpci.so.3'] needed in files ['usr/lib/fwts/libfwtsacpica.so.1.0.0', 'usr/lib/fwts/libfwts.so.1.0.0', 'usr/bin/fwts', 'usr/lib/fwts/libfwtsiasl.so.1.0.0'])
fwts-git E: Dependency glib2 detected and not included (libraries ['usr/lib/libgio-2.0.so.0', 'usr/lib/libgobject-2.0.so.0', 'usr/lib/libglib-2.0.so.0'] needed in files ['usr/lib/fwts/libfwts.so.1.0.0'])

Regards and thanks for this package!

JL2210 commented on 2025-05-14 00:17 (UTC) (edited on 2025-05-14 00:26 (UTC) by JL2210)

Fails to build with GCC 15.1.1:

acpi/brightness/autobrightness.c: In function ‘auto_brightness_test2’:
acpi/brightness/autobrightness.c:134:49: error: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
  134 |                 brightness_fail = calloc(sizeof(bool), max_brightness + 1);
      |                                                 ^~~~
acpi/brightness/autobrightness.c:134:49: note: earlier argument should specify number of elements, later size of each element
cc1: all warnings being treated as errors

Patch:

diff --git a/PKGBUILD b/PKGBUILD
index 5f75f95..4983ff6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,6 +16,11 @@ source=("${pkgname%-git}::git+${url}")

 build() {
   cd "${srcdir}/${pkgname%-git}"
+  sed -i 's/-Werror //g' \
+    configure.ac \
+    src/Makefile.am \
+    src/lib/Makefile.am \
+    src/utilities/Makefile.am
   autoreconf -ivf
   CPPFLAGS="$CPPFLAGS -O2"
   CFLAGS=--sysroot= ./configure --prefix=/usr

mar04 commented on 2024-03-04 20:30 (UTC)

This is broken as it is, @xiota is correct, make -j1 is the right fix.

frostwork commented on 2023-12-21 16:51 (UTC)

thanks for the heads-up, @solsticedhiver now it does! thanks for the bump, @robertfoster

solsticedhiver commented on 2023-12-09 16:27 (UTC)

This does not use the upstream repo at https://github.com/fwts/fwts

brotgummi commented on 2023-11-18 20:48 (UTC)

Just tested it exhaustively: The modifications proposed by @xiota change nothing. Package does not build.

I found a solution though, no changes to PKGBUILD necessary:

1) cd into repository folder 2) Run makepkg -si 3) Wait for error mv: cannot stat 'dtparser.tab.c': No such file or directory 4) Run makepkg -si again 5) Build succeeds

Would be cool if someone managed to fix the PKGBUILD, as I am not capable enough.

evorster commented on 2023-11-16 15:59 (UTC)

There is a definite typo in the PKGBUILD, and it does not build as is. Modifyng the PKGBUILD with the infpormation from below does result in a successful build

XenHat commented on 2023-06-04 16:08 (UTC)

Doesn't seem to build for me, not even using extra-x86_64-build (from devtools).