<86>Sep 21 05:35:10 userdel[1289276]: delete user 'rooter' <86>Sep 21 05:35:10 userdel[1289276]: removed group 'rooter' owned by 'rooter' <86>Sep 21 05:35:10 userdel[1289276]: removed shadow group 'rooter' owned by 'rooter' <86>Sep 21 05:35:10 groupadd[1289285]: group added to /etc/group: name=rooter, GID=654 <86>Sep 21 05:35:10 groupadd[1289285]: group added to /etc/gshadow: name=rooter <86>Sep 21 05:35:10 groupadd[1289285]: new group: name=rooter, GID=654 <86>Sep 21 05:35:10 useradd[1289289]: new user: name=rooter, UID=654, GID=654, home=/root, shell=/bin/bash <86>Sep 21 05:35:10 userdel[1289295]: delete user 'builder' <86>Sep 21 05:35:10 userdel[1289295]: removed group 'builder' owned by 'builder' <86>Sep 21 05:35:10 userdel[1289295]: removed shadow group 'builder' owned by 'builder' <86>Sep 21 05:35:10 groupadd[1289300]: group added to /etc/group: name=builder, GID=655 <86>Sep 21 05:35:10 groupadd[1289300]: group added to /etc/gshadow: name=builder <86>Sep 21 05:35:10 groupadd[1289300]: new group: name=builder, GID=655 <86>Sep 21 05:35:10 useradd[1289305]: new user: name=builder, UID=655, GID=655, home=/usr/src, shell=/bin/bash <13>Sep 21 05:35:14 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Sep 21 05:35:14 rpmi: libstdc++10-devel-10.3.1-alt4 sisyphus+263581.100.2.1 1631460891 installed <13>Sep 21 05:35:15 rpmi: gcc10-c++-10.3.1-alt4 sisyphus+263581.100.2.1 1631460891 installed <13>Sep 21 05:35:15 rpmi: libidn2-2.3.2-alt1 sisyphus+281238.100.1.2 1627476321 installed <13>Sep 21 05:35:15 rpmi: libp11-kit-0.23.15-alt2 sisyphus+278382.100.1.2 1626190666 installed <13>Sep 21 05:35:15 rpmi: libtasn1-4.17.0-alt1 sisyphus+276722.100.1.1 1625211284 installed <13>Sep 21 05:35:15 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Sep 21 05:35:15 rpmi: alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Sep 21 05:35:15 rpmi: ca-certificates-2021.06.03-alt1 sisyphus+273509.400.1.1 1622736045 installed <13>Sep 21 05:35:15 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Sep 21 05:35:15 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+278382.100.1.2 1626190666 installed <13>Sep 21 05:35:16 rpmi: libcrypto1.1-1.1.1l-alt1 sisyphus+283685.100.1.1 1629815887 installed <13>Sep 21 05:35:16 rpmi: libssl1.1-1.1.1l-alt1 sisyphus+283685.100.1.1 1629815887 installed <13>Sep 21 05:35:16 rpmi: wget-1.21.2-alt1 sisyphus+285050.100.1.1 1631406680 installed <13>Sep 21 05:35:16 rpmi: gcc-c++-10-alt2 sisyphus+281519.400.4.1 1627910688 installed <13>Sep 21 05:35:16 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.79316 + 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.79316 + 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: 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 gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force autoreconf-default: running: /usr/bin/autoheader-2.60 --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 --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 --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 thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-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 we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... 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 how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking for unistd.h... (cached) yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for stdint.h... (cached) yes checking limits.h usability... yes checking limits.h presence... 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 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-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 12877: ./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 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 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 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 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 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:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 249 | || childPtr->export.nodeKind == YANG_DECL_INPUT && !strcmp("input", value) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ yang-check.c:250:52: 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:2: 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 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.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 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:2: 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; | ^~~~ smi.c: In function 'smiAsprintf': smi.c:3076:10: warning: implicit declaration of function 'vasprintf'; did you mean 'vasnprintf'? [-Wimplicit-function-declaration] 3076 | rc = vasprintf(strp, format, ap); | ^~~~~~~~~ | vasnprintf 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' /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' /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:6: 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:12: warning: implicit declaration of function 'timegm'; did you mean 'time'? [-Wimplicit-function-declaration] 258 | anytime = timegm(&tm); | ^~~~~~ | time parser-sming.c: At top level: parser-sming.c:1581:30: warning: null character(s) ignored 1581 | 145, 147, 148, 146 } else { | ^ parser-sming.c:1581: error: expected ',' or ';' before 'else' 1581 | 145, 147, 148, 146 } else { | parser-sming.c:1586:4: error: expected identifier or '(' before '}' token 1586 | } | ^ parser-sming.c:2659:5: error: expected identifier or '(' before 'break' 2659 | | ^ parser-sming.c:2661:3: error: expected identifier or '(' before 'case' 2661 | #line 1822 "parser-sming.y" | ^~~~ parser-sming.c:2669:5: error: expected identifier or '(' before 'break' 2669 | #line 1826 "parser-sming.y" | ^~~~~ parser-sming.c:2671:3: error: expected identifier or '(' before 'case' 2671 | (yyval.attributePtr) = (yyvsp[0].attributePtr); | ^ parser-sming.c:2710:5: error: expected identifier or '(' before 'break' 2710 | } else { | ^ ~~ parser-sming.c:2712:3: error: expected identifier or '(' before 'case' 2712 | thisParserPtr); | ^ parser-sming.c:2720:5: error: expected identifier or '(' before 'break' 2720 | break; | ^~~~~ parser-sming.c:2722:3: error: expected identifier or '(' before 'case' 2722 | case 151: /* refinedBaseType: Unsigned32Keyword optsep_numberSpec_01 */ | ^~~~ parser-sming.c:2731:5: error: expected identifier or '(' before 'break' 2731 | thisParserPtr); | ^ parser-sming.c:2733:3: error: expected identifier or '(' before 'case' 2733 | setTypeList((yyval.typePtr), (yyvsp[0].listPtr)); | ^ ~~ parser-sming.c:2742:5: error: expected identifier or '(' before 'break' 2742 | #line 1882 "parser-sming.y" | ^~~~~ parser-sming.c:2744:3: error: expected identifier or '(' before 'case' 2744 | List *p; | ^ parser-sming.c:2751:5: error: expected identifier or '(' before 'break' 2751 | setTypeParent((yyval.typePtr), smiHandle->typeInteger64Ptr); | ^~~~~ parser-sming.c:2753:3: error: expected identifier or '(' before 'case' 2753 | for (p = (yyvsp[0].listPtr); p; p = p->nextPtr) | ^ ~~ parser-sming.c:2759:5: error: expected identifier or '(' before 'break' 2759 | | ^ parser-sming.c:2761:3: error: expected identifier or '(' before 'case' 2761 | #line 1897 "parser-sming.y" | ^~~~ parser-sming.c:2771:5: error: expected identifier or '(' before 'break' 2771 | setTypeList((yyval.typePtr), (yyvsp[0].listPtr)); | ^~~~~ parser-sming.c:2773:3: error: expected identifier or '(' before 'case' 2773 | ((Range *)p->ptr)->typePtr = (yyval.typePtr); | ^ parser-sming.c:2779:5: error: expected identifier or '(' before 'break' 2779 | case 154: /* refinedBaseType: Float32Keyword optsep_floatSpec_01 */ | ^~~~~ parser-sming.c:2781:3: error: expected identifier or '(' before 'case' 2781 | { | ^ parser-sming.c:2796:5: error: expected identifier or '(' before 'break' 2796 | break; | ^~~~~ parser-sming.c:2798:3: error: expected identifier or '(' before 'case' 2798 | case 155: /* refinedBaseType: Float64Keyword optsep_floatSpec_01 */ | ^~~~ parser-sming.c:2812:5: error: expected identifier or '(' before 'break' 2812 | } | ^ ~ parser-sming.c:2814:3: error: expected identifier or '(' before 'case' 2814 | #line 3886 "parser-sming.c" | ^~~~ parser-sming.c:2829:5: error: expected identifier or '(' before 'break' 2829 | for (p = (yyvsp[0].listPtr); p; p = p->nextPtr) | ^~~~~ parser-sming.c:2831:3: error: expected identifier or '(' before 'case' 2831 | } | ^ parser-sming.c:2844:5: error: expected identifier or '(' before 'break' 2844 | setTypeParent((yyval.typePtr), smiHandle->typePointerPtr); | ^~~~~ parser-sming.c:2846:3: error: expected identifier or '(' before 'case' 2846 | } | ^ ~ parser-sming.c:2868:5: error: expected identifier or '(' before 'break' 2868 | break; | ^~~~~ parser-sming.c:2870:3: error: expected identifier or '(' before 'case' 2870 | case 159: /* $@45: %empty */ | ^~~~ parser-sming.c:2889:5: error: expected identifier or '(' before 'break' 2889 | } else { | ^ ~~ parser-sming.c:2891:3: error: expected identifier or '(' before 'case' 2891 | thisParserPtr); | ^ parser-sming.c:2909:5: error: expected identifier or '(' before 'break' 2909 | setAttributeParentType((yyval.attributePtr), smiHandle->typeOctetStringPtr); | ^~~~~ parser-sming.c:2911:3: error: expected identifier or '(' before 'case' 2911 | setAttributeList((yyval.attributePtr), (yyvsp[0].listPtr)); | ^ ~ parser-sming.c:2925:5: error: expected identifier or '(' before 'break' 2925 | } | ^ parser-sming.c:2927:3: error: expected identifier or '(' before 'case' 2927 | break; | ^ ~~ parser-sming.c:2934:5: error: expected identifier or '(' before 'break' 2934 | (yyval.attributePtr) = duplicateTypeToAttribute(smiHandle->typeInteger32Ptr, | ^~~~~ parser-sming.c:2936:3: error: expected identifier or '(' before 'case' 2936 | setAttributeParentType((yyval.attributePtr), smiHandle->typeInteger32Ptr); | ^ ~~ parser-sming.c:2943:5: error: expected identifier or '(' before 'break' 2943 | #line 4015 "parser-sming.c" | ^~~~~ parser-sming.c:2945:3: error: expected identifier or '(' before 'case' 2945 | | ^ parser-sming.c:2952:5: error: expected identifier or '(' before 'break' 2952 | classPtr, thisParserPtr); | ^ parser-sming.c:2954:3: error: expected identifier or '(' before 'case' 2954 | if ((yyvsp[0].listPtr)) { | ^ parser-sming.c:2962:5: error: expected identifier or '(' before 'break' 2962 | | ^ parser-sming.c:2964:3: error: expected identifier or '(' before 'case' 2964 | #line 2055 "parser-sming.y" | ^~~~ parser-sming.c:2970:5: error: expected identifier or '(' before 'break' 2970 | setAttributeParentType((yyval.attributePtr), smiHandle->typeInteger64Ptr); | ^~~~~ parser-sming.c:2972:3: error: expected identifier or '(' before 'case' 2972 | setAttributeList((yyval.attributePtr), (yyvsp[0].listPtr)); | ^ ~ parser-sming.c:2982:5: error: expected identifier or '(' before 'break' 2982 | { | ^ parser-sming.c:2984:3: error: expected identifier or '(' before 'case' 2984 | | ^ parser-sming.c:2990:5: error: expected identifier or '(' before 'break' 2990 | for (p = (yyvsp[0].listPtr); p; p = p->nextPtr) | ^~~~~ parser-sming.c:2992:3: error: expected identifier or '(' before 'case' 2992 | } | ^ parser-sming.c:3007:5: error: expected identifier or '(' before 'break' 3007 | for (p = (yyvsp[0].listPtr); p; p = p->nextPtr) | ^~~~~ parser-sming.c:3009:3: error: expected identifier or '(' before 'case' 3009 | } | ^ parser-sming.c:3023:5: error: expected identifier or '(' before 'break' 3023 | setAttributeList((yyval.attributePtr), (yyvsp[0].listPtr)); | ^~~~~ parser-sming.c:3025:3: error: expected identifier or '(' before 'case' 3025 | ((Range *)p->ptr)->typePtr = (Type*)(yyval.attributePtr); | ^ parser-sming.c:3032:5: error: expected identifier or '(' before 'break' 3032 | #line 2107 "parser-sming.y" | ^~~~~ parser-sming.c:3034:3: error: expected identifier or '(' before 'case' 3034 | List *p; | ^ parser-sming.c:3042:5: error: expected identifier or '(' before 'break' 3042 | ((Range *)p->ptr)->typePtr = (Type*)(yyval.attributePtr); | ^ ~ parser-sming.c:3044:3: error: expected identifier or '(' before 'case' 3044 | } | ^~ parser-sming.c:3052:5: error: expected identifier or '(' before 'break' 3052 | classPtr, thisParserPtr); | ^ parser-sming.c:3054:3: error: expected identifier or '(' before 'case' 3054 | if ((yyvsp[0].listPtr)) { | ^ parser-sming.c:3062:5: error: expected identifier or '(' before 'break' 3062 | #line 2129 "parser-sming.y" | ^~~~~ parser-sming.c:3064:3: error: expected identifier or '(' before 'case' 3064 | List *p; | ^ parser-sming.c:3071:5: error: expected identifier or '(' before 'break' 3071 | for (p = (yyvsp[0].listPtr); p; p = p->nextPtr) | ^~~~~ parser-sming.c:3073:3: error: expected identifier or '(' before 'case' 3073 | } | ^ parser-sming.c:3079:5: error: expected identifier or '(' before 'break' 3079 | #line 2142 "parser-sming.y" | ^~~~~ parser-sming.c:3081:3: error: expected identifier or '(' before 'case' 3081 | /* Since Enum elements can be negative we | ^ parser-sming.c:3087:5: error: expected identifier or '(' before 'break' 3087 | #line 4159 "parser-sming.c" | ^~~~~ parser-sming.c:3089:3: error: expected identifier or '(' before 'case' 3089 | | ^ parser-sming.c:3095:5: error: expected identifier or '(' before 'break' 3095 | (yyval.attributePtr) = duplicateTypeToAttribute(smiHandle->typeBitsPtr, | ^ ~~ parser-sming.c:3097:3: error: expected identifier or '(' before 'case' 3097 | setAttributeParentType((yyval.attributePtr), smiHandle->typeBitsPtr); | ^ parser-sming.c:3112:5: error: expected identifier or '(' before 'break' 3112 | typePtr = findType((yyvsp[-1].text), thisParserPtr, | ^ ~~ parser-sming.c:3114:3: error: expected identifier or '(' before 'case' 3114 | if (typePtr && (yyvsp[0].listPtr)) { | ^ parser-sming.c:3128:5: error: expected identifier or '(' before 'break' 3128 | Class *tmp; | ^ ~~ parser-sming.c:3130:3: error: expected identifier or '(' before 'case' 3130 | thisModulePtr); | ^ parser-sming.c:3136:5: error: expected identifier or '(' before 'break' 3136 | } else if( typePtr ){ | ^ ~~ parser-sming.c:3138:3: error: expected identifier or '(' before 'case' 3138 | classPtr, thisParserPtr); | ^ parser-sming.c:3152:5: error: expected identifier or '(' before 'break' 3152 | | ^ parser-sming.c:3154:3: error: expected identifier or '(' before 'case' 3154 | (yyval.attributePtr) = attributePtr; | ^ parser-sming.c:3169:5: error: expected identifier or '(' before 'break' 3169 | { | ^ parser-sming.c:3171:3: error: expected identifier or '(' before 'case' 3171 | } | ^~ parser-sming.c:3177:5: error: expected identifier or '(' before 'break' 3177 | { | ^ parser-sming.c:3179:3: error: expected identifier or '(' before 'case' 3179 | } | ^~ parser-sming.c:3185:5: error: expected identifier or '(' before 'break' 3185 | { | ^ parser-sming.c:3187:3: error: expected identifier or '(' before 'case' 3187 | } | ^~ parser-sming.c:3193:5: error: expected identifier or '(' before 'break' 3193 | { | ^ parser-sming.c:3195:3: error: expected identifier or '(' before 'case' 3195 | } | ^~ parser-sming.c:3210:5: error: expected identifier or '(' before 'break' 3210 | (yyval.listPtr) = smiMalloc(sizeof(List)); | ^ ~~ parser-sming.c:3212:3: error: expected identifier or '(' before 'case' 3212 | (yyval.listPtr)->nextPtr = (yyvsp[-2].listPtr); | ^ parser-sming.c:3226:5: error: expected identifier or '(' before 'break' 3226 | #line 2256 "parser-sming.y" | ^~~~~ parser-sming.c:3228:3: error: expected identifier or '(' before 'case' 3228 | (yyval.listPtr) = (yyvsp[0].listPtr); | ^ parser-sming.c:3234:5: error: expected identifier or '(' before 'break' 3234 | #line 2262 "parser-sming.y" | ^~~~~ parser-sming.c:3236:3: error: expected identifier or '(' before 'case' 3236 | (yyval.listPtr) = smiMalloc(sizeof(List)); | ^ parser-sming.c:3242:5: error: expected identifier or '(' before 'break' 3242 | | ^ parser-sming.c:3244:3: error: expected identifier or '(' before 'case' 3244 | #line 2268 "parser-sming.y" | ^~~~ parser-sming.c:3254:5: error: expected identifier or '(' before 'break' 3254 | } | ^ parser-sming.c:3256:3: error: expected identifier or '(' before 'case' 3256 | break; | ^ ~~ parser-sming.c:3262:5: error: expected identifier or '(' before 'break' 3262 | } | ^ parser-sming.c:3264:3: error: expected identifier or '(' before 'case' 3264 | break; | ^ ~~ parser-sming.c:3279:5: error: expected identifier or '(' before 'break' 3279 | #line 4351 "parser-sming.c" | ^~~~~ parser-sming.c:3281:3: error: expected identifier or '(' before 'case' 3281 | | ^ parser-sming.c:3295:5: error: expected identifier or '(' before 'break' 3295 | #line 4367 "parser-sming.c" | ^~~~~ parser-sming.c:3297:3: error: expected identifier or '(' before 'case' 3297 | | ^ parser-sming.c:3306:5: error: expected identifier or '(' before 'break' 3306 | case 192: /* optsep_floatSpec_01: %empty */ | ^~~~~ parser-sming.c:3308:3: error: expected identifier or '(' before 'case' 3308 | { | ^ parser-sming.c:3316:5: error: expected identifier or '(' before 'break' 3316 | { | ^ parser-sming.c:3318:3: error: expected identifier or '(' before 'case' 3318 | } | ^~ parser-sming.c:3326:5: error: expected identifier or '(' before 'break' 3326 | (yyval.listPtr)->ptr = (yyvsp[-3].rangePtr); | ^ ~~ parser-sming.c:3328:3: error: expected identifier or '(' before 'case' 3328 | } | ^~ parser-sming.c:3337:5: error: expected identifier or '(' before 'break' 3337 | #line 4409 "parser-sming.c" | ^~~~~ parser-sming.c:3339:3: error: expected identifier or '(' before 'case' 3339 | | ^ parser-sming.c:3346:5: error: expected identifier or '(' before 'break' 3346 | break; | ^~~~~ parser-sming.c:3348:3: error: expected identifier or '(' before 'case' 3348 | case 197: /* furtherFloatElement_1n: furtherFloatElement */ | ^~~~ parser-sming.c:3355:5: error: expected identifier or '(' before 'break' 3355 | #line 4427 "parser-sming.c" | ^~~~~ parser-sming.c:3357:3: error: expected identifier or '(' before 'case' 3357 | | ^ parser-sming.c:3363:5: error: expected identifier or '(' before 'break' 3363 | p = smiMalloc(sizeof(List)); | ^ ~~ parser-sming.c:3365:3: error: expected identifier or '(' before 'case' 3365 | p->nextPtr = NULL; | ^ parser-sming.c:3371:5: error: expected identifier or '(' before 'break' 3371 | break; | ^~~~~ parser-sming.c:3373:3: error: expected identifier or '(' before 'case' 3373 | case 199: /* furtherFloatElement: optsep '|' optsep floatElement */ | ^~~~ parser-sming.c:3379:5: error: expected identifier or '(' before 'break' 3379 | break; | ^~~~~ parser-sming.c:3381:3: error: expected identifier or '(' before 'case' 3381 | case 200: /* floatElement: floatValue floatUpperLimit_01 */ | ^~~~ parser-sming.c:3387:5: error: expected identifier or '(' before 'break' 3387 | if ((yyvsp[0].text)) { | ^ ~~ parser-sming.c:3389:3: error: expected identifier or '(' before 'case' 3389 | SMI_BASETYPE_FLOAT64; | ^ parser-sming.c:3395:5: error: expected identifier or '(' before 'break' 3395 | } | ^ parser-sming.c:3397:3: error: expected identifier or '(' before 'case' 3397 | break; | ^ ~~ parser-sming.c:3403:5: error: expected identifier or '(' before 'break' 3403 | } | ^ parser-sming.c:3405:3: error: expected identifier or '(' before 'case' 3405 | break; | ^ ~~ parser-sming.c:3411:5: error: expected identifier or '(' before 'break' 3411 | } | ^ parser-sming.c:3413:3: error: expected identifier or '(' before 'case' 3413 | break; | ^ ~~ parser-sming.c:3419:5: error: expected identifier or '(' before 'break' 3419 | } | ^ parser-sming.c:3421:3: error: expected identifier or '(' before 'case' 3421 | break; | ^ ~~ parser-sming.c:3427:5: error: expected identifier or '(' before 'break' 3427 | } | ^ parser-sming.c:3429:3: error: expected identifier or '(' before 'case' 3429 | break; | ^ ~~ parser-sming.c:3435:5: error: expected identifier or '(' before 'break' 3435 | } | ^ parser-sming.c:3437:3: error: expected identifier or '(' before 'case' 3437 | break; | ^ ~~ parser-sming.c:3443:5: error: expected identifier or '(' before 'break' 3443 | } | ^ parser-sming.c:3445:3: error: expected identifier or '(' before 'case' 3445 | break; | ^ ~~ parser-sming.c:3451:5: error: expected identifier or '(' before 'break' 3451 | } | ^ parser-sming.c:3453:3: error: expected identifier or '(' before 'case' 3453 | break; | ^ ~~ parser-sming.c:3459:5: error: expected identifier or '(' before 'break' 3459 | } | ^ parser-sming.c:3461:3: error: expected identifier or '(' before 'case' 3461 | break; | ^ ~~ parser-sming.c:3467:5: error: expected identifier or '(' before 'break' 3467 | (yyval.listPtr) = smiMalloc(sizeof(List)); | ^ ~~ parser-sming.c:3469:3: error: expected identifier or '(' before 'case' 3469 | nn->export.name = (yyvsp[0].text); | ^ parser-sming.c:3475:5: error: expected identifier or '(' before 'break' 3475 | #line 2435 "parser-sming.y" | ^~~~~ parser-sming.c:3477:3: error: expected identifier or '(' before 'case' 3477 | (yyval.text) = (yyvsp[-2].text); | ^ parser-sming.c:3483:5: error: expected identifier or '(' before 'break' 3483 | #line 2441 "parser-sming.y" | ^~~~~ parser-sming.c:3485:3: error: expected identifier or '(' before 'case' 3485 | (yyval.listPtr) = (yyvsp[-2].listPtr); | ^ parser-sming.c:3491:5: error: expected identifier or '(' before 'break' 3491 | #line 2448 "parser-sming.y" | ^~~~~ parser-sming.c:3493:3: error: expected identifier or '(' before 'case' 3493 | (yyval.listPtr) = smiMalloc(sizeof(List)); | ^ parser-sming.c:3504:5: error: expected identifier or '(' before 'break' 3504 | } | ^ parser-sming.c:3506:3: error: expected identifier or '(' before 'case' 3506 | break; | ^ ~~ parser-sming.c:3514:5: error: expected identifier or '(' before 'break' 3514 | break; | ^~~~~ parser-sming.c:3516:3: error: expected identifier or '(' before 'case' 3516 | case 215: /* furtherBitsOrEnumerationItem_1n: furtherBitsOrEnumerationItem */ | ^~~~ parser-sming.c:3522:5: error: expected identifier or '(' before 'break' 3522 | } | ^ parser-sming.c:3524:3: error: expected identifier or '(' before 'case' 3524 | break; | ^ ~~ parser-sming.c:3530:5: error: expected identifier or '(' before 'break' 3530 | | ^ parser-sming.c:3532:3: error: expected identifier or '(' before 'case' 3532 | p->ptr = (yyvsp[0].namedNumberPtr); | ^ parser-sming.c:3542:5: error: expected identifier or '(' before 'break' 3542 | #line 2487 "parser-sming.y" | ^~~~~ parser-sming.c:3544:3: error: expected identifier or '(' before 'case' 3544 | (yyval.namedNumberPtr) = (yyvsp[0].namedNumberPtr); | ^ parser-sming.c:3550:5: error: expected identifier or '(' before 'break' 3550 | #line 2493 "parser-sming.y" | ^~~~~ parser-sming.c:3552:3: error: expected identifier or '(' before 'case' 3552 | (yyval.namedNumberPtr) = smiMalloc(sizeof(NamedNumber)); | ^ parser-sming.c:3558:5: error: expected identifier or '(' before 'break' 3558 | | ^ parser-sming.c:3560:3: error: expected identifier or '(' before 'case' 3560 | #line 2501 "parser-sming.y" | ^~~~ parser-sming.c:3566:5: error: expected identifier or '(' before 'break' 3566 | #line 4638 "parser-sming.c" | ^~~~~ parser-sming.c:3568:3: error: expected identifier or '(' before 'case' 3568 | | ^ parser-sming.c:3574:5: error: expected identifier or '(' before 'break' 3574 | #line 4646 "parser-sming.c" | ^~~~~ parser-sming.c:3576:3: error: expected identifier or '(' before 'case' 3576 | | ^ parser-sming.c:3582:5: error: expected identifier or '(' before 'break' 3582 | #line 4654 "parser-sming.c" | ^~~~~ parser-sming.c:3584:3: error: expected identifier or '(' before 'case' 3584 | | ^ parser-sming.c:3590:5: error: expected identifier or '(' before 'break' 3590 | (yyval.listPtr)->nextPtr = NULL; | ^ ~~ parser-sming.c:3592:3: error: expected identifier or '(' before 'case' 3592 | #line 4664 "parser-sming.c" | ^~~~ parser-sming.c:3598:5: error: expected identifier or '(' before 'break' 3598 | List *p, *pp; | ^ ~~ parser-sming.c:3600:3: error: expected identifier or '(' before 'case' 3600 | p = smiMalloc(sizeof(List)); | ^ parser-sming.c:3606:5: error: expected identifier or '(' before 'break' 3606 | } | ^ parser-sming.c:3608:3: error: expected identifier or '(' before 'case' 3608 | break; | ^ ~~ parser-sming.c:3614:5: error: expected identifier or '(' before 'break' 3614 | } | ^ parser-sming.c:3616:3: error: expected identifier or '(' before 'case' 3616 | break; | ^ ~~ parser-sming.c:3622:5: error: expected identifier or '(' before 'break' 3622 | } | ^ parser-sming.c:3624:3: error: expected identifier or '(' before 'case' 3624 | break; | ^ ~~ parser-sming.c:3630:5: error: expected identifier or '(' before 'break' 3630 | } | ^ parser-sming.c:3632:3: error: expected identifier or '(' before 'case' 3632 | break; | ^ ~~ parser-sming.c:3641:5: error: expected identifier or '(' before 'break' 3641 | #line 4713 "parser-sming.c" | ^~~~~ parser-sming.c:3643:3: error: expected identifier or '(' before 'case' 3643 | | ^ parser-sming.c:3649:5: error: expected identifier or '(' before 'break' 3649 | #line 4721 "parser-sming.c" | ^~~~~ parser-sming.c:3651:3: error: expected identifier or '(' before 'case' 3651 | | ^ parser-sming.c:3657:5: error: expected identifier or '(' before 'break' 3657 | #line 4729 "parser-sming.c" | ^~~~~ parser-sming.c:3659:3: error: expected identifier or '(' before 'case' 3659 | | ^ parser-sming.c:3665:5: error: expected identifier or '(' before 'break' 3665 | (yyval.listPtr)->nextPtr = NULL; | ^ ~~ parser-sming.c:3667:3: error: expected identifier or '(' before 'case' 3667 | #line 4739 "parser-sming.c" | ^~~~ parser-sming.c:3673:5: error: expected identifier or '(' before 'break' 3673 | List *p, *pp; | ^ ~~ parser-sming.c:3675:3: error: expected identifier or '(' before 'case' 3675 | p = smiMalloc(sizeof(List)); | ^ parser-sming.c:3681:5: error: expected identifier or '(' before 'break' 3681 | } | ^ parser-sming.c:3683:3: error: expected identifier or '(' before 'case' 3683 | break; | ^ ~~ parser-sming.c:3689:5: error: expected identifier or '(' before 'break' 3689 | } | ^ parser-sming.c:3691:3: error: expected identifier or '(' before 'case' 3691 | break; | ^ ~~ parser-sming.c:3697:5: error: expected identifier or '(' before 'break' 3697 | } | ^ parser-sming.c:3699:3: error: expected identifier or '(' before 'case' 3699 | break; | ^ ~~ parser-sming.c:3705:5: error: expected identifier or '(' before 'break' 3705 | } | ^ parser-sming.c:3707:3: error: expected identifier or '(' before 'case' 3707 | break; | ^ ~~ parser-sming.c:3713:5: error: expected identifier or '(' before 'break' 3713 | | ^ parser-sming.c:3715:3: error: expected identifier or '(' before 'case' 3715 | strlen((yyvsp[0].text)) + 3); | ^ parser-sming.c:3721:5: error: expected identifier or '(' before 'break' 3721 | #line 4793 "parser-sming.c" | ^~~~~ parser-sming.c:3723:3: error: expected identifier or '(' before 'case' 3723 | | ^ parser-sming.c:3729:5: error: expected identifier or '(' before 'break' 3729 | #line 4801 "parser-sming.c" | ^~~~~ parser-sming.c:3731:3: error: expected identifier or '(' before 'case' 3731 | | ^ parser-sming.c:3737:5: error: expected identifier or '(' before 'break' 3737 | s = smiMalloc(strlen((yyvsp[-2].text)) + | ^ ~~ parser-sming.c:3739:3: error: expected identifier or '(' before 'case' 3739 | sprintf(s, "%s::%s", (yyvsp[-2].text), (yyvsp[0].text)); | ^ parser-sming.c:3745:5: error: expected identifier or '(' before 'break' 3745 | case 238: /* qlcIdentifier: lcIdentifier */ | ^~~~~ parser-sming.c:3747:3: error: expected identifier or '(' before 'case' 3747 | { | ^ parser-sming.c:3764:5: error: expected identifier or '(' before 'break' 3764 | (yyval.text) = smiStrdup((yyvsp[-1].text)); | ^~~~~ parser-sming.c:3766:3: error: expected identifier or '(' before 'case' 3766 | len = strlen((yyval.text)); | ^ parser-sming.c:3772:5: error: expected identifier or '(' before 'break' 3772 | break; | ^~~~~ parser-sming.c:3774:3: error: expected identifier or '(' before 'case' 3774 | case 240: /* optsep_textSegment_0n: %empty */ | ^~~~ parser-sming.c:3791:5: error: expected identifier or '(' before 'break' 3791 | #line 2669 "parser-sming.y" | ^~~~~ parser-sming.c:3793:3: error: expected identifier or '(' before 'case' 3793 | (yyval.text) = (yyvsp[0].text); | ^ parser-sming.c:3810:5: error: expected identifier or '(' before 'break' 3810 | case 244: /* optsep_textSegment: optsep textSegment */ | ^~~~~ parser-sming.c:3812:3: error: expected identifier or '(' before 'case' 3812 | { | ^ parser-sming.c:3829:5: error: expected identifier or '(' before 'break' 3829 | (yyval.text) = smiStrdup((yyvsp[0].text)); | ^ ~~ parser-sming.c:3831:3: error: expected identifier or '(' before 'case' 3831 | #line 4903 "parser-sming.c" | ^~~~ parser-sming.c:3848:5: error: expected identifier or '(' before 'break' 3848 | (yyval.valuePtr)->value.ptr = (void*)((yyvsp[0].listPtr)); | ^~~~~ parser-sming.c:3850:3: error: expected identifier or '(' before 'case' 3850 | if (typePtr){ | ^ ~~ parser-sming.c:3867:5: error: expected identifier or '(' before 'break' 3867 | { | ^ parser-sming.c:3869:3: error: expected identifier or '(' before 'case' 3869 | switch (defaultBasetype) { | ^ parser-sming.c:3886:5: error: expected identifier or '(' before 'break' 3886 | (yyval.valuePtr) = smiMalloc(sizeof(SmiValue)); | ^~~~~ parser-sming.c:3888:3: error: expected identifier or '(' before 'case' 3888 | (yyval.valuePtr)->value.integer64 = strtoll((yyvsp[0].text), NULL, 10); | ^ ~~ parser-sming.c:3905:5: error: expected identifier or '(' before 'break' 3905 | break; | ^~~~~ parser-sming.c:3907:3: error: expected identifier or '(' before 'case' 3907 | case 250: /* anyValue: '-' decimalNumber */ | ^~~~ parser-sming.c:3920:5: error: expected identifier or '(' before 'break' 3920 | break; | ^~~~~ parser-sming.c:3922:3: error: expected identifier or '(' before 'case' 3922 | smiPrintError(thisParserPtr, | ^ ~~ parser-sming.c:3939:5: error: expected identifier or '(' before 'break' 3939 | (yyval.valuePtr)->value.unsigned32 = strtoul((yyvsp[0].text), NULL, 16); | ^~~~~ parser-sming.c:3941:3: error: expected identifier or '(' before 'case' 3941 | case SMI_BASETYPE_UNSIGNED64: | ^ parser-sming.c:3951:5: error: expected identifier or '(' before 'break' 3951 | case SMI_BASETYPE_INTEGER64: | ^ ~~ parser-sming.c:3953:3: error: expected identifier or '(' before 'case' 3953 | (yyval.valuePtr)->basetype = SMI_BASETYPE_INTEGER64; | ^ ~~ parser-sming.c:3972:5: error: expected identifier or '(' before 'break' 3972 | case 252: /* anyValue: floatValue */ | ^~~~~ parser-sming.c:3974:3: error: expected identifier or '(' before 'case' 3974 | { | ^ parser-sming.c:3988:5: error: expected identifier or '(' before 'break' 3988 | (yyval.valuePtr) = smiMalloc(sizeof(SmiValue)); | ^ ~ parser-sming.c:3990:3: error: expected identifier or '(' before 'case' 3990 | (yyval.valuePtr)->value.float64 = strtod((yyvsp[0].text),NULL); | ^ ~~ parser-sming.c:3998:5: error: expected identifier or '(' before 'break' 3998 | (yyval.valuePtr) = smiMalloc(sizeof(SmiValue)); | ^ ~ parser-sming.c:4000:3: error: expected identifier or '(' before 'case' 4000 | (yyval.valuePtr)->value.float128 = strtold((yyvsp[0].text),NULL); | ^ ~~ parser-sming.c:4015:5: error: expected identifier or '(' before 'break' 4015 | smiPrintError(thisParserPtr, | ^~~~~ parser-sming.c:4017:3: error: expected identifier or '(' before 'case' 4017 | (yyval.valuePtr) = NULL; | ^ ~~ parser-sming.c:4032:5: error: expected identifier or '(' before 'break' 4032 | (yyval.valuePtr)->value.float32 = - strtof((yyvsp[0].text),NULL); | ^~~~~ parser-sming.c:4034:3: error: expected identifier or '(' before 'case' 4034 | smiPrintError(thisParserPtr, | ^ ~ parser-sming.c:4049:5: error: expected identifier or '(' before 'break' 4049 | case SMI_BASETYPE_FLOAT128: | ^ ~~ parser-sming.c:4051:3: error: expected identifier or '(' before 'case' 4051 | (yyval.valuePtr)->basetype = SMI_BASETYPE_FLOAT128; | ^ ~~ parser-sming.c:4066:5: error: expected identifier or '(' before 'break' 4066 | #line 5138 "parser-sming.c" | ^~~~~ parser-sming.c:4068:3: error: expected identifier or '(' before 'case' 4068 | | ^ parser-sming.c:4083:5: error: expected identifier or '(' before 'break' 4083 | break; | ^~~~~ parser-sming.c:4085:3: error: expected identifier or '(' before 'case' 4085 | (yyval.valuePtr) = smiMalloc(sizeof(SmiValue)); | ^ parser-sming.c:4100:5: error: expected identifier or '(' before 'break' 4100 | ERR_FLOAT_OVERFLOW, (yyvsp[0].text)); | ^~~~~ parser-sming.c:4102:3: error: expected identifier or '(' before 'case' 4102 | } | ^ ~ parser-sming.c:4117:5: error: expected identifier or '(' before 'break' 4117 | if (defaultBasetype == SMI_BASETYPE_OCTETSTRING) { | ^ ~~ parser-sming.c:4119:3: error: expected identifier or '(' before 'case' 4119 | (yyval.valuePtr)->basetype = SMI_BASETYPE_OCTETSTRING; | ^ ~~ parser-sming.c:4130:5: error: expected identifier or '(' before 'break' 4130 | | ^ parser-sming.c:4132:3: error: expected identifier or '(' before 'case' 4132 | #line 2971 "parser-sming.y" | ^~~~ parser-sming.c:4147:5: error: expected identifier or '(' before 'break' 4147 | (yyval.valuePtr)->value.ptr = (yyvsp[0].text); | ^~~~~ parser-sming.c:4149:3: error: expected identifier or '(' before 'case' 4149 | /* TODO: XXX convert to oid if found */ | ^ ~~ parser-sming.c:4159:5: error: expected identifier or '(' before 'break' 4159 | smiPrintError(thisParserPtr, | ^~~~~ parser-sming.c:4161:3: error: expected identifier or '(' before 'case' 4161 | (yyval.valuePtr) = NULL; | ^ ~~ parser-sming.c:4178:5: error: expected identifier or '(' before 'break' 4178 | smiPrintError(thisParserPtr, | ^ ~ parser-sming.c:4180:3: error: expected identifier or '(' before 'case' 4180 | } | ^~ parser-sming.c:4194:5: error: expected identifier or '(' before 'break' 4194 | #line 5266 "parser-sming.c" | ^~~~~ parser-sming.c:4196:3: error: expected identifier or '(' before 'case' 4196 | | ^ parser-sming.c:4228:5: error: expected identifier or '(' before 'break' 4228 | break; | ^~~~~ parser-sming.c:4230:3: error: expected identifier or '(' before 'case' 4230 | case 263: /* number: hexadecimalNumber */ | ^~~~ parser-sming.c:4236:5: error: expected identifier or '(' before 'break' 4236 | } | ^ parser-sming.c:4238:3: error: expected identifier or '(' before 'case' 4238 | break; | ^ ~~ parser-sming.c:4244:5: error: expected identifier or '(' before 'break' 4244 | (yyval.valuePtr)->basetype = SMI_BASETYPE_UNSIGNED64; | ^ ~~ parser-sming.c:4246:3: error: expected identifier or '(' before 'case' 4246 | } | ^~ parser-sming.c:4252:5: error: expected identifier or '(' before 'break' 4252 | { | ^ parser-sming.c:4254:3: error: expected identifier or '(' before 'case' 4254 | smiPrintError(thisParserPtr, | ^ ~~ parser-sming.c:4260:5: error: expected identifier or '(' before 'break' 4260 | (yyval.valuePtr)->value.integer64 = - strtoll((yyvsp[0].text), NULL, 10); | ^ ~~ parser-sming.c:4262:3: error: expected identifier or '(' before 'case' 4262 | #line 5334 "parser-sming.c" | ^~~~ parser-sming.c:4268:5: error: expected identifier or '(' before 'break' 4268 | (yyval.valuePtr) = (yyvsp[0].valuePtr); | ^ ~~ parser-sming.c:4270:3: error: expected identifier or '(' before 'case' 4270 | #line 5342 "parser-sming.c" | ^~~~ parser-sming.c:4276:5: error: expected identifier or '(' before 'break' 4276 | (yyval.valuePtr) = (yyvsp[0].valuePtr); | ^ ~~ parser-sming.c:4278:3: error: expected identifier or '(' before 'case' 4278 | #line 5350 "parser-sming.c" | ^~~~ parser-sming.c:4286:5: error: expected identifier or '(' before 'break' 4286 | #line 5358 "parser-sming.c" | ^~~~~ parser-sming.c:4288:3: error: expected identifier or '(' before 'case' 4288 | | ^ parser-sming.c:4294:5: error: expected identifier or '(' before 'break' 4294 | #line 5366 "parser-sming.c" | ^~~~~ parser-sming.c:4296:3: error: expected identifier or '(' before 'case' 4296 | | ^ parser-sming.c:4302:5: error: expected identifier or '(' before 'break' 4302 | #line 5374 "parser-sming.c" | ^~~~~ parser-sming.c:4304:3: error: expected identifier or '(' before 'case' 4304 | | ^ parser-sming.c:4312:5: error: expected identifier or '(' before 'break' 4312 | | ^ parser-sming.c:4314:3: error: expected identifier or '(' before 'case' 4314 | #line 5386 "parser-sming.c" | ^~~~ parser-sming.c:4327:5: error: expected identifier or '(' before 'break' 4327 | to an incorrect destructor call or verbose syntax error message | ^~~~~ parser-sming.c:4329:3: error: expected identifier or '(' before 'case' 4329 | YY_SYMBOL_PRINT ("-> $$ =", YY_CAST (yysymbol_kind_t, yyr1[yyn]), &yyval, &yyloc); | ^~~~ parser-sming.c:4335:5: error: expected identifier or '(' before 'break' 4335 | | ^ parser-sming.c:4337:3: error: expected identifier or '(' before 'case' 4337 | that goes to, based on the state we popped back to and the rule | ^ ~ parser-sming.c:4351:5: error: expected identifier or '(' before 'break' 4351 | | yyerrlab -- here on detecting error. | | ^~~~~ parser-sming.c:4353:3: error: expected identifier or '(' before 'case' 4353 | yyerrlab: | ^~~~ parser-sming.c:4359:5: error: expected identifier or '(' before 'break' 4359 | { | ^ parser-sming.c:4361:3: error: expected identifier or '(' before 'case' 4361 | yyerror (parserPtr, YY_("syntax error")); | ^ parser-sming.c:4367:5: error: expected identifier or '(' before 'break' 4367 | error, discard it. */ | ^ parser-sming.c:4369:3: error: expected identifier or '(' before 'case' 4369 | if (yychar <= YYEOF) | ^ parser-sming.c:4375:5: error: expected identifier or '(' before 'break' 4375 | else | ^ ~~~ parser-sming.c:4377:3: error: expected identifier or '(' before 'case' 4377 | yydestruct ("Error: discarding", | ^ parser-sming.c:4383:5: error: expected identifier or '(' before 'break' 4383 | /* Else will try to reuse lookahead token after shifting the error | ^~~~~ parser-sming.c:4385:3: error: expected identifier or '(' before 'case' 4385 | goto yyerrlab1; | ^~~~ parser-sming.c:4391:5: error: expected identifier or '(' before 'break' 4391 | yyerrorlab: | ^~~~~ parser-sming.c:4393:3: error: expected identifier or '(' before 'case' 4393 | label yyerrorlab therefore never appears in user code. */ | ^ ~ parser-sming.c:4401:5: error: expected identifier or '(' before 'break' 4401 | YY_STACK_PRINT (yyss, yyssp); | ^~~~~ parser-sming.c:4403:3: error: expected identifier or '(' before 'case' 4403 | goto yyerrlab1; | ^~~~ parser-sming.c:4409:5: error: expected identifier or '(' before 'break' 4409 | yyerrlab1: | ^~~~~ parser-sming.c:4411:3: error: expected identifier or '(' before 'case' 4411 | | ^ parser-sming.c:4417:5: error: expected identifier or '(' before 'break' 4417 | { | ^ ~ parser-sming.c:4419:3: error: expected identifier or '(' before 'case' 4419 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | ^ parser-sming.c:4427:5: error: expected identifier or '(' before 'break' 4427 | /* Pop the current state because it cannot handle the error token. */ | ^ ~~~ parser-sming.c:4429:3: error: expected identifier or '(' before 'case' 4429 | YYABORT; | ^ parser-sming.c:4442:5: error: expected identifier or '(' before 'break' 4442 | | ^ parser-sming.c:4444:3: error: expected identifier or '(' before 'case' 4444 | /* Shift the error token. */ | ^~~~ parser-sming.c:4450:5: error: expected identifier or '(' before 'break' 4450 | | ^ parser-sming.c:4452:3: error: expected identifier or '(' before 'case' 4452 | | yyacceptlab -- YYACCEPT comes here. | | ^~~~ parser-sming.c:4468:5: error: expected identifier or '(' before 'break' 4468 | /*-------------------------------------------------. | ^~~~~ parser-sming.c:4470:3: error: expected identifier or '(' before 'case' 4470 | `-------------------------------------------------*/ | ^~~~ parser-sming.c:4476:5: error: expected identifier or '(' before 'break' 4476 | | ^ parser-sming.c:4478:3: error: expected identifier or '(' before 'case' 4478 | /*-------------------------------------------------------. | ^~~~ parser-sming.c:4484:5: error: expected identifier or '(' before 'break' 4484 | /* Make sure we have latest lookahead translation. See comments at | ^ ~~~ parser-sming.c:4486:3: error: expected identifier or '(' before 'case' 4486 | yytoken = YYTRANSLATE (yychar); | ^ parser-sming.c:4492:5: error: expected identifier or '(' before 'break' 4492 | YYPOPSTACK (yylen); | ^~~~~ parser-sming.c:4494:3: error: expected identifier or '(' before 'case' 4494 | while (yyssp != yyss) | ^~~~ parser-sming.c:4500:5: error: expected identifier or '(' before 'break' 4500 | #ifndef yyoverflow | ^~~~~ parser-sming.c:4502:3: error: expected identifier or '(' before 'case' 4502 | YYSTACK_FREE (yyss); | ^ ~~ parser-sming.c:4508:5: error: expected identifier or '(' before 'break' 4508 | #line 3113 "parser-sming.y" | ^~~~~ parser-sming.c:4510:3: error: expected identifier or '(' before 'case' 4510 | | ^ parser-sming.c:4516:5: error: expected identifier or '(' before 'break' parser-sming.c:4518:3: error: expected identifier or '(' before 'case' parser-sming.c:4524:5: error: expected identifier or '(' before 'break' parser-sming.c:4526:3: error: expected identifier or '(' before 'case' parser-sming.c:4532:5: error: expected identifier or '(' before 'break' parser-sming.c:4534:3: error: expected identifier or '(' before 'case' parser-sming.c:4543:5: error: expected identifier or '(' before 'break' parser-sming.c:4545:3: error: expected identifier or '(' before 'case' parser-sming.c:4551:5: error: expected identifier or '(' before 'break' parser-sming.c:4553:3: error: expected identifier or '(' before 'case' parser-sming.c:4559:5: error: expected identifier or '(' before 'break' parser-sming.c:4561:3: error: expected identifier or '(' before 'case' parser-sming.c:4569:5: error: expected identifier or '(' before 'break' parser-sming.c:4571:3: error: expected identifier or '(' before 'case' parser-sming.c:4577:5: error: expected identifier or '(' before 'break' parser-sming.c:4579:3: error: expected identifier or '(' before 'case' parser-sming.c:4585:5: error: expected identifier or '(' before 'break' parser-sming.c:4587:3: error: expected identifier or '(' before 'case' parser-sming.c:4595:5: error: expected identifier or '(' before 'break' parser-sming.c:4597:3: error: expected identifier or '(' before 'case' parser-sming.c:4610:5: error: expected identifier or '(' before 'break' parser-sming.c:4612:3: error: expected identifier or '(' before 'case' parser-sming.c:4618:5: error: expected identifier or '(' before 'break' parser-sming.c:4620:3: error: expected identifier or '(' before 'case' parser-sming.c:4628:5: error: expected identifier or '(' before 'break' parser-sming.c:4630:3: error: expected identifier or '(' before 'case' parser-sming.c:4638:5: error: expected identifier or '(' before 'break' parser-sming.c:4640:3: error: expected identifier or '(' before 'case' parser-sming.c:4646:5: error: expected identifier or '(' before 'break' parser-sming.c:4648:3: error: expected identifier or '(' before 'case' parser-sming.c:4654:5: error: expected identifier or '(' before 'break' parser-sming.c:4656:3: error: expected identifier or '(' before 'case' parser-sming.c:4664:5: error: expected identifier or '(' before 'break' parser-sming.c:4666:3: error: expected identifier or '(' before 'case' parser-sming.c:4679:5: error: expected identifier or '(' before 'break' parser-sming.c:4681:3: error: expected identifier or '(' before 'case' parser-sming.c:4687:5: error: expected identifier or '(' before 'break' parser-sming.c:4689:3: error: expected identifier or '(' before 'case' parser-sming.c:4695:5: error: expected identifier or '(' before 'break' parser-sming.c:4697:3: error: expected identifier or '(' before 'case' parser-sming.c:4703:5: error: expected identifier or '(' before 'break' parser-sming.c:4705:3: error: expected identifier or '(' before 'case' parser-sming.c:4713:5: error: expected identifier or '(' before 'break' parser-sming.c:4715:3: error: expected identifier or '(' before 'case' parser-sming.c:4721:5: error: expected identifier or '(' before 'break' parser-sming.c:4723:3: error: expected identifier or '(' before 'case' parser-sming.c:4729:5: error: expected identifier or '(' before 'break' parser-sming.c:4731:3: error: expected identifier or '(' before 'case' parser-sming.c:4739:5: error: expected identifier or '(' before 'break' parser-sming.c:4741:3: error: expected identifier or '(' before 'case' parser-sming.c:4754:5: error: expected identifier or '(' before 'break' parser-sming.c:4756:3: error: expected identifier or '(' before 'case' parser-sming.c:4762:5: error: expected identifier or '(' before 'break' parser-sming.c:4764:3: error: expected identifier or '(' before 'case' parser-sming.c:4770:5: error: expected identifier or '(' before 'break' parser-sming.c:4772:3: error: expected identifier or '(' before 'case' parser-sming.c:4778:5: error: expected identifier or '(' before 'break' parser-sming.c:4780:3: error: expected identifier or '(' before 'case' parser-sming.c:4793:5: error: expected identifier or '(' before 'break' parser-sming.c:4795:3: error: expected identifier or '(' before 'case' parser-sming.c:4801:5: error: expected identifier or '(' before 'break' parser-sming.c:4803:3: error: expected identifier or '(' before 'case' parser-sming.c:4814:5: error: expected identifier or '(' before 'break' parser-sming.c:4816:3: error: expected identifier or '(' before 'case' parser-sming.c:4822:5: error: expected identifier or '(' before 'break' parser-sming.c:4824:3: error: expected identifier or '(' before 'case' parser-sming.c:4843:5: error: expected identifier or '(' before 'break' parser-sming.c:4845:3: error: expected identifier or '(' before 'case' parser-sming.c:4851:5: error: expected identifier or '(' before 'break' parser-sming.c:4853:3: error: expected identifier or '(' before 'case' parser-sming.c:4859:5: error: expected identifier or '(' before 'break' parser-sming.c:4861:3: error: expected identifier or '(' before 'case' parser-sming.c:4867:5: error: expected identifier or '(' before 'break' parser-sming.c:4869:3: error: expected identifier or '(' before 'case' parser-sming.c:4879:5: error: expected identifier or '(' before 'break' parser-sming.c:4881:3: error: expected identifier or '(' before 'case' parser-sming.c:4887:5: error: expected identifier or '(' before 'break' parser-sming.c:4889:3: error: expected identifier or '(' before 'case' parser-sming.c:4895:5: error: expected identifier or '(' before 'break' parser-sming.c:4897:3: error: expected identifier or '(' before 'case' parser-sming.c:4903:5: error: expected identifier or '(' before 'break' parser-sming.c:4905:3: error: expected identifier or '(' before 'case' parser-sming.c:4911:5: error: expected identifier or '(' before 'break' parser-sming.c:4913:3: error: expected identifier or '(' before 'case' parser-sming.c:4934:5: error: expected identifier or '(' before 'break' parser-sming.c:4936:3: error: expected identifier or '(' before 'case' parser-sming.c:4976:5: error: expected identifier or '(' before 'break' parser-sming.c:4978:3: error: expected identifier or '(' before 'case' parser-sming.c:5000:5: error: expected identifier or '(' before 'break' parser-sming.c:5002:3: error: expected identifier or '(' before 'case' parser-sming.c:5041:5: error: expected identifier or '(' before 'break' parser-sming.c:5043:3: error: expected identifier or '(' before 'case' parser-sming.c:5093:5: error: expected identifier or '(' before 'break' parser-sming.c:5095:3: error: expected identifier or '(' before 'case' parser-sming.c:5138:5: error: expected identifier or '(' before 'break' parser-sming.c:5140:3: error: expected identifier or '(' before 'case' parser-sming.c:5183:5: error: expected identifier or '(' before 'break' parser-sming.c:5185:3: error: expected identifier or '(' before 'case' parser-sming.c:5200:5: error: expected identifier or '(' before 'break' parser-sming.c:5202:3: error: expected identifier or '(' before 'case' parser-sming.c:5237:5: error: expected identifier or '(' before 'break' parser-sming.c:5239:3: error: expected identifier or '(' before 'case' parser-sming.c:5253:5: error: expected identifier or '(' before 'break' parser-sming.c:5255:3: error: expected identifier or '(' before 'case' parser-sming.c:5266:5: error: expected identifier or '(' before 'break' parser-sming.c:5268:3: error: expected identifier or '(' before 'case' parser-sming.c:5275:5: error: expected identifier or '(' before 'break' parser-sming.c:5277:3: error: expected identifier or '(' before 'case' parser-sming.c:5283:5: error: expected identifier or '(' before 'break' parser-sming.c:5285:3: error: expected identifier or '(' before 'case' parser-sming.c:5291:5: error: expected identifier or '(' before 'break' parser-sming.c:5293:3: error: expected identifier or '(' before 'case' parser-sming.c:5299:5: error: expected identifier or '(' before 'break' parser-sming.c:5301:3: error: expected identifier or '(' before 'case' parser-sming.c:5309:5: error: expected identifier or '(' before 'break' parser-sming.c:5311:3: error: expected identifier or '(' before 'case' parser-sming.c:5319:5: error: expected identifier or '(' before 'break' parser-sming.c:5321:3: error: expected identifier or '(' before 'case' parser-sming.c:5334:5: error: expected identifier or '(' before 'break' parser-sming.c:5336:3: error: expected identifier or '(' before 'case' parser-sming.c:5342:5: error: expected identifier or '(' before 'break' parser-sming.c:5344:3: error: expected identifier or '(' before 'case' parser-sming.c:5350:5: error: expected identifier or '(' before 'break' parser-sming.c:5352:3: error: expected identifier or '(' before 'case' parser-sming.c:5358:5: error: expected identifier or '(' before 'break' parser-sming.c:5360:3: error: expected identifier or '(' before 'case' parser-sming.c:5366:5: error: expected identifier or '(' before 'break' parser-sming.c:5368:3: error: expected identifier or '(' before 'case' parser-sming.c:5374:5: error: expected identifier or '(' before 'break' parser-sming.c:5376:3: error: expected identifier or '(' before 'case' parser-sming.c:5382:5: error: expected identifier or '(' before 'break' parser-sming.c:5387:7: error: expected identifier or '(' before 'default' parser-sming.c:5388:5: error: expected identifier or '(' before '}' token parser-sming.c:5400:20: error: expected declaration specifiers or '...' before string constant parser-sming.c:406:31: error: expected declaration specifiers or '...' before '(' token 406 | # define YY_CAST(Type, Val) ((Type) (Val)) | ^ parser-sming.c:5400:31: note: in expansion of macro 'YY_CAST' parser-sming.c:5400:69: error: expected declaration specifiers or '...' before '&' token parser-sming.c:5400:77: error: expected declaration specifiers or '...' before '&' token parser-sming.c:5402:3: warning: data definition has no type or storage class parser-sming.c:5402:3: warning: type defaults to 'int' in declaration of 'YYPOPSTACK' [-Wimplicit-int] parser-sming.c:5402:3: warning: parameter names (without types) in function declaration parser-sming.c:5403:3: warning: data definition has no type or storage class parser-sming.c:5403:3: warning: type defaults to 'int' in declaration of 'yylen' [-Wimplicit-int] parser-sming.c:5405:4: error: expected identifier or '(' before '++' token parser-sming.c:5410:3: error: expected identifier or '(' before '{' token parser-sming.c:5418:3: error: expected identifier or '(' before 'goto' parser-sming.c:5424:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-sming.c:5429:3: error: expected identifier or '(' before 'if' parser-sming.c:5435:3: error: expected identifier or '(' before 'if' parser-sming.c:5456:3: error: expected identifier or '(' before 'goto' parser-sming.c:5462:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-sming.c:5470:3: warning: data definition has no type or storage class parser-sming.c:5470:3: warning: type defaults to 'int' in declaration of 'YYPOPSTACK' [-Wimplicit-int] parser-sming.c:5470:3: warning: parameter names (without types) in function declaration parser-sming.c:5471:3: warning: data definition has no type or storage class parser-sming.c:5471:3: warning: type defaults to 'int' in declaration of 'yylen' [-Wimplicit-int] parser-sming.c:5471:3: error: redefinition of 'yylen' parser-sming.c:5403:3: note: previous definition of 'yylen' was here parser-sming.c:5472:3: warning: data definition has no type or storage class parser-sming.c:5472:3: warning: type defaults to 'int' in declaration of 'YY_STACK_PRINT' [-Wimplicit-int] parser-sming.c:5472:3: warning: parameter names (without types) in function declaration parser-sming.c:5473:3: warning: data definition has no type or storage class parser-sming.c:5473:3: warning: type defaults to 'int' in declaration of 'yystate' [-Wimplicit-int] parser-sming.c:5473:14: error: 'yyssp' undeclared here (not in a function) parser-sming.c:5474:3: error: expected identifier or '(' before 'goto' parser-sming.c:5480:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-sming.c:5484:3: error: expected identifier or '(' before 'for' parser-sming.c:5484:10: error: expected identifier or '(' before ')' token parser-sming.c:5511:4: error: expected identifier or '(' before '++' token parser-sming.c:5516:20: error: expected declaration specifiers or '...' before string constant parser-sming.c:406:31: error: expected declaration specifiers or '...' before '(' token 406 | # define YY_CAST(Type, Val) ((Type) (Val)) | ^ parser-sming.c:1100:36: note: in expansion of macro 'YY_CAST' 1100 | #define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State]) | ^~~~~~~ parser-sming.c:5516:32: note: in expansion of macro 'YY_ACCESSING_SYMBOL' parser-sming.c:5516:59: error: unknown type name 'yyvsp' parser-sming.c:5516:66: error: unknown type name 'yylsp' parser-sming.c:5518:3: warning: data definition has no type or storage class parser-sming.c:5518:3: warning: type defaults to 'int' in declaration of 'yystate' [-Wimplicit-int] parser-sming.c:5518:3: error: redefinition of 'yystate' parser-sming.c:5473:3: note: previous definition of 'yystate' was here parser-sming.c:5518:13: error: 'yyn' undeclared here (not in a function); did you mean 'yylen'? parser-sming.c:5519:3: error: expected identifier or '(' before 'goto' parser-sming.c:5525:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-sming.c:5527:3: error: expected identifier or '(' before 'goto' parser-sming.c:5533:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-sming.c:5535:3: error: expected identifier or '(' before 'goto' parser-sming.c:5542:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-sming.c:5544:3: warning: data definition has no type or storage class parser-sming.c:5544:3: warning: type defaults to 'int' in declaration of 'yyresult' [-Wimplicit-int] parser-sming.c:5545:3: error: expected identifier or '(' before 'goto' parser-sming.c:5552:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-sming.c:5563:3: warning: data definition has no type or storage class parser-sming.c:5563:3: warning: type defaults to 'int' in declaration of 'YYPOPSTACK' [-Wimplicit-int] parser-sming.c:5563:3: warning: parameter names (without types) in function declaration parser-sming.c:5564:3: warning: data definition has no type or storage class parser-sming.c:5564:3: warning: type defaults to 'int' in declaration of 'YY_STACK_PRINT' [-Wimplicit-int] parser-sming.c:5564:3: warning: parameter names (without types) in function declaration parser-sming.c:5565:3: error: expected identifier or '(' before 'while' parser-sming.c:5572:3: error: expected identifier or '(' before 'if' parser-sming.c:5576:3: error: expected identifier or '(' before 'return' parser-sming.c:5577:1: error: expected identifier or '(' before '}' token parser-sming.c:1571:27: warning: 'yyr1' defined but not used [-Wunused-const-variable=] 1571 | static const yytype_uint8 yyr1[] = | ^~~~ parser-sming.c:1511:27: warning: 'yystos' defined but not used [-Wunused-const-variable=] 1511 | static const yytype_uint8 yystos[] = | ^~~~~~ parser-sming.c:1450:27: warning: 'yycheck' defined but not used [-Wunused-const-variable=] 1450 | static const yytype_int16 yycheck[] = | ^~~~~~~ parser-sming.c:1391:27: warning: 'yytable' defined but not used [-Wunused-const-variable=] 1391 | static const yytype_int16 yytable[] = | ^~~~~~~ parser-sming.c:1366:27: warning: 'yydefgoto' defined but not used [-Wunused-const-variable=] 1366 | static const yytype_int16 yydefgoto[] = | ^~~~~~~~~ parser-sming.c:1343:27: warning: 'yypgoto' defined but not used [-Wunused-const-variable=] 1343 | static const yytype_int16 yypgoto[] = | ^~~~~~~ parser-sming.c:1283:27: warning: 'yydefact' defined but not used [-Wunused-const-variable=] 1283 | static const yytype_int16 yydefact[] = | ^~~~~~~~ parser-sming.c:1221:27: warning: 'yypact' defined but not used [-Wunused-const-variable=] 1221 | static const yytype_int16 yypact[] = | ^~~~~~ parser-sming.c:1066:27: warning: 'yyrline' defined but not used [-Wunused-const-variable=] 1066 | static const yytype_int16 yyrline[] = | ^~~~~~~ parser-sming.c:1027:26: warning: 'yytranslate' defined but not used [-Wunused-const-variable=] 1027 | static const yytype_int8 yytranslate[] = | ^~~~~~~~~~~ parser-sming.y:304:13: warning: 'createBitsValue' defined but not used [-Wunused-function] 304 | static void createBitsValue(SmiValue *valuePtr, Type *typePtr) | ^~~~~~~~~~~~~~~ parser-sming.y:275:14: warning: 'hexToStr' defined but not used [-Wunused-function] 275 | static char *hexToStr(char *hexStr, int len) | ^~~~~~~~ parser-sming.y:197:1: warning: 'checkDate' defined but not used [-Wunused-function] 197 | checkDate(Parser *parserPtr, char *date) | ^~~~~~~~~ parser-sming.y:171:1: warning: 'checkTypes' defined but not used [-Wunused-function] 171 | checkTypes(Parser *parserPtr, Module *modulePtr) | ^~~~~~~~~~ parser-sming.y:146:1: warning: 'findClass' defined but not used [-Wunused-function] 146 | findClass(char *spec, Parser *parserPtr, Module *modulePtr) | ^~~~~~~~~ parser-sming.y:121:1: warning: 'findIdentity' defined but not used [-Wunused-function] 121 | findIdentity(char *spec, Parser *parserPtr, Module *modulePtr) | ^~~~~~~~~~~~ parser-sming.y:95:1: warning: 'findType' defined but not used [-Wunused-function] 95 | findType(char *spec, Parser *parserPtr, Module *modulePtr) | ^~~~~~~~ parser-sming.y:89:12: warning: 'attributeFlag' defined but not used [-Wunused-variable] 89 | static int attributeFlag = 0; | ^~~~~~~~~~~~~ parser-sming.y:82:12: warning: 'bitsFlag' defined but not used [-Wunused-variable] 82 | static int bitsFlag = 0; | ^~~~~~~~ parser-sming.y:78:21: warning: 'namedNumberPtr' defined but not used [-Wunused-variable] 78 | static NamedNumber *namedNumberPtr = NULL; | ^~~~~~~~~~~~~~ parser-sming.y:77:20: warning: 'defaultBasetype' defined but not used [-Wunused-variable] 77 | static SmiBasetype defaultBasetype = SMI_BASETYPE_UNKNOWN; | ^~~~~~~~~~~~~~~ parser-sming.y:76:15: warning: 'eventPtr' defined but not used [-Wunused-variable] 76 | static Event *eventPtr = NULL; | ^~~~~~~~ parser-sming.y:75:19: warning: 'attributePtr' defined but not used [-Wunused-variable] 75 | static Attribute *attributePtr = NULL; | ^~~~~~~~~~~~ parser-sming.y:74:15: warning: 'classPtr' defined but not used [-Wunused-variable] 74 | static Class *classPtr = NULL; | ^~~~~~~~ parser-sming.y:73:18: warning: 'identityPtr' defined but not used [-Wunused-variable] 73 | static Identity *identityPtr = NULL; | ^~~~~~~~~~~ parser-sming.y:72:15: warning: 'macroPtr' defined but not used [-Wunused-variable] 72 | static Macro *macroPtr = NULL; | ^~~~~~~~ parser-sming.y:71:14: warning: 'typePtr' defined but not used [-Wunused-variable] 71 | static Type *typePtr = NULL; | ^~~~~~~ parser-sming.y:70:14: warning: 'importModulename' defined but not used [-Wunused-variable] 70 | static char *importModulename = NULL; | ^~~~~~~~~~~~~~~~ parser-sming.y:69:25: warning: 'attributeIdentifier' defined but not used [-Wunused-variable] 69 | *classIdentifier, *attributeIdentifier; | ^~~~~~~~~~~~~~~~~~~ parser-sming.y:69:7: warning: 'classIdentifier' defined but not used [-Wunused-variable] 69 | *classIdentifier, *attributeIdentifier; | ^~~~~~~~~~~~~~~ parser-sming.y:68:49: warning: 'identityIdentifier' defined but not used [-Wunused-variable] 68 | static char *typeIdentifier, *macroIdentifier, *identityIdentifier, | ^~~~~~~~~~~~~~~~~~ parser-sming.y:68:31: warning: 'macroIdentifier' defined but not used [-Wunused-variable] 68 | static char *typeIdentifier, *macroIdentifier, *identityIdentifier, | ^~~~~~~~~~~~~~~ parser-sming.y:68:14: warning: 'typeIdentifier' defined but not used [-Wunused-variable] 68 | static char *typeIdentifier, *macroIdentifier, *identityIdentifier, | ^~~~~~~~~~~~~~ make[2]: *** [Makefile:570: parser-sming.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' /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/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[1]: *** [Makefile:518: all-recursive] Error 1 make: *** [Makefile:404: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.79316 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.79316 (%build) Command exited with non-zero status 1 23.42user 6.94system 0:19.56elapsed 155%CPU (0avgtext+0avgdata 26756maxresident)k 0inputs+0outputs (0major+1141686minor)pagefaults 0swaps hsh-rebuild: rebuild of `libsmi-0.5.0-alt2.src.rpm' failed. Command exited with non-zero status 1 31.90user 13.04system 0:32.95elapsed 136%CPU (0avgtext+0avgdata 101916maxresident)k 0inputs+0outputs (0major+1419395minor)pagefaults 0swaps