<86>Apr 24 11:59:18 userdel[1897031]: delete user 'rooter' <86>Apr 24 11:59:18 userdel[1897031]: removed group 'rooter' owned by 'rooter' <86>Apr 24 11:59:18 userdel[1897031]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 24 11:59:18 groupadd[1897041]: group added to /etc/group: name=rooter, GID=654 <86>Apr 24 11:59:18 groupadd[1897041]: group added to /etc/gshadow: name=rooter <86>Apr 24 11:59:18 groupadd[1897041]: new group: name=rooter, GID=654 <86>Apr 24 11:59:18 useradd[1897048]: new user: name=rooter, UID=654, GID=654, home=/root, shell=/bin/bash <86>Apr 24 11:59:18 userdel[1897065]: delete user 'builder' <86>Apr 24 11:59:18 userdel[1897065]: removed group 'builder' owned by 'builder' <86>Apr 24 11:59:18 userdel[1897065]: removed shadow group 'builder' owned by 'builder' <86>Apr 24 11:59:18 groupadd[1897075]: group added to /etc/group: name=builder, GID=655 <86>Apr 24 11:59:18 groupadd[1897075]: group added to /etc/gshadow: name=builder <86>Apr 24 11:59:18 groupadd[1897075]: new group: name=builder, GID=655 <86>Apr 24 11:59:18 useradd[1897079]: new user: name=builder, UID=655, GID=655, home=/usr/src, shell=/bin/bash <13>Apr 24 11:59:22 rpmi: libidn2-2.3.0-alt1 sisyphus+240846.100.1.2 1573870475 installed <13>Apr 24 11:59:22 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+262033.600.7.2 1607340230 installed <13>Apr 24 11:59:23 rpmi: libstdc++10-devel-10.2.1-alt3 sisyphus+267829.100.1.1 1615808579 installed <13>Apr 24 11:59:24 rpmi: gcc10-c++-10.2.1-alt3 sisyphus+267829.100.1.1 1615808579 installed <13>Apr 24 11:59:24 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Apr 24 11:59:24 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Apr 24 11:59:24 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 24 11:59:24 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 24 11:59:24 rpmi: ca-certificates-2021.03.24-alt1 sisyphus+268304.300.1.1 1616591829 installed <13>Apr 24 11:59:24 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Apr 24 11:59:24 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Apr 24 11:59:24 rpmi: libcrypto1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>Apr 24 11:59:24 rpmi: libssl1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>Apr 24 11:59:24 rpmi: wget-1.21-alt1 sisyphus+264267.100.1.1 1609523553 installed <13>Apr 24 11:59:24 rpmi: gcc-c++-10-alt1 sisyphus+263054.200.3.1 1607516810 installed <13>Apr 24 11:59:24 rpmi: flex-2.6.4.0.88.9801-alt1 sisyphus+221902.2300.4.1 1550596430 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/libsmi-0.5.0-alt1.svn1841.nosrc.rpm (w1.gzdio) Installing libsmi-0.5.0-alt1.svn1841.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.80591 + 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 #2 (libsmi-0.4.8-alt-man.patch):' Patch #2 (libsmi-0.4.8-alt-man.patch): + /usr/bin/patch -p1 patching file tools/smicache.1.in + echo 'Patch #3 (libsmi-deb-smistrip.patch):' Patch #3 (libsmi-deb-smistrip.patch): + /usr/bin/patch -p1 patching file tools/smistrip.in + echo 'Patch #4 (libsmi-alt-fix-build.patch):' Patch #4 (libsmi-alt-fix-build.patch): + /usr/bin/patch -p1 patching file lib/Makefile.am + echo 'Patch #5 (libsmi-0.5.0-alt-yyleng.patch):' Patch #5 (libsmi-0.5.0-alt-yyleng.patch): + /usr/bin/patch -p1 patching file lib/scanner-smi.h patching file lib/scanner-sming.h patching file lib/scanner-yang.h + echo 'Patch #7 (libsmi-0.4.8-alt-bison.patch):' Patch #7 (libsmi-0.4.8-alt-bison.patch): + /usr/bin/patch -p1 patching file lib/parser-sming.y Hunk #1 succeeded at 1550 (offset -6 lines). + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.62384 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libsmi-0.5.0 + 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 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + 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 -- '{}' + sort -u + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --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 i586-alt-linux-gcc... i586-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 i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking whether i586-alt-linux-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of i586-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... i586-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... i586-alt-linux-gnu checking host system type... i586-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 i586-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 i586-alt-linux-gnu file names to i586-alt-linux-gnu format... func_convert_file_noop checking how to convert i586-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 i586-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for i586-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i586-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i586-alt-linux-strip... no checking for strip... strip checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from i586-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 i586-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 i586-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i586-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-gcc static flag -static works... no checking if i586-alt-linux-gcc supports -c -o file.o... yes checking if i586-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-gcc linker (/usr/bin/ld) 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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o util.lo util.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o common.lo common.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o yang-complex-types.lo yang-complex-types.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o error.lo error.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o snprintf.lo snprintf.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o yang.lo yang.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o yang-check.lo yang-check.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o smi-check.lo smi-check.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o smi2yang.lo smi2yang.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o yang-data.lo yang-data.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o smi-data.lo smi-data.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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-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-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' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o smi.lo smi.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 In file included from /usr/include/string.h:532, from smi.c:18: In function 'strncpy', inlined from 'smiValueAsString' at smi.c:566:3: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 2 bytes from a string of length 8 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'smiValueAsString' at smi.c:549:7: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 2 bytes from a string of length 8 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'smiValueAsString' at smi.c:535:7: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 2 bytes from a string of length 8 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/flex -Cfe -Psmi -t -o scanner-smi.c scanner-smi.l > scanner-smi.c make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/bison --defines=parser-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-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/flex -Cfe -Psming -t -o scanner-sming.c scanner-sming.l > scanner-sming.c make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/bison --defines=parser-yang.tab.h -t -pyang -o parser-yang.c parser-yang.y parser-yang.y:271.1-12: warning: deprecated directive: '%pure_parser', use '%define api.pure' [-Wdeprecated] 271 | %pure_parser | ^~~~~~~~~~~~ | %define api.pure parser-yang.y: warning: 56 shift/reduce conflicts [-Wconflicts-sr] parser-yang.y: warning: 1088 reduce/reduce conflicts [-Wconflicts-rr] parser-yang.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples parser-yang.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/bison --defines=parser-yang.tab.h -t -pyang -o parser-yang.c parser-yang.y parser-yang.y:271.1-12: warning: deprecated directive: '%pure_parser', use '%define api.pure' [-Wdeprecated] 271 | %pure_parser | ^~~~~~~~~~~~ | %define api.pure parser-yang.y: warning: 56 shift/reduce conflicts [-Wconflicts-sr] parser-yang.y: warning: 1088 reduce/reduce conflicts [-Wconflicts-rr] parser-yang.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples parser-yang.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/flex -Cfe -Pyang -t -o scanner-yang.c scanner-yang.l > scanner-yang.c make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o parser-yang.lo parser-yang.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c parser-yang.c -fPIC -DPIC -o .libs/parser-yang.o parser-yang.y: In function 'checkDate': parser-yang.y:243:12: warning: implicit declaration of function 'timegm'; did you mean 'time'? [-Wimplicit-function-declaration] 243 | anytime = timegm(&tm); | ^~~~~~ | time parser-yang.c: At top level: parser-yang.c:585:11: warning: null character(s) ignored 585 | YYSYMBOL_237_26 = 237, /* $@26 */ | ^ parser-yang.c:585: error: expected ',' or '}' before 'if' 585 | YYSYMBOL_237_26 = 237, /* $@26 */ | parser-yang.c:590:27: error: expected identifier or '(' before 'else' 590 | YYSYMBOL_ordered_byStatement = 242, /* ordered_byStatement */ | ^~~~ parser-yang.c:599:25: warning: data definition has no type or storage class 599 | YYSYMBOL_251_28 = 251, /* $@28 */ | ^~~~~~~~~~~~~ parser-yang.c:599:25: warning: type defaults to 'int' in declaration of 'currentParser' [-Wimplicit-int] parser-yang.c:599:25: error: conflicting types for 'currentParser' parser-yang.y:153:9: note: previous definition of 'currentParser' was here 153 | Parser *currentParser = NULL; | ^~~~~~~~~~~~~ parser-yang.y:50:39: error: 'parserPtr' undeclared here (not in a function) 50 | #define thisParserPtr ((Parser *)parserPtr) | ^~~~~~~~~ parser-yang.c:599:41: note: in expansion of macro 'thisParserPtr' 599 | YYSYMBOL_251_28 = 251, /* $@28 */ | ^~~~~~~~~~~~~ parser-yang.y:51:31: error: expected identifier or '(' before 'Parser' 51 | #define thisModulePtr (((Parser *)parserPtr)->yangModulePtr) | ^~~~~~ parser-yang.c:600:25: note: in expansion of macro 'thisModulePtr' 600 | YYSYMBOL_caseSpec = 252, /* caseSpec */ | ^~~~~~~~~~~~~ parser-yang.y:51:40: error: expected ')' before 'parserPtr' 51 | #define thisModulePtr (((Parser *)parserPtr)->yangModulePtr) | ^~~~~~~~~ parser-yang.c:600:25: note: in expansion of macro 'thisModulePtr' 600 | YYSYMBOL_caseSpec = 252, /* caseSpec */ | ^~~~~~~~~~~~~ parser-yang.y:51:50: error: expected ')' before '->' token 51 | #define thisModulePtr (((Parser *)parserPtr)->yangModulePtr) | ^~ parser-yang.c:600:25: note: in expansion of macro 'thisModulePtr' 600 | YYSYMBOL_caseSpec = 252, /* caseSpec */ | ^~~~~~~~~~~~~ parser-yang.y:51:28: error: expected declaration specifiers or '...' before '(' token 51 | #define thisModulePtr (((Parser *)parserPtr)->yangModulePtr) | ^ parser-yang.c:601:34: note: in expansion of macro 'thisModulePtr' 601 | YYSYMBOL_caseSubstatement_0n = 253, /* caseSubstatement_0n */ | ^~~~~~~~~~~~~ parser-yang.c:602:21: error: expected identifier or '(' before '}' token 602 | YYSYMBOL_caseSubstatement = 254, /* caseSubstatement */ | ^ parser-yang.c:2644:5: error: expected identifier or '(' before 'break' 2644 | smiPrintError(currentParser, ERR_DUPLICATED_ENUM_NAME, (yyvsp[0].text)); | ^ parser-yang.c:2646:3: error: expected identifier or '(' before 'case' 2646 | node = addYangNode((yyvsp[0].text), YANG_DECL_ENUM, topNode()); | ^ parser-yang.c:2654:5: error: expected identifier or '(' before 'break' 2654 | { | ^ ~ parser-yang.c:2656:3: error: expected identifier or '(' before 'case' 2656 | } | ^ parser-yang.c:2667:5: error: expected identifier or '(' before 'break' 2667 | #line 1222 "parser-yang.y" | ^~~~~ parser-yang.c:2669:3: error: expected identifier or '(' before 'case' 2669 | #line 3191 "parser-yang.c" | ^~~~ parser-yang.c:2673:5: error: expected identifier or '(' before 'break' 2673 | #line 1225 "parser-yang.y" | ^~~~~ parser-yang.c:2675:3: error: expected identifier or '(' before 'case' 2675 | #line 3197 "parser-yang.c" | ^~~~ parser-yang.c:2682:5: error: expected identifier or '(' before 'break' 2682 | } | ^ parser-yang.c:2684:3: error: expected identifier or '(' before 'case' 2684 | break; | ^ ~~ parser-yang.c:2690:5: error: expected identifier or '(' before 'break' 2690 | break; | ^~~~~ parser-yang.c:2692:3: error: expected identifier or '(' before 'case' 2692 | case 152: /* optionalRestrictionSpec: '{' stmtSep restrictionSpec_0n '}' */ | ^~~~ parser-yang.c:2696:5: error: expected identifier or '(' before 'break' 2696 | break; | ^~~~~ parser-yang.c:2698:3: error: expected identifier or '(' before 'case' 2698 | case 153: /* restrictionSpec_0n: %empty */ | ^~~~ parser-yang.c:2702:5: error: expected identifier or '(' before 'break' 2702 | break; | ^~~~~ parser-yang.c:2704:3: error: expected identifier or '(' before 'case' 2704 | case 159: /* errorMessageStatement: error_messageKeyword string stmtEnd */ | ^~~~ parser-yang.c:2708:5: error: expected identifier or '(' before 'break' 2708 | node = addYangNode((yyvsp[-1].text), YANG_DECL_ERROR_MESSAGE, topNode()); | ^ parser-yang.c:2710:3: error: expected identifier or '(' before 'case' 2710 | #line 3232 "parser-yang.c" | ^~~~ parser-yang.c:2721:5: error: expected identifier or '(' before 'break' 2721 | | ^ parser-yang.c:2723:3: error: expected identifier or '(' before 'case' 2723 | #line 1291 "parser-yang.y" | ^~~~ parser-yang.c:2734:5: error: expected identifier or '(' before 'break' 2734 | uniqueNodeKind(topNode(), YANG_DECL_REQUIRE_INSTANCE); | ^ parser-yang.c:2736:3: error: expected identifier or '(' before 'case' 2736 | node = addYangNode("true", YANG_DECL_REQUIRE_INSTANCE, topNode()); | ^ parser-yang.c:2744:5: error: expected identifier or '(' before 'break' 2744 | case 169: /* baseStatement: baseKeyword identifierRef stmtEnd */ | ^~~~~ parser-yang.c:2746:3: error: expected identifier or '(' before 'case' 2746 | { | ^ parser-yang.c:2754:5: error: expected identifier or '(' before 'break' 2754 | case 172: /* $@15: %empty */ | ^~~~~ parser-yang.c:2756:3: error: expected identifier or '(' before 'case' 2756 | { | ^ parser-yang.c:2764:5: error: expected identifier or '(' before 'break' 2764 | } | ^ parser-yang.c:2766:3: error: expected identifier or '(' before 'case' 2766 | break; | ^ ~~ parser-yang.c:2777:5: error: expected identifier or '(' before 'break' 2777 | #line 1346 "parser-yang.y" | ^~~~~ parser-yang.c:2779:3: error: expected identifier or '(' before 'case' 2779 | #line 3301 "parser-yang.c" | ^~~~ parser-yang.c:2790:5: error: expected identifier or '(' before 'break' 2790 | {} | ^ parser-yang.c:2792:3: error: expected identifier or '(' before 'case' 2792 | break; | ^ ~~ parser-yang.c:2798:5: error: expected identifier or '(' before 'break' 2798 | if (!isNonNegativeInteger((yyvsp[-1].text))) { | ^ parser-yang.c:2800:3: error: expected identifier or '(' before 'case' 2800 | } | ^ parser-yang.c:2806:5: error: expected identifier or '(' before 'break' 2806 | while (childPtr) { | ^ parser-yang.c:2808:3: error: expected identifier or '(' before 'case' 2808 | _YangNode* positionPtr = findChildNodeByTypeAndValue(childPtr, YANG_DECL_POSITION, (yyvsp[-1].text)); | ^ parser-yang.c:2814:5: error: expected identifier or '(' before 'break' 2814 | } | ^ parser-yang.c:2816:3: error: expected identifier or '(' before 'case' 2816 | node = addYangNode((yyvsp[-1].text), YANG_DECL_POSITION, topNode()); | ^ parser-yang.c:2840:5: error: expected identifier or '(' before 'break' 2840 | #line 1413 "parser-yang.y" | ^~~~~ parser-yang.c:2842:3: error: expected identifier or '(' before 'case' 2842 | #line 3364 "parser-yang.c" | ^~~~ parser-yang.c:2848:5: error: expected identifier or '(' before 'break' 2848 | node = addCTExtNode(thisModulePtr, YANG_DECL_COMPLEX_TYPE, 0, topNode(), getPrefix((yyvsp[-1].text)), getIdentifier((yyvsp[-1].text)), (yyvsp[-1].text), (yyvsp[0].text)); | ^ parser-yang.c:2850:3: error: expected identifier or '(' before 'case' 2850 | } | ^ parser-yang.c:2857:5: error: expected identifier or '(' before 'break' 2857 | checkUnknownStatement(); | ^ parser-yang.c:2859:3: error: expected identifier or '(' before 'case' 2859 | } | ^ parser-yang.c:2865:5: error: expected identifier or '(' before 'break' 2865 | {} | ^ parser-yang.c:2867:3: error: expected identifier or '(' before 'case' 2867 | break; | ^ ~~ parser-yang.c:2871:5: error: expected identifier or '(' before 'break' 2871 | {} | ^ parser-yang.c:2873:3: error: expected identifier or '(' before 'case' 2873 | break; | ^ ~~ parser-yang.c:2879:5: error: expected identifier or '(' before 'break' 2879 | } | ^ parser-yang.c:2881:3: error: expected identifier or '(' before 'case' 2881 | break; | ^ ~~ parser-yang.c:2888:5: error: expected identifier or '(' before 'break' 2888 | #line 3410 "parser-yang.c" | ^~~~~ parser-yang.c:2890:3: error: expected identifier or '(' before 'case' 2890 | | ^ parser-yang.c:2906:5: error: expected identifier or '(' before 'break' 2906 | pop(); | ^ parser-yang.c:2908:3: error: expected identifier or '(' before 'case' 2908 | #line 3430 "parser-yang.c" | ^~~~ parser-yang.c:2912:5: error: expected identifier or '(' before 'break' 2912 | #line 1504 "parser-yang.y" | ^~~~~ parser-yang.c:2914:3: error: expected identifier or '(' before 'case' 2914 | #line 3436 "parser-yang.c" | ^~~~ parser-yang.c:2921:5: error: expected identifier or '(' before 'break' 2921 | break; | ^~~~~ parser-yang.c:2923:3: error: expected identifier or '(' before 'case' 2923 | case 225: /* $@18: %empty */ | ^~~~ parser-yang.c:2934:5: error: expected identifier or '(' before 'break' 2934 | { | ^ parser-yang.c:2936:3: error: expected identifier or '(' before 'case' 2936 | if (topNode()->export.nodeKind != YANG_DECL_UNKNOWN_STATEMENT && getCardinality(topNode(), YANG_DECL_INSTANCE_TYPE) == 0) { | ^ parser-yang.c:2940:5: error: expected identifier or '(' before 'break' 2940 | } | ^ parser-yang.c:2942:3: error: expected identifier or '(' before 'case' 2942 | break; | ^ ~~ parser-yang.c:2946:5: error: expected identifier or '(' before 'break' 2946 | {} | ^ parser-yang.c:2948:3: error: expected identifier or '(' before 'case' 2948 | break; | ^ ~~ parser-yang.c:2955:5: error: expected identifier or '(' before 'break' 2955 | } | ^ parser-yang.c:2957:3: error: expected identifier or '(' before 'case' 2957 | break; | ^ ~~ parser-yang.c:2963:5: error: expected identifier or '(' before 'break' 2963 | if (topNode()->export.nodeKind != YANG_DECL_UNKNOWN_STATEMENT && getCardinality(topNode(), YANG_DECL_INSTANCE_TYPE) == 0) { | ^ parser-yang.c:2965:3: error: expected identifier or '(' before 'case' 2965 | } | ^ parser-yang.c:2969:5: error: expected identifier or '(' before 'break' 2969 | break; | ^~~~~ parser-yang.c:2971:3: error: expected identifier or '(' before 'case' 2971 | case 238: /* instanceListSubstatement_0n: %empty */ | ^~~~ parser-yang.c:2975:5: error: expected identifier or '(' before 'break' 2975 | break; | ^~~~~ parser-yang.c:2977:3: error: expected identifier or '(' before 'case' 2977 | case 249: /* instanceTypeStatement: instanceTypeKeyword identifierRef stmtEnd */ | ^~~~ parser-yang.c:2981:5: error: expected identifier or '(' before 'break' 2981 | if (node->export.nodeKind == YANG_DECL_INSTANCE_TYPE) { | ^ parser-yang.c:2983:3: error: expected identifier or '(' before 'case' 2983 | } | ^ parser-yang.c:2990:5: error: expected identifier or '(' before 'break' 2990 | { | ^ parser-yang.c:2992:3: error: expected identifier or '(' before 'case' 2992 | createIdentifierRef(node, getPrefix((yyvsp[0].text)), getIdentifier((yyvsp[0].text))); | ^ parser-yang.c:2999:5: error: expected identifier or '(' before 'break' 2999 | #line 1626 "parser-yang.y" | ^~~~~ parser-yang.c:3001:3: error: expected identifier or '(' before 'case' 3001 | pop(); | ^ parser-yang.c:3007:5: error: expected identifier or '(' before 'break' 3007 | #line 1631 "parser-yang.y" | ^~~~~ parser-yang.c:3009:3: error: expected identifier or '(' before 'case' 3009 | node = addYangNode((yyvsp[-1].text), YANG_DECL_UNKNOWN_STATEMENT, topNode()); | ^ parser-yang.c:3013:5: error: expected identifier or '(' before 'break' 3013 | } | ^ parser-yang.c:3015:3: error: expected identifier or '(' before 'case' 3015 | break; | ^ ~~ parser-yang.c:3019:5: error: expected identifier or '(' before 'break' 3019 | { | ^ parser-yang.c:3021:3: error: expected identifier or '(' before 'case' 3021 | } | ^ parser-yang.c:3025:5: error: expected identifier or '(' before 'break' 3025 | case 254: /* $@22: %empty */ | ^~~~~ parser-yang.c:3027:3: error: expected identifier or '(' before 'case' 3027 | { | ^ parser-yang.c:3037:5: error: expected identifier or '(' before 'break' 3037 | pop(); | ^ parser-yang.c:3039:3: error: expected identifier or '(' before 'case' 3039 | #line 3561 "parser-yang.c" | ^~~~ parser-yang.c:3048:5: error: expected identifier or '(' before 'break' 3048 | case 258: /* containerSubstatement_0n: %empty */ | ^~~~~ parser-yang.c:3050:3: error: expected identifier or '(' before 'case' 3050 | {} | ^ parser-yang.c:3054:5: error: expected identifier or '(' before 'break' 3054 | case 268: /* $@23: %empty */ | ^~~~~ parser-yang.c:3056:3: error: expected identifier or '(' before 'case' 3056 | { | ^ parser-yang.c:3067:5: error: expected identifier or '(' before 'break' 3067 | } | ^ parser-yang.c:3069:3: error: expected identifier or '(' before 'case' 3069 | break; | ^ ~~ parser-yang.c:3075:5: error: expected identifier or '(' before 'break' 3075 | } | ^ parser-yang.c:3077:3: error: expected identifier or '(' before 'case' 3077 | break; | ^ ~~ parser-yang.c:3081:5: error: expected identifier or '(' before 'break' 3081 | {} | ^ parser-yang.c:3083:3: error: expected identifier or '(' before 'case' 3083 | break; | ^ ~~ parser-yang.c:3087:5: error: expected identifier or '(' before 'break' 3087 | { | ^ parser-yang.c:3089:3: error: expected identifier or '(' before 'case' 3089 | node = addYangNode((yyvsp[-1].text), YANG_DECL_PRESENCE, topNode()); | ^ parser-yang.c:3097:5: error: expected identifier or '(' before 'break' 3097 | uniqueNodeKind(topNode(), YANG_DECL_CONFIG); | ^ parser-yang.c:3099:3: error: expected identifier or '(' before 'case' 3099 | node = addYangNode("true", YANG_DECL_CONFIG, topNode()); | ^ parser-yang.c:3105:5: error: expected identifier or '(' before 'break' 3105 | #line 1731 "parser-yang.y" | ^~~~~ parser-yang.c:3107:3: error: expected identifier or '(' before 'case' 3107 | uniqueNodeKind(topNode(), YANG_DECL_CONFIG); | ^ parser-yang.c:3114:5: error: expected identifier or '(' before 'break' 3114 | case 280: /* mandatoryStatement: mandatoryKeyword trueKeyword stmtEnd */ | ^~~~~ parser-yang.c:3116:3: error: expected identifier or '(' before 'case' 3116 | { | ^ parser-yang.c:3120:5: error: expected identifier or '(' before 'break' 3120 | #line 3642 "parser-yang.c" | ^~~~~ parser-yang.c:3122:3: error: expected identifier or '(' before 'case' 3122 | | ^ parser-yang.c:3130:5: error: expected identifier or '(' before 'break' 3130 | break; | ^~~~~ parser-yang.c:3132:3: error: expected identifier or '(' before 'case' 3132 | case 282: /* $@24: %empty */ | ^~~~ parser-yang.c:3138:5: error: expected identifier or '(' before 'break' 3138 | #line 3660 "parser-yang.c" | ^~~~~ parser-yang.c:3140:3: error: expected identifier or '(' before 'case' 3140 | | ^ parser-yang.c:3147:5: error: expected identifier or '(' before 'break' 3147 | pop(); | ^ parser-yang.c:3149:3: error: expected identifier or '(' before 'case' 3149 | #line 3671 "parser-yang.c" | ^~~~ parser-yang.c:3155:5: error: expected identifier or '(' before 'break' 3155 | #line 3677 "parser-yang.c" | ^~~~~ parser-yang.c:3157:3: error: expected identifier or '(' before 'case' 3157 | | ^ parser-yang.c:3171:5: error: expected identifier or '(' before 'break' 3171 | smiPrintError(currentParser, ERR_WRONG_CARDINALITY, yangDeclAsString(YANG_DECL_TYPE), "1"); | ^~~~~ parser-yang.c:3173:3: error: expected identifier or '(' before 'case' 3173 | pop(); | ^ parser-yang.c:3179:5: error: expected identifier or '(' before 'break' 3179 | #line 1807 "parser-yang.y" | ^~~~~ parser-yang.c:3181:3: error: expected identifier or '(' before 'case' 3181 | #line 3703 "parser-yang.c" | ^~~~ parser-yang.c:3185:5: error: expected identifier or '(' before 'break' 3185 | #line 1832 "parser-yang.y" | ^~~~~ parser-yang.c:3187:3: error: expected identifier or '(' before 'case' 3187 | node = addYangNode((yyvsp[0].text), YANG_DECL_LIST, topNode()); | ^ parser-yang.c:3191:5: error: expected identifier or '(' before 'break' 3191 | break; | ^~~~~ parser-yang.c:3193:3: error: expected identifier or '(' before 'case' 3193 | case 308: /* listStatement: listKeyword identifierStr $@26 '{' stmtSep listSubstatement_0n '}' */ | ^~~~ parser-yang.c:3197:5: error: expected identifier or '(' before 'break' 3197 | } | ^ parser-yang.c:3199:3: error: expected identifier or '(' before 'case' 3199 | break; | ^ ~~ parser-yang.c:3205:5: error: expected identifier or '(' before 'break' 3205 | break; | ^~~~~ parser-yang.c:3207:3: error: expected identifier or '(' before 'case' 3207 | case 323: /* max_elementsStatement: max_elementsKeyword string stmtEnd */ | ^~~~ parser-yang.c:3211:5: error: expected identifier or '(' before 'break' 3211 | smiPrintError(currentParser, ERR_ARG_VALUE, (yyvsp[-1].text), "non-negative-integer"); | ^ parser-yang.c:3213:3: error: expected identifier or '(' before 'case' 3213 | uniqueNodeKind(topNode(), YANG_DECL_MAX_ELEMENTS); | ^ parser-yang.c:3217:5: error: expected identifier or '(' before 'break' 3217 | break; | ^~~~~ parser-yang.c:3219:3: error: expected identifier or '(' before 'case' 3219 | case 324: /* min_elementsStatement: min_elementsKeyword string stmtEnd */ | ^~~~ parser-yang.c:3223:5: error: expected identifier or '(' before 'break' 3223 | smiPrintError(currentParser, ERR_ARG_VALUE, (yyvsp[-1].text), "non-negative-integer"); | ^ parser-yang.c:3225:3: error: expected identifier or '(' before 'case' 3225 | uniqueNodeKind(topNode(), YANG_DECL_MIN_ELEMENTS); | ^ parser-yang.c:3232:5: error: expected identifier or '(' before 'break' 3232 | #line 1896 "parser-yang.y" | ^~~~~ parser-yang.c:3234:3: error: expected identifier or '(' before 'case' 3234 | if (!strcmp((yyvsp[-1].text), "user") || !strcmp((yyvsp[-1].text), "system")) { | ^ parser-yang.c:3241:5: error: expected identifier or '(' before 'break' 3241 | #line 3763 "parser-yang.c" | ^~~~~ parser-yang.c:3243:3: error: expected identifier or '(' before 'case' 3243 | | ^ parser-yang.c:3250:5: error: expected identifier or '(' before 'break' 3250 | } | ^ parser-yang.c:3252:3: error: expected identifier or '(' before 'case' 3252 | break; | ^ ~~ parser-yang.c:3263:5: error: expected identifier or '(' before 'break' 3263 | #line 3785 "parser-yang.c" | ^~~~~ parser-yang.c:3265:3: error: expected identifier or '(' before 'case' 3265 | | ^ parser-yang.c:3273:5: error: expected identifier or '(' before 'break' 3273 | break; | ^~~~~ parser-yang.c:3275:3: error: expected identifier or '(' before 'case' 3275 | case 329: /* choiceStatement: choiceKeyword identifierStr $@27 choiceSpec */ | ^~~~ parser-yang.c:3287:5: error: expected identifier or '(' before 'break' 3287 | break; | ^~~~~ parser-yang.c:3289:3: error: expected identifier or '(' before 'case' 3289 | case 331: /* choiceSpec: '{' stmtSep choiceSubstatement_0n '}' */ | ^~~~ parser-yang.c:3295:5: error: expected identifier or '(' before 'break' 3295 | case 332: /* choiceSubstatement_0n: %empty */ | ^~~~~ parser-yang.c:3297:3: error: expected identifier or '(' before 'case' 3297 | {} | ^ parser-yang.c:3301:5: error: expected identifier or '(' before 'break' 3301 | case 340: /* $@28: %empty */ | ^~~~~ parser-yang.c:3303:3: error: expected identifier or '(' before 'case' 3303 | { | ^ parser-yang.c:3307:5: error: expected identifier or '(' before 'break' 3307 | } | ^ parser-yang.c:3309:3: error: expected identifier or '(' before 'case' 3309 | pushNode(node); | ^ parser-yang.c:3313:5: error: expected identifier or '(' before 'break' 3313 | | ^ parser-yang.c:3315:3: error: expected identifier or '(' before 'case' 3315 | #line 1971 "parser-yang.y" | ^~~~ parser-yang.c:3340:5: error: expected identifier or '(' before 'break' 3340 | case 363: /* $@29: %empty */ | ^~~~~ parser-yang.c:3342:3: error: expected identifier or '(' before 'case' 3342 | { | ^ parser-yang.c:3346:5: error: expected identifier or '(' before 'break' 3346 | #line 3868 "parser-yang.c" | ^~~~~ parser-yang.c:3348:3: error: expected identifier or '(' before 'case' 3348 | | ^ parser-yang.c:3352:5: error: expected identifier or '(' before 'break' 3352 | pop(); | ^ parser-yang.c:3354:3: error: expected identifier or '(' before 'case' 3354 | #line 3876 "parser-yang.c" | ^~~~ parser-yang.c:3358:5: error: expected identifier or '(' before 'break' 3358 | #line 2041 "parser-yang.y" | ^~~~~ parser-yang.c:3360:3: error: expected identifier or '(' before 'case' 3360 | #line 3882 "parser-yang.c" | ^~~~ parser-yang.c:3364:5: error: expected identifier or '(' before 'break' 3364 | #line 2060 "parser-yang.y" | ^~~~~ parser-yang.c:3366:3: error: expected identifier or '(' before 'case' 3366 | node = addYangNode((yyvsp[0].text), YANG_DECL_USES, topNode()); | ^ parser-yang.c:3373:5: error: expected identifier or '(' before 'break' 3373 | case 374: /* usesStatement: usesKeyword identifierRef $@30 '{' usesSubstatement_0n '}' */ | ^~~~~ parser-yang.c:3375:3: error: expected identifier or '(' before 'case' 3375 | { | ^ parser-yang.c:3382:5: error: expected identifier or '(' before 'break' 3382 | #line 2073 "parser-yang.y" | ^~~~~ parser-yang.c:3384:3: error: expected identifier or '(' before 'case' 3384 | node = addYangNode((yyvsp[-1].text), YANG_DECL_USES, topNode()); | ^ parser-yang.c:3388:5: error: expected identifier or '(' before 'break' 3388 | break; | ^~~~~ parser-yang.c:3390:3: error: expected identifier or '(' before 'case' 3390 | case 376: /* usesSubstatement_0n: %empty */ | ^~~~ parser-yang.c:3394:5: error: expected identifier or '(' before 'break' 3394 | break; | ^~~~~ parser-yang.c:3396:3: error: expected identifier or '(' before 'case' 3396 | case 385: /* $@31: %empty */ | ^~~~ parser-yang.c:3402:5: error: expected identifier or '(' before 'break' 3402 | node = addYangNode((yyvsp[0].text), YANG_DECL_REFINE, topNode()); | ^ parser-yang.c:3404:3: error: expected identifier or '(' before 'case' 3404 | } | ^ parser-yang.c:3410:5: error: expected identifier or '(' before 'break' 3410 | { | ^ parser-yang.c:3412:3: error: expected identifier or '(' before 'case' 3412 | } | ^ parser-yang.c:3422:5: error: expected identifier or '(' before 'break' 3422 | case 388: /* refineSpec: '{' stmtSep refineSubstatement '}' */ | ^~~~~ parser-yang.c:3424:3: error: expected identifier or '(' before 'case' 3424 | {} | ^ parser-yang.c:3430:5: error: expected identifier or '(' before 'break' 3430 | {} | ^ parser-yang.c:3432:3: error: expected identifier or '(' before 'case' 3432 | break; | ^ ~~ parser-yang.c:3436:5: error: expected identifier or '(' before 'break' 3436 | { | ^ parser-yang.c:3438:3: error: expected identifier or '(' before 'case' 3438 | if (!isDescendantSchemaNodeid((yyvsp[0].text))) { | ^ parser-yang.c:3442:5: error: expected identifier or '(' before 'break' 3442 | if (!isAbsoluteSchemaNodeid((yyvsp[0].text))) { | ^ parser-yang.c:3444:3: error: expected identifier or '(' before 'case' 3444 | } | ^ parser-yang.c:3451:5: error: expected identifier or '(' before 'break' 3451 | | ^ parser-yang.c:3453:3: error: expected identifier or '(' before 'case' 3453 | #line 2166 "parser-yang.y" | ^~~~ parser-yang.c:3463:5: error: expected identifier or '(' before 'break' 3463 | } | ^ parser-yang.c:3465:3: error: expected identifier or '(' before 'case' 3465 | smiPrintError(thisParserPtr, ERR_DATADEF_NODE_REQUIRED, (yyvsp[-5].text)); | ^ parser-yang.c:3469:5: error: expected identifier or '(' before 'break' 3469 | } | ^ parser-yang.c:3471:3: error: expected identifier or '(' before 'case' 3471 | break; | ^ ~~ parser-yang.c:3478:5: error: expected identifier or '(' before 'break' 3478 | | ^ parser-yang.c:3480:3: error: expected identifier or '(' before 'case' 3480 | #line 2206 "parser-yang.y" | ^~~~ parser-yang.c:3490:5: error: expected identifier or '(' before 'break' 3490 | { | ^ parser-yang.c:3492:3: error: expected identifier or '(' before 'case' 3492 | pushNode(node); | ^ parser-yang.c:3496:5: error: expected identifier or '(' before 'break' 3496 | | ^ parser-yang.c:3498:3: error: expected identifier or '(' before 'case' 3498 | #line 2218 "parser-yang.y" | ^~~~ parser-yang.c:3507:5: error: expected identifier or '(' before 'break' 3507 | {} | ^ parser-yang.c:3509:3: error: expected identifier or '(' before 'case' 3509 | break; | ^ ~~ parser-yang.c:3517:5: error: expected identifier or '(' before 'break' 3517 | case 417: /* rpcSubstatement_0n: %empty */ | ^~~~~ parser-yang.c:3519:3: error: expected identifier or '(' before 'case' 3519 | {} | ^ parser-yang.c:3525:5: error: expected identifier or '(' before 'break' 3525 | { | ^ parser-yang.c:3527:3: error: expected identifier or '(' before 'case' 3527 | pushNode(node); | ^ parser-yang.c:3536:5: error: expected identifier or '(' before 'break' 3536 | _YangNode *childPtr = topNode()->firstChildPtr; | ^ parser-yang.c:3538:3: error: expected identifier or '(' before 'case' 3538 | if (!(childPtr->export.nodeKind == YANG_DECL_TYPEDEF || | ^ parser-yang.c:3544:5: error: expected identifier or '(' before 'break' 3544 | if (!numberDataDefStmts) { | ^ parser-yang.c:3546:3: error: expected identifier or '(' before 'case' 3546 | } | ^ parser-yang.c:3553:5: error: expected identifier or '(' before 'break' 3553 | #line 2292 "parser-yang.y" | ^~~~~ parser-yang.c:3555:3: error: expected identifier or '(' before 'case' 3555 | node = addYangNode(NULL, YANG_DECL_OUTPUT, topNode()); | ^ parser-yang.c:3561:5: error: expected identifier or '(' before 'break' 3561 | case 435: /* outputStatement: outputKeyword $@35 '{' stmtSep inputOutputSubstatement_0n '}' */ | ^~~~~ parser-yang.c:3563:3: error: expected identifier or '(' before 'case' 3563 | { | ^ parser-yang.c:3567:5: error: expected identifier or '(' before 'break' 3567 | if (!(childPtr->export.nodeKind == YANG_DECL_TYPEDEF || | ^ parser-yang.c:3569:3: error: expected identifier or '(' before 'case' 3569 | numberDataDefStmts++; | ^ parser-yang.c:3573:5: error: expected identifier or '(' before 'break' 3573 | if (!numberDataDefStmts) { | ^ parser-yang.c:3575:3: error: expected identifier or '(' before 'case' 3575 | } | ^ parser-yang.c:3582:5: error: expected identifier or '(' before 'break' 3582 | #line 2319 "parser-yang.y" | ^~~~~ parser-yang.c:3584:3: error: expected identifier or '(' before 'case' 3584 | node = addYangNode((yyvsp[0].text), YANG_DECL_NOTIFICATION, topNode()); | ^ parser-yang.c:3590:5: error: expected identifier or '(' before 'break' 3590 | case 437: /* notificationStatement: notificationKeyword identifierStr $@36 notificationSpec */ | ^~~~~ parser-yang.c:3592:3: error: expected identifier or '(' before 'case' 3592 | { | ^ parser-yang.c:3598:5: error: expected identifier or '(' before 'break' 3598 | case 438: /* notificationSpec: ';' */ | ^~~~~ parser-yang.c:3600:3: error: expected identifier or '(' before 'case' 3600 | {} | ^ parser-yang.c:3604:5: error: expected identifier or '(' before 'break' 3604 | case 439: /* notificationSpec: '{' stmtSep notificationSubstatement_0n '}' */ | ^~~~~ parser-yang.c:3606:3: error: expected identifier or '(' before 'case' 3606 | {} | ^ parser-yang.c:3613:5: error: expected identifier or '(' before 'break' 3613 | #line 4135 "parser-yang.c" | ^~~~~ parser-yang.c:3615:3: error: expected identifier or '(' before 'case' 3615 | | ^ parser-yang.c:3623:5: error: expected identifier or '(' before 'break' 3623 | break; | ^~~~~ parser-yang.c:3625:3: error: expected identifier or '(' before 'case' 3625 | case 450: /* deviationStatement: deviationKeyword string $@37 '{' stmtSep deviationSubstatement_0n '}' */ | ^~~~ parser-yang.c:3633:5: error: expected identifier or '(' before 'break' 3633 | case 459: /* deviateNotSupported: deviateKeyword notSupportedKeyword ';' */ | ^~~~~ parser-yang.c:3635:3: error: expected identifier or '(' before 'case' 3635 | { | ^ parser-yang.c:3642:5: error: expected identifier or '(' before 'break' 3642 | case 460: /* deviateNotSupported: deviateKeyword notSupportedKeyword '{' stmtSep '}' */ | ^~~~~ parser-yang.c:3644:3: error: expected identifier or '(' before 'case' 3644 | { | ^ parser-yang.c:3651:5: error: expected identifier or '(' before 'break' 3651 | case 461: /* $@38: %empty */ | ^~~~~ parser-yang.c:3653:3: error: expected identifier or '(' before 'case' 3653 | { | ^ parser-yang.c:3660:5: error: expected identifier or '(' before 'break' 3660 | case 462: /* deviateAddStatement: deviateKeyword addKeyword $@38 deviateAddSpec */ | ^~~~~ parser-yang.c:3662:3: error: expected identifier or '(' before 'case' 3662 | { | ^ parser-yang.c:3671:5: error: expected identifier or '(' before 'break' 3671 | #line 4193 "parser-yang.c" | ^~~~~ parser-yang.c:3673:3: error: expected identifier or '(' before 'case' 3673 | | ^ parser-yang.c:3677:5: error: expected identifier or '(' before 'break' 3677 | #line 4199 "parser-yang.c" | ^~~~~ parser-yang.c:3679:3: error: expected identifier or '(' before 'case' 3679 | | ^ parser-yang.c:3686:5: error: expected identifier or '(' before 'break' 3686 | case 475: /* $@39: %empty */ | ^~~~~ parser-yang.c:3688:3: error: expected identifier or '(' before 'case' 3688 | { | ^ parser-yang.c:3697:5: error: expected identifier or '(' before 'break' 3697 | { | ^ parser-yang.c:3699:3: error: expected identifier or '(' before 'case' 3699 | } | ^ parser-yang.c:3703:5: error: expected identifier or '(' before 'break' 3703 | case 477: /* deviateDeleteSpec: ';' */ | ^~~~~ parser-yang.c:3705:3: error: expected identifier or '(' before 'case' 3705 | {} | ^ parser-yang.c:3712:5: error: expected identifier or '(' before 'break' 3712 | #line 4234 "parser-yang.c" | ^~~~~ parser-yang.c:3714:3: error: expected identifier or '(' before 'case' 3714 | | ^ parser-yang.c:3720:5: error: expected identifier or '(' before 'break' 3720 | | ^ parser-yang.c:3722:3: error: expected identifier or '(' before 'case' 3722 | #line 2474 "parser-yang.y" | ^~~~ parser-yang.c:3726:5: error: expected identifier or '(' before 'break' 3726 | } | ^ parser-yang.c:3728:3: error: expected identifier or '(' before 'case' 3728 | break; | ^ ~~ parser-yang.c:3738:5: error: expected identifier or '(' before 'break' 3738 | case 487: /* deviateReplaceSpec: ';' */ | ^~~~~ parser-yang.c:3740:3: error: expected identifier or '(' before 'case' 3740 | {} | ^ parser-yang.c:3750:5: error: expected identifier or '(' before 'break' 3750 | case 489: /* deviateReplaceSubstatement_0n: %empty */ | ^~~~~ parser-yang.c:3752:3: error: expected identifier or '(' before 'case' 3752 | {} | ^ parser-yang.c:3763:5: error: expected identifier or '(' before 'break' 3763 | break; | ^~~~~ parser-yang.c:3765:3: error: expected identifier or '(' before 'case' 3765 | case 499: /* anyXMLStatement: anyXMLKeyword identifierStr $@41 anyXMLSpec */ | ^~~~ parser-yang.c:3773:5: error: expected identifier or '(' before 'break' 3773 | case 500: /* anyXMLSpec: ';' */ | ^~~~~ parser-yang.c:3775:3: error: expected identifier or '(' before 'case' 3775 | {} | ^ parser-yang.c:3785:5: error: expected identifier or '(' before 'break' 3785 | case 502: /* anyXMLSubstatement_0n: %empty */ | ^~~~~ parser-yang.c:3787:3: error: expected identifier or '(' before 'case' 3787 | {} | ^ parser-yang.c:3794:5: error: expected identifier or '(' before 'break' 3794 | node = addYangNode((yyvsp[0].text), YANG_DECL_EXTENSION, topNode()); | ^ parser-yang.c:3796:3: error: expected identifier or '(' before 'case' 3796 | } | ^ parser-yang.c:3802:5: error: expected identifier or '(' before 'break' 3802 | { | ^ parser-yang.c:3804:3: error: expected identifier or '(' before 'case' 3804 | } | ^ parser-yang.c:3808:5: error: expected identifier or '(' before 'break' 3808 | case 511: /* extensionStatementBody: '{' stmtSep extensionSubstatement_0n '}' */ | ^~~~~ parser-yang.c:3810:3: error: expected identifier or '(' before 'case' 3810 | {} | ^ parser-yang.c:3814:5: error: expected identifier or '(' before 'break' 3814 | case 512: /* extensionStatementBody: ';' */ | ^~~~~ parser-yang.c:3816:3: error: expected identifier or '(' before 'case' 3816 | {} | ^ parser-yang.c:3820:5: error: expected identifier or '(' before 'break' 3820 | case 513: /* extensionSubstatement_0n: %empty */ | ^~~~~ parser-yang.c:3822:3: error: expected identifier or '(' before 'case' 3822 | {} | ^ parser-yang.c:3833:5: error: expected identifier or '(' before 'break' 3833 | #line 4355 "parser-yang.c" | ^~~~~ parser-yang.c:3835:3: error: expected identifier or '(' before 'case' 3835 | | ^ parser-yang.c:3841:5: error: expected identifier or '(' before 'break' 3841 | #line 4363 "parser-yang.c" | ^~~~~ parser-yang.c:3843:3: error: expected identifier or '(' before 'case' 3843 | | ^ parser-yang.c:3847:5: error: expected identifier or '(' before 'break' 3847 | #line 4369 "parser-yang.c" | ^~~~~ parser-yang.c:3849:3: error: expected identifier or '(' before 'case' 3849 | | ^ parser-yang.c:3853:5: error: expected identifier or '(' before 'break' 3853 | #line 4375 "parser-yang.c" | ^~~~~ parser-yang.c:3855:3: error: expected identifier or '(' before 'case' 3855 | | ^ parser-yang.c:3859:5: error: expected identifier or '(' before 'break' 3859 | #line 4381 "parser-yang.c" | ^~~~~ parser-yang.c:3861:3: error: expected identifier or '(' before 'case' 3861 | | ^ parser-yang.c:3868:5: error: expected identifier or '(' before 'break' 3868 | break; | ^~~~~ parser-yang.c:3870:3: error: expected identifier or '(' before 'case' 3870 | case 525: /* yinElementOptional: yinElementKeyword falseKeyword stmtEnd stmtSep */ | ^~~~ parser-yang.c:3876:5: error: expected identifier or '(' before 'break' 3876 | break; | ^~~~~ parser-yang.c:3878:3: error: expected identifier or '(' before 'case' 3878 | case 526: /* unitsStatement: unitsKeyword string stmtEnd */ | ^~~~ parser-yang.c:3882:5: error: expected identifier or '(' before 'break' 3882 | addYangNode((yyvsp[-1].text), YANG_DECL_UNITS, topNode()); | ^ parser-yang.c:3884:3: error: expected identifier or '(' before 'case' 3884 | #line 4406 "parser-yang.c" | ^~~~ parser-yang.c:3892:5: error: expected identifier or '(' before 'break' 3892 | } | ^ parser-yang.c:3894:3: error: expected identifier or '(' before 'case' 3894 | break; | ^ ~~ parser-yang.c:3900:5: error: expected identifier or '(' before 'break' 3900 | break; | ^~~~~ parser-yang.c:3902:3: error: expected identifier or '(' before 'case' 3902 | case 540: /* identifierStr: belongs_toKeyword */ | ^~~~ parser-yang.c:3909:5: error: expected identifier or '(' before 'break' 3909 | #line 2644 "parser-yang.y" | ^~~~~ parser-yang.c:3911:3: error: expected identifier or '(' before 'case' 3911 | #line 4433 "parser-yang.c" | ^~~~ parser-yang.c:3915:5: error: expected identifier or '(' before 'break' 3915 | #line 2644 "parser-yang.y" | ^~~~~ parser-yang.c:3917:3: error: expected identifier or '(' before 'case' 3917 | #line 4439 "parser-yang.c" | ^~~~ parser-yang.c:3927:5: error: expected identifier or '(' before 'break' 3927 | #line 2644 "parser-yang.y" | ^~~~~ parser-yang.c:3929:3: error: expected identifier or '(' before 'case' 3929 | #line 4451 "parser-yang.c" | ^~~~ parser-yang.c:3935:5: error: expected identifier or '(' before 'break' 3935 | #line 4457 "parser-yang.c" | ^~~~~ parser-yang.c:3937:3: error: expected identifier or '(' before 'case' 3937 | | ^ parser-yang.c:3941:5: error: expected identifier or '(' before 'break' 3941 | #line 4463 "parser-yang.c" | ^~~~~ parser-yang.c:3943:3: error: expected identifier or '(' before 'case' 3943 | | ^ parser-yang.c:3947:5: error: expected identifier or '(' before 'break' 3947 | #line 4469 "parser-yang.c" | ^~~~~ parser-yang.c:3949:3: error: expected identifier or '(' before 'case' 3949 | | ^ parser-yang.c:3953:5: error: expected identifier or '(' before 'break' 3953 | #line 4475 "parser-yang.c" | ^~~~~ parser-yang.c:3955:3: error: expected identifier or '(' before 'case' 3955 | | ^ parser-yang.c:3971:5: error: expected identifier or '(' before 'break' 3971 | #line 4493 "parser-yang.c" | ^~~~~ parser-yang.c:3973:3: error: expected identifier or '(' before 'case' 3973 | | ^ parser-yang.c:3992:5: error: expected identifier or '(' before 'break' 3992 | case 555: /* identifierStr: leafKeyword */ | ^~~~~ parser-yang.c:3994:3: error: expected identifier or '(' before 'case' 3994 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:3998:5: error: expected identifier or '(' before 'break' 3998 | case 556: /* identifierStr: leaf_listKeyword */ | ^~~~~ parser-yang.c:4000:3: error: expected identifier or '(' before 'case' 4000 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:4007:5: error: expected identifier or '(' before 'break' 4007 | #line 4529 "parser-yang.c" | ^~~~~ parser-yang.c:4009:3: error: expected identifier or '(' before 'case' 4009 | | ^ parser-yang.c:4016:5: error: expected identifier or '(' before 'break' 4016 | case 559: /* identifierStr: mandatoryKeyword */ | ^~~~~ parser-yang.c:4018:3: error: expected identifier or '(' before 'case' 4018 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:4024:5: error: expected identifier or '(' before 'break' 4024 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:4026:3: error: expected identifier or '(' before 'case' 4026 | break; | ^ ~~ parser-yang.c:4030:5: error: expected identifier or '(' before 'break' 4030 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:4032:3: error: expected identifier or '(' before 'case' 4032 | break; | ^ ~~ parser-yang.c:4036:5: error: expected identifier or '(' before 'break' 4036 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:4038:3: error: expected identifier or '(' before 'case' 4038 | break; | ^ ~~ parser-yang.c:4042:5: error: expected identifier or '(' before 'break' 4042 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:4044:3: error: expected identifier or '(' before 'case' 4044 | break; | ^ ~~ parser-yang.c:4051:5: error: expected identifier or '(' before 'break' 4051 | | ^ parser-yang.c:4053:3: error: expected identifier or '(' before 'case' 4053 | #line 2647 "parser-yang.y" | ^~~~ parser-yang.c:4071:5: error: expected identifier or '(' before 'break' 4071 | #line 2647 "parser-yang.y" | ^~~~~ parser-yang.c:4073:3: error: expected identifier or '(' before 'case' 4073 | #line 4595 "parser-yang.c" | ^~~~ parser-yang.c:4080:5: error: expected identifier or '(' before 'break' 4080 | break; | ^~~~~ parser-yang.c:4082:3: error: expected identifier or '(' before 'case' 4082 | case 570: /* identifierStr: referenceKeyword */ | ^~~~ parser-yang.c:4100:5: error: expected identifier or '(' before 'break' 4100 | case 573: /* identifierStr: statusKeyword */ | ^~~~~ parser-yang.c:4102:3: error: expected identifier or '(' before 'case' 4102 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:4109:5: error: expected identifier or '(' before 'break' 4109 | #line 4631 "parser-yang.c" | ^~~~~ parser-yang.c:4111:3: error: expected identifier or '(' before 'case' 4111 | | ^ parser-yang.c:4117:5: error: expected identifier or '(' before 'break' 4117 | | ^ parser-yang.c:4119:3: error: expected identifier or '(' before 'case' 4119 | #line 2648 "parser-yang.y" | ^~~~ parser-yang.c:4123:5: error: expected identifier or '(' before 'break' 4123 | | ^ parser-yang.c:4125:3: error: expected identifier or '(' before 'case' 4125 | #line 2648 "parser-yang.y" | ^~~~ parser-yang.c:4129:5: error: expected identifier or '(' before 'break' 4129 | | ^ parser-yang.c:4131:3: error: expected identifier or '(' before 'case' 4131 | #line 2648 "parser-yang.y" | ^~~~ parser-yang.c:4135:5: error: expected identifier or '(' before 'break' 4135 | | ^ parser-yang.c:4137:3: error: expected identifier or '(' before 'case' 4137 | #line 2648 "parser-yang.y" | ^~~~ parser-yang.c:4144:5: error: expected identifier or '(' before 'break' 4144 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:4146:3: error: expected identifier or '(' before 'case' 4146 | break; | ^ ~~ parser-yang.c:4152:5: error: expected identifier or '(' before 'break' 4152 | break; | ^~~~~ parser-yang.c:4154:3: error: expected identifier or '(' before 'case' 4154 | case 582: /* identifierStr: pathKeyword */ | ^~~~ parser-yang.c:4161:5: error: expected identifier or '(' before 'break' 4161 | #line 2649 "parser-yang.y" | ^~~~~ parser-yang.c:4163:3: error: expected identifier or '(' before 'case' 4163 | #line 4685 "parser-yang.c" | ^~~~ parser-yang.c:4170:5: error: expected identifier or '(' before 'break' 4170 | break; | ^~~~~ parser-yang.c:4172:3: error: expected identifier or '(' before 'case' 4172 | case 585: /* identifierStr: currentKeyword */ | ^~~~ parser-yang.c:4179:5: error: expected identifier or '(' before 'break' 4179 | #line 2649 "parser-yang.y" | ^~~~~ parser-yang.c:4181:3: error: expected identifier or '(' before 'case' 4181 | #line 4703 "parser-yang.c" | ^~~~ parser-yang.c:4187:5: error: expected identifier or '(' before 'break' 4187 | #line 4709 "parser-yang.c" | ^~~~~ parser-yang.c:4189:3: error: expected identifier or '(' before 'case' 4189 | | ^ parser-yang.c:4193:5: error: expected identifier or '(' before 'break' 4193 | #line 4715 "parser-yang.c" | ^~~~~ parser-yang.c:4195:3: error: expected identifier or '(' before 'case' 4195 | | ^ parser-yang.c:4199:5: error: expected identifier or '(' before 'break' 4199 | #line 4721 "parser-yang.c" | ^~~~~ parser-yang.c:4201:3: error: expected identifier or '(' before 'case' 4201 | | ^ parser-yang.c:4205:5: error: expected identifier or '(' before 'break' 4205 | #line 4727 "parser-yang.c" | ^~~~~ parser-yang.c:4207:3: error: expected identifier or '(' before 'case' 4207 | | ^ parser-yang.c:4214:5: error: expected identifier or '(' before 'break' 4214 | case 592: /* identifierStr: rpcKeyword */ | ^~~~~ parser-yang.c:4216:3: error: expected identifier or '(' before 'case' 4216 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:4222:5: error: expected identifier or '(' before 'break' 4222 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:4224:3: error: expected identifier or '(' before 'case' 4224 | break; | ^ ~~ parser-yang.c:4228:5: error: expected identifier or '(' before 'break' 4228 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:4230:3: error: expected identifier or '(' before 'case' 4230 | break; | ^ ~~ parser-yang.c:4234:5: error: expected identifier or '(' before 'break' 4234 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:4236:3: error: expected identifier or '(' before 'case' 4236 | break; | ^ ~~ parser-yang.c:4240:5: error: expected identifier or '(' before 'break' 4240 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:4242:3: error: expected identifier or '(' before 'case' 4242 | break; | ^ ~~ parser-yang.c:4249:5: error: expected identifier or '(' before 'break' 4249 | | ^ parser-yang.c:4251:3: error: expected identifier or '(' before 'case' 4251 | #line 2651 "parser-yang.y" | ^~~~ parser-yang.c:4257:5: error: expected identifier or '(' before 'break' 4257 | #line 2651 "parser-yang.y" | ^~~~~ parser-yang.c:4259:3: error: expected identifier or '(' before 'case' 4259 | #line 4781 "parser-yang.c" | ^~~~ parser-yang.c:4263:5: error: expected identifier or '(' before 'break' 4263 | #line 2651 "parser-yang.y" | ^~~~~ parser-yang.c:4265:3: error: expected identifier or '(' before 'case' 4265 | #line 4787 "parser-yang.c" | ^~~~ parser-yang.c:4269:5: error: expected identifier or '(' before 'break' 4269 | #line 2651 "parser-yang.y" | ^~~~~ parser-yang.c:4271:3: error: expected identifier or '(' before 'case' 4271 | #line 4793 "parser-yang.c" | ^~~~ parser-yang.c:4275:5: error: expected identifier or '(' before 'break' 4275 | #line 2651 "parser-yang.y" | ^~~~~ parser-yang.c:4277:3: error: expected identifier or '(' before 'case' 4277 | #line 4799 "parser-yang.c" | ^~~~ parser-yang.c:4284:5: error: expected identifier or '(' before 'break' 4284 | break; | ^~~~~ parser-yang.c:4286:3: error: expected identifier or '(' before 'case' 4286 | case 604: /* identifierStr: refineKeyword */ | ^~~~ parser-yang.c:4292:5: error: expected identifier or '(' before 'break' 4292 | case 605: /* identifierStr: requireInstanceKeyword */ | ^~~~~ parser-yang.c:4294:3: error: expected identifier or '(' before 'case' 4294 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:4298:5: error: expected identifier or '(' before 'break' 4298 | case 606: /* identifierStr: yinElementKeyword */ | ^~~~~ parser-yang.c:4300:3: error: expected identifier or '(' before 'case' 4300 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:4304:5: error: expected identifier or '(' before 'break' 4304 | case 607: /* identifierStr: notSupportedKeyword */ | ^~~~~ parser-yang.c:4306:3: error: expected identifier or '(' before 'case' 4306 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:4310:5: error: expected identifier or '(' before 'break' 4310 | case 608: /* identifierStr: addKeyword */ | ^~~~~ parser-yang.c:4312:3: error: expected identifier or '(' before 'case' 4312 | {(yyval.text) = (yyvsp[0].text);} | ^ parser-yang.c:4319:5: error: expected identifier or '(' before 'break' 4319 | #line 4841 "parser-yang.c" | ^~~~~ parser-yang.c:4321:3: error: expected identifier or '(' before 'case' 4321 | | ^ parser-yang.c:4327:5: error: expected identifier or '(' before 'break' 4327 | | ^ parser-yang.c:4329:3: error: expected identifier or '(' before 'case' 4329 | #line 2656 "parser-yang.y" | ^~~~ parser-yang.c:4333:5: error: expected identifier or '(' before 'break' 4333 | #line 4855 "parser-yang.c" | ^~~~~ parser-yang.c:4335:3: error: expected identifier or '(' before 'case' 4335 | | ^ parser-yang.c:4339:5: error: expected identifier or '(' before 'break' 4339 | (yyval.rc) = YANG_BOOLEAN_FALSE; | ^ parser-yang.c:4341:3: error: expected identifier or '(' before 'case' 4341 | #line 4863 "parser-yang.c" | ^~~~ parser-yang.c:4345:5: error: expected identifier or '(' before 'break' 4345 | #line 4867 "parser-yang.c" | ^~~~~ parser-yang.c:4347:3: error: expected identifier or '(' before 'case' 4347 | default: break; | ^ parser-yang.c:4355:5: error: expected identifier or '(' before 'break' 4355 | if it invokes YYBACKUP. In the case of YYABORT or YYACCEPT, an | ^~~~~ parser-yang.c:4357:3: error: expected identifier or '(' before 'case' 4357 | case of YYERROR or YYBACKUP, subsequent parser actions might lead | ^ ~ parser-yang.c:4363:5: error: expected identifier or '(' before 'break' 4363 | yylen = 0; | ^~~~~ parser-yang.c:4365:3: error: expected identifier or '(' before 'case' 4365 | *++yyvsp = yyval; | ^~~~ parser-yang.c:4369:5: error: expected identifier or '(' before 'break' 4369 | number reduced by. */ | ^~~~~ parser-yang.c:4371:3: error: expected identifier or '(' before 'case' 4371 | const int yylhs = yyr1[yyn] - YYNTOKENS; | ^ ~~ parser-yang.c:4375:5: error: expected identifier or '(' before 'break' 4375 | : yydefgoto[yylhs]); | ^ parser-yang.c:4377:3: error: expected identifier or '(' before 'case' 4377 | | ^ parser-yang.c:4381:5: error: expected identifier or '(' before 'break' 4381 | /*--------------------------------------. | ^~~~~ parser-yang.c:4383:3: error: expected identifier or '(' before 'case' 4383 | `--------------------------------------*/ | ^~~~ parser-yang.c:4389:5: error: expected identifier or '(' before 'break' 4389 | if (!yyerrstatus) | ^~~~~ parser-yang.c:4391:3: error: expected identifier or '(' before 'case' 4391 | ++yynerrs; | ^ parser-yang.c:4397:5: error: expected identifier or '(' before 'break' 4397 | /* If just tried and failed to reuse lookahead token after an | ^ ~~~ parser-yang.c:4399:3: error: expected identifier or '(' before 'case' 4399 | | ^ parser-yang.c:4406:5: error: expected identifier or '(' before 'break' 4406 | else | ^ ~~~ parser-yang.c:4408:3: error: expected identifier or '(' before 'case' 4408 | yydestruct ("Error: discarding", | ^ parser-yang.c:4415:5: error: expected identifier or '(' before 'break' 4415 | token. */ | ^~~~~ parser-yang.c:4417:3: error: expected identifier or '(' before 'case' 4417 | | ^ parser-yang.c:4421:5: error: expected identifier or '(' before 'break' 4421 | `---------------------------------------------------*/ | ^~~~~ parser-yang.c:4423:3: error: expected identifier or '(' before 'case' 4423 | /* Pacify compilers when the user code never invokes YYERROR and the | ^~~~ parser-yang.c:4427:5: error: expected identifier or '(' before 'break' 4427 | | ^ parser-yang.c:4429:3: error: expected identifier or '(' before 'case' 4429 | this YYERROR. */ | ^ ~ parser-yang.c:4433:5: error: expected identifier or '(' before 'break' 4433 | yystate = *yyssp; | ^~~~~ parser-yang.c:4435:3: error: expected identifier or '(' before 'case' 4435 | | ^ parser-yang.c:4439:5: error: expected identifier or '(' before 'break' 4439 | `-------------------------------------------------------------*/ | ^~~~~ parser-yang.c:4441:3: error: expected identifier or '(' before 'case' 4441 | yyerrstatus = 3; /* Each real token shifted decrements this. */ | ^~~~ parser-yang.c:4445:5: error: expected identifier or '(' before 'break' 4445 | { | ^ parser-yang.c:4447:3: error: expected identifier or '(' before 'case' 4447 | if (!yypact_value_is_default (yyn)) | ^ parser-yang.c:4451:5: error: expected identifier or '(' before 'break' 4451 | { | ^ parser-yang.c:4453:3: error: expected identifier or '(' before 'case' 4453 | if (0 < yyn) | ^ parser-yang.c:4457:5: error: expected identifier or '(' before 'break' 4457 | | ^ parser-yang.c:4459:3: error: expected identifier or '(' before 'case' 4459 | if (yyssp == yyss) | ^ parser-yang.c:4463:5: error: expected identifier or '(' before 'break' 4463 | yydestruct ("Error: popping", | ^ ~~~ parser-yang.c:4465:3: error: expected identifier or '(' before 'case' 4465 | YYPOPSTACK (1); | ^ parser-yang.c:4469:5: error: expected identifier or '(' before 'break' 4469 | | ^ parser-yang.c:4471:3: error: expected identifier or '(' before 'case' 4471 | *++yyvsp = yylval; | ^~~~ parser-yang.c:4475:5: error: expected identifier or '(' before 'break' 4475 | /* Shift the error token. */ | ^~~~~ parser-yang.c:4477:3: error: expected identifier or '(' before 'case' 4477 | | ^ parser-yang.c:4481:5: error: expected identifier or '(' before 'break' 4481 | | ^ parser-yang.c:4483:3: error: expected identifier or '(' before 'case' 4483 | | yyacceptlab -- YYACCEPT comes here. | | ^~~~ parser-yang.c:4487:5: error: expected identifier or '(' before 'break' 4487 | goto yyreturn; | ^~~~~ parser-yang.c:4489:3: error: expected identifier or '(' before 'case' 4489 | | ^ parser-yang.c:4493:5: error: expected identifier or '(' before 'break' 4493 | yyabortlab: | ^~~~~ parser-yang.c:4495:3: error: expected identifier or '(' before 'case' 4495 | goto yyreturn; | ^~~~ parser-yang.c:4499:5: error: expected identifier or '(' before 'break' 4499 | /*-------------------------------------------------. | ^~~~~ parser-yang.c:4501:3: error: expected identifier or '(' before 'case' 4501 | `-------------------------------------------------*/ | ^~~~ parser-yang.c:4505:5: error: expected identifier or '(' before 'break' 4505 | goto yyreturn; | ^~~~~ parser-yang.c:4507:3: error: expected identifier or '(' before 'case' 4507 | | ^ parser-yang.c:4511:5: error: expected identifier or '(' before 'break' 4511 | `-------------------------------------------------------*/ | ^~~~~ parser-yang.c:4513:3: error: expected identifier or '(' before 'case' 4513 | if (yychar != YYEMPTY) | ^~~~ parser-yang.c:4517:5: error: expected identifier or '(' before 'break' 4517 | yytoken = YYTRANSLATE (yychar); | ^ ~~~ parser-yang.c:4519:3: error: expected identifier or '(' before 'case' 4519 | yytoken, &yylval, parserPtr); | ^ parser-yang.c:4523:5: error: expected identifier or '(' before 'break' 4523 | YYPOPSTACK (yylen); | ^~~~~ parser-yang.c:4525:3: error: expected identifier or '(' before 'case' 4525 | while (yyssp != yyss) | ^~~~ parser-yang.c:4529:5: error: expected identifier or '(' before 'break' 4529 | YYPOPSTACK (1); | ^ ~~~ parser-yang.c:4531:3: error: expected identifier or '(' before 'case' 4531 | #ifndef yyoverflow | ^~~~ parser-yang.c:4535:5: error: expected identifier or '(' before 'break' 4535 | | ^ parser-yang.c:4537:3: error: expected identifier or '(' before 'case' 4537 | } | ^ parser-yang.c:4541:5: error: expected identifier or '(' before 'break' 4541 | | ^ parser-yang.c:4543:3: error: expected identifier or '(' before 'case' parser-yang.c:4547:5: error: expected identifier or '(' before 'break' parser-yang.c:4549:3: error: expected identifier or '(' before 'case' parser-yang.c:4553:5: error: expected identifier or '(' before 'break' parser-yang.c:4555:3: error: expected identifier or '(' before 'case' parser-yang.c:4559:5: error: expected identifier or '(' before 'break' parser-yang.c:4561:3: error: expected identifier or '(' before 'case' parser-yang.c:4565:5: error: expected identifier or '(' before 'break' parser-yang.c:4567:3: error: expected identifier or '(' before 'case' parser-yang.c:4571:5: error: expected identifier or '(' before 'break' parser-yang.c:4573:3: error: expected identifier or '(' before 'case' parser-yang.c:4577:5: error: expected identifier or '(' before 'break' parser-yang.c:4579:3: error: expected identifier or '(' before 'case' parser-yang.c:4583:5: error: expected identifier or '(' before 'break' parser-yang.c:4585:3: error: expected identifier or '(' before 'case' parser-yang.c:4589:5: error: expected identifier or '(' before 'break' parser-yang.c:4591:3: error: expected identifier or '(' before 'case' parser-yang.c:4595:5: error: expected identifier or '(' before 'break' parser-yang.c:4597:3: error: expected identifier or '(' before 'case' parser-yang.c:4601:5: error: expected identifier or '(' before 'break' parser-yang.c:4603:3: error: expected identifier or '(' before 'case' parser-yang.c:4607:5: error: expected identifier or '(' before 'break' parser-yang.c:4609:3: error: expected identifier or '(' before 'case' parser-yang.c:4613:5: error: expected identifier or '(' before 'break' parser-yang.c:4615:3: error: expected identifier or '(' before 'case' parser-yang.c:4619:5: error: expected identifier or '(' before 'break' parser-yang.c:4621:3: error: expected identifier or '(' before 'case' parser-yang.c:4625:5: error: expected identifier or '(' before 'break' parser-yang.c:4627:3: error: expected identifier or '(' before 'case' parser-yang.c:4631:5: error: expected identifier or '(' before 'break' parser-yang.c:4633:3: error: expected identifier or '(' before 'case' parser-yang.c:4637:5: error: expected identifier or '(' before 'break' parser-yang.c:4639:3: error: expected identifier or '(' before 'case' parser-yang.c:4643:5: error: expected identifier or '(' before 'break' parser-yang.c:4645:3: error: expected identifier or '(' before 'case' parser-yang.c:4649:5: error: expected identifier or '(' before 'break' parser-yang.c:4651:3: error: expected identifier or '(' before 'case' parser-yang.c:4655:5: error: expected identifier or '(' before 'break' parser-yang.c:4657:3: error: expected identifier or '(' before 'case' parser-yang.c:4661:5: error: expected identifier or '(' before 'break' parser-yang.c:4663:3: error: expected identifier or '(' before 'case' parser-yang.c:4667:5: error: expected identifier or '(' before 'break' parser-yang.c:4669:3: error: expected identifier or '(' before 'case' parser-yang.c:4673:5: error: expected identifier or '(' before 'break' parser-yang.c:4675:3: error: expected identifier or '(' before 'case' parser-yang.c:4679:5: error: expected identifier or '(' before 'break' parser-yang.c:4681:3: error: expected identifier or '(' before 'case' parser-yang.c:4685:5: error: expected identifier or '(' before 'break' parser-yang.c:4687:3: error: expected identifier or '(' before 'case' parser-yang.c:4691:5: error: expected identifier or '(' before 'break' parser-yang.c:4693:3: error: expected identifier or '(' before 'case' parser-yang.c:4697:5: error: expected identifier or '(' before 'break' parser-yang.c:4699:3: error: expected identifier or '(' before 'case' parser-yang.c:4703:5: error: expected identifier or '(' before 'break' parser-yang.c:4705:3: error: expected identifier or '(' before 'case' parser-yang.c:4709:5: error: expected identifier or '(' before 'break' parser-yang.c:4711:3: error: expected identifier or '(' before 'case' parser-yang.c:4715:5: error: expected identifier or '(' before 'break' parser-yang.c:4717:3: error: expected identifier or '(' before 'case' parser-yang.c:4721:5: error: expected identifier or '(' before 'break' parser-yang.c:4723:3: error: expected identifier or '(' before 'case' parser-yang.c:4727:5: error: expected identifier or '(' before 'break' parser-yang.c:4729:3: error: expected identifier or '(' before 'case' parser-yang.c:4733:5: error: expected identifier or '(' before 'break' parser-yang.c:4735:3: error: expected identifier or '(' before 'case' parser-yang.c:4739:5: error: expected identifier or '(' before 'break' parser-yang.c:4741:3: error: expected identifier or '(' before 'case' parser-yang.c:4745:5: error: expected identifier or '(' before 'break' parser-yang.c:4747:3: error: expected identifier or '(' before 'case' parser-yang.c:4751:5: error: expected identifier or '(' before 'break' parser-yang.c:4753:3: error: expected identifier or '(' before 'case' parser-yang.c:4757:5: error: expected identifier or '(' before 'break' parser-yang.c:4759:3: error: expected identifier or '(' before 'case' parser-yang.c:4763:5: error: expected identifier or '(' before 'break' parser-yang.c:4765:3: error: expected identifier or '(' before 'case' parser-yang.c:4769:5: error: expected identifier or '(' before 'break' parser-yang.c:4771:3: error: expected identifier or '(' before 'case' parser-yang.c:4775:5: error: expected identifier or '(' before 'break' parser-yang.c:4777:3: error: expected identifier or '(' before 'case' parser-yang.c:4781:5: error: expected identifier or '(' before 'break' parser-yang.c:4783:3: error: expected identifier or '(' before 'case' parser-yang.c:4787:5: error: expected identifier or '(' before 'break' parser-yang.c:4789:3: error: expected identifier or '(' before 'case' parser-yang.c:4793:5: error: expected identifier or '(' before 'break' parser-yang.c:4795:3: error: expected identifier or '(' before 'case' parser-yang.c:4799:5: error: expected identifier or '(' before 'break' parser-yang.c:4801:3: error: expected identifier or '(' before 'case' parser-yang.c:4805:5: error: expected identifier or '(' before 'break' parser-yang.c:4807:3: error: expected identifier or '(' before 'case' parser-yang.c:4811:5: error: expected identifier or '(' before 'break' parser-yang.c:4813:3: error: expected identifier or '(' before 'case' parser-yang.c:4817:5: error: expected identifier or '(' before 'break' parser-yang.c:4819:3: error: expected identifier or '(' before 'case' parser-yang.c:4823:5: error: expected identifier or '(' before 'break' parser-yang.c:4825:3: error: expected identifier or '(' before 'case' parser-yang.c:4829:5: error: expected identifier or '(' before 'break' parser-yang.c:4831:3: error: expected identifier or '(' before 'case' parser-yang.c:4835:5: error: expected identifier or '(' before 'break' parser-yang.c:4837:3: error: expected identifier or '(' before 'case' parser-yang.c:4841:5: error: expected identifier or '(' before 'break' parser-yang.c:4843:3: error: expected identifier or '(' before 'case' parser-yang.c:4847:5: error: expected identifier or '(' before 'break' parser-yang.c:4849:3: error: expected identifier or '(' before 'case' parser-yang.c:4855:5: error: expected identifier or '(' before 'break' parser-yang.c:4857:3: error: expected identifier or '(' before 'case' parser-yang.c:4863:5: error: expected identifier or '(' before 'break' parser-yang.c:4868:7: error: expected identifier or '(' before 'default' parser-yang.c:4869:5: error: expected identifier or '(' before '}' token parser-yang.c:4881:20: error: expected declaration specifiers or '...' before string constant parser-yang.c:327:31: error: expected declaration specifiers or '...' before '(' token 327 | # define YY_CAST(Type, Val) ((Type) (Val)) | ^ parser-yang.c:4881:31: note: in expansion of macro 'YY_CAST' parser-yang.c:4881:69: error: expected declaration specifiers or '...' before '&' token parser-yang.c:4881:77: error: expected declaration specifiers or '...' before '&' token parser-yang.c:4883:3: warning: data definition has no type or storage class parser-yang.c:4883:3: warning: type defaults to 'int' in declaration of 'YYPOPSTACK' [-Wimplicit-int] parser-yang.c:4883:3: warning: parameter names (without types) in function declaration parser-yang.c:4884:3: warning: data definition has no type or storage class parser-yang.c:4884:3: warning: type defaults to 'int' in declaration of 'yylen' [-Wimplicit-int] parser-yang.c:4886:4: error: expected identifier or '(' before '++' token parser-yang.c:4891:3: error: expected identifier or '(' before '{' token parser-yang.c:4899:3: error: expected identifier or '(' before 'goto' parser-yang.c:4905:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-yang.c:4910:3: error: expected identifier or '(' before 'if' parser-yang.c:4916:3: error: expected identifier or '(' before 'if' parser-yang.c:4937:3: error: expected identifier or '(' before 'goto' parser-yang.c:4943:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-yang.c:4951:3: warning: data definition has no type or storage class parser-yang.c:4951:3: warning: type defaults to 'int' in declaration of 'YYPOPSTACK' [-Wimplicit-int] parser-yang.c:4951:3: warning: parameter names (without types) in function declaration parser-yang.c:4952:3: warning: data definition has no type or storage class parser-yang.c:4952:3: warning: type defaults to 'int' in declaration of 'yylen' [-Wimplicit-int] parser-yang.c:4952:3: error: redefinition of 'yylen' parser-yang.c:4884:3: note: previous definition of 'yylen' was here parser-yang.c:4953:3: warning: data definition has no type or storage class parser-yang.c:4953:3: warning: type defaults to 'int' in declaration of 'YY_STACK_PRINT' [-Wimplicit-int] parser-yang.c:4953:3: warning: parameter names (without types) in function declaration parser-yang.c:4954:3: warning: data definition has no type or storage class parser-yang.c:4954:3: warning: type defaults to 'int' in declaration of 'yystate' [-Wimplicit-int] parser-yang.c:4954:14: error: 'yyssp' undeclared here (not in a function) parser-yang.c:4955:3: error: expected identifier or '(' before 'goto' parser-yang.c:4961:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-yang.c:4965:3: error: expected identifier or '(' before 'for' parser-yang.c:4965:10: error: expected identifier or '(' before ')' token parser-yang.c:4991:3: error: unknown type name 'YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN' parser-yang.c:4992:4: error: expected identifier or '(' before '++' token parser-yang.c:4993:3: error: unknown type name 'YY_IGNORE_MAYBE_UNINITIALIZED_END' parser-yang.c:4997:20: error: expected declaration specifiers or '...' before string constant parser-yang.c:4997:32: error: unknown type name 'YY_ACCESSING_SYMBOL' parser-yang.c:4997:59: error: unknown type name 'yyvsp' parser-yang.c:4997:66: error: unknown type name 'yylsp' parser-yang.c:4999:3: warning: data definition has no type or storage class parser-yang.c:4999:3: warning: type defaults to 'int' in declaration of 'yystate' [-Wimplicit-int] parser-yang.c:4999:3: error: redefinition of 'yystate' parser-yang.c:4954:3: note: previous definition of 'yystate' was here parser-yang.c:4999:13: error: 'yyn' undeclared here (not in a function); did you mean 'yylen'? parser-yang.c:5000:3: error: expected identifier or '(' before 'goto' parser-yang.c:5006:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-yang.c:5008:3: error: expected identifier or '(' before 'goto' parser-yang.c:5014:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-yang.c:5016:3: error: expected identifier or '(' before 'goto' parser-yang.c:5023:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-yang.c:5025:3: warning: data definition has no type or storage class parser-yang.c:5025:3: warning: type defaults to 'int' in declaration of 'yyresult' [-Wimplicit-int] parser-yang.c:5026:3: error: expected identifier or '(' before 'goto' parser-yang.c:5033:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-yang.c:5044:3: warning: data definition has no type or storage class parser-yang.c:5044:3: warning: type defaults to 'int' in declaration of 'YYPOPSTACK' [-Wimplicit-int] parser-yang.c:5044:3: warning: parameter names (without types) in function declaration parser-yang.c:5045:3: warning: data definition has no type or storage class parser-yang.c:5045:3: warning: type defaults to 'int' in declaration of 'YY_STACK_PRINT' [-Wimplicit-int] parser-yang.c:5045:3: warning: parameter names (without types) in function declaration parser-yang.c:5046:3: error: expected identifier or '(' before 'while' parser-yang.c:5053:3: error: expected identifier or '(' before 'if' parser-yang.c:5057:3: error: expected identifier or '(' before 'return' parser-yang.c:5058:1: error: expected identifier or '(' before '}' token parser-yang.y:182:1: warning: 'checkDate' defined but not used [-Wunused-function] 182 | checkDate(Parser *parserPtr, char *date) | ^~~~~~~~~ parser-yang.y:155:19: warning: 'node' defined but not used [-Wunused-variable] 155 | static _YangNode *node = NULL; | ^~~~ parser-yang.y:129:17: warning: 'topDecl' defined but not used [-Wunused-function] 129 | static YangDecl topDecl() | ^~~~~~~ parser-yang.y:118:13: warning: 'pop' defined but not used [-Wunused-function] 118 | static void pop() | ^~~ parser-yang.y:101:13: warning: 'pushNode' defined but not used [-Wunused-function] 101 | static void pushNode(_YangNode* node) | ^~~~~~~~ parser-yang.y:87:13: warning: 'pushDecl' defined but not used [-Wunused-function] 87 | static void pushDecl(YangDecl decl) | ^~~~~~~~ make[2]: *** [Makefile:570: parser-yang.lo] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o scanner-sming.lo scanner-sming.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c scanner-sming.c -fPIC -DPIC -o .libs/scanner-sming.o scanner-sming.c:7240:16: warning: 'input' defined but not used [-Wunused-function] 7240 | static int input (void) | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o scanner-smi.lo scanner-smi.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c scanner-smi.c -fPIC -DPIC -o .libs/scanner-smi.o scanner-smi.c:13933:16: warning: 'input' defined but not used [-Wunused-function] 13933 | static int input (void) | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o scanner-yang.lo scanner-yang.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c scanner-yang.c -fPIC -DPIC -o .libs/scanner-yang.o scanner-yang.l: In function 'yanglex': scanner-yang.l:790:11: warning: statement with no effect [-Wunused-value] 790 | return identifier; | ^ scanner-yang.l:796:11: warning: statement with no effect [-Wunused-value] 796 | return identifier; | ^ scanner-yang.l:806:11: warning: statement with no effect [-Wunused-value] 806 | return identifierRefArg; | ^ scanner-yang.l:812:11: warning: statement with no effect [-Wunused-value] 812 | return identifierRefArgStr; | ^ scanner-yang.l:822:11: warning: statement with no effect [-Wunused-value] 822 | return dateString; | ^ scanner-yang.l:829:11: warning: statement with no effect [-Wunused-value] 829 | return dateString; | ^ scanner-yang.l:839:11: warning: statement with no effect [-Wunused-value] 839 | return yangVersion; | ^ scanner-yang.l:846:11: warning: statement with no effect [-Wunused-value] 846 | return yangVersion; | ^ scanner-yang.l:887:15: warning: statement with no effect [-Wunused-value] 887 | return qString; | ^ scanner-yang.l:926:15: warning: statement with no effect [-Wunused-value] 926 | return uqString; | ^ At top level: scanner-yang.c:11675:16: warning: 'input' defined but not used [-Wunused-function] 11675 | static int input (void) | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o parser-sming.lo parser-sming.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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.y: In function 'smingparse': parser-sming.y:879:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 879 | if(typePtr = | ^~~~~~~ parser-sming.y:914:40: warning: pointer targets in passing argument 2 of 'findNamedNumberByName' differ in signedness [-Wpointer-sign] 914 | $11->value.ptr)) { | ~~~~~~~~~~~~~~~~~~ ^ | | | unsigned char * In file included from error.h:17, from parser-sming.y:42: smi-data.h:748:20: note: expected 'const char *' but argument is of type 'unsigned char *' 748 | const char *name); | ~~~~~~~~~~~~^~~~ parser-sming.y:913:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 913 | if (namedNumberPtr = findNamedNumberByName(typePtr, | ^~~~~~~~~~~~~~ parser-sming.y:1061:9: warning: statement with no effect [-Wunused-value] 1061 | for (tmpList; tmpList; tmpList=tmpList->nextPtr) { | ^~~ parser-sming.y:1062:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1062 | if (tmpAttribute = | ^~~~~~~~~~~~ parser-sming.y:2157:54: warning: passing argument 2 of 'setAttributeList' makes pointer from integer without a cast [-Wint-conversion] 2157 | setAttributeList($$, $1); | ^ | | | int In file included from error.h:17, from parser-sming.y:42: smi-data.h:705:61: note: expected 'List *' but argument is of type 'int' 705 | extern void setAttributeList(Attribute *attributePtr, List *listPtr); | ~~~~~~^~~~~~~ parser-sming.y:2158:12: warning: assignment to 'List *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 2158 | for (p = $1; p; p = p->nextPtr) | ^ parser-sming.y:2197:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2197 | } else if (tmp = findClass($1, | ^~~ parser-sming.y:2760:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2760 | $$->value.ptr = smiStrdup($1); | ^ parser-sming.y:2817:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2817 | $$->value.ptr = hexToStr($1,strlen($1)); | ^ parser-sming.y:2818:59: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2818 | $$->len = strlen($$->value.ptr); | ~ ^ | | | unsigned char * In file included from parser-sming.y:27: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ parser-sming.y:2865:35: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2865 | strcpy($$->value.ptr,$1); | ~~~~~~~~~~~~~~~~~~ ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from parser-sming.y:24: /usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ parser-sming.y:2866:59: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2866 | $$->len = strlen($$->value.ptr); | ~ ^ | | | unsigned char * In file included from parser-sming.y:27: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ parser-sming.y:2962:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2962 | $$->value.ptr = $1; | ^ parser-sming.y:2978:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2978 | $$->value.ptr = $1; | ^ parser-sming.y:2985:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2985 | $$->value.ptr = $1; | ^ parser-sming.y:2992:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2992 | $$->value.ptr = $1; | ^ parser-sming.y:3008:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3008 | $$->value.ptr = $1; | ^ parser-sming.y:3009:59: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 3009 | $$->len = strlen($$->value.ptr); | ~ ^ | | | unsigned char * In file included from parser-sming.y:27: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ At top level: parser-sming.y:89:12: warning: 'attributeFlag' defined but not used [-Wunused-variable] 89 | static int attributeFlag = 0; | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o parser-smi.lo parser-smi.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c parser-smi.c -fPIC -DPIC -o .libs/parser-smi.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[1]: *** [Makefile:518: all-recursive] Error 1 make: *** [Makefile:404: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.62384 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.62384 (%build) Command exited with non-zero status 1 48.12user 6.00system 0:27.79elapsed 194%CPU (0avgtext+0avgdata 75964maxresident)k 0inputs+0outputs (0major+1044417minor)pagefaults 0swaps hsh-rebuild: rebuild of `libsmi-0.5.0-alt1.svn1841.src.rpm' failed. Command exited with non-zero status 1 57.56user 11.57system 0:41.61elapsed 166%CPU (0avgtext+0avgdata 109964maxresident)k 0inputs+0outputs (0major+1321768minor)pagefaults 0swaps