legionus / kbd

Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/legion/kbd.git
https://kbd-project.org
Other
85 stars 41 forks source link

Build fails with error: unknown type name ‘YYSTYPE’ #24

Closed Reinis closed 5 years ago

Reinis commented 5 years ago

It works if I comment out this line: https://github.com/legionus/kbd/blob/08dc021d7226ad203f4b63f2c85131b4b4a115f7/src/libkeymap/parser.y#L14

Package versions:

[I] sys-devel/bison
     Installed versions:  3.3.2(13:42:42 2019.02.04.)(nls -examples -static -test)

[I] sys-devel/flex
     Installed versions:  2.6.4-r1(15:05:19 2017.12.05.)(nls -static -test ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32")

[I] sys-devel/gcc
     Installed versions:  8.3.0(8.3.0)^s(22:40:53 2019.03.30.)(cxx fortran graphite multilib nls nptl openmp pch pie sanitize ssp vtv -altivec -debug -doc -fixed-point -go -hardened -jit -libssp -mpx -objc -objc++ -objc-gc -pgo -systemtap -test -vanilla)

Build log:

 * Package:    sys-apps/kbd-9999
 * Repository: local
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux nls pam userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Package:    sys-apps/kbd-9999
 * Repository: local
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux nls pam userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
 * Repository id: legionus_kbd.git
 * To override fetched repository properties, use:
 *   EGIT_OVERRIDE_REPO_LEGIONUS_KBD
 *   EGIT_OVERRIDE_BRANCH_LEGIONUS_KBD
 *   EGIT_OVERRIDE_COMMIT_LEGIONUS_KBD
 *   EGIT_OVERRIDE_COMMIT_DATE_LEGIONUS_KBD
 * 
 * Fetching https://github.com/legionus/kbd.git ...
git fetch https://github.com/legionus/kbd.git +refs/heads/master:refs/heads/master
git symbolic-ref refs/git-r3/sys-apps/kbd/0/__main__ refs/heads/master
 * Checking out https://github.com/legionus/kbd.git to /var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999 ...
git checkout --quiet master
GIT update -->
   repository:               https://github.com/legionus/kbd.git
   at the commit:            08dc021d7226ad203f4b63f2c85131b4b4a115f7
>>> Source unpacked in /var/tmp/portage/sys-apps/kbd-9999/work
>>> Preparing source in /var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999 ...
 * Running eautoreconf in '/var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999' ...
 * Running autopoint --force ...
 [ ok ]
 * Running libtoolize --install --copy --force --automake ...
 [ ok ]
 * Running aclocal -I m4 ...
 [ ok ]
 * Running autoconf --force ...
 [ ok ]
 * Running autoheader ...
 [ ok ]
 * Running automake --add-missing --copy --force-missing ...
 [ ok ]
 * Running elibtoolize in: kbd-9999/
 * Running elibtoolize in: kbd-9999/config/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.3 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999 ...
 * econf: updating kbd-9999/config/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating kbd-9999/config/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/kbd-9999 --htmldir=/usr/share/doc/kbd-9999/html --libdir=/usr/lib64 --enable-nls --enable-vlock --disable-tests
checking for a BSD-compatible install... /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether to build with code coverage support... no
checking whether make supports nested variables... (cached) yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C99... none needed
checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking the archiver (x86_64-pc-linux-gnu-ar) interface... ar
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B
checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm
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/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-pc-linux-gnu-ar... (cached) x86_64-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/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 whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for memory.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking for unistd.h... (cached) yes
checking for working chown... yes
checking whether closedir returns void... no
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no
checking return type of signal handlers... void
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for alarm... yes
checking for memset... yes
checking for setlocale... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for setpgrp... yes
checking for malloc... yes
checking for realloc... yes
checking if x86_64-pc-linux-gnu-gcc supports -Waggregate-return flag... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wall flag... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wcast-align flag... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wconversion flag... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wdisabled-optimization flag... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wextra flag... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wmissing-declarations flag... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wmissing-format-attribute flag... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wmissing-noreturn flag... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wmissing-prototypes flag... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wredundant-decls flag... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wshadow flag... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wstrict-prototypes flag... yes
checking if x86_64-pc-linux-gnu-gcc supports -Wwrite-strings flag... yes
checking for pam_start in -lpam... yes
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking for misc_conv in -lpam_misc... yes
checking security/pam_misc.h usability... yes
checking security/pam_misc.h presence... yes
checking for security/pam_misc.h... yes
checking for doxygen... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating docs/Makefile
config.status: creating docs/man/Makefile
config.status: creating docs/man/man1/Makefile
config.status: creating docs/man/man1/dumpkeys.1
config.status: creating docs/man/man1/loadkeys.1
config.status: creating docs/man/man1misc/Makefile
config.status: creating docs/man/man5/Makefile
config.status: creating docs/man/man8/Makefile
config.status: creating docs/man/man8/loadunimap.8
config.status: creating docs/man/man8/mapscrn.8
config.status: creating docs/man/man8/setfont.8
config.status: creating docs/man/man8misc/Makefile
config.status: creating docs/reference/Makefile
config.status: creating docs/reference/libkeymap/Makefile
config.status: creating po/Makefile.in
config.status: WARNING:  'po/Makefile.in.in' seems to ignore the --datarootdir setting
config.status: creating src/Makefile
config.status: creating src/libcommon/Makefile
config.status: creating src/libkbdfile/Makefile
config.status: creating src/libkeymap/Makefile
config.status: creating src/vlock/Makefile
config.status: creating tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

    kbd 2.0.4
    ======

    prefix:         /usr
    libdir:         /usr/lib64
    bindir:         ${exec_prefix}/bin
    datadir:        /usr/share

    compiler:       x86_64-pc-linux-gnu-gcc
    cflags:         -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings

    {get,set}keycodes:  yes
    resizecons:     yes
    optional progs:     no
    vlock:          yes
    libkbdfile:     no
    libkeymap:      no

>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999 ...
make -j1 
make  all-recursive
make[1]: Entering directory '/var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999'
Making all in src
make[2]: Entering directory '/var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999/src'
Making all in libcommon
make[3]: Entering directory '/var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999/src/libcommon'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..     -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c -o getfd.o getfd.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..     -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c -o error.o error.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..     -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c -o version.o version.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..     -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c -o xmalloc.o xmalloc.c
rm -f libcommon.a
x86_64-pc-linux-gnu-ar cru libcommon.a getfd.o error.o version.o xmalloc.o 
x86_64-pc-linux-gnu-ranlib libcommon.a
make[3]: Leaving directory '/var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999/src/libcommon'
Making all in libkbdfile
make[3]: Entering directory '/var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999/src/libkbdfile'
/bin/sh ../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..   -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time   -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c -o init.lo init.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c init.c  -fPIC -DPIC -o .libs/init.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c init.c -o init.o >/dev/null 2>&1
/bin/sh ../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..   -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time   -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c -o kbdfile.lo kbdfile.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c kbdfile.c  -fPIC -DPIC -o .libs/kbdfile.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c kbdfile.c -o kbdfile.o >/dev/null 2>&1
/bin/sh ../../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings  -Wl,-O1 -Wl,--as-needed -o libkbdfile.la   init.lo kbdfile.lo  
libtool: link: x86_64-pc-linux-gnu-ar cru .libs/libkbdfile.a .libs/init.o .libs/kbdfile.o 
libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libkbdfile.a
libtool: link: ( cd ".libs" && rm -f "libkbdfile.la" && ln -s "../libkbdfile.la" "libkbdfile.la" )
make[3]: Leaving directory '/var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999/src/libkbdfile'
Making all in libkeymap
make[3]: Entering directory '/var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999/src/libkeymap'
/bin/sh ../../config/ylwrap parser.y y.tab.c parser.c y.tab.h `echo parser.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output parser.output -- bison -y  
/var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999/src/libkeymap/parser.y:27.1-5: warning: POSIX Yacc does not support %code [-Wyacc]
 %code requires {
 ^~~~~
/var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999/src/libkeymap/parser.y:41.1-9: warning: POSIX Yacc does not support %language [-Wyacc]
 %language "C"
 ^~~~~~~~~
/var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999/src/libkeymap/parser.y:41.11-13: warning: POSIX Yacc does not support string literals [-Wyacc]
 %language "C"
           ^~~
/var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999/src/libkeymap/parser.y:42.1-5: warning: POSIX Yacc does not support %yacc [-Wyacc]
 %yacc
 ^~~~~
/var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999/src/libkeymap/parser.y:42.1-5: warning: duplicate directive [-Wother]
 %yacc
 ^~~~~
<command line>:1:                                                                   previous declaration
/var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999/src/libkeymap/parser.y:43.1-8: warning: POSIX Yacc does not support %defines [-Wyacc]
 %defines
 ^~~~~~~~
/var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999/src/libkeymap/parser.y:45.1-14: warning: POSIX Yacc does not support %error-verbose [-Wyacc]
 %error-verbose
 ^~~~~~~~~~~~~~
/var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999/src/libkeymap/parser.y:45.1-14: warning: deprecated directive, use ‘%define parse.error verbose’ [-Wdeprecated]
 %error-verbose
 ^~~~~~~~~~~~~~
/var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999/src/libkeymap/parser.y:48.1-7: warning: POSIX Yacc does not support %define [-Wyacc]
 %define api.pure
 ^~~~~~~
/var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999/src/libkeymap/parser.y: warning: fix-its can be applied.  Rerun with option '--update'. [-Wother]
updating parser.h
/bin/sh ../../config/ylwrap analyze.l lex.yy.c analyze.c -- flex --header-file=/var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999/src/libkeymap/analyze.h 
../../contrib/gen_charset_syms.pl -n latin1_syms -s 160 <../../data/consoletrans/8859-1_to_uni.trans >./syms.latin1.h
../../contrib/gen_charset_syms.pl -n latin2_syms -s 160 <../../data/consoletrans/8859-2_to_uni.trans >./syms.latin2.h
../../contrib/gen_charset_syms.pl -n latin3_syms -s 160 <../../data/consoletrans/8859-3_to_uni.trans >./syms.latin3.h
../../contrib/gen_charset_syms.pl -n latin4_syms -s 160 <../../data/consoletrans/8859-4_to_uni.trans >./syms.latin4.h
../../contrib/gen_charset_syms.pl -n iso8859_5_syms -s 160 <../../data/consoletrans/8859-5_to_uni.trans >./syms.iso8859_5.h
../../contrib/gen_charset_syms.pl -n iso8859_7_syms -s 160 <../../data/consoletrans/8859-7_to_uni.trans >./syms.iso8859_7.h
../../contrib/gen_charset_syms.pl -n iso8859_8_syms -s 160 <../../data/consoletrans/8859-8_to_uni.trans >./syms.iso8859_8.h
../../contrib/gen_charset_syms.pl -n iso8859_9_syms -s 160 <../../data/consoletrans/8859-9_to_uni.trans >./syms.iso8859_9.h
../../contrib/gen_charset_syms.pl -n iso8859_15_syms -s 160 <../../data/consoletrans/8859-15_to_uni.trans >./syms.iso8859_15.h
../../contrib/gen_charset_syms.pl -n cp1250_syms -s 128 <../../data/consoletrans/cp1250_to_uni.trans >./syms.cp1250.h
../../contrib/gen_charset_syms.pl -n koi8_syms -s 128 <../../data/consoletrans/koi8-u_to_uni.trans >./syms.koi8.h
make  all-am
make[4]: Entering directory '/var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999/src/libkeymap'
/bin/sh ../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..   -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -I./../libkbdfile -I./../libkbdfile -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time   -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c -o array.lo array.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -I./../libkbdfile -I./../libkbdfile -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c array.c  -fPIC -DPIC -o .libs/array.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -I./../libkbdfile -I./../libkbdfile -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c array.c -o array.o >/dev/null 2>&1
/bin/sh ../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..   -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -I./../libkbdfile -I./../libkbdfile -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time   -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c -o common.lo common.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -I./../libkbdfile -I./../libkbdfile -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c common.c  -fPIC -DPIC -o .libs/common.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -I./../libkbdfile -I./../libkbdfile -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c common.c -o common.o >/dev/null 2>&1
/bin/sh ../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..   -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -I./../libkbdfile -I./../libkbdfile -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time   -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c -o kernel.lo kernel.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -I./../libkbdfile -I./../libkbdfile -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c kernel.c  -fPIC -DPIC -o .libs/kernel.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -I./../libkbdfile -I./../libkbdfile -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c kernel.c -o kernel.o >/dev/null 2>&1
/bin/sh ../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..   -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -I./../libkbdfile -I./../libkbdfile -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time   -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c -o dump.lo dump.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -I./../libkbdfile -I./../libkbdfile -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c dump.c  -fPIC -DPIC -o .libs/dump.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -I./../libkbdfile -I./../libkbdfile -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c dump.c -o dump.o >/dev/null 2>&1
/bin/sh ../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..   -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -I./../libkbdfile -I./../libkbdfile -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time   -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c -o kmap.lo kmap.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -I./../libkbdfile -I./../libkbdfile -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c kmap.c  -fPIC -DPIC -o .libs/kmap.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -I./../libkbdfile -I./../libkbdfile -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c kmap.c -o kmap.o >/dev/null 2>&1
/bin/sh ../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..   -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -I./../libkbdfile -I./../libkbdfile -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time   -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c -o diacr.lo diacr.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -I./../libkbdfile -I./../libkbdfile -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c diacr.c  -fPIC -DPIC -o .libs/diacr.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -I./../libkbdfile -I./../libkbdfile -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c diacr.c -o diacr.o >/dev/null 2>&1
/bin/sh ../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..   -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -I./../libkbdfile -I./../libkbdfile -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time   -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c -o func.lo func.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -I./../libkbdfile -I./../libkbdfile -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c func.c  -fPIC -DPIC -o .libs/func.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -I./../libkbdfile -I./../libkbdfile -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c func.c -o func.o >/dev/null 2>&1
/bin/sh ../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..   -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -I./../libkbdfile -I./../libkbdfile -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time   -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c -o summary.lo summary.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -I./../libkbdfile -I./../libkbdfile -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c summary.c  -fPIC -DPIC -o .libs/summary.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -I./../libkbdfile -I./../libkbdfile -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c summary.c -o summary.o >/dev/null 2>&1
/bin/sh ../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..   -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -I./../libkbdfile -I./../libkbdfile -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time   -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c -o loadkeys.lo loadkeys.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -I./../libkbdfile -I./../libkbdfile -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c loadkeys.c  -fPIC -DPIC -o .libs/loadkeys.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -I./../libkbdfile -I./../libkbdfile -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c loadkeys.c -o loadkeys.o >/dev/null 2>&1
/bin/sh ../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..   -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -I./../libkbdfile -I./../libkbdfile -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time   -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c -o parser.lo parser.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I. -I./.. -I./.. -I./../libcommon -I./../libcommon -I./../libkbdfile -I./../libkbdfile -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -U_GNU_SOURCE -funit-at-a-time -g -O2 -D_FORTIFY_SOURCE=2 -Waggregate-return -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Wextra -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -c parser.c  -fPIC -DPIC -o .libs/parser.o
In file included from parser.y:24:
/var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999/src/libkeymap/analyze.h:292:1: error: unknown type name ‘YYSTYPE’

 ^      
/var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999/src/libkeymap/analyze.h:294:19: error: unknown type name ‘YYSTYPE’

                   ^      
/var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999/src/libkeymap/analyze.h:342:17: error: unknown type name ‘YYSTYPE’
 extern int yylex \
                 ^~     
parser.c:518:3: error: unknown type name ‘YYSTYPE’
   YYSTYPE yyvs_alloc;
   ^~~~~~~
parser.c:1208:44: error: unknown type name ‘YYSTYPE’
 yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep, void *scanner, struct lk_ctx *ctx)
                                            ^~~~~~~
parser.c:425:5: error: expected end of line before ‘push’
     _Pragma ("GCC diagnostic push") \
     ^~~~~~~
parser.c:1217:3: note: in expansion of macro ‘YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN’
   YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parser.c:426:5: error: expected end of line before ‘ignored’
     _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"")\
     ^~~~~~~
parser.c:1217:3: note: in expansion of macro ‘YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN’
   YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parser.c:427:5: error: expected end of line before ‘ignored’
     _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"")
     ^~~~~~~
parser.c:1217:3: note: in expansion of macro ‘YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN’
   YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parser.c:429:5: error: expected end of line before ‘pop’
     _Pragma ("GCC diagnostic pop")
     ^~~~~~~
parser.c:1219:3: note: in expansion of macro ‘YY_IGNORE_MAYBE_UNINITIALIZED_END’
   YY_IGNORE_MAYBE_UNINITIALIZED_END
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parser.c:1230:1: warning: no previous prototype for ‘yyparse’ [-Wmissing-prototypes]
 yyparse (void *scanner, struct lk_ctx *ctx)
 ^~~~~~~
parser.c: In function ‘yyparse’:
parser.c:1240:1: error: unknown type name ‘YYSTYPE’
 YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default);
 ^~~~~~~
parser.c:1262:5: error: unknown type name ‘YYSTYPE’
     YYSTYPE yyvsa[YYINITDEPTH];
     ^~~~~~~
parser.c:1263:5: error: unknown type name ‘YYSTYPE’
     YYSTYPE *yyvs;
     ^~~~~~~
parser.c:1264:5: error: unknown type name ‘YYSTYPE’
     YYSTYPE *yyvsp;
     ^~~~~~~
parser.c:1274:3: error: unknown type name ‘YYSTYPE’
   YYSTYPE yyval;
   ^~~~~~~
parser.c:527:46: error: ‘YYSTYPE’ undeclared (first use in this function)
      ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
                                              ^~~~~~~
parser.c:1355:44: note: in expansion of macro ‘YYSTACK_BYTES’
           (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
                                            ^~~~~~~~~~~~~
parser.c:527:46: note: each undeclared identifier is reported only once for each function it appears in
      ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
                                              ^~~~~~~
parser.c:1355:44: note: in expansion of macro ‘YYSTACK_BYTES’
           (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
                                            ^~~~~~~~~~~~~
parser.c:1403:16: warning: implicit declaration of function ‘yylex’; did you mean ‘yyfree’? [-Wimplicit-function-declaration]
       yychar = yylex (&yylval, scanner);
                ^~~~~
                yyfree
parser.y:196:48: error: request for member ‘str’ in something not a structure or union
     if (lk_set_charset(ctx, (char *) $2.data)) {
                                                ^
In file included from parser.y:19:
parser.y:199:26: error: request for member ‘str’ in something not a structure or union
       (char *) $2.data);
                          ^
contextP.h:79:55: note: in definition of macro ‘lk_log_cond’
    lk_log(ctx, level, __FILE__, __LINE__, __func__, ##arg); \
                                                       ^~~
parser.y:197:6: note: in expansion of macro ‘ERR’
      ERR(ctx,
      ^~~
parser.y:207:40: error: request for member ‘str’ in something not a structure or union
         !strcasecmp((char *) $2.data, "iso-8859-1"))
                                        ^
parser.y:225:50: error: request for member ‘str’ in something not a structure or union
     if (compose_as_usual(ctx, (char *) $5.data) == -1)
                                                  ^
parser.y:245:24: error: request for member ‘num’ in something not a structure or union
     for (i = $1; i <= $3; i++) {
                        ^
parser.y:245:45: error: request for member ‘num’ in something not a structure or union
     for (i = $1; i <= $3; i++) {
                                             ^
parser.y:252:34: error: request for member ‘num’ in something not a structure or union
     if (lk_add_map(ctx, $1) == -1)
                                  ^
In file included from ./keymap/context.h:10,
                 from keymap.h:4,
                 from contextP.h:7,
                 from parser.y:19:
parser.y:260:24: error: request for member ‘num’ in something not a structure or union
     if (KTYP($2) != KT_FN) {
                        ^
parser.y:262:35: error: request for member ‘num’ in something not a structure or union
       get_sym(ctx, KTYP($2), KVAL($2)));
                                   ^
contextP.h:108:26: note: in expansion of macro ‘lk_log_cond’
 #define ERR(ctx, arg...) lk_log_cond(ctx, LOG_ERR, ##arg)
                          ^~~~~~~~~~~
parser.y:261:6: note: in expansion of macro ‘ERR’
      ERR(ctx, _("'%s' is not a function key symbol"),
      ^~~
parser.y:262:58: error: request for member ‘num’ in something not a structure or union
       get_sym(ctx, KTYP($2), KVAL($2)));
                                                          ^
contextP.h:108:26: note: in expansion of macro ‘lk_log_cond’
 #define ERR(ctx, arg...) lk_log_cond(ctx, LOG_ERR, ##arg)
                          ^~~~~~~~~~~
parser.y:261:6: note: in expansion of macro ‘ERR’
      ERR(ctx, _("'%s' is not a function key symbol"),
      ^~~
parser.y:266:49: error: request for member ‘num’ in something not a structure or union
     ke.kb_func = (unsigned char) KVAL($2);
                                                 ^
parser.y:269:32: error: request for member ‘str’ in something not a structure or union
             (char *) $4.data,
                                ^
parser.y:281:43: error: request for member ‘num’ in something not a structure or union
     ptr.diacr  = (unsigned int) $2;
                                           ^
parser.y:282:43: error: request for member ‘num’ in something not a structure or union
     ptr.base   = (unsigned int) $3;
                                           ^
parser.y:283:43: error: request for member ‘num’ in something not a structure or union
     ptr.result = (unsigned int) $5;
                                           ^
parser.y:291:43: error: request for member ‘num’ in something not a structure or union
     ptr.diacr  = (unsigned int) $2;
                                           ^
parser.y:292:43: error: request for member ‘num’ in something not a structure or union
     ptr.base   = (unsigned int) $3;
                                           ^
parser.y:293:43: error: request for member ‘num’ in something not a structure or union
     ptr.result = (unsigned int) $5;
                                           ^
parser.y:299:13: error: request for member ‘num’ in something not a structure or union
 compsym  : CCHAR  { $$ = $1;  }
             ^
parser.y:299:30: error: request for member ‘num’ in something not a structure or union
 compsym  : CCHAR  { $$ = $1;  }
                              ^
parser.y:300:13: error: request for member ‘num’ in something not a structure or union
   | UNUMBER { $$ = $1 ^ 0xf000; }
             ^
parser.y:300:30: error: request for member ‘num’ in something not a structure or union
   | UNUMBER { $$ = $1 ^ 0xf000; }
                              ^
parser.y:312:48: error: request for member ‘num’ in something not a structure or union
      lk_array_set(ctx->key_constant, $2, &one);
                                                ^
parser.y:321:40: error: request for member ‘num’ in something not a structure or union
       if (lk_del_key(ctx, j, $2) < 0)
                                        ^
parser.y:341:41: error: request for member ‘num’ in something not a structure or union
        if (lk_add_key(ctx, j, $2, keycode) < 0)
                                         ^
parser.y:356:40: error: request for member ‘num’ in something not a structure or union
       if (lk_add_key(ctx, i, $2, *val) < 0)
                                        ^
parser.y:364:45: error: request for member ‘num’ in something not a structure or union
     if (lk_add_key(ctx, ctx->mod, $3, $5) < 0)
                                             ^
parser.y:364:62: error: request for member ‘num’ in something not a structure or union
     if (lk_add_key(ctx, ctx->mod, $3, $5) < 0)
                                                              ^
parser.y:370:38: error: request for member ‘num’ in something not a structure or union
     if (lk_add_key(ctx, 0, $3, $5) < 0)
                                      ^
parser.y:370:55: error: request for member ‘num’ in something not a structure or union
     if (lk_add_key(ctx, 0, $3, $5) < 0)
                                                       ^
parser.y:395:24: error: request for member ‘num’ in something not a structure or union
     int val = $1;
                        ^
parser.y:399:13: error: request for member ‘num’ in something not a structure or union
 rvalue  : NUMBER { $$ = convert_code(ctx, $1, TO_AUTO);  }
             ^
parser.y:399:48: error: request for member ‘num’ in something not a structure or union
 rvalue  : NUMBER { $$ = convert_code(ctx, $1, TO_AUTO);  }
                                                ^
parser.y:400:13: error: request for member ‘num’ in something not a structure or union
                 | PLUS NUMBER { $$ = add_capslock(ctx, $2);   }
             ^
parser.y:400:48: error: request for member ‘num’ in something not a structure or union
                 | PLUS NUMBER { $$ = add_capslock(ctx, $2);   }
                                                ^
parser.y:401:13: error: request for member ‘num’ in something not a structure or union
   | UNUMBER { $$ = convert_code(ctx, $1^0xf000, TO_AUTO); }
             ^
parser.y:401:48: error: request for member ‘num’ in something not a structure or union
   | UNUMBER { $$ = convert_code(ctx, $1^0xf000, TO_AUTO); }
                                                ^
parser.y:402:13: error: request for member ‘num’ in something not a structure or union
   | PLUS UNUMBER { $$ = add_capslock(ctx, $2^0xf000);  }
             ^
parser.y:402:48: error: request for member ‘num’ in something not a structure or union
   | PLUS UNUMBER { $$ = add_capslock(ctx, $2^0xf000);  }
                                                ^
parser.y:403:13: error: request for member ‘num’ in something not a structure or union
   | LITERAL { $$ = $1;     }
             ^
parser.y:403:30: error: request for member ‘num’ in something not a structure or union
   | LITERAL { $$ = $1;     }
                              ^
parser.y:404:13: error: request for member ‘num’ in something not a structure or union
                 | PLUS LITERAL { $$ = add_capslock(ctx, $2);   }
             ^
parser.y:404:48: error: request for member ‘num’ in something not a structure or union
                 | PLUS LITERAL { $$ = add_capslock(ctx, $2);   }
                                                ^
parser.c:1913:11: warning: implicit declaration of function ‘yydestruct’; did you mean ‘yyrestart’? [-Wimplicit-function-declaration]
           yydestruct ("Error: discarding",
           ^~~~~~~~~~
           yyrestart
make[4]: *** [Makefile:611: parser.lo] Error 1
make[4]: Leaving directory '/var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999/src/libkeymap'
make[3]: *** [Makefile:483: all] Error 2
make[3]: Leaving directory '/var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999/src/libkeymap'
make[2]: *** [Makefile:1094: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999/src'
make[1]: *** [Makefile:480: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999'
make: *** [Makefile:411: all] Error 2
 * ERROR: sys-apps/kbd-9999::local failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=sys-apps/kbd-9999::local'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/kbd-9999::local'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/kbd-9999/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/kbd-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999'
 * S: '/var/tmp/portage/sys-apps/kbd-9999/work/kbd-9999'
legionus commented 5 years ago

Thanks for the report!