<86>Feb 11 07:07:14 userdel[3078982]: delete user 'rooter' <86>Feb 11 07:07:14 userdel[3078982]: removed group 'rooter' owned by 'rooter' <86>Feb 11 07:07:14 userdel[3078982]: removed shadow group 'rooter' owned by 'rooter' <86>Feb 11 07:07:14 groupadd[3078996]: group added to /etc/group: name=rooter, GID=1283 <86>Feb 11 07:07:14 groupadd[3078996]: group added to /etc/gshadow: name=rooter <86>Feb 11 07:07:14 groupadd[3078996]: new group: name=rooter, GID=1283 <86>Feb 11 07:07:14 useradd[3079005]: new user: name=rooter, UID=1283, GID=1283, home=/root, shell=/bin/bash, from=none <86>Feb 11 07:07:14 userdel[3079017]: delete user 'builder' <86>Feb 11 07:07:14 userdel[3079017]: removed group 'builder' owned by 'builder' <86>Feb 11 07:07:14 userdel[3079017]: removed shadow group 'builder' owned by 'builder' <86>Feb 11 07:07:14 groupadd[3079024]: group added to /etc/group: name=builder, GID=1284 <86>Feb 11 07:07:14 groupadd[3079024]: group added to /etc/gshadow: name=builder <86>Feb 11 07:07:14 groupadd[3079024]: new group: name=builder, GID=1284 <86>Feb 11 07:07:14 useradd[3079031]: new user: name=builder, UID=1284, GID=1284, home=/usr/src, shell=/bin/bash, from=none <13>Feb 11 07:07:19 rpmi: libidn2-2.3.7-alt1 sisyphus+339505.100.1.2 1706718968 installed <13>Feb 11 07:07:19 rpmi: libcares-1.26.0-alt1 sisyphus+339150.100.1.1 1706343370 installed <13>Feb 11 07:07:19 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Feb 11 07:07:19 rpmi: libstdc++13-devel-13.2.1-alt3 sisyphus+339335.100.1.1 1706563486 installed <13>Feb 11 07:07:20 rpmi: gcc13-c++-13.2.1-alt3 sisyphus+339335.100.1.1 1706563486 installed <13>Feb 11 07:07:20 rpmi: libp11-kit-1:0.25.3-alt2 sisyphus+336533.100.1.1 1702645560 installed <13>Feb 11 07:07:20 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed <13>Feb 11 07:07:20 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Feb 11 07:07:20 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Feb 11 07:07:20 rpmi: ca-certificates-2023.12.20-alt1 sisyphus+336902.300.1.1 1703105726 installed <13>Feb 11 07:07:20 rpmi: ca-trust-0.1.5-alt1 sisyphus+340049.100.1.1 1707326464 installed <13>Feb 11 07:07:20 rpmi: p11-kit-trust-1:0.25.3-alt2 sisyphus+336533.100.1.1 1702645560 installed <13>Feb 11 07:07:20 rpmi: libcrypto3-3.1.5-alt1 sisyphus+339669.100.1.1 1706908440 installed <13>Feb 11 07:07:20 rpmi: libssl3-3.1.5-alt1 sisyphus+339669.100.1.1 1706908440 installed <13>Feb 11 07:07:21 rpmi: wget-1.21.4-alt2 sisyphus+336930.2700.2.1 1703147155 installed <13>Feb 11 07:07:21 rpmi: gcc-c++-13-alt1 sisyphus+323337.300.1.1 1687267966 installed <13>Feb 11 07:07:21 rpmi: flex-2.6.4.0.88.9801-alt2 sisyphus+283727.100.1.1 1629851973 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/libsmi-0.5.0-alt2.nosrc.rpm (w1.gzdio) Installing libsmi-0.5.0-alt2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.49556 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf libsmi-0.5.0 + echo 'Source #0 (libsmi-0.5.0.tar):' Source #0 (libsmi-0.5.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/libsmi-0.5.0.tar + cd libsmi-0.5.0 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (libsmi-0.5.0-alt2.patch):' Patch #0 (libsmi-0.5.0-alt2.patch): + /usr/bin/patch -p1 patching file lib/Makefile.am patching file lib/parser-sming.y patching file lib/scanner-smi.h patching file lib/scanner-sming.h patching file lib/scanner-yang.h patching file tools/smicache.1.in patching file tools/smistrip.in + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.49556 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libsmi-0.5.0 + libtoolize --copy --force libtoolize-default: putting auxiliary files in '.'. libtoolize-default: copying file './ltmain.sh' libtoolize-default: You should add the contents of the following files to 'aclocal.m4': libtoolize-default: '/usr/share/libtool-2.4/aclocal/libtool.m4' libtoolize-default: '/usr/share/libtool-2.4/aclocal/ltoptions.m4' libtoolize-default: '/usr/share/libtool-2.4/aclocal/ltsugar.m4' libtoolize-default: '/usr/share/libtool-2.4/aclocal/ltversion.m4' libtoolize-default: '/usr/share/libtool-2.4/aclocal/lt~obsolete.m4' libtoolize-default: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize-default: and rerunning libtoolize-default and aclocal. libtoolize-default: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. + autoreconf -fisv autoreconf-default: export WARNINGS= autoreconf-default: Entering directory '.' autoreconf-default: configure.ac: not using Gettext autoreconf-default: running: aclocal --force autoreconf-default: configure.ac: tracing autoreconf-default: running: libtoolize --force --install libtoolize-default: putting auxiliary files in '.'. libtoolize-default: linking file './config.guess' libtoolize-default: linking file './config.sub' libtoolize-default: linking file './install-sh' libtoolize-default: linking file './ltmain.sh' libtoolize-default: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize-default: and rerunning libtoolize-default and aclocal. libtoolize-default: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf-default: configure.ac: not using Intltool autoreconf-default: configure.ac: not using Gtkdoc autoreconf-default: running: aclocal --force autoreconf-default: running: /usr/bin/autoconf-2.71 --force configure.ac:26: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:9521: AM_INIT_AUTOMAKE is expanded from... configure.ac:26: the top level configure.ac:45: warning: The macro `AC_TRY_RUN' is obsolete. configure.ac:45: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... configure.ac:45: the top level configure.ac:107: warning: The macro `AC_TRY_RUN' is obsolete. configure.ac:107: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... configure.ac:107: the top level configure.ac:121: warning: The macro `AC_TRY_RUN' is obsolete. configure.ac:121: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... configure.ac:121: the top level configure.ac:147: warning: The macro `AC_TRY_RUN' is obsolete. configure.ac:147: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... configure.ac:147: the top level configure.ac:238: warning: The macro `AM_PROG_LIBTOOL' is obsolete. configure.ac:238: You should run autoupdate. aclocal.m4:123: AM_PROG_LIBTOOL is expanded from... configure.ac:238: the top level configure.ac:279: warning: AC_OUTPUT should be used without arguments. configure.ac:279: You should run autoupdate. autoreconf-default: running: /usr/bin/autoheader-2.71 --force autoreconf-default: running: automake --add-missing --force-missing configure.ac:26: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:26: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.ac:39: installing './compile' configure.ac:26: installing './missing' lib/Makefile.am: installing './depcomp' mibs/iana/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/iana/Makefile.am:15: (probably a GNU make extension) mibs/ietf/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/ietf/Makefile.am:15: (probably a GNU make extension) mibs/irtf/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/irtf/Makefile.am:15: (probably a GNU make extension) mibs/jacobs/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/jacobs/Makefile.am:15: (probably a GNU make extension) mibs/site/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/site/Makefile.am:15: (probably a GNU make extension) mibs/tubs/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/tubs/Makefile.am:15: (probably a GNU make extension) pibs/Makefile.am:16: warning: shell ls -1d [a-z]*/* | egrep -v 'CVS|Makefile': non-POSIX variable name pibs/Makefile.am:16: (probably a GNU make extension) pibs/ietf/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name pibs/ietf/Makefile.am:14: (probably a GNU make extension) pibs/site/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name pibs/site/Makefile.am:14: (probably a GNU make extension) pibs/tubs/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name pibs/tubs/Makefile.am:14: (probably a GNU make extension) test/Makefile.am:46: warning: shell ls -1d smidiff/* | egrep -v 'CVS|Makefile': non-POSIX variable name test/Makefile.am:46: (probably a GNU make extension) parallel-tests: installing './test-driver' test/dumps/cm/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/cm/Makefile.am:14: (probably a GNU make extension) test/dumps/corba/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/corba/Makefile.am:14: (probably a GNU make extension) test/dumps/identifiers/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/identifiers/Makefile.am:14: (probably a GNU make extension) test/dumps/imports/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/imports/Makefile.am:14: (probably a GNU make extension) test/dumps/jax/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/jax/Makefile.am:14: (probably a GNU make extension) test/dumps/metrics/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/metrics/Makefile.am:14: (probably a GNU make extension) test/dumps/mosy/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/mosy/Makefile.am:14: (probably a GNU make extension) test/dumps/netsnmp/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/netsnmp/Makefile.am:14: (probably a GNU make extension) test/dumps/orig-smiv2/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/orig-smiv2/Makefile.am:14: (probably a GNU make extension) test/dumps/python/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/python/Makefile.am:14: (probably a GNU make extension) test/dumps/smilint-smiv2/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/smilint-smiv2/Makefile.am:14: (probably a GNU make extension) test/dumps/sming/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/sming/Makefile.am:14: (probably a GNU make extension) test/dumps/smiv1/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/smiv1/Makefile.am:14: (probably a GNU make extension) test/dumps/smiv2-smiv2/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/smiv2-smiv2/Makefile.am:14: (probably a GNU make extension) test/dumps/smiv2/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/smiv2/Makefile.am:14: (probably a GNU make extension) test/dumps/tree/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/tree/Makefile.am:14: (probably a GNU make extension) test/dumps/types/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/types/Makefile.am:14: (probably a GNU make extension) test/dumps/xml/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/xml/Makefile.am:14: (probably a GNU make extension) test/dumps/yang/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/yang/Makefile.am:14: (probably a GNU make extension) test/smidiff/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/smidiff/Makefile.am:14: (probably a GNU make extension) tools/Makefile.am:14: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') yang/Makefile.am:16: warning: shell ls -1d [a-z]*/* | egrep -v 'CVS|Makefile': non-POSIX variable name yang/Makefile.am:16: (probably a GNU make extension) yang/iana/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name yang/iana/Makefile.am:15: (probably a GNU make extension) yang/ietf/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name yang/ietf/Makefile.am:15: (probably a GNU make extension) yang/site/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name yang/site/Makefile.am:14: (probably a GNU make extension) autoreconf-default: Leaving directory '.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_prog_cc_static_works=no + lt_cv_prog_cc_static_works=no + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + configure_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + configure_runstatedir_flags=--runstatedir=/var/run + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --runstatedir=/var/run --without-included-gettext --disable-static --enable-shared --sysconfdir=/etc --enable-smi --enable-sming configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a race-free 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-alt-linux-gcc... x86_64-alt-linux-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 x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to enable C11 features... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-alt-linux-gcc... none checking for additional required compiler flags... checking for strtoll... yes checking for strtoull... yes checking for strtoq... yes checking for strtouq... yes checking for timegm... yes checking for vsnprintf... yes checking for snprintf... yes checking for asprintf... yes checking for asnprintf... no checking for vasprintf... yes checking for vasnprintf... 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 pwd.h... yes checking for unistd.h... (cached) yes checking for regex.h... yes checking for stdint.h... (cached) yes checking for limits.h... yes checking for regexec in -lc... yes checking for path separator character... : checking for dir separator character... / checking for 64 bit types... long long/%lld, etc. checking for flex... /usr/bin/flex checking for bison... /usr/bin/bison checking for bash... /bin/sh checking for sh... /bin/sh checking for awk... /bin/awk checking for wget... /usr/bin/wget checking for gdiff... no checking for diff... /usr/bin/diff checking whether make sets $(MAKE)... (cached) yes checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /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-alt-linux-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-alt-linux-gnu file names to x86_64-alt-linux-gnu format... func_convert_file_noop checking how to convert x86_64-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-alt-linux-file... no checking for file... file checking for x86_64-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for x86_64-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-alt-linux-strip... no checking for strip... strip checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-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-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-gcc static flag -static works... no checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking if x86_64-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-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... no ./configure: line 13652: ./libtool: No such file or directory checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating tools/Makefile config.status: creating mibs/Makefile config.status: creating mibs/iana/Makefile config.status: creating mibs/ietf/Makefile config.status: creating mibs/irtf/Makefile config.status: creating mibs/jacobs/Makefile config.status: creating mibs/tubs/Makefile config.status: creating mibs/site/Makefile config.status: creating pibs/Makefile config.status: creating pibs/ietf/Makefile config.status: creating pibs/tubs/Makefile config.status: creating pibs/site/Makefile config.status: creating yang/Makefile config.status: creating yang/ietf/Makefile config.status: creating yang/iana/Makefile config.status: creating yang/site/Makefile config.status: creating test/Makefile config.status: creating test/mibs/Makefile config.status: creating test/smidiff/Makefile config.status: creating test/dumps/Makefile config.status: creating test/dumps/corba/Makefile config.status: creating test/dumps/imports/Makefile config.status: creating test/dumps/jax/Makefile config.status: creating test/dumps/netsnmp/Makefile config.status: creating test/dumps/mosy/Makefile config.status: creating test/dumps/orig-smiv2/Makefile config.status: creating test/dumps/smilint-smiv2/Makefile config.status: creating test/dumps/sming/Makefile config.status: creating test/dumps/smiv1/Makefile config.status: creating test/dumps/smiv2/Makefile config.status: creating test/dumps/smiv2-smiv2/Makefile config.status: creating test/dumps/tree/Makefile config.status: creating test/dumps/types/Makefile config.status: creating test/dumps/identifiers/Makefile config.status: creating test/dumps/metrics/Makefile config.status: creating test/dumps/xml/Makefile config.status: creating test/dumps/cm/Makefile config.status: creating test/dumps/python/Makefile config.status: creating test/dumps/yang/Makefile config.status: creating doc/Makefile config.status: creating lib/smi.h config.status: creating lib/libsmi.3 config.status: creating lib/smi_macro.3 config.status: creating lib/smi_module.3 config.status: creating lib/smi_node.3 config.status: creating lib/smi_type.3 config.status: creating lib/smi_config.3 config.status: creating lib/smi_render.3 config.status: creating lib/smi_util.3 config.status: creating lib/smi_class.3 config.status: creating lib/smi_attribute.3 config.status: creating lib/smi_event.3 config.status: creating lib/smi_identity.3 config.status: creating lib/yang_node.3 config.status: creating tools/smistrip config.status: creating tools/smicache config.status: creating tools/smiquery.1 config.status: creating tools/smilint.1 config.status: creating tools/smidump.1 config.status: creating tools/smidiff.1 config.status: creating tools/smistrip.1 config.status: creating tools/smicache.1 config.status: creating tools/smixlate.1 config.status: creating tools/mib2svg.cgi config.status: creating test/parser.test config.status: creating test/parser-yang.test config.status: creating test/parser-yang-ct.test config.status: creating test/smidump-corba.test config.status: creating test/smidump-jax.test config.status: creating test/smidump-netsnmp.test config.status: creating test/smidump-imports.test config.status: creating test/smidump-mosy.test config.status: creating test/smidump-orig-smiv2.test config.status: creating test/smidump-sming.test config.status: creating test/smidump-yang.test config.status: creating test/smidump-smiv1.test config.status: creating test/smidump-smiv2-smiv2.test config.status: creating test/smidump-smiv2.test config.status: creating test/smidump-tree.test config.status: creating test/smidump-types.test config.status: creating test/smidump-identifiers.test config.status: creating test/smidump-metrics.test config.status: creating test/smidump-xml.test config.status: creating test/smidump-cm.test config.status: creating test/smidump-python.test config.status: creating test/smilint-smiv2.test config.status: creating test/smidiff.test config.status: creating libsmi.pc config.status: creating win/config.h config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default commands configure: WARNING: unrecognized options: --without-included-gettext + LIBTOOL=/usr/bin/libtool + make -j8 make all-recursive Making all in lib make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' cat error.c | grep ERR_ | \ sed -e 's/^.*\(ERR_[a-zA-Z0-9_]*\).*$/\1/' | \ awk '{printf "#define %-50s %d\n", $1, NR-1}' > errormacros.h make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o snprintf.lo snprintf.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c snprintf.c -fPIC -DPIC -o .libs/snprintf.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o yang-complex-types.lo yang-complex-types.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c yang-complex-types.c -fPIC -DPIC -o .libs/yang-complex-types.o yang-complex-types.c: In function 'addCTExtNode': yang-complex-types.c:148:9: warning: implicit declaration of function 'createIdentifierRef'; did you mean 'listIdentifierRef'? [-Wimplicit-function-declaration] 148 | createIdentifierRef(ret, prefix, identifier); | ^~~~~~~~~~~~~~~~~~~ | listIdentifierRef make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o error.lo error.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c error.c -fPIC -DPIC -o .libs/error.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o util.lo util.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c util.c -fPIC -DPIC -o .libs/util.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o common.lo common.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c common.c -fPIC -DPIC -o .libs/common.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o smi2yang.lo smi2yang.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c smi2yang.c -fPIC -DPIC -o .libs/smi2yang.o smi2yang.c: In function 'smi2yangLeafPath': smi2yang.c:442:28: warning: unused variable 'parentModule' [-Wunused-variable] 442 | SmiModule *smiModule, *parentModule = NULL; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o yang-check.lo yang-check.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c yang-check.c -fPIC -DPIC -o .libs/yang-check.o yang-check.c: In function 'findTargetNode': yang-check.c:249:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 249 | || childPtr->export.nodeKind == YANG_DECL_INPUT && !strcmp("input", value) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ yang-check.c:250:66: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 250 | || childPtr->export.nodeKind == YANG_DECL_OUTPUT && !strcmp("output", value)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ yang-check.c: In function 'resolveXPath': yang-check.c:328:43: warning: comparison between 'YangStatus' and 'enum _YangParsingState' [-Wenum-compare] 328 | && tmpNode->export.status == YANG_PARSING_IN_PROGRESS) { | ^~ yang-check.c: In function 'typeHandler': yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_NONE' not handled in switch [-Wswitch] 1075 | switch (nodePtr->typeInfo->builtinType) { | ^~~~~~ yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_BINARY' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_BOOLEAN' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_EMPTY' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_INSTANCE_IDENTIFIER' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_INT8' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_INT16' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_INT32' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_INT64' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_STRING' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_UINT8' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_UINT16' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_UINT32' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_UINT64' not handled in switch [-Wswitch] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o smi-check.lo smi-check.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c smi-check.c -fPIC -DPIC -o .libs/smi-check.o smi-check.c: In function 'smiCheckIndex': smi-check.c:779:9: warning: enumeration value 'SMI_BASETYPE_POINTER' not handled in switch [-Wswitch] 779 | switch (typePtr->export.basetype) { | ^~~~~~ smi-check.c: In function 'smiCheckNotificationMembers': smi-check.c:2085:11: warning: variable 'node' set but not used [-Wunused-but-set-variable] 2085 | Node *node = NULL; | ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o yang.lo yang.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c yang.c -fPIC -DPIC -o .libs/yang.o yang.c: In function 'yangDeclAsString': yang.c:51:5: warning: enumeration value 'YANG_DECL_LAST' not handled in switch [-Wswitch] 51 | switch (decl) { | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o yang-data.lo yang-data.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c yang-data.c -fPIC -DPIC -o .libs/yang-data.o yang-data.c: In function 'getUniqueList': yang-data.c:1173:28: warning: unused variable 'item' [-Wunused-variable] 1173 | YangList *ret = NULL, *item = NULL, *prev = NULL; | ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o smi-data.lo smi-data.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c smi-data.c -fPIC -DPIC -o .libs/smi-data.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o smi.lo smi.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c smi.c -fPIC -DPIC -o .libs/smi.o smi.c: In function 'smiValueAsString': smi.c:522:9: warning: enumeration value 'SMI_LANGUAGE_UNKNOWN' not handled in switch [-Wswitch] 522 | switch (smiLanguage) { | ^~~~~~ smi.c: In function 'smiUnpack': smi.c:3000:15: warning: variable 'last' set but not used [-Wunused-but-set-variable] 3000 | int i, j, last = 0; | ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/bison --defines=parser-sming.tab.h -t -psming -o parser-sming.c parser-sming.y parser-sming.y:352.1-12: warning: deprecated directive: '%pure_parser', use '%define api.pure' [-Wdeprecated] 352 | %pure_parser | ^~~~~~~~~~~~ | %define api.pure parser-sming.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/bison --defines=parser-yang.tab.h -t -pyang -o parser-yang.c parser-yang.y parser-yang.y:271.1-12: warning: deprecated directive: '%pure_parser', use '%define api.pure' [-Wdeprecated] 271 | %pure_parser | ^~~~~~~~~~~~ | %define api.pure parser-yang.y: warning: 56 shift/reduce conflicts [-Wconflicts-sr] parser-yang.y: warning: 1088 reduce/reduce conflicts [-Wconflicts-rr] parser-yang.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples parser-yang.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/flex -Cfe -Psming -t -o scanner-sming.c scanner-sming.l > scanner-sming.c make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/bison --defines=parser-sming.tab.h -t -psming -o parser-sming.c parser-sming.y parser-sming.y:352.1-12: warning: deprecated directive: '%pure_parser', use '%define api.pure' [-Wdeprecated] 352 | %pure_parser | ^~~~~~~~~~~~ | %define api.pure parser-sming.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/bison --defines=parser-smi.tab.h -t -psmi -o parser-smi.c parser-smi.y parser-smi.y:1290.1-12: warning: deprecated directive: '%pure_parser', use '%define api.pure' [-Wdeprecated] 1290 | %pure_parser | ^~~~~~~~~~~~ | %define api.pure parser-smi.y: warning: 76 reduce/reduce conflicts [-Wconflicts-rr] parser-smi.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples parser-smi.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/bison --defines=parser-smi.tab.h -t -psmi -o parser-smi.c parser-smi.y parser-smi.y:1290.1-12: warning: deprecated directive: '%pure_parser', use '%define api.pure' [-Wdeprecated] 1290 | %pure_parser | ^~~~~~~~~~~~ | %define api.pure parser-smi.y: warning: 76 reduce/reduce conflicts [-Wconflicts-rr] parser-smi.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples parser-smi.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/flex -Cfe -Psmi -t -o scanner-smi.c scanner-smi.l > scanner-smi.c make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/bison --defines=parser-yang.tab.h -t -pyang -o parser-yang.c parser-yang.y parser-yang.y:271.1-12: warning: deprecated directive: '%pure_parser', use '%define api.pure' [-Wdeprecated] 271 | %pure_parser | ^~~~~~~~~~~~ | %define api.pure parser-yang.y: warning: 56 shift/reduce conflicts [-Wconflicts-sr] parser-yang.y: warning: 1088 reduce/reduce conflicts [-Wconflicts-rr] parser-yang.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples parser-yang.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o scanner-sming.lo scanner-sming.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c scanner-sming.c -fPIC -DPIC -o .libs/scanner-sming.o scanner-sming.c:7240:16: warning: 'input' defined but not used [-Wunused-function] 7240 | static int input (void) | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/flex -Cfe -Pyang -t -o scanner-yang.c scanner-yang.l > scanner-yang.c make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o parser-sming.lo parser-sming.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c parser-sming.c -fPIC -DPIC -o .libs/parser-sming.o parser-sming.y: In function 'checkTypes': parser-sming.y:182:13: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 182 | if (! parserPtr->flags & SMI_FLAG_NODESCR | ^~~~~~~~~~~~~~~~~~ parser-sming.y: In function 'checkDate': parser-sming.y:258:19: warning: implicit declaration of function 'timegm'; did you mean 'time'? [-Wimplicit-function-declaration] 258 | anytime = timegm(&tm); | ^~~~~~ | time parser-sming.y: In function 'smingparse': parser-sming.y:879:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 879 | if(typePtr = | ^~~~~~~ parser-sming.y:914:110: warning: pointer targets in passing argument 2 of 'findNamedNumberByName' differ in signedness [-Wpointer-sign] 914 | $11->value.ptr)) { | ~~~~~~~~~~~~~~~~~~ ^ | | | unsigned char * In file included from error.h:17, from parser-sming.y:42: smi-data.h:748:55: note: expected 'const char *' but argument is of type 'unsigned char *' 748 | const char *name); | ~~~~~~~~~~~~^~~~ parser-sming.y:913:45: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 913 | if (namedNumberPtr = findNamedNumberByName(typePtr, | ^~~~~~~~~~~~~~ parser-sming.y:1061:37: warning: statement with no effect [-Wunused-value] 1061 | for (tmpList; tmpList; tmpList=tmpList->nextPtr) { | ^~~ parser-sming.y:1062:45: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1062 | if (tmpAttribute = | ^~~~~~~~~~~~ parser-sming.y:2157:82: warning: passing argument 2 of 'setAttributeList' makes pointer from integer without a cast [-Wint-conversion] 2157 | setAttributeList($$, $1); | ^ | | | int smi-data.h:705:61: note: expected 'List *' but argument is of type 'int' 705 | extern void setAttributeList(Attribute *attributePtr, List *listPtr); | ~~~~~~^~~~~~~ parser-sming.y:2158:40: warning: assignment to 'List *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 2158 | for (p = $1; p; p = p->nextPtr) | ^ parser-sming.y:2197:44: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2197 | } else if (tmp = findClass($1, | ^~~ parser-sming.y:2760:61: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2760 | $$->value.ptr = smiStrdup($1); | ^ parser-sming.y:2817:61: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2817 | $$->value.ptr = hexToStr($1,strlen($1)); | ^ parser-sming.y:2818:87: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2818 | $$->len = strlen($$->value.ptr); | ~ ^ | | | unsigned char * In file included from parser-sming.y:27: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ parser-sming.y:2865:63: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2865 | strcpy($$->value.ptr,$1); | ~~~~~~~~~~~~~~~~~~ ^ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from parser-sming.y:24: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ parser-sming.y:2866:87: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2866 | $$->len = strlen($$->value.ptr); | ~ ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ parser-sming.y:2962:61: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2962 | $$->value.ptr = $1; | ^ parser-sming.y:2978:61: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2978 | $$->value.ptr = $1; | ^ parser-sming.y:2985:61: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2985 | $$->value.ptr = $1; | ^ parser-sming.y:2992:61: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2992 | $$->value.ptr = $1; | ^ parser-sming.y:3008:61: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3008 | $$->value.ptr = $1; | ^ parser-sming.y:3009:87: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 3009 | $$->len = strlen($$->value.ptr); | ~ ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ parser-sming.y: At top level: parser-sming.y:89:12: warning: 'attributeFlag' defined but not used [-Wunused-variable] 89 | static int attributeFlag = 0; | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o parser-yang.lo parser-yang.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c parser-yang.c -fPIC -DPIC -o .libs/parser-yang.o parser-yang.y: In function 'checkDate': parser-yang.y:243:19: warning: implicit declaration of function 'timegm'; did you mean 'time'? [-Wimplicit-function-declaration] 243 | anytime = timegm(&tm); | ^~~~~~ | time parser-yang.c: At top level: parser-yang.c:2113:26: warning: null character(s) ignored 2113 | yychar = (Token); rser-yang.y" | ^ parser-yang.c:2113: warning: missing terminating " character 2113 | yychar = (Token); rser-yang.y" | parser-yang.c:2114:17: error: expected identifier or '(' before '{' token 2114 | { | ^ parser-yang.c:3122:5: error: expected identifier or '(' before 'break' 3122 | } | ^ parser-yang.c:3124:3: error: expected identifier or '(' before 'case' 3124 | break; | ^ ~~ parser-yang.c:3131:5: error: expected identifier or '(' before 'break' 3131 | #line 4136 "parser-yang.c" | ^~~~~ parser-yang.c:3133:3: error: expected identifier or '(' before 'case' 3133 | | ^ parser-yang.c:3139:5: error: expected identifier or '(' before 'break' 3139 | } | ^ parser-yang.c:3141:3: error: expected identifier or '(' before 'case' 3141 | break; | ^ ~~ parser-yang.c:3155:5: error: expected identifier or '(' before 'break' 3155 | node = addYangNode("add", YANG_DECL_DEVIATE, topNode()); | ^ parser-yang.c:3157:3: error: expected identifier or '(' before 'case' 3157 | } | ^ parser-yang.c:3163:5: error: expected identifier or '(' before 'break' 3163 | { | ^ parser-yang.c:3165:3: error: expected identifier or '(' before 'case' 3165 | } | ^ parser-yang.c:3169:5: error: expected identifier or '(' before 'break' 3169 | case 463: /* deviateAddSpec: ';' */ | ^~~~~ parser-yang.c:3171:3: error: expected identifier or '(' before 'case' 3171 | {} | ^ parser-yang.c:3175:5: error: expected identifier or '(' before 'break' 3175 | case 464: /* deviateAddSpec: '{' stmtSep deviateAddSubstatement_0n '}' */ | ^~~~~ parser-yang.c:3177:3: error: expected identifier or '(' before 'case' 3177 | {} | ^ parser-yang.c:3181:5: error: expected identifier or '(' before 'break' 3181 | case 465: /* deviateAddSubstatement_0n: %empty */ | ^~~~~ parser-yang.c:3183:3: error: expected identifier or '(' before 'case' 3183 | {} | ^ parser-yang.c:3189:5: error: expected identifier or '(' before 'break' 3189 | { | ^ parser-yang.c:3191:3: error: expected identifier or '(' before 'case' 3191 | pushNode(node); | ^ parser-yang.c:3195:5: error: expected identifier or '(' before 'break' 3195 | | ^ parser-yang.c:3197:3: error: expected identifier or '(' before 'case' 3197 | #line 2448 "parser-yang.y" | ^~~~ parser-yang.c:3201:5: error: expected identifier or '(' before 'break' 3201 | #line 4206 "parser-yang.c" | ^~~~~ parser-yang.c:3203:3: error: expected identifier or '(' before 'case' 3203 | | ^ parser-yang.c:3207:5: error: expected identifier or '(' before 'break' 3207 | #line 4212 "parser-yang.c" | ^~~~~ parser-yang.c:3209:3: error: expected identifier or '(' before 'case' 3209 | | ^ parser-yang.c:3216:5: error: expected identifier or '(' before 'break' 3216 | case 479: /* deviateDeleteSubstatement_0n: %empty */ | ^~~~~ parser-yang.c:3218:3: error: expected identifier or '(' before 'case' 3218 | {} | ^ parser-yang.c:3225:5: error: expected identifier or '(' before 'break' 3225 | node = addYangNode("replace", YANG_DECL_DEVIATE, topNode()); | ^ parser-yang.c:3227:3: error: expected identifier or '(' before 'case' 3227 | } | ^ parser-yang.c:3234:5: error: expected identifier or '(' before 'break' 3234 | pop(); | ^ parser-yang.c:3236:3: error: expected identifier or '(' before 'case' 3236 | #line 4241 "parser-yang.c" | ^~~~ parser-yang.c:3247:5: error: expected identifier or '(' before 'break' 3247 | {} | ^ parser-yang.c:3249:3: error: expected identifier or '(' before 'case' 3249 | break; | ^ ~~ parser-yang.c:3257:5: error: expected identifier or '(' before 'break' 3257 | case 498: /* $@41: %empty */ | ^~~~~ parser-yang.c:3259:3: error: expected identifier or '(' before 'case' 3259 | { | ^ parser-yang.c:3271:5: error: expected identifier or '(' before 'break' 3271 | #line 4276 "parser-yang.c" | ^~~~~ parser-yang.c:3273:3: error: expected identifier or '(' before 'case' 3273 | | ^ parser-yang.c:3279:5: error: expected identifier or '(' before 'break' 3279 | | ^ parser-yang.c:3281:3: error: expected identifier or '(' before 'case' 3281 | #line 2528 "parser-yang.y" | ^~~~ parser-yang.c:3285:5: error: expected identifier or '(' before 'break' 3285 | | ^ parser-yang.c:3287:3: error: expected identifier or '(' before 'case' 3287 | #line 2531 "parser-yang.y" | ^~~~ parser-yang.c:3291:5: error: expected identifier or '(' before 'break' 3291 | | ^ parser-yang.c:3293:3: error: expected identifier or '(' before 'case' 3293 | #line 2548 "parser-yang.y" | ^~~~ parser-yang.c:3297:19: error: expected identifier or '(' before 'break' 3297 | } | ^ parser-yang.c:3299:3: error: expected identifier or '(' before 'case' 3299 | break; | ^ ~~ parser-yang.c:3324:5: error: expected identifier or '(' before 'break' 3324 | #line 4329 "parser-yang.c" | ^~~~~ parser-yang.c:3326:3: error: expected identifier or '(' before 'case' 3326 | | ^ parser-yang.c:3330:5: error: expected identifier or '(' before 'break' 3330 | uniqueNodeKind(topNode(), YANG_DECL_ARGUMENT); | ^ parser-yang.c:3332:3: error: expected identifier or '(' before 'case' 3332 | pushNode(node); | ^ parser-yang.c:3336:5: error: expected identifier or '(' before 'break' 3336 | | ^ parser-yang.c:3338:3: error: expected identifier or '(' before 'case' 3338 | #line 2584 "parser-yang.y" | ^~~~ parser-yang.c:3342:5: error: expected identifier or '(' before 'break' 3342 | #line 4347 "parser-yang.c" | ^~~~~ parser-yang.c:3344:3: error: expected identifier or '(' before 'case' 3344 | | ^ parser-yang.c:3348:5: error: expected identifier or '(' before 'break' 3348 | #line 4353 "parser-yang.c" | ^~~~~ parser-yang.c:3350:3: error: expected identifier or '(' before 'case' 3350 | | ^ parser-yang.c:3357:5: error: expected identifier or '(' before 'break' 3357 | case 523: /* yinElementOptional: %empty */ | ^~~~~ parser-yang.c:3359:3: error: expected identifier or '(' before 'case' 3359 | {} | ^ parser-yang.c:3366:5: error: expected identifier or '(' before 'break' 3366 | addYangNode("true", YANG_DECL_YIN_ELEMENT, topNode()); | ^ parser-yang.c:3368:3: error: expected identifier or '(' before 'case' 3368 | #line 4373 "parser-yang.c" | ^~~~ parser-yang.c:3372:5: error: expected identifier or '(' before 'break' 3372 | #line 2602 "parser-yang.y" | ^~~~~ parser-yang.c:3374:3: error: expected identifier or '(' before 'case' 3374 | addYangNode("false", YANG_DECL_YIN_ELEMENT, topNode()); | ^ parser-yang.c:3378:5: error: expected identifier or '(' before 'break' 3378 | | ^ parser-yang.c:3380:3: error: expected identifier or '(' before 'case' 3380 | #line 2608 "parser-yang.y" | ^~~~ parser-yang.c:3386:5: error: expected identifier or '(' before 'break' 3386 | break; | ^~~~~ parser-yang.c:3388:3: error: expected identifier or '(' before 'case' 3388 | case 527: /* defaultStatement: defaultKeyword string stmtEnd */ | ^~~~ parser-yang.c:3394:5: error: expected identifier or '(' before 'break' 3394 | #line 4399 "parser-yang.c" | ^~~~~ parser-yang.c:3396:3: error: expected identifier or '(' before 'case' 3396 | | ^ parser-yang.c:3406:5: error: expected identifier or '(' before 'break' 3406 | #line 4411 "parser-yang.c" | ^~~~~ parser-yang.c:3408:3: error: expected identifier or '(' before 'case' 3408 | | ^ parser-yang.c:3414:5: error: expected identifier or '(' before 'break' 3414 | | ^ parser-yang.c:3416:3: error: expected identifier or '(' before 'case' 3416 | #line 2644 "parser-yang.y" | ^~~~ parser-yang.c:3420:5: error: expected identifier or '(' before 'break' 3420 | | ^ parser-yang.c:3422:3: error: expected identifier or '(' before 'case' 3422 | #line 2644 "parser-yang.y" | ^~~~ parser-yang.c:3426:5: error: expected identifier or '(' before 'break' 3426 | | ^ parser-yang.c:3428:3: error: expected identifier or '(' before 'case' 3428 | #line 2644 "parser-yang.y" | ^~~~ parser-yang.c:3435:5: error: expected identifier or '(' before 'break' 3435 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:3437:3: error: expected identifier or '(' before 'case' 3437 | break; | ^ ~~ parser-yang.c:3447:5: error: expected identifier or '(' before 'break' 3447 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:3449:3: error: expected identifier or '(' before 'case' 3449 | break; | ^ ~~ parser-yang.c:3453:5: error: expected identifier or '(' before 'break' 3453 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:3455:3: error: expected identifier or '(' before 'case' 3455 | break; | ^ ~~ parser-yang.c:3462:5: error: expected identifier or '(' before 'break' 3462 | | ^ parser-yang.c:3464:3: error: expected identifier or '(' before 'case' 3464 | #line 2645 "parser-yang.y" | ^~~~ parser-yang.c:3474:5: error: expected identifier or '(' before 'break' 3474 | | ^ parser-yang.c:3476:3: error: expected identifier or '(' before 'case' 3476 | #line 2645 "parser-yang.y" | ^~~~ parser-yang.c:3480:5: error: expected identifier or '(' before 'break' 3480 | | ^ parser-yang.c:3482:3: error: expected identifier or '(' before 'case' 3482 | #line 2645 "parser-yang.y" | ^~~~ parser-yang.c:3491:5: error: expected identifier or '(' before 'break' 3491 | break; | ^~~~~ parser-yang.c:3493:3: error: expected identifier or '(' before 'case' 3493 | case 555: /* identifierStr: leafKeyword */ | ^~~~ parser-yang.c:3501:5: error: expected identifier or '(' before 'break' 3501 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:3503:3: error: expected identifier or '(' before 'case' 3503 | break; | ^ ~~ parser-yang.c:3509:5: error: expected identifier or '(' before 'break' 3509 | break; | ^~~~~ parser-yang.c:3511:3: error: expected identifier or '(' before 'case' 3511 | case 558: /* identifierStr: listKeyword */ | ^~~~ parser-yang.c:3520:5: error: expected identifier or '(' before 'break' 3520 | #line 4525 "parser-yang.c" | ^~~~~ parser-yang.c:3522:3: error: expected identifier or '(' before 'case' 3522 | | ^ parser-yang.c:3528:5: error: expected identifier or '(' before 'break' 3528 | | ^ parser-yang.c:3530:3: error: expected identifier or '(' before 'case' 3530 | #line 2646 "parser-yang.y" | ^~~~ parser-yang.c:3537:5: error: expected identifier or '(' before 'break' 3537 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:3539:3: error: expected identifier or '(' before 'case' 3539 | break; | ^ ~~ parser-yang.c:3545:5: error: expected identifier or '(' before 'break' 3545 | break; | ^~~~~ parser-yang.c:3547:3: error: expected identifier or '(' before 'case' 3547 | case 564: /* identifierStr: mustKeyword */ | ^~~~ parser-yang.c:3551:5: error: expected identifier or '(' before 'break' 3551 | break; | ^~~~~ parser-yang.c:3553:3: error: expected identifier or '(' before 'case' 3553 | case 565: /* identifierStr: namespaceKeyword */ | ^~~~ parser-yang.c:3557:5: error: expected identifier or '(' before 'break' 3557 | break; | ^~~~~ parser-yang.c:3559:3: error: expected identifier or '(' before 'case' 3559 | case 566: /* identifierStr: ordered_byKeyword */ | ^~~~ parser-yang.c:3566:5: error: expected identifier or '(' before 'break' 3566 | #line 2647 "parser-yang.y" | ^~~~~ parser-yang.c:3568:3: error: expected identifier or '(' before 'case' 3568 | #line 4573 "parser-yang.c" | ^~~~ parser-yang.c:3574:5: error: expected identifier or '(' before 'break' 3574 | #line 4579 "parser-yang.c" | ^~~~~ parser-yang.c:3576:3: error: expected identifier or '(' before 'case' 3576 | | ^ parser-yang.c:3582:5: error: expected identifier or '(' before 'break' 3582 | | ^ parser-yang.c:3584:3: error: expected identifier or '(' before 'case' 3584 | #line 2647 "parser-yang.y" | ^~~~ parser-yang.c:3588:5: error: expected identifier or '(' before 'break' 3588 | | ^ parser-yang.c:3590:3: error: expected identifier or '(' before 'case' 3590 | #line 2648 "parser-yang.y" | ^~~~ parser-yang.c:3597:5: error: expected identifier or '(' before 'break' 3597 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:3599:3: error: expected identifier or '(' before 'case' 3599 | break; | ^ ~~ parser-yang.c:3607:5: error: expected identifier or '(' before 'break' 3607 | case 574: /* identifierStr: typeKeyword */ | ^~~~~ parser-yang.c:3609:3: error: expected identifier or '(' before 'case' 3609 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:3617:5: error: expected identifier or '(' before 'break' 3617 | break; | ^~~~~ parser-yang.c:3619:3: error: expected identifier or '(' before 'case' 3619 | case 576: /* identifierStr: uniqueKeyword */ | ^~~~ parser-yang.c:3626:5: error: expected identifier or '(' before 'break' 3626 | #line 2648 "parser-yang.y" | ^~~~~ parser-yang.c:3628:3: error: expected identifier or '(' before 'case' 3628 | #line 4633 "parser-yang.c" | ^~~~ parser-yang.c:3635:5: error: expected identifier or '(' before 'break' 3635 | break; | ^~~~~ parser-yang.c:3637:3: error: expected identifier or '(' before 'case' 3637 | case 579: /* identifierStr: valueKeyword */ | ^~~~ parser-yang.c:3644:5: error: expected identifier or '(' before 'break' 3644 | #line 2649 "parser-yang.y" | ^~~~~ parser-yang.c:3646:3: error: expected identifier or '(' before 'case' 3646 | #line 4651 "parser-yang.c" | ^~~~ parser-yang.c:3655:5: error: expected identifier or '(' before 'break' 3655 | case 582: /* identifierStr: pathKeyword */ | ^~~~~ parser-yang.c:3657:3: error: expected identifier or '(' before 'case' 3657 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:3661:5: error: expected identifier or '(' before 'break' 3661 | case 583: /* identifierStr: anyXMLKeyword */ | ^~~~~ parser-yang.c:3663:3: error: expected identifier or '(' before 'case' 3663 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:3670:5: error: expected identifier or '(' before 'break' 3670 | #line 4675 "parser-yang.c" | ^~~~~ parser-yang.c:3672:3: error: expected identifier or '(' before 'case' 3672 | | ^ parser-yang.c:3681:5: error: expected identifier or '(' before 'break' 3681 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:3683:3: error: expected identifier or '(' before 'case' 3683 | break; | ^ ~~ parser-yang.c:3687:5: error: expected identifier or '(' before 'break' 3687 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:3689:3: error: expected identifier or '(' before 'case' 3689 | break; | ^ ~~ parser-yang.c:3696:5: error: expected identifier or '(' before 'break' 3696 | | ^ parser-yang.c:3698:3: error: expected identifier or '(' before 'case' 3698 | #line 2650 "parser-yang.y" | ^~~~ parser-yang.c:3704:5: error: expected identifier or '(' before 'break' 3704 | #line 2650 "parser-yang.y" | ^~~~~ parser-yang.c:3706:3: error: expected identifier or '(' before 'case' 3706 | #line 4711 "parser-yang.c" | ^~~~ parser-yang.c:3710:5: error: expected identifier or '(' before 'break' 3710 | #line 2650 "parser-yang.y" | ^~~~~ parser-yang.c:3712:3: error: expected identifier or '(' before 'case' 3712 | #line 4717 "parser-yang.c" | ^~~~ parser-yang.c:3722:5: error: expected identifier or '(' before 'break' 3722 | #line 2650 "parser-yang.y" | ^~~~~ parser-yang.c:3724:3: error: expected identifier or '(' before 'case' 3724 | #line 4729 "parser-yang.c" | ^~~~ parser-yang.c:3734:5: error: expected identifier or '(' before 'break' 3734 | #line 2650 "parser-yang.y" | ^~~~~ parser-yang.c:3736:3: error: expected identifier or '(' before 'case' 3736 | #line 4741 "parser-yang.c" | ^~~~ parser-yang.c:3747:5: error: expected identifier or '(' before 'break' 3747 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:3749:3: error: expected identifier or '(' before 'case' 3749 | break; | ^ ~~ parser-yang.c:3757:5: error: expected identifier or '(' before 'break' 3757 | case 599: /* identifierStr: featureKeyword */ | ^~~~~ parser-yang.c:3759:3: error: expected identifier or '(' before 'case' 3759 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:3769:5: error: expected identifier or '(' before 'break' 3769 | case 601: /* identifierStr: ifFeatureKeyword */ | ^~~~~ parser-yang.c:3771:3: error: expected identifier or '(' before 'case' 3771 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:3778:5: error: expected identifier or '(' before 'break' 3778 | #line 4783 "parser-yang.c" | ^~~~~ parser-yang.c:3780:3: error: expected identifier or '(' before 'case' 3780 | | ^ parser-yang.c:3786:5: error: expected identifier or '(' before 'break' 3786 | | ^ parser-yang.c:3788:3: error: expected identifier or '(' before 'case' 3788 | #line 2651 "parser-yang.y" | ^~~~ parser-yang.c:3792:5: error: expected identifier or '(' before 'break' 3792 | | ^ parser-yang.c:3794:3: error: expected identifier or '(' before 'case' 3794 | #line 2652 "parser-yang.y" | ^~~~ parser-yang.c:3798:5: error: expected identifier or '(' before 'break' 3798 | | ^ parser-yang.c:3800:3: error: expected identifier or '(' before 'case' 3800 | #line 2652 "parser-yang.y" | ^~~~ parser-yang.c:3804:5: error: expected identifier or '(' before 'break' 3804 | | ^ parser-yang.c:3806:3: error: expected identifier or '(' before 'case' 3806 | #line 2652 "parser-yang.y" | ^~~~ parser-yang.c:3817:5: error: expected identifier or '(' before 'break' 3817 | case 609: /* identifierStr: deleteKeyword */ | ^~~~~ parser-yang.c:3819:3: error: expected identifier or '(' before 'case' 3819 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:3825:5: error: expected identifier or '(' before 'break' 3825 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:3827:3: error: expected identifier or '(' before 'case' 3827 | break; | ^ ~~ parser-yang.c:3831:5: error: expected identifier or '(' before 'break' 3831 | { | ^ parser-yang.c:3833:3: error: expected identifier or '(' before 'case' 3833 | } | ^ parser-yang.c:3837:5: error: expected identifier or '(' before 'break' 3837 | case 612: /* booleanValue: falseKeyword */ | ^~~~~ parser-yang.c:3839:3: error: expected identifier or '(' before 'case' 3839 | { | ^ parser-yang.c:3843:5: error: expected identifier or '(' before 'break' 3843 | break; | ^~~~~ parser-yang.c:3845:3: error: expected identifier or '(' before 'case' 3845 | | ^ parser-yang.c:3852:5: error: expected identifier or '(' before 'break' 3852 | approach of translating immediately before every use of yytoken. | ^~~~~ parser-yang.c:3854:3: error: expected identifier or '(' before 'case' 3854 | but that translation would be missed if the semantic action invokes | ^ ~ parser-yang.c:3860:5: error: expected identifier or '(' before 'break' 3860 | before the lookahead is translated. */ | ^~~~~ parser-yang.c:3862:3: error: expected identifier or '(' before 'case' 3862 | | ^ parser-yang.c:3866:5: error: expected identifier or '(' before 'break' 3866 | *++yyvsp = yyval; | ^~~~~ parser-yang.c:3868:3: error: expected identifier or '(' before 'case' 3868 | /* Now 'shift' the result of the reduction. Determine what state | ^~~~ parser-yang.c:3876:5: error: expected identifier or '(' before 'break' 3876 | : yydefgoto[yylhs]); | ^ parser-yang.c:3878:3: error: expected identifier or '(' before 'case' 3878 | | ^ parser-yang.c:3884:5: error: expected identifier or '(' before 'break' 3884 | `--------------------------------------*/ | ^~~~~ parser-yang.c:3886:3: error: expected identifier or '(' before 'case' 3886 | /* Make sure we have latest lookahead translation. See comments at | ^~~~ parser-yang.c:3893:5: error: expected identifier or '(' before 'break' 3893 | yyerror (parserPtr, YY_("syntax error")); | ^ ~~~ parser-yang.c:3895:3: error: expected identifier or '(' before 'case' 3895 | | ^ parser-yang.c:3899:5: error: expected identifier or '(' before 'break' 3899 | error, discard it. */ | ^ parser-yang.c:3901:3: error: expected identifier or '(' before 'case' 3901 | if (yychar <= YYEOF) | ^ parser-yang.c:3911:5: error: expected identifier or '(' before 'break' 3911 | yychar = YYEMPTY; | ^ parser-yang.c:3913:3: error: expected identifier or '(' before 'case' 3913 | } | ^ ~ parser-yang.c:3919:5: error: expected identifier or '(' before 'break' 3919 | | ^ parser-yang.c:3921:3: error: expected identifier or '(' before 'case' 3921 | | yyerrorlab -- error raised explicitly by YYERROR. | | ^~~~ parser-yang.c:3925:5: error: expected identifier or '(' before 'break' 3925 | label yyerrorlab therefore never appears in user code. */ | ^~~~~ parser-yang.c:3927:3: error: expected identifier or '(' before 'case' 3927 | YYERROR; | ^ ~~ parser-yang.c:3931:5: error: expected identifier or '(' before 'break' 3931 | this YYERROR. */ | ^~~~~ parser-yang.c:3933:3: error: expected identifier or '(' before 'case' 3933 | yylen = 0; | ^~~~ parser-yang.c:3937:5: error: expected identifier or '(' before 'break' 3937 | | ^ parser-yang.c:3939:3: error: expected identifier or '(' before 'case' 3939 | /*-------------------------------------------------------------. | ^~~~ parser-yang.c:3955:5: error: expected identifier or '(' before 'break' 3955 | if (0 < yyn) | ^ parser-yang.c:3957:3: error: expected identifier or '(' before 'case' 3957 | } | ^ parser-yang.c:3976:5: error: expected identifier or '(' before 'break' 3976 | | ^ parser-yang.c:3978:3: error: expected identifier or '(' before 'case' 3978 | YY_SYMBOL_PRINT ("Shifting", YY_ACCESSING_SYMBOL (yyn), yyvsp, yylsp); | ^~~~ parser-yang.c:3982:5: error: expected identifier or '(' before 'break' 3982 | | ^ parser-yang.c:3984:3: error: expected identifier or '(' before 'case' 3984 | /*-------------------------------------. | ^~~~ parser-yang.c:3991:5: error: expected identifier or '(' before 'break' 3991 | | ^ parser-yang.c:3993:3: error: expected identifier or '(' before 'case' 3993 | | yyabortlab -- YYABORT comes here. | | ^~~~ parser-yang.c:4000:5: error: expected identifier or '(' before 'break' 4000 | /*-----------------------------------------------------------. | ^~~~~ parser-yang.c:4002:3: error: expected identifier or '(' before 'case' 4002 | `-----------------------------------------------------------*/ | ^~~~ parser-yang.c:4008:5: error: expected identifier or '(' before 'break' 4008 | | ^ parser-yang.c:4010:3: error: expected identifier or '(' before 'case' 4010 | | yyreturnlab -- parsing is finished, clean up and return. | | ^~~~ parser-yang.c:4014:5: error: expected identifier or '(' before 'break' 4014 | { | ^ parser-yang.c:4016:3: error: expected identifier or '(' before 'case' 4016 | user semantic actions for why this is necessary. */ | ^ parser-yang.c:4020:5: error: expected identifier or '(' before 'break' 4020 | } | ^ parser-yang.c:4022:3: error: expected identifier or '(' before 'case' 4022 | this YYABORT or YYACCEPT. */ | ^ ~ parser-yang.c:4026:5: error: expected identifier or '(' before 'break' 4026 | { | ^ parser-yang.c:4028:3: error: expected identifier or '(' before 'case' 4028 | YY_ACCESSING_SYMBOL (+*yyssp), yyvsp, parserPtr); | ^ parser-yang.c:4035:5: error: expected identifier or '(' before 'break' 4035 | | ^ parser-yang.c:4037:3: error: expected identifier or '(' before 'case' 4037 | } | ^ parser-yang.c:4055:5: error: expected identifier or '(' before 'break' parser-yang.c:4057:3: error: expected identifier or '(' before 'case' parser-yang.c:4064:5: error: expected identifier or '(' before 'break' parser-yang.c:4066:3: error: expected identifier or '(' before 'case' parser-yang.c:4084:5: error: expected identifier or '(' before 'break' parser-yang.c:4086:3: error: expected identifier or '(' before 'case' parser-yang.c:4093:5: error: expected identifier or '(' before 'break' parser-yang.c:4095:3: error: expected identifier or '(' before 'case' parser-yang.c:4101:5: error: expected identifier or '(' before 'break' parser-yang.c:4103:3: error: expected identifier or '(' before 'case' parser-yang.c:4107:5: error: expected identifier or '(' before 'break' parser-yang.c:4109:3: error: expected identifier or '(' before 'case' parser-yang.c:4113:5: error: expected identifier or '(' before 'break' parser-yang.c:4115:3: error: expected identifier or '(' before 'case' parser-yang.c:4119:5: error: expected identifier or '(' before 'break' parser-yang.c:4121:3: error: expected identifier or '(' before 'case' parser-yang.c:4128:5: error: expected identifier or '(' before 'break' parser-yang.c:4130:3: error: expected identifier or '(' before 'case' parser-yang.c:4136:5: error: expected identifier or '(' before 'break' parser-yang.c:4138:3: error: expected identifier or '(' before 'case' parser-yang.c:4145:5: error: expected identifier or '(' before 'break' parser-yang.c:4147:3: error: expected identifier or '(' before 'case' parser-yang.c:4154:5: error: expected identifier or '(' before 'break' parser-yang.c:4156:3: error: expected identifier or '(' before 'case' parser-yang.c:4163:5: error: expected identifier or '(' before 'break' parser-yang.c:4165:3: error: expected identifier or '(' before 'case' parser-yang.c:4171:5: error: expected identifier or '(' before 'break' parser-yang.c:4173:3: error: expected identifier or '(' before 'case' parser-yang.c:4177:5: error: expected identifier or '(' before 'break' parser-yang.c:4179:3: error: expected identifier or '(' before 'case' parser-yang.c:4183:5: error: expected identifier or '(' before 'break' parser-yang.c:4185:3: error: expected identifier or '(' before 'case' parser-yang.c:4189:5: error: expected identifier or '(' before 'break' parser-yang.c:4191:3: error: expected identifier or '(' before 'case' parser-yang.c:4198:5: error: expected identifier or '(' before 'break' parser-yang.c:4200:3: error: expected identifier or '(' before 'case' parser-yang.c:4206:5: error: expected identifier or '(' before 'break' parser-yang.c:4208:3: error: expected identifier or '(' before 'case' parser-yang.c:4212:5: error: expected identifier or '(' before 'break' parser-yang.c:4214:3: error: expected identifier or '(' before 'case' parser-yang.c:4218:5: error: expected identifier or '(' before 'break' parser-yang.c:4220:3: error: expected identifier or '(' before 'case' parser-yang.c:4224:5: error: expected identifier or '(' before 'break' parser-yang.c:4226:3: error: expected identifier or '(' before 'case' parser-yang.c:4233:5: error: expected identifier or '(' before 'break' parser-yang.c:4235:3: error: expected identifier or '(' before 'case' parser-yang.c:4241:5: error: expected identifier or '(' before 'break' parser-yang.c:4243:3: error: expected identifier or '(' before 'case' parser-yang.c:4247:5: error: expected identifier or '(' before 'break' parser-yang.c:4249:3: error: expected identifier or '(' before 'case' parser-yang.c:4253:5: error: expected identifier or '(' before 'break' parser-yang.c:4255:3: error: expected identifier or '(' before 'case' parser-yang.c:4259:5: error: expected identifier or '(' before 'break' parser-yang.c:4261:3: error: expected identifier or '(' before 'case' parser-yang.c:4268:5: error: expected identifier or '(' before 'break' parser-yang.c:4270:3: error: expected identifier or '(' before 'case' parser-yang.c:4276:5: error: expected identifier or '(' before 'break' parser-yang.c:4278:3: error: expected identifier or '(' before 'case' parser-yang.c:4282:5: error: expected identifier or '(' before 'break' parser-yang.c:4284:3: error: expected identifier or '(' before 'case' parser-yang.c:4288:5: error: expected identifier or '(' before 'break' parser-yang.c:4290:3: error: expected identifier or '(' before 'case' parser-yang.c:4294:5: error: expected identifier or '(' before 'break' parser-yang.c:4296:3: error: expected identifier or '(' before 'case' parser-yang.c:4303:5: error: expected identifier or '(' before 'break' parser-yang.c:4305:3: error: expected identifier or '(' before 'case' parser-yang.c:4311:5: error: expected identifier or '(' before 'break' parser-yang.c:4313:3: error: expected identifier or '(' before 'case' parser-yang.c:4317:5: error: expected identifier or '(' before 'break' parser-yang.c:4319:3: error: expected identifier or '(' before 'case' parser-yang.c:4323:5: error: expected identifier or '(' before 'break' parser-yang.c:4325:3: error: expected identifier or '(' before 'case' parser-yang.c:4329:5: error: expected identifier or '(' before 'break' parser-yang.c:4331:3: error: expected identifier or '(' before 'case' parser-yang.c:4339:5: error: expected identifier or '(' before 'break' parser-yang.c:4341:3: error: expected identifier or '(' before 'case' parser-yang.c:4347:5: error: expected identifier or '(' before 'break' parser-yang.c:4349:3: error: expected identifier or '(' before 'case' parser-yang.c:4353:5: error: expected identifier or '(' before 'break' parser-yang.c:4355:3: error: expected identifier or '(' before 'case' parser-yang.c:4359:5: error: expected identifier or '(' before 'break' parser-yang.c:4361:3: error: expected identifier or '(' before 'case' parser-yang.c:4365:5: error: expected identifier or '(' before 'break' parser-yang.c:4367:3: error: expected identifier or '(' before 'case' parser-yang.c:4373:5: error: expected identifier or '(' before 'break' parser-yang.c:4375:3: error: expected identifier or '(' before 'case' parser-yang.c:4381:5: error: expected identifier or '(' before 'break' parser-yang.c:4383:3: error: expected identifier or '(' before 'case' parser-yang.c:4390:5: error: expected identifier or '(' before 'break' parser-yang.c:4392:3: error: expected identifier or '(' before 'case' parser-yang.c:4399:5: error: expected identifier or '(' before 'break' parser-yang.c:4401:3: error: expected identifier or '(' before 'case' parser-yang.c:4405:5: error: expected identifier or '(' before 'break' parser-yang.c:4407:3: error: expected identifier or '(' before 'case' parser-yang.c:4411:5: error: expected identifier or '(' before 'break' parser-yang.c:4413:3: error: expected identifier or '(' before 'case' parser-yang.c:4417:5: error: expected identifier or '(' before 'break' parser-yang.c:4419:3: error: expected identifier or '(' before 'case' parser-yang.c:4423:5: error: expected identifier or '(' before 'break' parser-yang.c:4425:3: error: expected identifier or '(' before 'case' parser-yang.c:4429:5: error: expected identifier or '(' before 'break' parser-yang.c:4431:3: error: expected identifier or '(' before 'case' parser-yang.c:4435:5: error: expected identifier or '(' before 'break' parser-yang.c:4437:3: error: expected identifier or '(' before 'case' parser-yang.c:4441:5: error: expected identifier or '(' before 'break' parser-yang.c:4443:3: error: expected identifier or '(' before 'case' parser-yang.c:4447:5: error: expected identifier or '(' before 'break' parser-yang.c:4449:3: error: expected identifier or '(' before 'case' parser-yang.c:4453:5: error: expected identifier or '(' before 'break' parser-yang.c:4455:3: error: expected identifier or '(' before 'case' parser-yang.c:4459:5: error: expected identifier or '(' before 'break' parser-yang.c:4461:3: error: expected identifier or '(' before 'case' parser-yang.c:4465:5: error: expected identifier or '(' before 'break' parser-yang.c:4467:3: error: expected identifier or '(' before 'case' parser-yang.c:4471:5: error: expected identifier or '(' before 'break' parser-yang.c:4473:3: error: expected identifier or '(' before 'case' parser-yang.c:4477:5: error: expected identifier or '(' before 'break' parser-yang.c:4479:3: error: expected identifier or '(' before 'case' parser-yang.c:4483:5: error: expected identifier or '(' before 'break' parser-yang.c:4485:3: error: expected identifier or '(' before 'case' parser-yang.c:4489:5: error: expected identifier or '(' before 'break' parser-yang.c:4491:3: error: expected identifier or '(' before 'case' parser-yang.c:4495:5: error: expected identifier or '(' before 'break' parser-yang.c:4497:3: error: expected identifier or '(' before 'case' parser-yang.c:4501:5: error: expected identifier or '(' before 'break' parser-yang.c:4503:3: error: expected identifier or '(' before 'case' parser-yang.c:4507:5: error: expected identifier or '(' before 'break' parser-yang.c:4509:3: error: expected identifier or '(' before 'case' parser-yang.c:4513:5: error: expected identifier or '(' before 'break' parser-yang.c:4515:3: error: expected identifier or '(' before 'case' parser-yang.c:4519:5: error: expected identifier or '(' before 'break' parser-yang.c:4521:3: error: expected identifier or '(' before 'case' parser-yang.c:4525:5: error: expected identifier or '(' before 'break' parser-yang.c:4527:3: error: expected identifier or '(' before 'case' parser-yang.c:4531:5: error: expected identifier or '(' before 'break' parser-yang.c:4533:3: error: expected identifier or '(' before 'case' parser-yang.c:4537:5: error: expected identifier or '(' before 'break' parser-yang.c:4539:3: error: expected identifier or '(' before 'case' parser-yang.c:4543:5: error: expected identifier or '(' before 'break' parser-yang.c:4545:3: error: expected identifier or '(' before 'case' parser-yang.c:4549:5: error: expected identifier or '(' before 'break' parser-yang.c:4551:3: error: expected identifier or '(' before 'case' parser-yang.c:4555:5: error: expected identifier or '(' before 'break' parser-yang.c:4557:3: error: expected identifier or '(' before 'case' parser-yang.c:4561:5: error: expected identifier or '(' before 'break' parser-yang.c:4563:3: error: expected identifier or '(' before 'case' parser-yang.c:4567:5: error: expected identifier or '(' before 'break' parser-yang.c:4569:3: error: expected identifier or '(' before 'case' parser-yang.c:4573:5: error: expected identifier or '(' before 'break' parser-yang.c:4575:3: error: expected identifier or '(' before 'case' parser-yang.c:4579:5: error: expected identifier or '(' before 'break' parser-yang.c:4581:3: error: expected identifier or '(' before 'case' parser-yang.c:4585:5: error: expected identifier or '(' before 'break' parser-yang.c:4587:3: error: expected identifier or '(' before 'case' parser-yang.c:4591:5: error: expected identifier or '(' before 'break' parser-yang.c:4593:3: error: expected identifier or '(' before 'case' parser-yang.c:4597:5: error: expected identifier or '(' before 'break' parser-yang.c:4599:3: error: expected identifier or '(' before 'case' parser-yang.c:4603:5: error: expected identifier or '(' before 'break' parser-yang.c:4605:3: error: expected identifier or '(' before 'case' parser-yang.c:4609:5: error: expected identifier or '(' before 'break' parser-yang.c:4611:3: error: expected identifier or '(' before 'case' parser-yang.c:4615:5: error: expected identifier or '(' before 'break' parser-yang.c:4617:3: error: expected identifier or '(' before 'case' parser-yang.c:4621:5: error: expected identifier or '(' before 'break' parser-yang.c:4623:3: error: expected identifier or '(' before 'case' parser-yang.c:4627:5: error: expected identifier or '(' before 'break' parser-yang.c:4629:3: error: expected identifier or '(' before 'case' parser-yang.c:4633:5: error: expected identifier or '(' before 'break' parser-yang.c:4635:3: error: expected identifier or '(' before 'case' parser-yang.c:4639:5: error: expected identifier or '(' before 'break' parser-yang.c:4641:3: error: expected identifier or '(' before 'case' parser-yang.c:4645:5: error: expected identifier or '(' before 'break' parser-yang.c:4647:3: error: expected identifier or '(' before 'case' parser-yang.c:4651:5: error: expected identifier or '(' before 'break' parser-yang.c:4653:3: error: expected identifier or '(' before 'case' parser-yang.c:4657:5: error: expected identifier or '(' before 'break' parser-yang.c:4659:3: error: expected identifier or '(' before 'case' parser-yang.c:4663:5: error: expected identifier or '(' before 'break' parser-yang.c:4665:3: error: expected identifier or '(' before 'case' parser-yang.c:4669:5: error: expected identifier or '(' before 'break' parser-yang.c:4671:3: error: expected identifier or '(' before 'case' parser-yang.c:4675:5: error: expected identifier or '(' before 'break' parser-yang.c:4677:3: error: expected identifier or '(' before 'case' parser-yang.c:4681:5: error: expected identifier or '(' before 'break' parser-yang.c:4683:3: error: expected identifier or '(' before 'case' parser-yang.c:4687:5: error: expected identifier or '(' before 'break' parser-yang.c:4689:3: error: expected identifier or '(' before 'case' parser-yang.c:4693:5: error: expected identifier or '(' before 'break' parser-yang.c:4695:3: error: expected identifier or '(' before 'case' parser-yang.c:4699:5: error: expected identifier or '(' before 'break' parser-yang.c:4701:3: error: expected identifier or '(' before 'case' parser-yang.c:4705:5: error: expected identifier or '(' before 'break' parser-yang.c:4707:3: error: expected identifier or '(' before 'case' parser-yang.c:4711:5: error: expected identifier or '(' before 'break' parser-yang.c:4713:3: error: expected identifier or '(' before 'case' parser-yang.c:4717:5: error: expected identifier or '(' before 'break' parser-yang.c:4719:3: error: expected identifier or '(' before 'case' parser-yang.c:4723:5: error: expected identifier or '(' before 'break' parser-yang.c:4725:3: error: expected identifier or '(' before 'case' parser-yang.c:4729:5: error: expected identifier or '(' before 'break' parser-yang.c:4731:3: error: expected identifier or '(' before 'case' parser-yang.c:4735:5: error: expected identifier or '(' before 'break' parser-yang.c:4737:3: error: expected identifier or '(' before 'case' parser-yang.c:4741:5: error: expected identifier or '(' before 'break' parser-yang.c:4743:3: error: expected identifier or '(' before 'case' parser-yang.c:4747:5: error: expected identifier or '(' before 'break' parser-yang.c:4749:3: error: expected identifier or '(' before 'case' parser-yang.c:4753:5: error: expected identifier or '(' before 'break' parser-yang.c:4755:3: error: expected identifier or '(' before 'case' parser-yang.c:4759:5: error: expected identifier or '(' before 'break' parser-yang.c:4761:3: error: expected identifier or '(' before 'case' parser-yang.c:4765:5: error: expected identifier or '(' before 'break' parser-yang.c:4767:3: error: expected identifier or '(' before 'case' parser-yang.c:4771:5: error: expected identifier or '(' before 'break' parser-yang.c:4773:3: error: expected identifier or '(' before 'case' parser-yang.c:4777:5: error: expected identifier or '(' before 'break' parser-yang.c:4779:3: error: expected identifier or '(' before 'case' parser-yang.c:4783:5: error: expected identifier or '(' before 'break' parser-yang.c:4785:3: error: expected identifier or '(' before 'case' parser-yang.c:4789:5: error: expected identifier or '(' before 'break' parser-yang.c:4791:3: error: expected identifier or '(' before 'case' parser-yang.c:4795:5: error: expected identifier or '(' before 'break' parser-yang.c:4797:3: error: expected identifier or '(' before 'case' parser-yang.c:4801:5: error: expected identifier or '(' before 'break' parser-yang.c:4803:3: error: expected identifier or '(' before 'case' parser-yang.c:4807:5: error: expected identifier or '(' before 'break' parser-yang.c:4809:3: error: expected identifier or '(' before 'case' parser-yang.c:4813:5: error: expected identifier or '(' before 'break' parser-yang.c:4815:3: error: expected identifier or '(' before 'case' parser-yang.c:4819:5: error: expected identifier or '(' before 'break' parser-yang.c:4821:3: error: expected identifier or '(' before 'case' parser-yang.c:4825:5: error: expected identifier or '(' before 'break' parser-yang.c:4827:3: error: expected identifier or '(' before 'case' parser-yang.c:4831:5: error: expected identifier or '(' before 'break' parser-yang.c:4833:3: error: expected identifier or '(' before 'case' parser-yang.c:4839:5: error: expected identifier or '(' before 'break' parser-yang.c:4841:3: error: expected identifier or '(' before 'case' parser-yang.c:4847:5: error: expected identifier or '(' before 'break' parser-yang.c:4852:7: error: expected identifier or '(' before 'default' parser-yang.c:4853:5: error: expected identifier or '(' before '}' token parser-yang.c:4865:20: error: expected declaration specifiers or '...' before string constant parser-yang.c:327:31: error: expected declaration specifiers or '...' before '(' token 327 | # define YY_CAST(Type, Val) ((Type) (Val)) | ^ parser-yang.c:4865:31: note: in expansion of macro 'YY_CAST' parser-yang.c:4865:69: error: expected declaration specifiers or '...' before '&' token parser-yang.c:4865:77: error: expected declaration specifiers or '...' before '&' token parser-yang.c:4867:3: warning: data definition has no type or storage class parser-yang.c:4867:3: warning: type defaults to 'int' in declaration of 'YYPOPSTACK' [-Wimplicit-int] parser-yang.c:4867:3: warning: parameter names (without types) in function declaration parser-yang.c:4868:3: warning: data definition has no type or storage class parser-yang.c:4868:3: warning: type defaults to 'int' in declaration of 'yylen' [-Wimplicit-int] parser-yang.c:4870:4: error: expected identifier or '(' before '++' token parser-yang.c:4875:3: error: expected identifier or '(' before '{' token parser-yang.c:4883:3: error: expected identifier or '(' before 'goto' parser-yang.c:4889:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-yang.c:4894:3: error: expected identifier or '(' before 'if' parser-yang.c:4900:3: error: expected identifier or '(' before 'if' parser-yang.c:4921:3: error: expected identifier or '(' before 'goto' parser-yang.c:4927:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-yang.c:4932:3: error: expected identifier or '(' before '++' token parser-yang.c:4936:3: warning: data definition has no type or storage class parser-yang.c:4936:3: warning: type defaults to 'int' in declaration of 'YYPOPSTACK' [-Wimplicit-int] parser-yang.c:4936:3: warning: parameter names (without types) in function declaration parser-yang.c:4937:3: warning: data definition has no type or storage class parser-yang.c:4937:3: warning: type defaults to 'int' in declaration of 'yylen' [-Wimplicit-int] parser-yang.c:4937:3: error: redefinition of 'yylen' parser-yang.c:4868:3: note: previous definition of 'yylen' with type 'int' parser-yang.c:4938:3: warning: data definition has no type or storage class parser-yang.c:4938:3: warning: type defaults to 'int' in declaration of 'YY_STACK_PRINT' [-Wimplicit-int] parser-yang.c:4938:3: warning: parameter names (without types) in function declaration parser-yang.c:4939:3: warning: data definition has no type or storage class parser-yang.c:4939:3: warning: type defaults to 'int' in declaration of 'yystate' [-Wimplicit-int] parser-yang.c:4939:14: error: 'yyssp' undeclared here (not in a function) parser-yang.c:4940:3: error: expected identifier or '(' before 'goto' parser-yang.c:4946:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-yang.c:4950:3: error: expected identifier or '(' before 'for' parser-yang.c:4950:10: error: expected identifier or '(' before ')' token parser-yang.c:4977:4: error: expected identifier or '(' before '++' token parser-yang.c:4982:20: error: expected declaration specifiers or '...' before string constant parser-yang.c:327:31: error: expected declaration specifiers or '...' before '(' token 327 | # define YY_CAST(Type, Val) ((Type) (Val)) | ^ parser-yang.c:1140:36: note: in expansion of macro 'YY_CAST' 1140 | #define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State]) | ^~~~~~~ parser-yang.c:4982:32: note: in expansion of macro 'YY_ACCESSING_SYMBOL' parser-yang.c:4982:59: error: unknown type name 'yyvsp' parser-yang.c:4982:66: error: unknown type name 'yylsp' parser-yang.c:4984:3: warning: data definition has no type or storage class parser-yang.c:4984:3: warning: type defaults to 'int' in declaration of 'yystate' [-Wimplicit-int] parser-yang.c:4984:3: error: redefinition of 'yystate' parser-yang.c:4939:3: note: previous definition of 'yystate' with type 'int' parser-yang.c:4984:13: error: 'yyn' undeclared here (not in a function); did you mean 'yylen'? parser-yang.c:4985:3: error: expected identifier or '(' before 'goto' parser-yang.c:4991:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-yang.c:4993:3: error: expected identifier or '(' before 'goto' parser-yang.c:4999:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-yang.c:5001:3: error: expected identifier or '(' before 'goto' parser-yang.c:5007:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-yang.c:5009:3: warning: data definition has no type or storage class parser-yang.c:5009:3: warning: type defaults to 'int' in declaration of 'yyresult' [-Wimplicit-int] parser-yang.c:5010:3: error: expected identifier or '(' before 'goto' parser-yang.c:5016:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-yang.c:5027:3: warning: data definition has no type or storage class parser-yang.c:5027:3: warning: type defaults to 'int' in declaration of 'YYPOPSTACK' [-Wimplicit-int] parser-yang.c:5027:3: warning: parameter names (without types) in function declaration parser-yang.c:5028:3: warning: data definition has no type or storage class parser-yang.c:5028:3: warning: type defaults to 'int' in declaration of 'YY_STACK_PRINT' [-Wimplicit-int] parser-yang.c:5028:3: warning: parameter names (without types) in function declaration parser-yang.c:5029:3: error: expected identifier or '(' before 'while' parser-yang.c:5036:3: error: expected identifier or '(' before 'if' parser-yang.c:5040:3: error: expected identifier or '(' before 'return' parser-yang.c:5041:1: error: expected identifier or '(' before '}' token parser-yang.c:2029:26: warning: 'yyr2' defined but not used [-Wunused-const-variable=] 2029 | static const yytype_int8 yyr2[] = | ^~~~ parser-yang.c:1962:27: warning: 'yyr1' defined but not used [-Wunused-const-variable=] 1962 | static const yytype_int16 yyr1[] = | ^~~~ parser-yang.c:1862:27: warning: 'yystos' defined but not used [-Wunused-const-variable=] 1862 | static const yytype_int16 yystos[] = | ^~~~~~ parser-yang.c:1696:27: warning: 'yycheck' defined but not used [-Wunused-const-variable=] 1696 | static const yytype_int16 yycheck[] = | ^~~~~~~ parser-yang.c:1532:27: warning: 'yytable' defined but not used [-Wunused-const-variable=] 1532 | static const yytype_int16 yytable[] = | ^~~~~~~ parser-yang.c:1501:27: warning: 'yydefgoto' defined but not used [-Wunused-const-variable=] 1501 | static const yytype_int16 yydefgoto[] = | ^~~~~~~~~ parser-yang.c:1472:27: warning: 'yypgoto' defined but not used [-Wunused-const-variable=] 1472 | static const yytype_int16 yypgoto[] = | ^~~~~~~ parser-yang.c:1372:27: warning: 'yydefact' defined but not used [-Wunused-const-variable=] 1372 | static const yytype_int16 yydefact[] = | ^~~~~~~~ parser-yang.c:1270:27: warning: 'yypact' defined but not used [-Wunused-const-variable=] 1270 | static const yytype_int16 yypact[] = | ^~~~~~ parser-yang.c:1072:27: warning: 'yyrline' defined but not used [-Wunused-const-variable=] 1072 | static const yytype_int16 yyrline[] = | ^~~~~~~ parser-yang.c:1031:26: warning: 'yytranslate' defined but not used [-Wunused-const-variable=] 1031 | static const yytype_int8 yytranslate[] = | ^~~~~~~~~~~ parser-yang.y:182:1: warning: 'checkDate' defined but not used [-Wunused-function] 182 | checkDate(Parser *parserPtr, char *date) | ^~~~~~~~~ parser-yang.y:155:19: warning: 'node' defined but not used [-Wunused-variable] 155 | static _YangNode *node = NULL; | ^~~~ parser-yang.y:129:17: warning: 'topDecl' defined but not used [-Wunused-function] 129 | static YangDecl topDecl() | ^~~~~~~ parser-yang.y:118:13: warning: 'pop' defined but not used [-Wunused-function] 118 | static void pop() | ^~~ parser-yang.y:101:13: warning: 'pushNode' defined but not used [-Wunused-function] 101 | static void pushNode(_YangNode* node) | ^~~~~~~~ parser-yang.y:87:13: warning: 'pushDecl' defined but not used [-Wunused-function] 87 | static void pushDecl(YangDecl decl) | ^~~~~~~~ make[2]: *** [Makefile:572: parser-yang.lo] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o scanner-smi.lo scanner-smi.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c scanner-smi.c -fPIC -DPIC -o .libs/scanner-smi.o scanner-smi.c:13933:16: warning: 'input' defined but not used [-Wunused-function] 13933 | static int input (void) | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o scanner-yang.lo scanner-yang.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c scanner-yang.c -fPIC -DPIC -o .libs/scanner-yang.o scanner-yang.l: In function 'yanglex': scanner-yang.l:790:11: warning: statement with no effect [-Wunused-value] 790 | return identifier; | ^ scanner-yang.l:796:11: warning: statement with no effect [-Wunused-value] 796 | return identifier; | ^ scanner-yang.l:806:11: warning: statement with no effect [-Wunused-value] 806 | return identifierRefArg; | ^ scanner-yang.l:812:11: warning: statement with no effect [-Wunused-value] 812 | return identifierRefArgStr; | ^ scanner-yang.l:822:11: warning: statement with no effect [-Wunused-value] 822 | return dateString; | ^ scanner-yang.l:829:11: warning: statement with no effect [-Wunused-value] 829 | return dateString; | ^ scanner-yang.l:839:11: warning: statement with no effect [-Wunused-value] 839 | return yangVersion; | ^ scanner-yang.l:846:11: warning: statement with no effect [-Wunused-value] 846 | return yangVersion; | ^ scanner-yang.l:887:22: warning: statement with no effect [-Wunused-value] 887 | return qString; | ^ scanner-yang.l:926:15: warning: statement with no effect [-Wunused-value] 926 | return uqString; | ^ scanner-yang.c: At top level: scanner-yang.c:11675:16: warning: 'input' defined but not used [-Wunused-function] 11675 | static int input (void) | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o parser-smi.lo parser-smi.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c parser-smi.c -fPIC -DPIC -o .libs/parser-smi.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[1]: *** [Makefile:519: all-recursive] Error 1 make: *** [Makefile:405: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.49556 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.49556 (%build) Command exited with non-zero status 1 10.53user 4.37system 0:10.88elapsed 136%CPU (0avgtext+0avgdata 38400maxresident)k 0inputs+0outputs (0major+1083224minor)pagefaults 0swaps hsh-rebuild: rebuild of `libsmi-0.5.0-alt2.src.rpm' failed. Command exited with non-zero status 1 4.76user 1.91system 0:21.99elapsed 30%CPU (0avgtext+0avgdata 128588maxresident)k 1224inputs+0outputs (0major+195422minor)pagefaults 0swaps