<86>Jun 11 05:29:39 userdel[380191]: delete user 'rooter' <86>Jun 11 05:29:39 userdel[380191]: removed group 'rooter' owned by 'rooter' <86>Jun 11 05:29:39 groupadd[380203]: group added to /etc/group: name=rooter, GID=630 <86>Jun 11 05:29:39 groupadd[380203]: group added to /etc/gshadow: name=rooter <86>Jun 11 05:29:39 groupadd[380203]: new group: name=rooter, GID=630 <86>Jun 11 05:29:39 useradd[380211]: new user: name=rooter, UID=630, GID=630, home=/root, shell=/bin/bash <86>Jun 11 05:29:39 userdel[380224]: delete user 'builder' <86>Jun 11 05:29:39 userdel[380224]: removed group 'builder' owned by 'builder' <86>Jun 11 05:29:39 userdel[380224]: removed shadow group 'builder' owned by 'builder' <86>Jun 11 05:29:39 groupadd[380234]: group added to /etc/group: name=builder, GID=631 <86>Jun 11 05:29:39 groupadd[380234]: group added to /etc/gshadow: name=builder <86>Jun 11 05:29:39 groupadd[380234]: new group: name=builder, GID=631 <86>Jun 11 05:29:39 useradd[380242]: new user: name=builder, UID=631, GID=631, home=/usr/src, shell=/bin/bash <13>Jun 11 05:29:41 rpmi: libidn2-2.3.1-alt1 sisyphus+272590.100.1.1 1622036908 installed <13>Jun 11 05:29:41 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+262033.600.7.2 1607340230 installed <13>Jun 11 05:29:41 rpmi: libstdc++10-devel-10.2.1-alt3 sisyphus+267829.100.1.1 1615807924 installed <13>Jun 11 05:29:42 rpmi: gcc10-c++-10.2.1-alt3 sisyphus+267829.100.1.1 1615807924 installed <13>Jun 11 05:29:42 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274915 installed <13>Jun 11 05:29:42 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825069 installed <13>Jun 11 05:29:42 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jun 11 05:29:42 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jun 11 05:29:42 rpmi: ca-certificates-2021.06.03-alt1 sisyphus+273509.400.1.1 1622736045 installed <13>Jun 11 05:29:42 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Jun 11 05:29:42 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274915 installed <13>Jun 11 05:29:42 rpmi: libcrypto1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684123 installed <13>Jun 11 05:29:42 rpmi: libssl1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684123 installed <13>Jun 11 05:29:42 rpmi: wget-1.21-alt1 sisyphus+264267.100.1.1 1609523543 installed <13>Jun 11 05:29:42 rpmi: gcc-c++-10-alt1 sisyphus+263054.200.3.1 1607517515 installed <13>Jun 11 05:29:42 rpmi: flex-2.6.4.0.88.9801-alt1 sisyphus+221902.2300.4.1 1550596258 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/libsmi-0.5.0-alt2.nosrc.rpm (w1.gzdio) Installing libsmi-0.5.0-alt2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.95594 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf libsmi-0.5.0 + echo 'Source #0 (libsmi-0.5.0.tar):' Source #0 (libsmi-0.5.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/libsmi-0.5.0.tar + cd libsmi-0.5.0 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (libsmi-0.5.0-alt2.patch):' Patch #0 (libsmi-0.5.0-alt2.patch): + /usr/bin/patch -p1 patching file lib/Makefile.am patching file lib/parser-sming.y patching file lib/scanner-smi.h patching file lib/scanner-sming.h patching file lib/scanner-yang.h patching file tools/smicache.1.in patching file tools/smistrip.in + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.95594 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libsmi-0.5.0 + libtoolize --copy --force libtoolize-default: putting auxiliary files in '.'. libtoolize-default: copying file './ltmain.sh' libtoolize-default: You should add the contents of the following files to 'aclocal.m4': libtoolize-default: '/usr/share/libtool-2.4/aclocal/libtool.m4' libtoolize-default: '/usr/share/libtool-2.4/aclocal/ltoptions.m4' libtoolize-default: '/usr/share/libtool-2.4/aclocal/ltsugar.m4' libtoolize-default: '/usr/share/libtool-2.4/aclocal/ltversion.m4' libtoolize-default: '/usr/share/libtool-2.4/aclocal/lt~obsolete.m4' libtoolize-default: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize-default: and rerunning libtoolize-default and aclocal. libtoolize-default: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.ac: not using Gettext autoreconf-default: running: aclocal --force autoreconf-default: configure.ac: tracing autoreconf-default: running: libtoolize --force --install libtoolize-default: putting auxiliary files in '.'. libtoolize-default: linking file './config.guess' libtoolize-default: linking file './config.sub' libtoolize-default: linking file './install-sh' libtoolize-default: linking file './ltmain.sh' libtoolize-default: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize-default: and rerunning libtoolize-default and aclocal. libtoolize-default: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf-default: configure.ac: not using Intltool autoreconf-default: configure.ac: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force autoreconf-default: running: /usr/bin/autoheader-2.60 --force autoreconf-default: running: automake --add-missing --force-missing configure.ac:26: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:26: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.ac:39: installing './compile' configure.ac:26: installing './missing' lib/Makefile.am: installing './depcomp' mibs/iana/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/iana/Makefile.am:15: (probably a GNU make extension) mibs/ietf/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/ietf/Makefile.am:15: (probably a GNU make extension) mibs/irtf/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/irtf/Makefile.am:15: (probably a GNU make extension) mibs/jacobs/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/jacobs/Makefile.am:15: (probably a GNU make extension) mibs/site/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/site/Makefile.am:15: (probably a GNU make extension) mibs/tubs/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/tubs/Makefile.am:15: (probably a GNU make extension) pibs/Makefile.am:16: warning: shell ls -1d [a-z]*/* | egrep -v 'CVS|Makefile': non-POSIX variable name pibs/Makefile.am:16: (probably a GNU make extension) pibs/ietf/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name pibs/ietf/Makefile.am:14: (probably a GNU make extension) pibs/site/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name pibs/site/Makefile.am:14: (probably a GNU make extension) pibs/tubs/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name pibs/tubs/Makefile.am:14: (probably a GNU make extension) test/Makefile.am:46: warning: shell ls -1d smidiff/* | egrep -v 'CVS|Makefile': non-POSIX variable name test/Makefile.am:46: (probably a GNU make extension) parallel-tests: installing './test-driver' test/dumps/cm/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/cm/Makefile.am:14: (probably a GNU make extension) test/dumps/corba/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/corba/Makefile.am:14: (probably a GNU make extension) test/dumps/identifiers/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/identifiers/Makefile.am:14: (probably a GNU make extension) test/dumps/imports/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/imports/Makefile.am:14: (probably a GNU make extension) test/dumps/jax/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/jax/Makefile.am:14: (probably a GNU make extension) test/dumps/metrics/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/metrics/Makefile.am:14: (probably a GNU make extension) test/dumps/mosy/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/mosy/Makefile.am:14: (probably a GNU make extension) test/dumps/netsnmp/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/netsnmp/Makefile.am:14: (probably a GNU make extension) test/dumps/orig-smiv2/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/orig-smiv2/Makefile.am:14: (probably a GNU make extension) test/dumps/python/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/python/Makefile.am:14: (probably a GNU make extension) test/dumps/smilint-smiv2/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/smilint-smiv2/Makefile.am:14: (probably a GNU make extension) test/dumps/sming/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/sming/Makefile.am:14: (probably a GNU make extension) test/dumps/smiv1/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/smiv1/Makefile.am:14: (probably a GNU make extension) test/dumps/smiv2-smiv2/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/smiv2-smiv2/Makefile.am:14: (probably a GNU make extension) test/dumps/smiv2/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/smiv2/Makefile.am:14: (probably a GNU make extension) test/dumps/tree/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/tree/Makefile.am:14: (probably a GNU make extension) test/dumps/types/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/types/Makefile.am:14: (probably a GNU make extension) test/dumps/xml/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/xml/Makefile.am:14: (probably a GNU make extension) test/dumps/yang/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/yang/Makefile.am:14: (probably a GNU make extension) test/smidiff/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/smidiff/Makefile.am:14: (probably a GNU make extension) tools/Makefile.am:14: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') yang/Makefile.am:16: warning: shell ls -1d [a-z]*/* | egrep -v 'CVS|Makefile': non-POSIX variable name yang/Makefile.am:16: (probably a GNU make extension) yang/iana/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name yang/iana/Makefile.am:15: (probably a GNU make extension) yang/ietf/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name yang/ietf/Makefile.am:15: (probably a GNU make extension) yang/site/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name yang/site/Makefile.am:14: (probably a GNU make extension) autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_prog_cc_static_works=no + lt_cv_prog_cc_static_works=no + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri 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 + sort -u + xargs -ri dirname -- '{}' + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --disable-static --enable-shared --sysconfdir=/etc --enable-smi --enable-sming configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-alt-linux-gcc... none checking for additional required compiler flags... checking for strtoll... yes checking for strtoull... yes checking for strtoq... yes checking for strtouq... yes checking for timegm... yes checking for vsnprintf... yes checking for snprintf... yes checking for asprintf... yes checking for asnprintf... no checking for vasprintf... yes checking for vasnprintf... no checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking for unistd.h... (cached) yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for stdint.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for regexec in -lc... yes checking for path separator character... : checking for dir separator character... / checking for 64 bit types... long long/%lld, etc. checking for flex... /usr/bin/flex checking for bison... /usr/bin/bison checking for bash... /bin/sh checking for sh... /bin/sh checking for awk... /bin/awk checking for wget... /usr/bin/wget checking for gdiff... no checking for diff... /usr/bin/diff checking whether make sets $(MAKE)... (cached) yes checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by x86_64-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-alt-linux-gnu file names to x86_64-alt-linux-gnu format... func_convert_file_noop checking how to convert x86_64-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for x86_64-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-alt-linux-strip... no checking for strip... strip checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-gcc static flag -static works... no checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking if x86_64-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no ./configure: line 12877: ./libtool: No such file or directory checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating tools/Makefile config.status: creating mibs/Makefile config.status: creating mibs/iana/Makefile config.status: creating mibs/ietf/Makefile config.status: creating mibs/irtf/Makefile config.status: creating mibs/jacobs/Makefile config.status: creating mibs/tubs/Makefile config.status: creating mibs/site/Makefile config.status: creating pibs/Makefile config.status: creating pibs/ietf/Makefile config.status: creating pibs/tubs/Makefile config.status: creating pibs/site/Makefile config.status: creating yang/Makefile config.status: creating yang/ietf/Makefile config.status: creating yang/iana/Makefile config.status: creating yang/site/Makefile config.status: creating test/Makefile config.status: creating test/mibs/Makefile config.status: creating test/smidiff/Makefile config.status: creating test/dumps/Makefile config.status: creating test/dumps/corba/Makefile config.status: creating test/dumps/imports/Makefile config.status: creating test/dumps/jax/Makefile config.status: creating test/dumps/netsnmp/Makefile config.status: creating test/dumps/mosy/Makefile config.status: creating test/dumps/orig-smiv2/Makefile config.status: creating test/dumps/smilint-smiv2/Makefile config.status: creating test/dumps/sming/Makefile config.status: creating test/dumps/smiv1/Makefile config.status: creating test/dumps/smiv2/Makefile config.status: creating test/dumps/smiv2-smiv2/Makefile config.status: creating test/dumps/tree/Makefile config.status: creating test/dumps/types/Makefile config.status: creating test/dumps/identifiers/Makefile config.status: creating test/dumps/metrics/Makefile config.status: creating test/dumps/xml/Makefile config.status: creating test/dumps/cm/Makefile config.status: creating test/dumps/python/Makefile config.status: creating test/dumps/yang/Makefile config.status: creating doc/Makefile config.status: creating lib/smi.h config.status: creating lib/libsmi.3 config.status: creating lib/smi_macro.3 config.status: creating lib/smi_module.3 config.status: creating lib/smi_node.3 config.status: creating lib/smi_type.3 config.status: creating lib/smi_config.3 config.status: creating lib/smi_render.3 config.status: creating lib/smi_util.3 config.status: creating lib/smi_class.3 config.status: creating lib/smi_attribute.3 config.status: creating lib/smi_event.3 config.status: creating lib/smi_identity.3 config.status: creating lib/yang_node.3 config.status: creating tools/smistrip config.status: creating tools/smicache config.status: creating tools/smiquery.1 config.status: creating tools/smilint.1 config.status: creating tools/smidump.1 config.status: creating tools/smidiff.1 config.status: creating tools/smistrip.1 config.status: creating tools/smicache.1 config.status: creating tools/smixlate.1 config.status: creating tools/mib2svg.cgi config.status: creating test/parser.test config.status: creating test/parser-yang.test config.status: creating test/parser-yang-ct.test config.status: creating test/smidump-corba.test config.status: creating test/smidump-jax.test config.status: creating test/smidump-netsnmp.test config.status: creating test/smidump-imports.test config.status: creating test/smidump-mosy.test config.status: creating test/smidump-orig-smiv2.test config.status: creating test/smidump-sming.test config.status: creating test/smidump-yang.test config.status: creating test/smidump-smiv1.test config.status: creating test/smidump-smiv2-smiv2.test config.status: creating test/smidump-smiv2.test config.status: creating test/smidump-tree.test config.status: creating test/smidump-types.test config.status: creating test/smidump-identifiers.test config.status: creating test/smidump-metrics.test config.status: creating test/smidump-xml.test config.status: creating test/smidump-cm.test config.status: creating test/smidump-python.test config.status: creating test/smilint-smiv2.test config.status: creating test/smidiff.test config.status: creating libsmi.pc config.status: creating win/config.h config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default commands configure: WARNING: unrecognized options: --without-included-gettext + LIBTOOL=/usr/bin/libtool + make -j8 make all-recursive Making all in lib make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' cat error.c | grep ERR_ | \ sed -e 's/^.*\(ERR_[a-zA-Z0-9_]*\).*$/\1/' | \ awk '{printf "#define %-50s %d\n", $1, NR-1}' > errormacros.h make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o util.lo util.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c util.c -fPIC -DPIC -o .libs/util.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o error.lo error.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c error.c -fPIC -DPIC -o .libs/error.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o yang-complex-types.lo yang-complex-types.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c yang-complex-types.c -fPIC -DPIC -o .libs/yang-complex-types.o yang-complex-types.c: In function 'addCTExtNode': yang-complex-types.c:148:9: warning: implicit declaration of function 'createIdentifierRef'; did you mean 'listIdentifierRef'? [-Wimplicit-function-declaration] 148 | createIdentifierRef(ret, prefix, identifier); | ^~~~~~~~~~~~~~~~~~~ | listIdentifierRef make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o common.lo common.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c common.c -fPIC -DPIC -o .libs/common.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o snprintf.lo snprintf.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c snprintf.c -fPIC -DPIC -o .libs/snprintf.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o smi2yang.lo smi2yang.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c smi2yang.c -fPIC -DPIC -o .libs/smi2yang.o smi2yang.c: In function 'smi2yangLeafPath': smi2yang.c:442:28: warning: unused variable 'parentModule' [-Wunused-variable] 442 | SmiModule *smiModule, *parentModule = NULL; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o yang-check.lo yang-check.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c yang-check.c -fPIC -DPIC -o .libs/yang-check.o yang-check.c: In function 'findTargetNode': yang-check.c:249:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 249 | || childPtr->export.nodeKind == YANG_DECL_INPUT && !strcmp("input", value) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ yang-check.c:250:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 250 | || childPtr->export.nodeKind == YANG_DECL_OUTPUT && !strcmp("output", value)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ yang-check.c: In function 'resolveXPath': yang-check.c:328:43: warning: comparison between 'YangStatus' and 'enum _YangParsingState' [-Wenum-compare] 328 | && tmpNode->export.status == YANG_PARSING_IN_PROGRESS) { | ^~ yang-check.c: In function 'typeHandler': yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_NONE' not handled in switch [-Wswitch] 1075 | switch (nodePtr->typeInfo->builtinType) { | ^~~~~~ yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_BINARY' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_BOOLEAN' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_EMPTY' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_INSTANCE_IDENTIFIER' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_INT8' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_INT16' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_INT32' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_INT64' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_STRING' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_UINT8' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_UINT16' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_UINT32' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_UINT64' not handled in switch [-Wswitch] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o smi-check.lo smi-check.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c smi-check.c -fPIC -DPIC -o .libs/smi-check.o smi-check.c: In function 'smiCheckIndex': smi-check.c:779:2: warning: enumeration value 'SMI_BASETYPE_POINTER' not handled in switch [-Wswitch] 779 | switch (typePtr->export.basetype) { | ^~~~~~ smi-check.c: In function 'smiCheckNotificationMembers': smi-check.c:2085:11: warning: variable 'node' set but not used [-Wunused-but-set-variable] 2085 | Node *node = NULL; | ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o yang.lo yang.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c yang.c -fPIC -DPIC -o .libs/yang.o yang.c: In function 'yangDeclAsString': yang.c:51:5: warning: enumeration value 'YANG_DECL_LAST' not handled in switch [-Wswitch] 51 | switch (decl) { | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o smi-data.lo smi-data.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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-yang.tab.h -t -pyang -o parser-yang.c parser-yang.y parser-yang.y:271.1-12: warning: deprecated directive: '%pure_parser', use '%define api.pure' [-Wdeprecated] 271 | %pure_parser | ^~~~~~~~~~~~ | %define api.pure parser-yang.y: warning: 56 shift/reduce conflicts [-Wconflicts-sr] parser-yang.y: warning: 1088 reduce/reduce conflicts [-Wconflicts-rr] parser-yang.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples parser-yang.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o smi.lo smi.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o parser-smi.lo parser-smi.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c parser-smi.c -fPIC -DPIC -o .libs/parser-smi.o parser-smi.c:2723:52: warning: null character(s) ignored 2723 | 298, 298, 299, 299, 301, 300, 303, 302, 304, 304, | ^ parser-smi.c:2724:3: error: expected expression before 'case' 2724 | 305, 305, 306, 307, 307, 307, 309, 310, 311, 308, | ^ ~ parser-smi.c:9973:3: error: expected ',' or ';' before 'YY_SYMBOL_PRINT' parser-smi.c:9975:3: warning: data definition has no type or storage class parser-smi.c:9975:3: warning: type defaults to 'int' in declaration of 'YYPOPSTACK' [-Wimplicit-int] parser-smi.c:9975:3: warning: parameter names (without types) in function declaration parser-smi.c:9976:3: warning: data definition has no type or storage class parser-smi.c:9976:3: warning: type defaults to 'int' in declaration of 'yylen' [-Wimplicit-int] parser-smi.c:9978:4: error: expected identifier or '(' before '++' token parser-smi.c:9983:3: error: expected identifier or '(' before '{' token parser-smi.c:9991:3: error: expected identifier or '(' before 'goto' parser-smi.c:9997:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-smi.c:10002:3: error: expected identifier or '(' before 'if' parser-smi.c:10008:3: error: expected identifier or '(' before 'if' parser-smi.c:10029:3: error: expected identifier or '(' before 'goto' parser-smi.c:10035:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-smi.c:10043:3: warning: data definition has no type or storage class parser-smi.c:10043:3: warning: type defaults to 'int' in declaration of 'YYPOPSTACK' [-Wimplicit-int] parser-smi.c:10043:3: warning: parameter names (without types) in function declaration parser-smi.c:10044:3: warning: data definition has no type or storage class parser-smi.c:10044:3: warning: type defaults to 'int' in declaration of 'yylen' [-Wimplicit-int] parser-smi.c:10044:3: error: redefinition of 'yylen' parser-smi.c:9976:3: note: previous definition of 'yylen' was here parser-smi.c:10045:3: warning: data definition has no type or storage class parser-smi.c:10045:3: warning: type defaults to 'int' in declaration of 'YY_STACK_PRINT' [-Wimplicit-int] parser-smi.c:10045:3: warning: parameter names (without types) in function declaration parser-smi.c:10046:3: warning: data definition has no type or storage class parser-smi.c:10046:3: warning: type defaults to 'int' in declaration of 'yystate' [-Wimplicit-int] parser-smi.c:10046:14: error: 'yyssp' undeclared here (not in a function) parser-smi.c:10046:13: error: initializer element is not constant parser-smi.c:10047:3: error: expected identifier or '(' before 'goto' parser-smi.c:10053:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-smi.c:10057:3: error: expected identifier or '(' before 'for' parser-smi.c:10057:10: error: expected identifier or '(' before ')' token parser-smi.c:10084:4: error: expected identifier or '(' before '++' token parser-smi.c:10089:20: error: expected declaration specifiers or '...' before string constant parser-smi.c:1344:31: error: expected declaration specifiers or '...' before '(' token 1344 | # define YY_CAST(Type, Val) ((Type) (Val)) | ^ parser-smi.c:2130:36: note: in expansion of macro 'YY_CAST' 2130 | #define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State]) | ^~~~~~~ parser-smi.c:10089:32: note: in expansion of macro 'YY_ACCESSING_SYMBOL' parser-smi.c:10089:59: error: unknown type name 'yyvsp' parser-smi.c:10089:66: error: unknown type name 'yylsp' parser-smi.c:10091:3: warning: data definition has no type or storage class parser-smi.c:10091:3: warning: type defaults to 'int' in declaration of 'yystate' [-Wimplicit-int] parser-smi.c:10091:3: error: redefinition of 'yystate' parser-smi.c:10046:3: note: previous definition of 'yystate' was here parser-smi.c:10091:13: error: 'yyn' undeclared here (not in a function); did you mean 'yylen'? parser-smi.c:10091:13: warning: initialization of 'int' from 'const yytype_int16 *' {aka 'const short int *'} makes integer from pointer without a cast [-Wint-conversion] parser-smi.c:10091:13: error: initializer element is not constant parser-smi.c:10092:3: error: expected identifier or '(' before 'goto' parser-smi.c:10098:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-smi.c:10100:3: error: expected identifier or '(' before 'goto' parser-smi.c:10106:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-smi.c:10108:3: error: expected identifier or '(' before 'goto' parser-smi.c:10115:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-smi.c:10117:3: warning: data definition has no type or storage class parser-smi.c:10117:3: warning: type defaults to 'int' in declaration of 'yyresult' [-Wimplicit-int] parser-smi.c:10118:3: error: expected identifier or '(' before 'goto' parser-smi.c:10125:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-smi.c:10136:3: warning: data definition has no type or storage class parser-smi.c:10136:3: warning: type defaults to 'int' in declaration of 'YYPOPSTACK' [-Wimplicit-int] parser-smi.c:10136:3: warning: parameter names (without types) in function declaration parser-smi.c:10137:3: warning: data definition has no type or storage class parser-smi.c:10137:3: warning: type defaults to 'int' in declaration of 'YY_STACK_PRINT' [-Wimplicit-int] parser-smi.c:10137:3: warning: parameter names (without types) in function declaration parser-smi.c:10138:3: error: expected identifier or '(' before 'while' parser-smi.c:10145:3: error: expected identifier or '(' before 'if' parser-smi.c:10149:3: error: expected identifier or '(' before 'return' parser-smi.c:10150:1: error: expected identifier or '(' before '}' token parser-smi.c:2683:27: warning: 'yyr1' defined but not used [-Wunused-const-variable=] 2683 | static const yytype_int16 yyr1[] = | ^~~~ parser-smi.c:2607:27: warning: 'yystos' defined but not used [-Wunused-const-variable=] 2607 | static const yytype_int16 yystos[] = | ^~~~~~ parser-smi.c:2534:27: warning: 'yycheck' defined but not used [-Wunused-const-variable=] 2534 | static const yytype_int16 yycheck[] = | ^~~~~~~ parser-smi.c:2463:27: warning: 'yytable' defined but not used [-Wunused-const-variable=] 2463 | static const yytype_int16 yytable[] = | ^~~~~~~ parser-smi.c:2433:27: warning: 'yydefgoto' defined but not used [-Wunused-const-variable=] 2433 | static const yytype_int16 yydefgoto[] = | ^~~~~~~~~ parser-smi.c:2405:27: warning: 'yypgoto' defined but not used [-Wunused-const-variable=] 2405 | static const yytype_int16 yypgoto[] = | ^~~~~~~ parser-smi.c:2329:27: warning: 'yydefact' defined but not used [-Wunused-const-variable=] 2329 | static const yytype_int16 yydefact[] = | ^~~~~~~~ parser-smi.c:2251:27: warning: 'yypact' defined but not used [-Wunused-const-variable=] 2251 | static const yytype_int16 yypact[] = | ^~~~~~ parser-smi.c:2081:27: warning: 'yyrline' defined but not used [-Wunused-const-variable=] 2081 | static const yytype_int16 yyrline[] = | ^~~~~~~ parser-smi.c:2039:26: warning: 'yytranslate' defined but not used [-Wunused-const-variable=] 2039 | static const yytype_int8 yytranslate[] = | ^~~~~~~~~~~ parser-smi.y:1199:1: warning: 'checkDate' defined but not used [-Wunused-function] 1199 | checkDate(Parser *parserPtr, char *date) | ^~~~~~~~~ parser-smi.y:1144:1: warning: 'checkImportsUsage' defined but not used [-Wunused-function] 1144 | checkImportsUsage(Parser *parserPtr, Module *modulePtr) | ^~~~~~~~~~~~~~~~~ parser-smi.y:1118:1: warning: 'checkDefvals' defined but not used [-Wunused-function] 1118 | checkDefvals(Parser *parserPtr, Module *modulePtr) | ^~~~~~~~~~~~ parser-smi.y:946:1: warning: 'checkTypes' defined but not used [-Wunused-function] 946 | checkTypes(Parser *parserPtr, Module *modulePtr) | ^~~~~~~~~~ parser-smi.y:202:1: warning: 'checkObjects' defined but not used [-Wunused-function] 202 | checkObjects(Parser *parserPtr, Module *modulePtr) | ^~~~~~~~~~~~ parser-smi.y:187:1: warning: 'checkModuleIdentity' defined but not used [-Wunused-function] 187 | checkModuleIdentity(Parser *parserPtr, Module *modulePtr) | ^~~~~~~~~~~~~~~~~~~ parser-smi.y:139:1: warning: 'checkModuleName' defined but not used [-Wunused-function] 139 | checkModuleName(Parser *parserPtr, Module *modulePtr) | ^~~~~~~~~~~~~~~ parser-smi.y:125:1: warning: 'checkNameLen' defined but not used [-Wunused-function] 125 | checkNameLen(Parser *parser, char *name, int error_32, int error_64) | ^~~~~~~~~~~~ parser-smi.y:111:1: warning: 'checkDescr' defined but not used [-Wunused-function] 111 | checkDescr(Parser *parser, char *descr) | ^~~~~~~~~~ parser-smi.y:65:15: warning: 'indexFlag' defined but not used [-Wunused-variable] 65 | static int indexFlag; | ^~~~~~~~~ parser-smi.y:64:20: warning: 'defaultBasetype' defined but not used [-Wunused-variable] 64 | static SmiBasetype defaultBasetype; | ^~~~~~~~~~~~~~~ parser-smi.y:63:20: warning: 'variationkind' defined but not used [-Wunused-variable] 63 | static SmiNodekind variationkind; | ^~~~~~~~~~~~~ parser-smi.y:62:15: warning: 'impliedFlag' defined but not used [-Wunused-variable] 62 | static int impliedFlag; | ^~~~~~~~~~~ make[2]: *** [Makefile:570: parser-smi.lo] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/bison --defines=parser-sming.tab.h -t -psming -o parser-sming.c parser-sming.y parser-sming.y:352.1-12: warning: deprecated directive: '%pure_parser', use '%define api.pure' [-Wdeprecated] 352 | %pure_parser | ^~~~~~~~~~~~ | %define api.pure parser-sming.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/bison --defines=parser-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 x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o parser-yang.lo parser-yang.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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.y: In function 'yangparse': parser-yang.y:615:21: warning: implicit declaration of function 'yangSemanticAnalysis' [-Wimplicit-function-declaration] 615 | yangSemanticAnalysis(thisModulePtr); | ^~~~~~~~~~~~~~~~~~~~ parser-yang.y:886:1: warning: null character(s) ignored 886 | debug("DEBUGG: OOPS wrong prefix DECL %d, at line %d\n", topDecl(), currentParser->line); | ^ parser-yang.y:886: warning: statement with no effect [-Wunused-value] 886 | debug("DEBUGG: OOPS wrong prefix DECL %d, at line %d\n", topDecl(), currentParser->line); | parser-yang.y:886:1: error: expected ';' before 'identifierStr' 886 | debug("DEBUGG: OOPS wrong prefix DECL %d, at line %d\n", topDecl(), currentParser->line); | ^ | ; parser-yang.y:886: error: stray '@' in program 886 | debug("DEBUGG: OOPS wrong prefix DECL %d, at line %d\n", topDecl(), currentParser->line); | parser-yang.y:2062:17: warning: implicit declaration of function 'createIdentifierRef'; did you mean 'listIdentifierRef'? [-Wimplicit-function-declaration] 2062 | createIdentifierRef(node, getPrefix($2), getIdentifier($2)); | ^~~~~~~~~~~~~~~~~~~ | listIdentifierRef parser-yang.c:4868:7: error: multiple default labels in one switch 4868 | default: break; | ^~~~~~~ parser-yang.y:884:33: note: this is the first default label 884 | default: | ^~~~~~~ parser-yang.c:3843:3: warning: case value '347' not in enumerated type 'YangDecl' [-Wswitch] 3843 | case 347: /* caseSpec: ';' */ | ^~~~ parser-yang.c:3849:3: warning: case value '348' not in enumerated type 'YangDecl' [-Wswitch] 3849 | case 348: /* caseSpec: '{' stmtSep caseSubstatement_0n '}' */ | ^~~~ parser-yang.c:3855:3: warning: case value '349' not in enumerated type 'YangDecl' [-Wswitch] 3855 | case 349: /* caseSubstatement_0n: %empty */ | ^~~~ parser-yang.c:3861:3: warning: case value '363' not in enumerated type 'YangDecl' [-Wswitch] 3861 | case 363: /* $@29: %empty */ | ^~~~ parser-yang.c:3870:3: warning: case value '364' not in enumerated type 'YangDecl' [-Wswitch] 3870 | case 364: /* groupingStatement: groupingKeyword identifierStr $@29 '{' stmtSep groupingSubstatement_0n '}' */ | ^~~~ parser-yang.c:3878:3: warning: case value '365' not in enumerated type 'YangDecl' [-Wswitch] 3878 | case 365: /* groupingSubstatement_0n: %empty */ | ^~~~ parser-yang.c:3884:3: warning: case value '373' not in enumerated type 'YangDecl' [-Wswitch] 3884 | case 373: /* $@30: %empty */ | ^~~~ parser-yang.c:3894:3: warning: case value '374' not in enumerated type 'YangDecl' [-Wswitch] 3894 | case 374: /* usesStatement: usesKeyword identifierRef $@30 '{' usesSubstatement_0n '}' */ | ^~~~ parser-yang.c:3902:3: warning: case value '375' not in enumerated type 'YangDecl' [-Wswitch] 3902 | case 375: /* usesStatement: usesKeyword identifierRef ';' */ | ^~~~ parser-yang.c:3911:3: warning: case value '376' not in enumerated type 'YangDecl' [-Wswitch] 3911 | case 376: /* usesSubstatement_0n: %empty */ | ^~~~ parser-yang.c:3917:3: warning: case value '385' not in enumerated type 'YangDecl' [-Wswitch] 3917 | case 385: /* $@31: %empty */ | ^~~~ parser-yang.c:3929:3: warning: case value '386' not in enumerated type 'YangDecl' [-Wswitch] 3929 | case 386: /* refineStatement: refineKeyword string $@31 refineSpec */ | ^~~~ parser-yang.c:3937:3: warning: case value '387' not in enumerated type 'YangDecl' [-Wswitch] 3937 | case 387: /* refineSpec: ';' */ | ^~~~ parser-yang.c:3943:3: warning: case value '388' not in enumerated type 'YangDecl' [-Wswitch] 3943 | case 388: /* refineSpec: '{' stmtSep refineSubstatement '}' */ | ^~~~ parser-yang.c:3949:3: warning: case value '390' not in enumerated type 'YangDecl' [-Wswitch] 3949 | case 390: /* refine_0n: %empty */ | ^~~~ parser-yang.c:3955:3: warning: case value '401' not in enumerated type 'YangDecl' [-Wswitch] 3955 | case 401: /* $@32: %empty */ | ^~~~ parser-yang.c:3973:3: warning: case value '402' not in enumerated type 'YangDecl' [-Wswitch] 3973 | case 402: /* augmentStatement: augmentKeyword string $@32 '{' stmtSep augmentSubstatement_0n '}' */ | ^~~~ parser-yang.c:3994:3: warning: case value '403' not in enumerated type 'YangDecl' [-Wswitch] 3994 | case 403: /* augmentSubstatement_0n: stmtSep */ | ^~~~ parser-yang.c:4000:3: warning: case value '412' not in enumerated type 'YangDecl' [-Wswitch] 4000 | case 412: /* whenStatement: whenKeyword string stmtEnd */ | ^~~~ parser-yang.c:4009:3: warning: case value '413' not in enumerated type 'YangDecl' [-Wswitch] 4009 | case 413: /* $@33: %empty */ | ^~~~ parser-yang.c:4018:3: warning: case value '414' not in enumerated type 'YangDecl' [-Wswitch] 4018 | case 414: /* rpcStatement: rpcKeyword identifierStr $@33 rpcSpec */ | ^~~~ parser-yang.c:4026:3: warning: case value '415' not in enumerated type 'YangDecl' [-Wswitch] 4026 | case 415: /* rpcSpec: ';' */ | ^~~~ parser-yang.c:4032:3: warning: case value '416' not in enumerated type 'YangDecl' [-Wswitch] 4032 | case 416: /* rpcSpec: '{' stmtSep rpcSubstatement_0n '}' */ | ^~~~ parser-yang.c:4038:3: warning: case value '417' not in enumerated type 'YangDecl' [-Wswitch] 4038 | case 417: /* rpcSubstatement_0n: %empty */ | ^~~~ parser-yang.c:4044:3: warning: case value '427' not in enumerated type 'YangDecl' [-Wswitch] 4044 | case 427: /* $@34: %empty */ | ^~~~ parser-yang.c:4053:3: warning: case value '428' not in enumerated type 'YangDecl' [-Wswitch] 4053 | case 428: /* inputStatement: inputKeyword $@34 '{' stmtSep inputOutputSubstatement_0n '}' */ | ^~~~ parser-yang.c:4073:3: warning: case value '434' not in enumerated type 'YangDecl' [-Wswitch] 4073 | case 434: /* $@35: %empty */ | ^~~~ parser-yang.c:4082:3: warning: case value '435' not in enumerated type 'YangDecl' [-Wswitch] 4082 | case 435: /* outputStatement: outputKeyword $@35 '{' stmtSep inputOutputSubstatement_0n '}' */ | ^~~~ parser-yang.c:4102:3: warning: case value '436' not in enumerated type 'YangDecl' [-Wswitch] 4102 | case 436: /* $@36: %empty */ | ^~~~ parser-yang.c:4111:3: warning: case value '437' not in enumerated type 'YangDecl' [-Wswitch] 4111 | case 437: /* notificationStatement: notificationKeyword identifierStr $@36 notificationSpec */ | ^~~~ parser-yang.c:4119:3: warning: case value '438' not in enumerated type 'YangDecl' [-Wswitch] 4119 | case 438: /* notificationSpec: ';' */ | ^~~~ parser-yang.c:4125:3: warning: case value '439' not in enumerated type 'YangDecl' [-Wswitch] 4125 | case 439: /* notificationSpec: '{' stmtSep notificationSubstatement_0n '}' */ | ^~~~ parser-yang.c:4131:3: warning: case value '440' not in enumerated type 'YangDecl' [-Wswitch] 4131 | case 440: /* notificationSubstatement_0n: %empty */ | ^~~~ parser-yang.c:4137:3: warning: case value '449' not in enumerated type 'YangDecl' [-Wswitch] 4137 | case 449: /* $@37: %empty */ | ^~~~ parser-yang.c:4146:3: warning: case value '450' not in enumerated type 'YangDecl' [-Wswitch] 4146 | case 450: /* deviationStatement: deviationKeyword string $@37 '{' stmtSep deviationSubstatement_0n '}' */ | ^~~~ parser-yang.c:4154:3: warning: case value '459' not in enumerated type 'YangDecl' [-Wswitch] 4154 | case 459: /* deviateNotSupported: deviateKeyword notSupportedKeyword ';' */ | ^~~~ parser-yang.c:4163:3: warning: case value '460' not in enumerated type 'YangDecl' [-Wswitch] 4163 | case 460: /* deviateNotSupported: deviateKeyword notSupportedKeyword '{' stmtSep '}' */ | ^~~~ parser-yang.c:4172:3: warning: case value '461' not in enumerated type 'YangDecl' [-Wswitch] 4172 | case 461: /* $@38: %empty */ | ^~~~ parser-yang.c:4181:3: warning: case value '462' not in enumerated type 'YangDecl' [-Wswitch] 4181 | case 462: /* deviateAddStatement: deviateKeyword addKeyword $@38 deviateAddSpec */ | ^~~~ parser-yang.c:4189:3: warning: case value '463' not in enumerated type 'YangDecl' [-Wswitch] 4189 | case 463: /* deviateAddSpec: ';' */ | ^~~~ parser-yang.c:4195:3: warning: case value '464' not in enumerated type 'YangDecl' [-Wswitch] 4195 | case 464: /* deviateAddSpec: '{' stmtSep deviateAddSubstatement_0n '}' */ | ^~~~ parser-yang.c:4201:3: warning: case value '465' not in enumerated type 'YangDecl' [-Wswitch] 4201 | case 465: /* deviateAddSubstatement_0n: %empty */ | ^~~~ parser-yang.c:4207:3: warning: case value '475' not in enumerated type 'YangDecl' [-Wswitch] 4207 | case 475: /* $@39: %empty */ | ^~~~ parser-yang.c:4216:3: warning: case value '476' not in enumerated type 'YangDecl' [-Wswitch] 4216 | case 476: /* deviateDeleteStatement: deviateKeyword deleteKeyword $@39 deviateDeleteSpec */ | ^~~~ parser-yang.c:4224:3: warning: case value '477' not in enumerated type 'YangDecl' [-Wswitch] 4224 | case 477: /* deviateDeleteSpec: ';' */ | ^~~~ parser-yang.c:4230:3: warning: case value '478' not in enumerated type 'YangDecl' [-Wswitch] 4230 | case 478: /* deviateDeleteSpec: '{' stmtSep deviateDeleteSubstatement_0n '}' */ | ^~~~ parser-yang.c:4236:3: warning: case value '479' not in enumerated type 'YangDecl' [-Wswitch] 4236 | case 479: /* deviateDeleteSubstatement_0n: %empty */ | ^~~~ parser-yang.c:4242:3: warning: case value '485' not in enumerated type 'YangDecl' [-Wswitch] 4242 | case 485: /* $@40: %empty */ | ^~~~ parser-yang.c:4251:3: warning: case value '486' not in enumerated type 'YangDecl' [-Wswitch] 4251 | case 486: /* deviateReplaceStatement: deviateKeyword replaceKeyword $@40 deviateReplaceSpec */ | ^~~~ parser-yang.c:4259:3: warning: case value '487' not in enumerated type 'YangDecl' [-Wswitch] 4259 | case 487: /* deviateReplaceSpec: ';' */ | ^~~~ parser-yang.c:4265:3: warning: case value '488' not in enumerated type 'YangDecl' [-Wswitch] 4265 | case 488: /* deviateReplaceSpec: '{' stmtSep deviateReplaceSubstatement_0n '}' */ | ^~~~ parser-yang.c:4271:3: warning: case value '489' not in enumerated type 'YangDecl' [-Wswitch] 4271 | case 489: /* deviateReplaceSubstatement_0n: %empty */ | ^~~~ parser-yang.c:4277:3: warning: case value '498' not in enumerated type 'YangDecl' [-Wswitch] 4277 | case 498: /* $@41: %empty */ | ^~~~ parser-yang.c:4286:3: warning: case value '499' not in enumerated type 'YangDecl' [-Wswitch] 4286 | case 499: /* anyXMLStatement: anyXMLKeyword identifierStr $@41 anyXMLSpec */ | ^~~~ parser-yang.c:4294:3: warning: case value '500' not in enumerated type 'YangDecl' [-Wswitch] 4294 | case 500: /* anyXMLSpec: ';' */ | ^~~~ parser-yang.c:4300:3: warning: case value '501' not in enumerated type 'YangDecl' [-Wswitch] 4300 | case 501: /* anyXMLSpec: '{' stmtSep anyXMLSubstatement_0n '}' */ | ^~~~ parser-yang.c:4306:3: warning: case value '502' not in enumerated type 'YangDecl' [-Wswitch] 4306 | case 502: /* anyXMLSubstatement_0n: %empty */ | ^~~~ parser-yang.c:4312:3: warning: case value '509' not in enumerated type 'YangDecl' [-Wswitch] 4312 | case 509: /* $@42: %empty */ | ^~~~ parser-yang.c:4321:3: warning: case value '510' not in enumerated type 'YangDecl' [-Wswitch] 4321 | case 510: /* extensionStatement: extensionKeyword identifierStr $@42 extensionStatementBody */ | ^~~~ parser-yang.c:4329:3: warning: case value '511' not in enumerated type 'YangDecl' [-Wswitch] 4329 | case 511: /* extensionStatementBody: '{' stmtSep extensionSubstatement_0n '}' */ | ^~~~ parser-yang.c:4335:3: warning: case value '512' not in enumerated type 'YangDecl' [-Wswitch] 4335 | case 512: /* extensionStatementBody: ';' */ | ^~~~ parser-yang.c:4341:3: warning: case value '513' not in enumerated type 'YangDecl' [-Wswitch] 4341 | case 513: /* extensionSubstatement_0n: %empty */ | ^~~~ parser-yang.c:4347:3: warning: case value '519' not in enumerated type 'YangDecl' [-Wswitch] 4347 | case 519: /* $@43: %empty */ | ^~~~ parser-yang.c:4357:3: warning: case value '520' not in enumerated type 'YangDecl' [-Wswitch] 4357 | case 520: /* argumentStatement: argumentKeyword identifierStr $@43 argumentStatementBody */ | ^~~~ parser-yang.c:4365:3: warning: case value '521' not in enumerated type 'YangDecl' [-Wswitch] 4365 | case 521: /* argumentStatementBody: '{' stmtSep yinElementOptional '}' */ | ^~~~ parser-yang.c:4371:3: warning: case value '522' not in enumerated type 'YangDecl' [-Wswitch] 4371 | case 522: /* argumentStatementBody: ';' */ | ^~~~ parser-yang.c:4377:3: warning: case value '523' not in enumerated type 'YangDecl' [-Wswitch] 4377 | case 523: /* yinElementOptional: %empty */ | ^~~~ parser-yang.c:4383:3: warning: case value '524' not in enumerated type 'YangDecl' [-Wswitch] 4383 | case 524: /* yinElementOptional: yinElementKeyword trueKeyword stmtEnd stmtSep */ | ^~~~ parser-yang.c:4391:3: warning: case value '525' not in enumerated type 'YangDecl' [-Wswitch] 4391 | case 525: /* yinElementOptional: yinElementKeyword falseKeyword stmtEnd stmtSep */ | ^~~~ parser-yang.c:4399:3: warning: case value '526' not in enumerated type 'YangDecl' [-Wswitch] 4399 | case 526: /* unitsStatement: unitsKeyword string stmtEnd */ | ^~~~ parser-yang.c:4408:3: warning: case value '527' not in enumerated type 'YangDecl' [-Wswitch] 4408 | case 527: /* defaultStatement: defaultKeyword string stmtEnd */ | ^~~~ parser-yang.c:4417:3: warning: case value '539' not in enumerated type 'YangDecl' [-Wswitch] 4417 | case 539: /* identifierStr: augmentKeyword */ | ^~~~ parser-yang.c:4423:3: warning: case value '540' not in enumerated type 'YangDecl' [-Wswitch] 4423 | case 540: /* identifierStr: belongs_toKeyword */ | ^~~~ parser-yang.c:4429:3: warning: case value '541' not in enumerated type 'YangDecl' [-Wswitch] 4429 | case 541: /* identifierStr: choiceKeyword */ | ^~~~ parser-yang.c:4435:3: warning: case value '542' not in enumerated type 'YangDecl' [-Wswitch] 4435 | case 542: /* identifierStr: configKeyword */ | ^~~~ parser-yang.c:4441:3: warning: case value '543' not in enumerated type 'YangDecl' [-Wswitch] 4441 | case 543: /* identifierStr: contactKeyword */ | ^~~~ parser-yang.c:4447:3: warning: case value '544' not in enumerated type 'YangDecl' [-Wswitch] 4447 | case 544: /* identifierStr: containerKeyword */ | ^~~~ parser-yang.c:4453:3: warning: case value '545' not in enumerated type 'YangDecl' [-Wswitch] 4453 | case 545: /* identifierStr: defaultKeyword */ | ^~~~ parser-yang.c:4459:3: warning: case value '546' not in enumerated type 'YangDecl' [-Wswitch] 4459 | case 546: /* identifierStr: descriptionKeyword */ | ^~~~ parser-yang.c:4465:3: warning: case value '547' not in enumerated type 'YangDecl' [-Wswitch] 4465 | case 547: /* identifierStr: enumKeyword */ | ^~~~ parser-yang.c:4471:3: warning: case value '548' not in enumerated type 'YangDecl' [-Wswitch] 4471 | case 548: /* identifierStr: error_app_tagKeyword */ | ^~~~ parser-yang.c:4477:3: warning: case value '549' not in enumerated type 'YangDecl' [-Wswitch] 4477 | case 549: /* identifierStr: error_messageKeyword */ | ^~~~ parser-yang.c:4483:3: warning: case value '550' not in enumerated type 'YangDecl' [-Wswitch] 4483 | case 550: /* identifierStr: extensionKeyword */ | ^~~~ parser-yang.c:4489:3: warning: case value '551' not in enumerated type 'YangDecl' [-Wswitch] 4489 | case 551: /* identifierStr: groupingKeyword */ | ^~~~ parser-yang.c:4495:3: warning: case value '552' not in enumerated type 'YangDecl' [-Wswitch] 4495 | case 552: /* identifierStr: importKeyword */ | ^~~~ parser-yang.c:4501:3: warning: case value '553' not in enumerated type 'YangDecl' [-Wswitch] 4501 | case 553: /* identifierStr: includeKeyword */ | ^~~~ parser-yang.c:4507:3: warning: case value '554' not in enumerated type 'YangDecl' [-Wswitch] 4507 | case 554: /* identifierStr: keyKeyword */ | ^~~~ parser-yang.c:4513:3: warning: case value '555' not in enumerated type 'YangDecl' [-Wswitch] 4513 | case 555: /* identifierStr: leafKeyword */ | ^~~~ parser-yang.c:4519:3: warning: case value '556' not in enumerated type 'YangDecl' [-Wswitch] 4519 | case 556: /* identifierStr: leaf_listKeyword */ | ^~~~ parser-yang.c:4525:3: warning: case value '557' not in enumerated type 'YangDecl' [-Wswitch] 4525 | case 557: /* identifierStr: lengthKeyword */ | ^~~~ parser-yang.c:4531:3: warning: case value '558' not in enumerated type 'YangDecl' [-Wswitch] 4531 | case 558: /* identifierStr: listKeyword */ | ^~~~ parser-yang.c:4537:3: warning: case value '559' not in enumerated type 'YangDecl' [-Wswitch] 4537 | case 559: /* identifierStr: mandatoryKeyword */ | ^~~~ parser-yang.c:4543:3: warning: case value '560' not in enumerated type 'YangDecl' [-Wswitch] 4543 | case 560: /* identifierStr: max_elementsKeyword */ | ^~~~ parser-yang.c:4549:3: warning: case value '561' not in enumerated type 'YangDecl' [-Wswitch] 4549 | case 561: /* identifierStr: min_elementsKeyword */ | ^~~~ parser-yang.c:4555:3: warning: case value '562' not in enumerated type 'YangDecl' [-Wswitch] 4555 | case 562: /* identifierStr: moduleKeyword */ | ^~~~ parser-yang.c:4561:3: warning: case value '563' not in enumerated type 'YangDecl' [-Wswitch] 4561 | case 563: /* identifierStr: submoduleKeyword */ | ^~~~ parser-yang.c:4567:3: warning: case value '564' not in enumerated type 'YangDecl' [-Wswitch] 4567 | case 564: /* identifierStr: mustKeyword */ | ^~~~ parser-yang.c:4573:3: warning: case value '565' not in enumerated type 'YangDecl' [-Wswitch] 4573 | case 565: /* identifierStr: namespaceKeyword */ | ^~~~ parser-yang.c:4579:3: warning: case value '566' not in enumerated type 'YangDecl' [-Wswitch] 4579 | case 566: /* identifierStr: ordered_byKeyword */ | ^~~~ parser-yang.c:4585:3: warning: case value '567' not in enumerated type 'YangDecl' [-Wswitch] 4585 | case 567: /* identifierStr: organizationKeyword */ | ^~~~ parser-yang.c:4591:3: warning: case value '568' not in enumerated type 'YangDecl' [-Wswitch] 4591 | case 568: /* identifierStr: prefixKeyword */ | ^~~~ parser-yang.c:4597:3: warning: case value '569' not in enumerated type 'YangDecl' [-Wswitch] 4597 | case 569: /* identifierStr: rangeKeyword */ | ^~~~ parser-yang.c:4603:3: warning: case value '570' not in enumerated type 'YangDecl' [-Wswitch] 4603 | case 570: /* identifierStr: referenceKeyword */ | ^~~~ parser-yang.c:4609:3: warning: case value '571' not in enumerated type 'YangDecl' [-Wswitch] 4609 | case 571: /* identifierStr: patternKeyword */ | ^~~~ parser-yang.c:4615:3: warning: case value '572' not in enumerated type 'YangDecl' [-Wswitch] 4615 | case 572: /* identifierStr: revisionKeyword */ | ^~~~ parser-yang.c:4621:3: warning: case value '573' not in enumerated type 'YangDecl' [-Wswitch] 4621 | case 573: /* identifierStr: statusKeyword */ | ^~~~ parser-yang.c:4627:3: warning: case value '574' not in enumerated type 'YangDecl' [-Wswitch] 4627 | case 574: /* identifierStr: typeKeyword */ | ^~~~ parser-yang.c:4633:3: warning: case value '575' not in enumerated type 'YangDecl' [-Wswitch] 4633 | case 575: /* identifierStr: typedefKeyword */ | ^~~~ parser-yang.c:4639:3: warning: case value '576' not in enumerated type 'YangDecl' [-Wswitch] 4639 | case 576: /* identifierStr: uniqueKeyword */ | ^~~~ parser-yang.c:4645:3: warning: case value '577' not in enumerated type 'YangDecl' [-Wswitch] 4645 | case 577: /* identifierStr: unitsKeyword */ | ^~~~ parser-yang.c:4651:3: warning: case value '578' not in enumerated type 'YangDecl' [-Wswitch] 4651 | case 578: /* identifierStr: usesKeyword */ | ^~~~ parser-yang.c:4657:3: warning: case value '579' not in enumerated type 'YangDecl' [-Wswitch] 4657 | case 579: /* identifierStr: valueKeyword */ | ^~~~ parser-yang.c:4663:3: warning: case value '580' not in enumerated type 'YangDecl' [-Wswitch] 4663 | case 580: /* identifierStr: whenKeyword */ | ^~~~ parser-yang.c:4669:3: warning: case value '581' not in enumerated type 'YangDecl' [-Wswitch] 4669 | case 581: /* identifierStr: bitKeyword */ | ^~~~ parser-yang.c:4675:3: warning: case value '582' not in enumerated type 'YangDecl' [-Wswitch] 4675 | case 582: /* identifierStr: pathKeyword */ | ^~~~ parser-yang.c:4681:3: warning: case value '583' not in enumerated type 'YangDecl' [-Wswitch] 4681 | case 583: /* identifierStr: anyXMLKeyword */ | ^~~~ parser-yang.c:4687:3: warning: case value '584' not in enumerated type 'YangDecl' [-Wswitch] 4687 | case 584: /* identifierStr: deprecatedKeyword */ | ^~~~ parser-yang.c:4693:3: warning: case value '585' not in enumerated type 'YangDecl' [-Wswitch] 4693 | case 585: /* identifierStr: currentKeyword */ | ^~~~ parser-yang.c:4699:3: warning: case value '586' not in enumerated type 'YangDecl' [-Wswitch] 4699 | case 586: /* identifierStr: obsoleteKeyword */ | ^~~~ parser-yang.c:4705:3: warning: case value '587' not in enumerated type 'YangDecl' [-Wswitch] 4705 | case 587: /* identifierStr: trueKeyword */ | ^~~~ parser-yang.c:4711:3: warning: case value '588' not in enumerated type 'YangDecl' [-Wswitch] 4711 | case 588: /* identifierStr: falseKeyword */ | ^~~~ parser-yang.c:4717:3: warning: case value '589' not in enumerated type 'YangDecl' [-Wswitch] 4717 | case 589: /* identifierStr: caseKeyword */ | ^~~~ parser-yang.c:4723:3: warning: case value '590' not in enumerated type 'YangDecl' [-Wswitch] 4723 | case 590: /* identifierStr: inputKeyword */ | ^~~~ parser-yang.c:4729:3: warning: case value '591' not in enumerated type 'YangDecl' [-Wswitch] 4729 | case 591: /* identifierStr: outputKeyword */ | ^~~~ parser-yang.c:4735:3: warning: case value '592' not in enumerated type 'YangDecl' [-Wswitch] 4735 | case 592: /* identifierStr: rpcKeyword */ | ^~~~ parser-yang.c:4741:3: warning: case value '593' not in enumerated type 'YangDecl' [-Wswitch] 4741 | case 593: /* identifierStr: notificationKeyword */ | ^~~~ parser-yang.c:4747:3: warning: case value '594' not in enumerated type 'YangDecl' [-Wswitch] 4747 | case 594: /* identifierStr: argumentKeyword */ | ^~~~ parser-yang.c:4753:3: warning: case value '595' not in enumerated type 'YangDecl' [-Wswitch] 4753 | case 595: /* identifierStr: yangversionKeyword */ | ^~~~ parser-yang.c:4759:3: warning: case value '596' not in enumerated type 'YangDecl' [-Wswitch] 4759 | case 596: /* identifierStr: baseKeyword */ | ^~~~ parser-yang.c:4765:3: warning: case value '597' not in enumerated type 'YangDecl' [-Wswitch] 4765 | case 597: /* identifierStr: deviationKeyword */ | ^~~~ parser-yang.c:4771:3: warning: case value '598' not in enumerated type 'YangDecl' [-Wswitch] 4771 | case 598: /* identifierStr: deviateKeyword */ | ^~~~ parser-yang.c:4777:3: warning: case value '599' not in enumerated type 'YangDecl' [-Wswitch] 4777 | case 599: /* identifierStr: featureKeyword */ | ^~~~ parser-yang.c:4783:3: warning: case value '600' not in enumerated type 'YangDecl' [-Wswitch] 4783 | case 600: /* identifierStr: identityKeyword */ | ^~~~ parser-yang.c:4789:3: warning: case value '601' not in enumerated type 'YangDecl' [-Wswitch] 4789 | case 601: /* identifierStr: ifFeatureKeyword */ | ^~~~ parser-yang.c:4795:3: warning: case value '602' not in enumerated type 'YangDecl' [-Wswitch] 4795 | case 602: /* identifierStr: positionKeyword */ | ^~~~ parser-yang.c:4801:3: warning: case value '603' not in enumerated type 'YangDecl' [-Wswitch] 4801 | case 603: /* identifierStr: presenceKeyword */ | ^~~~ parser-yang.c:4807:3: warning: case value '604' not in enumerated type 'YangDecl' [-Wswitch] 4807 | case 604: /* identifierStr: refineKeyword */ | ^~~~ parser-yang.c:4813:3: warning: case value '605' not in enumerated type 'YangDecl' [-Wswitch] 4813 | case 605: /* identifierStr: requireInstanceKeyword */ | ^~~~ parser-yang.c:4819:3: warning: case value '606' not in enumerated type 'YangDecl' [-Wswitch] 4819 | case 606: /* identifierStr: yinElementKeyword */ | ^~~~ parser-yang.c:4825:3: warning: case value '607' not in enumerated type 'YangDecl' [-Wswitch] 4825 | case 607: /* identifierStr: notSupportedKeyword */ | ^~~~ parser-yang.c:4831:3: warning: case value '608' not in enumerated type 'YangDecl' [-Wswitch] 4831 | case 608: /* identifierStr: addKeyword */ | ^~~~ parser-yang.c:4837:3: warning: case value '609' not in enumerated type 'YangDecl' [-Wswitch] 4837 | case 609: /* identifierStr: deleteKeyword */ | ^~~~ parser-yang.c:4843:3: warning: case value '610' not in enumerated type 'YangDecl' [-Wswitch] 4843 | case 610: /* identifierStr: replaceKeyword */ | ^~~~ parser-yang.c:4849:3: warning: case value '611' not in enumerated type 'YangDecl' [-Wswitch] 4849 | case 611: /* booleanValue: trueKeyword */ | ^~~~ parser-yang.c:4857:3: warning: case value '612' not in enumerated type 'YangDecl' [-Wswitch] 4857 | case 612: /* booleanValue: falseKeyword */ | ^~~~ In file included from util.h:21, from parser-yang.y:42: error.h:25:33: warning: implicit declaration of function 'smiyyerror'; did you mean 'yyerror'? [-Wimplicit-function-declaration] 25 | #define yyerror(parserPtr, msg) smiyyerror(msg, parserPtr) | ^~~~~~~~~~ parser-yang.c:4913:7: note: in expansion of macro 'yyerror' 4913 | yyerror (parserPtr, YY_("syntax error")); | ^~~~~~~ parser-yang.y:2677: error: expected declaration or statement at end of input 2677 | %% | parser-yang.y:2677: error: expected declaration or statement at end of input parser-yang.y:886: warning: label 't' defined but not used [-Wunused-label] 886 | debug("DEBUGG: OOPS wrong prefix DECL %d, at line %d\n", topDecl(), currentParser->line); | parser-yang.y:2679: warning: control reaches end of non-void function [-Wreturn-type] 2679 | #endif | At top level: parser-yang.y:182:1: warning: 'checkDate' defined but not used [-Wunused-function] 182 | checkDate(Parser *parserPtr, char *date) | ^~~~~~~~~ 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]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c -o yang-data.lo yang-data.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -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' /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-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[1]: *** [Makefile:518: all-recursive] Error 1 make: *** [Makefile:404: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.95594 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.95594 (%build) Command exited with non-zero status 1 12.30user 2.61system 0:09.90elapsed 150%CPU (0avgtext+0avgdata 45840maxresident)k 0inputs+0outputs (0major+1087916minor)pagefaults 0swaps hsh-rebuild: rebuild of `libsmi-0.5.0-alt2.src.rpm' failed. Command exited with non-zero status 1 17.29user 4.86system 0:16.85elapsed 131%CPU (0avgtext+0avgdata 108948maxresident)k 0inputs+0outputs (0major+1362135minor)pagefaults 0swaps