ColinIanKing / fwts

NOT THE UPSTEAM FWTS REPO, see https://github.com/fwts/fwts instead!
https://wiki.ubuntu.com/Kernel/Reference/fwts
28 stars 11 forks source link

Build error on Arch Linux #9

Open VorpalBlade opened 1 year ago

VorpalBlade commented 1 year ago

This is version 22.11.00, which appears to be the latest version in this repository (though 23.01.00 is tagged, but not actually pushed to the master branch?)

autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
aclocal: warning: couldn't open directory 'm4': No such file or directory
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force -I m4
autoreconf: running: /usr/bin/autoconf --force
configure.ac:7: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete
./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from...
./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from...
configure.ac:7: the top level
configure.ac:9: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:9: You should run autoupdate.
m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
configure.ac:9: the top level
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:3: installing './ar-lib'
configure.ac:3: installing './compile'
configure.ac:4: installing './config.guess'
configure.ac:4: installing './config.sub'
configure.ac:2: installing './install-sh'
configure.ac:2: installing './missing'
parallel-tests: installing './test-driver'
src/Makefile.am: installing './depcomp'
autoreconf: Leaving directory '.'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for flex... flex
checking for lex output file root... lex.yy
checking for lex library... none needed
checking for library containing yywrap... no
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for vfork.h... no
checking for sys/param.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for inline... inline
checking for localtime_r... yes
checking for dup2... yes
checking for getcwd... yes
checking for getpagesize... yes
checking for memset... yes
checking for mkdir... yes
checking for munmap... yes
checking for select... yes
checking for socket... yes
checking for sqrt... no
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strstr... yes
checking for strtoul... yes
checking for strtoull... yes
checking for gettimeofday... yes
checking for uname... yes
checking for assert.h... yes
checking for ctype.h... yes
checking for errno.h... yes
checking for fcntl.h... yes
checking for getopt.h... yes
checking for limits.h... yes
checking for linux/input.h... yes
checking for math.h... yes
checking for paths.h... yes
checking for pcre.h... yes
checking for sched.h... yes
checking for signal.h... yes
checking for stdarg.h... yes
checking for stdint.h... (cached) yes
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for bsd/string.h... yes
checking for sys/io.h... yes
checking for sys/klog.h... yes
checking for sys/mman.h... yes
checking for sys/param.h... (cached) yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/type.h... no
checking for sys/un.h... yes
checking for sys/wait.h... yes
checking for termios.h... yes
checking for time.h... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for glib.h... no
checking for gio/gio.h... no
checking for asm/opal-prd.h... no
checking for mtd/mtd-abi.h... yes
checking for pci/pci.h... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GIO... yes
checking for GLIB... yes
checking for library containing fdt_check_header... -lfdt
checking for library containing pci_alloc... no
checking for GNU libc compatible malloc... yes
checking for pid_t... yes
checking for fork... yes
checking for vfork... yes
checking for getpagesize... (cached) yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether lstat correctly handles trailing slash... yes
checking for working mmap... yes
checking for GNU libc compatible realloc... yes
checking for pid_t... (cached) yes
checking for size_t... yes
checking for off_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/libfwtsiasl/Makefile
config.status: creating src/libfwtsacpica/Makefile
config.status: creating src/lib/Makefile
config.status: creating src/lib/src/Makefile
config.status: creating src/utilities/Makefile
config.status: creating data/Makefile
config.status: creating scripts/bash-completion/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
git.mk: Generating .gitignore
configure.ac:7: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete
./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from...
./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from...
configure.ac:7: the top level
configure.ac:9: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:9: You should run autoupdate.
m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
configure.ac:9: the top level
configure.ac:7: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete
./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from...
./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from...
configure.ac:7: the top level
configure.ac:9: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:9: You should run autoupdate.
m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
configure.ac:9: the top level
configure.ac:7: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete
./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from...
./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from...
configure.ac:7: the top level
configure.ac:9: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:9: You should run autoupdate.
m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
configure.ac:9: the top level
configure.ac:7: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete
./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from...
./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from...
configure.ac:7: the top level
configure.ac:9: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:9: You should run autoupdate.
m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
configure.ac:9: the top level
configure.ac:7: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete
./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from...
./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from...
configure.ac:7: the top level
configure.ac:9: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:9: You should run autoupdate.
m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
configure.ac:9: the top level
make  all-recursive
make[1]: Entering directory '/build/fwts-git/src/fwts'
Making all in src
make[2]: Entering directory '/build/fwts-git/src/fwts/src'
git.mk: Generating .gitignore
Making all in libfwtsiasl
make[3]: Entering directory '/build/fwts-git/src/fwts/src/libfwtsiasl'
m4 -P -I../../src/acpica/source/compiler ../../src/acpica/source/compiler/aslparser.y > aslcompiler.y
flex -i -PAslCompiler -oaslcompilerlex.c ../../src/acpica/source/compiler/aslcompiler.l
flex -i -PDtCompilerParser -odtcompilerparserlex.c ../../src/acpica/source/compiler/dtcompilerparser.l
flex -i -PDtCompilerParser -odtcompilerparserlex.c ../../src/acpica/source/compiler/dtcompilerparser.l
flex -i -PDtCompilerParser -odtcompilerparserlex.c ../../src/acpica/source/compiler/dtcompilerparser.l
flex -i -PDtParser -odtparserlex.c ../../src/acpica/source/compiler/dtparser.l
flex -i -PDtParser -odtparserlex.c ../../src/acpica/source/compiler/dtparser.l
flex -i -PDtParser -odtparserlex.c ../../src/acpica/source/compiler/dtparser.l
flex -i -PPrParser -oprparserlex.c ../../src/acpica/source/compiler/prparser.l
flex -i -PPrParser -oprparserlex.c ../../src/acpica/source/compiler/prparser.l
flex -i -PPrParser -oprparserlex.c ../../src/acpica/source/compiler/prparser.l
bison -y -d -bdtcompilerparser -pDtCompilerParser ../../src/acpica/source/compiler/dtcompilerparser.y
bison -y -d -bdtcompilerparser -pDtCompilerParser ../../src/acpica/source/compiler/dtcompilerparser.y
git.mk: Generating .gitignore
bison -y -d -bdtparser -pDtParser ../../src/acpica/source/compiler/dtparser.y
bison -y -d -bdtparser -pDtParser ../../src/acpica/source/compiler/dtparser.y
bison -y -d -bprparser -pPrParser ../../src/acpica/source/compiler/prparser.y
bison -y -d -bdtcompilerparser -pDtCompilerParser ../../src/acpica/source/compiler/dtcompilerparser.y
bison -y -d -bdtparser -pDtParser ../../src/acpica/source/compiler/dtparser.y
bison -y -d -bprparser -pPrParser ../../src/acpica/source/compiler/prparser.y
bison -y -d -bprparser -pPrParser ../../src/acpica/source/compiler/prparser.y
bison -y -d -d -baslcompiler -pAslCompiler aslcompiler.y
bison -y -d -d -baslcompiler -pAslCompiler aslcompiler.y
aslcompiler.y:211.1-7: warning: POSIX Yacc does not support %expect [-Wyacc]
  211 | %expect 127
      | ^~~~~~~
aslcompiler.y:211.1-7: warning: POSIX Yacc does not support %expect [-Wyacc]
  211 | %expect 127
      | ^~~~~~~
mv dtcompilerparser.tab.c dtcompilerparser.c
mv dtcompilerparser.tab.c dtcompilerparser.c
cp dtcompilerparser.tab.h dtcompilerparser.y.h
mv: cannot stat 'dtcompilerparser.tab.c': No such file or directory
make[3]: *** [Makefile:4200: dtcompilerparser.c] Error 1
make[3]: *** Waiting for unfinished jobs....
mv dtcompilerparser.tab.c dtcompilerparser.c
mv: cannot stat 'dtcompilerparser.tab.c': No such file or directory
make[3]: *** [Makefile:4197: dtcompilerparser.y.h] Error 1
mv dtparser.tab.c dtparser.c
cp dtparser.tab.h dtparser.y.h
mv prparser.tab.c prparser.c
cp prparser.tab.h prparser.y.h
mv dtparser.tab.c dtparser.c
mv: cannot stat 'dtparser.tab.c': No such file or directory
make[3]: *** [Makefile:4206: dtparser.y.h] Error 1
mv prparser.tab.c prparser.c
mv: cannot stat 'prparser.tab.c': No such file or directory
make[3]: *** [Makefile:4213: prparser.y.h] Error 1
mv dtparser.tab.c dtparser.c
mv: cannot stat 'dtparser.tab.c': No such file or directory
make[3]: *** [Makefile:4206: dtparser.c] Error 1
mv prparser.tab.c prparser.c
mv: cannot stat 'prparser.tab.c': No such file or directory
make[3]: *** [Makefile:4213: prparser.c] Error 1
mv aslcompiler.tab.c aslcompiler.c
cp aslcompiler.tab.h aslcompiler.y.h
mv aslcompiler.tab.c aslcompiler.c
mv: cannot stat 'aslcompiler.tab.c': No such file or directory
make[3]: *** [Makefile:4192: aslcompiler.y.h] Error 1
make[3]: Leaving directory '/build/fwts-git/src/fwts/src/libfwtsiasl'
make[2]: *** [Makefile:5008: all-recursive] Error 1
make[2]: Leaving directory '/build/fwts-git/src/fwts/src'
make[1]: *** [Makefile:820: all-recursive] Error 1
make[1]: Leaving directory '/build/fwts-git/src/fwts'
make: *** [Makefile:751: all] Error 2
ColinIanKing commented 7 months ago

This is not the official github repository, please re-do the issue report against https://github.com/fwts/