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: 19
Popularity: 0.000097
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 »

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

xiota commented on 2023-11-18 21:15 (UTC) (edited on 2023-11-18 21:19 (UTC) by xiota)

I just looked at this more carefully. The problem is make is running commands out of order, so files don't exist when they're needed. The -j1 option is needed to force commands to be executed in order, so the file will exist when needed.

CPPFLAGS and CFLAGS are unnecessary. (Possibly in the past, they affected timing enough so the files would exist when needed.) They can be removed. Here is a build() function that should work.

build() {
  cd "${srcdir}/${pkgname%-git}"
  autoreconf -ivf
  ./configure --prefix=/usr
  make -j1
}

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

xiota commented on 2023-06-04 17:32 (UTC)

@xenhat Does modifying build() with the following help:

  CPPFLAGS="$CPPFLAGS -O2 -Wno-error"
  CFLAGS="$CFLAGS -Wno-error"
  ./configure --prefix=/usr

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).

dreieck commented on 2023-03-15 08:24 (UTC) (edited on 2023-03-15 08:25 (UTC) by dreieck)

fwts-git fails to build for me with mv: cannot stat 'dtcompilerparser.tab.c': No such file or directory and mv: cannot stat 'dtparser.tab.c': No such file or directory:

==> Starting build()...
[...]
make  all-recursive
make[1]: Entering directory '/tmp/makepkg/build/fwts-git/src/fwts'
Making all in src
make[2]: Entering directory '/tmp/makepkg/build/fwts-git/src/fwts/src'
git.mk: Generating .gitignore
Making all in libfwtsiasl
make[3]: Entering directory '/tmp/makepkg/build/fwts-git/src/fwts/src/libfwtsiasl'
[...]
flex -i -PDtParser -odtparserlex.c ../../src/acpica/source/compiler/dtparser.l
mv dtcompilerparser.tab.c dtcompilerparser.c
cp dtcompilerparser.tab.h dtcompilerparser.y.h
mv dtcompilerparser.tab.c dtcompilerparser.c
bison -y -d -bdtparser -pDtParser ../../src/acpica/source/compiler/dtparser.y
flex -i -PDtParser -odtparserlex.c ../../src/acpica/source/compiler/dtparser.l
mv: cannot stat 'dtcompilerparser.tab.c': No such file or directory
make[3]: *** [Makefile:4197: dtcompilerparser.y.h] Error 1
make[3]: *** Waiting for unfinished jobs....
bison -y -d -bdtparser -pDtParser ../../src/acpica/source/compiler/dtparser.y
mv dtcompilerparser.tab.c dtcompilerparser.c
cp dtcompilerparser.tab.h dtcompilerparser.y.h
mv dtparser.tab.c dtparser.c
cp dtparser.tab.h dtparser.y.h
mv dtparser.tab.c dtparser.c
mv: cannot stat 'dtparser.tab.c': No such file or directory
make[3]: *** [Makefile:4206: dtparserlex.c] Error 1
make[3]: Leaving directory '/tmp/makepkg/build/fwts-git/src/fwts/src/libfwtsiasl'
make[2]: *** [Makefile:5008: all-recursive] Error 1
make[2]: Leaving directory '/tmp/makepkg/build/fwts-git/src/fwts/src'
make[1]: *** [Makefile:820: all-recursive] Error 1
make[1]: Leaving directory '/tmp/makepkg/build/fwts-git/src/fwts'
make: *** [Makefile:751: all] Error 2
==> ERROR: A failure occurred in build().

Full build() output can be found ↗ here.

It might be an upstream error, if it occurs within make, if it is not a configuration error.

Regards!