<86>May 20 03:33:17 userdel[676169]: delete user 'rooter' <86>May 20 03:33:17 userdel[676169]: removed group 'rooter' owned by 'rooter' <86>May 20 03:33:17 userdel[676169]: removed shadow group 'rooter' owned by 'rooter' <86>May 20 03:33:17 groupadd[676198]: group added to /etc/group: name=rooter, GID=1301 <86>May 20 03:33:17 groupadd[676198]: group added to /etc/gshadow: name=rooter <86>May 20 03:33:17 groupadd[676198]: new group: name=rooter, GID=1301 <86>May 20 03:33:17 useradd[676214]: new user: name=rooter, UID=1301, GID=1301, home=/root, shell=/bin/bash, from=none <86>May 20 03:33:17 userdel[676248]: delete user 'builder' <86>May 20 03:33:17 userdel[676248]: removed group 'builder' owned by 'builder' <86>May 20 03:33:17 userdel[676248]: removed shadow group 'builder' owned by 'builder' <86>May 20 03:33:17 groupadd[676283]: group added to /etc/group: name=builder, GID=1302 <86>May 20 03:33:17 groupadd[676283]: group added to /etc/gshadow: name=builder <86>May 20 03:33:17 groupadd[676283]: new group: name=builder, GID=1302 <86>May 20 03:33:17 useradd[676301]: new user: name=builder, UID=1302, GID=1302, home=/usr/src, shell=/bin/bash, from=none <13>May 20 03:33:19 rpmi: libproxy-0.4.18-alt1 sisyphus+307602.100.1.1 1664480603 installed <13>May 20 03:33:19 rpmi: libidn2-2.3.4-alt1 sisyphus+309023.100.1.1 1666791084 installed <13>May 20 03:33:19 rpmi: libcares-1.19.0-alt2 sisyphus+318319.40.19.1 1681776168 installed <13>May 20 03:33:19 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>May 20 03:33:19 rpmi: libstdc++12-devel-12.2.1-alt2 sisyphus+317777.100.2.2 1682562822 installed <13>May 20 03:33:20 rpmi: gcc12-c++-12.2.1-alt2 sisyphus+317777.100.2.2 1682562822 installed <13>May 20 03:33:20 rpmi: libp11-kit-0.24.1-alt1 sisyphus+293720.100.1.1 1642535264 installed <13>May 20 03:33:20 rpmi: libtasn1-4.19.0-alt1 sisyphus+305700.100.1.1 1661359624 installed <13>May 20 03:33:20 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>May 20 03:33:20 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>May 20 03:33:20 rpmi: ca-certificates-2022.12.14-alt1 sisyphus+311754.200.1.1 1671046143 installed <13>May 20 03:33:20 rpmi: ca-trust-0.1.4-alt1 sisyphus+308690.100.1.1 1666182992 installed <13>May 20 03:33:20 rpmi: p11-kit-trust-0.24.1-alt1 sisyphus+293720.100.1.1 1642535264 installed <13>May 20 03:33:20 rpmi: libcrypto1.1-1.1.1t-alt2 sisyphus+320549.100.1.1 1684166670 installed <13>May 20 03:33:20 rpmi: libssl1.1-1.1.1t-alt2 sisyphus+320549.100.1.1 1684166670 installed <13>May 20 03:33:20 rpmi: wget-1.21.3-alt7 sisyphus+320321.200.2.1 1683871358 installed <13>May 20 03:33:20 rpmi: gcc-c++-12-alt1 sisyphus+300988.300.1.1 1654033053 installed <13>May 20 03:33:20 rpmi: flex-2.6.4.0.88.9801-alt2 sisyphus+283727.100.1.1 1629851973 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/libsmi-0.5.0-alt2.nosrc.rpm (w1.gzdio) Installing libsmi-0.5.0-alt2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.69642 + 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.69642 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libsmi-0.5.0 + libtoolize --copy --force libtoolize-default: putting auxiliary files in '.'. libtoolize-default: copying file './ltmain.sh' libtoolize-default: You should add the contents of the following files to 'aclocal.m4': libtoolize-default: '/usr/share/libtool-2.4/aclocal/libtool.m4' libtoolize-default: '/usr/share/libtool-2.4/aclocal/ltoptions.m4' libtoolize-default: '/usr/share/libtool-2.4/aclocal/ltsugar.m4' libtoolize-default: '/usr/share/libtool-2.4/aclocal/ltversion.m4' libtoolize-default: '/usr/share/libtool-2.4/aclocal/lt~obsolete.m4' libtoolize-default: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize-default: and rerunning libtoolize-default and aclocal. libtoolize-default: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.ac: not using Gettext autoreconf-default: running: aclocal --force autoreconf-default: configure.ac: tracing autoreconf-default: running: libtoolize --force --install libtoolize-default: putting auxiliary files in '.'. libtoolize-default: linking file './config.guess' libtoolize-default: linking file './config.sub' libtoolize-default: linking file './install-sh' libtoolize-default: linking file './ltmain.sh' libtoolize-default: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize-default: and rerunning libtoolize-default and aclocal. libtoolize-default: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf-default: configure.ac: not using Intltool autoreconf-default: configure.ac: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force autoreconf-default: running: /usr/bin/autoheader-2.60 --force autoreconf-default: running: automake --add-missing --force-missing configure.ac:26: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:26: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.ac:39: installing './compile' configure.ac:26: installing './missing' lib/Makefile.am: installing './depcomp' mibs/iana/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/iana/Makefile.am:15: (probably a GNU make extension) mibs/ietf/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/ietf/Makefile.am:15: (probably a GNU make extension) mibs/irtf/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/irtf/Makefile.am:15: (probably a GNU make extension) mibs/jacobs/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/jacobs/Makefile.am:15: (probably a GNU make extension) mibs/site/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/site/Makefile.am:15: (probably a GNU make extension) mibs/tubs/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/tubs/Makefile.am:15: (probably a GNU make extension) pibs/Makefile.am:16: warning: shell ls -1d [a-z]*/* | egrep -v 'CVS|Makefile': non-POSIX variable name pibs/Makefile.am:16: (probably a GNU make extension) pibs/ietf/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name pibs/ietf/Makefile.am:14: (probably a GNU make extension) pibs/site/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name pibs/site/Makefile.am:14: (probably a GNU make extension) pibs/tubs/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name pibs/tubs/Makefile.am:14: (probably a GNU make extension) test/Makefile.am:46: warning: shell ls -1d smidiff/* | egrep -v 'CVS|Makefile': non-POSIX variable name test/Makefile.am:46: (probably a GNU make extension) parallel-tests: installing './test-driver' test/dumps/cm/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/cm/Makefile.am:14: (probably a GNU make extension) test/dumps/corba/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/corba/Makefile.am:14: (probably a GNU make extension) test/dumps/identifiers/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/identifiers/Makefile.am:14: (probably a GNU make extension) test/dumps/imports/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/imports/Makefile.am:14: (probably a GNU make extension) test/dumps/jax/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/jax/Makefile.am:14: (probably a GNU make extension) test/dumps/metrics/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/metrics/Makefile.am:14: (probably a GNU make extension) test/dumps/mosy/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/mosy/Makefile.am:14: (probably a GNU make extension) test/dumps/netsnmp/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/netsnmp/Makefile.am:14: (probably a GNU make extension) test/dumps/orig-smiv2/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/orig-smiv2/Makefile.am:14: (probably a GNU make extension) test/dumps/python/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/python/Makefile.am:14: (probably a GNU make extension) test/dumps/smilint-smiv2/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/smilint-smiv2/Makefile.am:14: (probably a GNU make extension) test/dumps/sming/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/sming/Makefile.am:14: (probably a GNU make extension) test/dumps/smiv1/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/smiv1/Makefile.am:14: (probably a GNU make extension) test/dumps/smiv2-smiv2/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/smiv2-smiv2/Makefile.am:14: (probably a GNU make extension) test/dumps/smiv2/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/smiv2/Makefile.am:14: (probably a GNU make extension) test/dumps/tree/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/tree/Makefile.am:14: (probably a GNU make extension) test/dumps/types/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/types/Makefile.am:14: (probably a GNU make extension) test/dumps/xml/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/xml/Makefile.am:14: (probably a GNU make extension) test/dumps/yang/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/yang/Makefile.am:14: (probably a GNU make extension) test/smidiff/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/smidiff/Makefile.am:14: (probably a GNU make extension) tools/Makefile.am:14: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') yang/Makefile.am:16: warning: shell ls -1d [a-z]*/* | egrep -v 'CVS|Makefile': non-POSIX variable name yang/Makefile.am:16: (probably a GNU make extension) yang/iana/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name yang/iana/Makefile.am:15: (probably a GNU make extension) yang/ietf/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name yang/ietf/Makefile.am:15: (probably a GNU make extension) yang/site/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name yang/site/Makefile.am:14: (probably a GNU make extension) autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_prog_cc_static_works=no + lt_cv_prog_cc_static_works=no + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --disable-static --enable-shared --sysconfdir=/etc --enable-smi --enable-sming configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-alt-linux-gcc... none checking for additional required compiler flags... checking for strtoll... yes checking for strtoull... yes checking for strtoq... yes checking for strtouq... yes checking for timegm... yes checking for vsnprintf... yes checking for snprintf... yes checking for asprintf... yes checking for asnprintf... no checking for vasprintf... yes checking for vasnprintf... no checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking for unistd.h... (cached) yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for stdint.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for regexec in -lc... yes checking for path separator character... : checking for dir separator character... / checking for 64 bit types... long long/%lld, etc. checking for flex... /usr/bin/flex checking for bison... /usr/bin/bison checking for bash... /bin/sh checking for sh... /bin/sh checking for awk... /bin/awk checking for wget... /usr/bin/wget checking for gdiff... no checking for diff... /usr/bin/diff checking whether make sets $(MAKE)... (cached) yes checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by x86_64-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-alt-linux-gnu file names to x86_64-alt-linux-gnu format... func_convert_file_noop checking how to convert x86_64-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-alt-linux-file... no checking for file... file checking for x86_64-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for x86_64-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-alt-linux-strip... no checking for strip... strip checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-gcc static flag -static works... no checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking if x86_64-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no ./configure: line 12972: ./libtool: No such file or directory checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating tools/Makefile config.status: creating mibs/Makefile config.status: creating mibs/iana/Makefile config.status: creating mibs/ietf/Makefile config.status: creating mibs/irtf/Makefile config.status: creating mibs/jacobs/Makefile config.status: creating mibs/tubs/Makefile config.status: creating mibs/site/Makefile config.status: creating pibs/Makefile config.status: creating pibs/ietf/Makefile config.status: creating pibs/tubs/Makefile config.status: creating pibs/site/Makefile config.status: creating yang/Makefile config.status: creating yang/ietf/Makefile config.status: creating yang/iana/Makefile config.status: creating yang/site/Makefile config.status: creating test/Makefile config.status: creating test/mibs/Makefile config.status: creating test/smidiff/Makefile config.status: creating test/dumps/Makefile config.status: creating test/dumps/corba/Makefile config.status: creating test/dumps/imports/Makefile config.status: creating test/dumps/jax/Makefile config.status: creating test/dumps/netsnmp/Makefile config.status: creating test/dumps/mosy/Makefile config.status: creating test/dumps/orig-smiv2/Makefile config.status: creating test/dumps/smilint-smiv2/Makefile config.status: creating test/dumps/sming/Makefile config.status: creating test/dumps/smiv1/Makefile config.status: creating test/dumps/smiv2/Makefile config.status: creating test/dumps/smiv2-smiv2/Makefile config.status: creating test/dumps/tree/Makefile config.status: creating test/dumps/types/Makefile config.status: creating test/dumps/identifiers/Makefile config.status: creating test/dumps/metrics/Makefile config.status: creating test/dumps/xml/Makefile config.status: creating test/dumps/cm/Makefile config.status: creating test/dumps/python/Makefile config.status: creating test/dumps/yang/Makefile config.status: creating doc/Makefile config.status: creating lib/smi.h config.status: creating lib/libsmi.3 config.status: creating lib/smi_macro.3 config.status: creating lib/smi_module.3 config.status: creating lib/smi_node.3 config.status: creating lib/smi_type.3 config.status: creating lib/smi_config.3 config.status: creating lib/smi_render.3 config.status: creating lib/smi_util.3 config.status: creating lib/smi_class.3 config.status: creating lib/smi_attribute.3 config.status: creating lib/smi_event.3 config.status: creating lib/smi_identity.3 config.status: creating lib/yang_node.3 config.status: creating tools/smistrip config.status: creating tools/smicache config.status: creating tools/smiquery.1 config.status: creating tools/smilint.1 config.status: creating tools/smidump.1 config.status: creating tools/smidiff.1 config.status: creating tools/smistrip.1 config.status: creating tools/smicache.1 config.status: creating tools/smixlate.1 config.status: creating tools/mib2svg.cgi config.status: creating test/parser.test config.status: creating test/parser-yang.test config.status: creating test/parser-yang-ct.test config.status: creating test/smidump-corba.test config.status: creating test/smidump-jax.test config.status: creating test/smidump-netsnmp.test config.status: creating test/smidump-imports.test config.status: creating test/smidump-mosy.test config.status: creating test/smidump-orig-smiv2.test config.status: creating test/smidump-sming.test config.status: creating test/smidump-yang.test config.status: creating test/smidump-smiv1.test config.status: creating test/smidump-smiv2-smiv2.test config.status: creating test/smidump-smiv2.test config.status: creating test/smidump-tree.test config.status: creating test/smidump-types.test config.status: creating test/smidump-identifiers.test config.status: creating test/smidump-metrics.test config.status: creating test/smidump-xml.test config.status: creating test/smidump-cm.test config.status: creating test/smidump-python.test config.status: creating test/smilint-smiv2.test config.status: creating test/smidiff.test config.status: creating libsmi.pc config.status: creating win/config.h config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default commands configure: WARNING: unrecognized options: --without-included-gettext + LIBTOOL=/usr/bin/libtool + make -j8 make all-recursive Making all in lib make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' cat error.c | grep ERR_ | \ sed -e 's/^.*\(ERR_[a-zA-Z0-9_]*\).*$/\1/' | \ awk '{printf "#define %-50s %d\n", $1, NR-1}' > errormacros.h make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o util.lo util.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c util.c -fPIC -DPIC -o .libs/util.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o snprintf.lo snprintf.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c snprintf.c -fPIC -DPIC -o .libs/snprintf.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o yang-complex-types.lo yang-complex-types.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c yang-complex-types.c -fPIC -DPIC -o .libs/yang-complex-types.o yang-complex-types.c: In function 'addCTExtNode': yang-complex-types.c:148:9: warning: implicit declaration of function 'createIdentifierRef'; did you mean 'listIdentifierRef'? [-Wimplicit-function-declaration] 148 | createIdentifierRef(ret, prefix, identifier); | ^~~~~~~~~~~~~~~~~~~ | listIdentifierRef make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o error.lo error.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c error.c -fPIC -DPIC -o .libs/error.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o common.lo common.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c common.c -fPIC -DPIC -o .libs/common.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o yang-check.lo yang-check.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c yang-check.c -fPIC -DPIC -o .libs/yang-check.o yang-check.c: In function 'findTargetNode': yang-check.c:249:65: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 249 | || childPtr->export.nodeKind == YANG_DECL_INPUT && !strcmp("input", value) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ yang-check.c:250:66: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 250 | || childPtr->export.nodeKind == YANG_DECL_OUTPUT && !strcmp("output", value)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ yang-check.c: In function 'resolveXPath': yang-check.c:328:43: warning: comparison between 'YangStatus' and 'enum _YangParsingState' [-Wenum-compare] 328 | && tmpNode->export.status == YANG_PARSING_IN_PROGRESS) { | ^~ yang-check.c: In function 'typeHandler': yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_NONE' not handled in switch [-Wswitch] 1075 | switch (nodePtr->typeInfo->builtinType) { | ^~~~~~ yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_BINARY' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_BOOLEAN' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_EMPTY' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_INSTANCE_IDENTIFIER' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_INT8' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_INT16' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_INT32' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_INT64' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_STRING' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_UINT8' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_UINT16' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_UINT32' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_UINT64' not handled in switch [-Wswitch] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o smi-check.lo smi-check.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c smi-check.c -fPIC -DPIC -o .libs/smi-check.o smi-check.c: In function 'smiCheckIndex': smi-check.c:779:9: warning: enumeration value 'SMI_BASETYPE_POINTER' not handled in switch [-Wswitch] 779 | switch (typePtr->export.basetype) { | ^~~~~~ smi-check.c: In function 'smiCheckNotificationMembers': smi-check.c:2085:11: warning: variable 'node' set but not used [-Wunused-but-set-variable] 2085 | Node *node = NULL; | ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o smi2yang.lo smi2yang.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c smi2yang.c -fPIC -DPIC -o .libs/smi2yang.o smi2yang.c: In function 'smi2yangLeafPath': smi2yang.c:442:28: warning: unused variable 'parentModule' [-Wunused-variable] 442 | SmiModule *smiModule, *parentModule = NULL; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o yang.lo yang.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c yang.c -fPIC -DPIC -o .libs/yang.o yang.c: In function 'yangDeclAsString': yang.c:51:5: warning: enumeration value 'YANG_DECL_LAST' not handled in switch [-Wswitch] 51 | switch (decl) { | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o yang-data.lo yang-data.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c yang-data.c -fPIC -DPIC -o .libs/yang-data.o yang-data.c: In function 'getUniqueList': yang-data.c:1173:28: warning: unused variable 'item' [-Wunused-variable] 1173 | YangList *ret = NULL, *item = NULL, *prev = NULL; | ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o smi.lo smi.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c smi.c -fPIC -DPIC -o .libs/smi.o smi.c: In function 'smiValueAsString': smi.c:522:9: warning: enumeration value 'SMI_LANGUAGE_UNKNOWN' not handled in switch [-Wswitch] 522 | switch (smiLanguage) { | ^~~~~~ smi.c: In function 'smiUnpack': smi.c:3000:15: warning: variable 'last' set but not used [-Wunused-but-set-variable] 3000 | int i, j, last = 0; | ^~~~ smi.c: In function 'smiAsprintf': smi.c:3076:10: warning: implicit declaration of function 'vasprintf'; did you mean 'vasnprintf'? [-Wimplicit-function-declaration] 3076 | rc = vasprintf(strp, format, ap); | ^~~~~~~~~ | vasnprintf make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o smi-data.lo smi-data.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c smi-data.c -fPIC -DPIC -o .libs/smi-data.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/bison --defines=parser-sming.tab.h -t -psming -o parser-sming.c parser-sming.y parser-sming.y:352.1-12: warning: deprecated directive: '%pure_parser', use '%define api.pure' [-Wdeprecated] 352 | %pure_parser | ^~~~~~~~~~~~ | %define api.pure parser-sming.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/bison --defines=parser-yang.tab.h -t -pyang -o parser-yang.c parser-yang.y parser-yang.y:271.1-12: warning: deprecated directive: '%pure_parser', use '%define api.pure' [-Wdeprecated] 271 | %pure_parser | ^~~~~~~~~~~~ | %define api.pure parser-yang.y: warning: 56 shift/reduce conflicts [-Wconflicts-sr] parser-yang.y: warning: 1088 reduce/reduce conflicts [-Wconflicts-rr] parser-yang.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples parser-yang.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o parser-sming.lo parser-sming.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c parser-sming.c -fPIC -DPIC -o .libs/parser-sming.o parser-sming.y: In function 'checkTypes': parser-sming.y:182:13: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 182 | if (! parserPtr->flags & SMI_FLAG_NODESCR | ^~~~~~~~~~~~~~~~~~ parser-sming.y: In function 'checkDate': parser-sming.y:258:19: warning: implicit declaration of function 'timegm'; did you mean 'time'? [-Wimplicit-function-declaration] 258 | anytime = timegm(&tm); | ^~~~~~ | time parser-sming.c: In function 'yy_reduce_print': parser-sming.c:1773:17: warning: null character(s) ignored 1773 | int yylno = yyrline[yyrule]; | ^ parser-sming.c:1773:15: error: 'yy' undeclared (first use in this function); did you mean 'yyr2'? 1773 | int yylno = yyrline[yyrule]; | ^~ | yyr2 parser-sming.c:1773:15: note: each undeclared identifier is reported only once for each function it appears in parser-sming.c:1773: error: expected ',' or ';' before string constant 1773 | int yylno = yyrline[yyrule]; | parser-sming.c:1776:3: error: case label not within a switch statement 1776 | YYFPRINTF (stderr, "Reducing stack by rule %d (line %d):\n", | ^~~~ parser-sming.y:1901:34: error: 'yyval' undeclared (first use in this function) 1901 | $$ = smiHandle->typeUnsigned64Ptr; | ^~~~~ parser-sming.c:3848:33: error: break statement not within loop or switch 3848 | (yyval.valuePtr)->basetype = SMI_BASETYPE_INTEGER64; | ^~~~~ parser-sming.c:3850:24: error: case label not within a switch statement 3850 | break; | ^ ~~ parser-sming.c:3867:5: error: break statement not within loop or switch 3867 | case 252: /* anyValue: floatValue */ | ^~~~~ parser-sming.c:3869:3: error: case label not within a switch statement 3869 | { | ^ parser-sming.c:3886:33: error: break statement not within loop or switch 3886 | if(errno == ERANGE){ | ^~~~~ parser-sming.c:3888:24: error: case label not within a switch statement 3888 | ERR_FLOAT_OVERFLOW, (yyvsp[0].text)); | ^ ~ parser-sming.c:3905:33: error: break statement not within loop or switch 3905 | (yyval.valuePtr)->value.ptr = smiMalloc(strlen((yyvsp[0].text))+1); | ^~~~~ parser-sming.c:3907:24: error: case label not within a switch statement 3907 | (yyval.valuePtr)->len = strlen((yyval.valuePtr)->value.ptr); | ^ ~~ parser-sming.c:3920:5: error: break statement not within loop or switch 3920 | #line 2876 "parser-sming.y" | ^~~~~ parser-sming.c:3922:17: error: case label not within a switch statement 3922 | | ^ parser-sming.c:3939:40: error: break statement not within loop or switch 3939 | smiPrintError(thisParserPtr, | ^ ~~~~ parser-sming.c:3941:24: error: case label not within a switch statement 3941 | errno = 0; | ^ ~ parser-sming.c:3951:40: error: break statement not within loop or switch 3951 | errno = 0; | ^ ~~~~ parser-sming.c:3953:24: error: case label not within a switch statement 3953 | break; | ^ ~~ parser-sming.c:3972:33: error: break statement not within loop or switch 3972 | (yyval.valuePtr)->value.float32 = strtof((yyvsp[0].text),NULL); | ^~~~~ parser-sming.c:3974:24: error: case label not within a switch statement 3974 | smiPrintError(thisParserPtr, | ^ ~ parser-sming.c:3988:33: error: break statement not within loop or switch 3988 | break; | ^~~~~ parser-sming.c:3990:24: error: case label not within a switch statement 3990 | (yyval.valuePtr) = smiMalloc(sizeof(SmiValue)); | ^ parser-sming.c:3998:33: error: break statement not within loop or switch 3998 | break; | ^~~~~ parser-sming.c:4000:24: error: case label not within a switch statement 4000 | smiPrintError(thisParserPtr, | ^ ~~ parser-sming.c:4015:33: error: break statement not within loop or switch 4015 | (yyval.valuePtr)->value.ptr = (yyvsp[0].text); | ^~~~~ parser-sming.c:4017:24: error: case label not within a switch statement 4017 | } else { | ^ parser-sming.c:4032:26: error: break statement not within loop or switch 4032 | case SMI_BASETYPE_ENUM: | ^ ~~ parser-sming.c:4034:24: error: case label not within a switch statement 4034 | (yyval.valuePtr)->basetype = SMI_BASETYPE_ENUM; | ^ ~~ parser-sming.c:4049:33: error: break statement not within loop or switch 4049 | (yyval.valuePtr)->value.ptr = (yyvsp[0].text); | ^~~~~ parser-sming.c:4051:24: error: case label not within a switch statement 4051 | /* TODO: XXX check if valid reference found */ | ^ ~~ parser-sming.c:4066:26: error: break statement not within loop or switch 4066 | if (defaultBasetype == SMI_BASETYPE_OBJECTIDENTIFIER){ | ^ ~~ parser-sming.c:4068:24: error: case label not within a switch statement 4068 | (yyval.valuePtr)->basetype = SMI_BASETYPE_OBJECTIDENTIFIER; | ^ ~~ parser-sming.c:4083:5: error: break statement not within loop or switch 4083 | | ^ parser-sming.c:4085:24: error: case label not within a switch statement 4085 | strlen((yyvsp[0].text)) + 3); | ^ parser-sming.c:4100:5: error: break statement not within loop or switch 4100 | | ^ parser-sming.c:4102:3: error: case label not within a switch statement 4102 | #line 3034 "parser-sming.y" | ^~~~ parser-sming.c:4117:5: error: break statement not within loop or switch 4117 | case 262: /* status: obsoleteKeyword */ | ^~~~~ parser-sming.c:4119:3: error: case label not within a switch statement 4119 | { | ^ parser-sming.c:4130:26: error: break statement not within loop or switch 4130 | (yyval.valuePtr)->value.unsigned64 = strtoull((yyvsp[0].text), NULL, 16); | ^ ~~ parser-sming.c:4132:3: error: case label not within a switch statement 4132 | #line 5309 "parser-sming.c" | ^~~~ parser-sming.c:4147:5: error: break statement not within loop or switch 4147 | { | ^ parser-sming.c:4149:24: error: case label not within a switch statement 4149 | smiPrintError(thisParserPtr, | ^ ~~ parser-sming.c:4159:5: error: break statement not within loop or switch 4159 | | ^ parser-sming.c:4161:3: error: case label not within a switch statement 4161 | #line 3075 "parser-sming.y" | ^~~~ parser-sming.y:2157:82: 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:40: warning: assignment to 'List *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 2158 | for (p = $1; p; p = p->nextPtr) | ^ parser-sming.c:4178:5: error: break statement not within loop or switch 4178 | { | ^ parser-sming.c:4180:24: error: case label not within a switch statement 4180 | } | ^ ~ parser-sming.c:4194:5: error: break statement not within loop or switch 4194 | { | ^ parser-sming.c:4196:24: error: case label not within a switch statement 4196 | } | ^ ~ parser-sming.y:2197:44: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2197 | } else if (tmp = findClass($1, | ^~~ parser-sming.c:4228:5: error: break statement not within loop or switch 4228 | | ^ parser-sming.c:4230:3: error: case label not within a switch statement 4230 | | ^ parser-sming.c:4236:5: error: break statement not within loop or switch 4236 | const int yyi = yypgoto[yylhs] + *yyssp; | ^~~~~ parser-sming.c:4238:3: error: case label not within a switch statement 4238 | ? yytable[yyi] | ^ parser-sming.c:4244:5: error: break statement not within loop or switch 4244 | | ^ parser-sming.c:4246:3: error: case label not within a switch statement 4246 | | yyerrlab -- here on detecting error. | | ^~~~ parser-sming.c:4252:5: error: break statement not within loop or switch 4252 | /* If not already recovering from an error, report this error. */ | ^~~~~ parser-sming.c:4254:3: error: case label not within a switch statement 4254 | { | ^ ~ parser-sming.c:4260:5: error: break statement not within loop or switch 4260 | { | ^ parser-sming.c:4262:3: error: case label not within a switch statement 4262 | error, discard it. */ | ^ parser-sming.c:4268:5: error: break statement not within loop or switch 4268 | YYABORT; | ^ parser-sming.c:4270:3: error: case label not within a switch statement 4270 | else | ^ parser-sming.c:4276:5: error: break statement not within loop or switch 4276 | } | ^ parser-sming.c:4278:3: error: case label not within a switch statement 4278 | /* Else will try to reuse lookahead token after shifting the error | ^~~~ parser-sming.c:4286:5: error: break statement not within loop or switch 4286 | yyerrorlab: | ^~~~~ parser-sming.c:4288:3: error: case label not within a switch statement 4288 | label yyerrorlab therefore never appears in user code. */ | ^ ~ parser-sming.c:4294:5: error: break statement not within loop or switch 4294 | YYPOPSTACK (yylen); | ^~~~~ parser-sming.c:4296:3: error: case label not within a switch statement 4296 | YY_STACK_PRINT (yyss, yyssp); | ^~~~ parser-sming.c:4302:5: error: break statement not within loop or switch 4302 | | yyerrlab1 -- common code for both syntax error and YYERROR. | | ^~~~~ parser-sming.c:4304:3: error: case label not within a switch statement 4304 | yyerrlab1: | ^~~~ parser-sming.c:4312:5: error: break statement not within loop or switch 4312 | { | ^ ~ parser-sming.c:4314:3: error: case label not within a switch statement 4314 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | ^ parser-sming.c:4327:5: error: break statement not within loop or switch 4327 | yydestruct ("Error: popping", | ^ ~~~ parser-sming.c:4329:3: error: case label not within a switch statement 4329 | YYPOPSTACK (1); | ^ parser-sming.c:4335:5: error: break statement not within loop or switch 4335 | *++yyvsp = yylval; | ^~~~~ parser-sming.c:4337:3: error: case label not within a switch statement 4337 | | ^ parser-sming.c:4351:5: error: break statement not within loop or switch 4351 | goto yyreturn; | ^~~~~ parser-sming.c:4353:3: error: case label not within a switch statement 4353 | | ^ parser-sming.c:4359:5: error: break statement not within loop or switch 4359 | goto yyreturn; | ^~~~~ parser-sming.c:4361:3: error: case label not within a switch statement 4361 | | ^ parser-sming.c:4367:5: error: break statement not within loop or switch 4367 | yyerror (parserPtr, YY_("memory exhausted")); | ^~~~~ parser-sming.c:4369:3: error: case label not within a switch statement 4369 | goto yyreturn; | ^~~~ parser-sming.c:4375:5: error: break statement not within loop or switch 4375 | `-------------------------------------------------------*/ | ^~~~~ parser-sming.c:4377:3: error: case label not within a switch statement 4377 | if (yychar != YYEMPTY) | ^~~~ parser-sming.c:4383:5: error: break statement not within loop or switch 4383 | yytoken, &yylval, parserPtr); | ^ parser-sming.c:4385:3: error: case label not within a switch statement 4385 | /* Do not reclaim the symbols of the rule whose action triggered | ^~~~ parser-sming.c:4391:5: error: break statement not within loop or switch 4391 | yydestruct ("Cleanup: popping", | ^ ~~~ parser-sming.c:4393:3: error: case label not within a switch statement 4393 | YYPOPSTACK (1); | ^ parser-sming.c:4401:5: error: break statement not within loop or switch 4401 | } | ^ parser-sming.c:4403:3: error: case label not within a switch statement 4403 | #line 3113 "parser-sming.y" | ^~~~ parser-sming.c:4409:5: error: break statement not within loop or switch parser-sming.c:4411:3: error: case label not within a switch statement parser-sming.c:4417:5: error: break statement not within loop or switch parser-sming.c:4419:3: error: case label not within a switch statement parser-sming.c:4427:5: error: break statement not within loop or switch parser-sming.c:4429:3: error: case label not within a switch statement parser-sming.c:4442:5: error: break statement not within loop or switch parser-sming.c:4444:3: error: case label not within a switch statement parser-sming.c:4450:5: error: break statement not within loop or switch parser-sming.c:4452:3: error: case label not within a switch statement parser-sming.c:4468:5: error: break statement not within loop or switch parser-sming.c:4470:3: error: case label not within a switch statement parser-sming.c:4476:5: error: break statement not within loop or switch parser-sming.c:4478:3: error: case label not within a switch statement parser-sming.c:4484:5: error: break statement not within loop or switch parser-sming.c:4486:3: error: case label not within a switch statement parser-sming.c:4492:5: error: break statement not within loop or switch parser-sming.c:4494:3: error: case label not within a switch statement parser-sming.c:4500:5: error: break statement not within loop or switch parser-sming.c:4502:3: error: case label not within a switch statement parser-sming.c:4508:5: error: break statement not within loop or switch parser-sming.c:4510:3: error: case label not within a switch statement parser-sming.c:4516:5: error: break statement not within loop or switch parser-sming.c:4518:3: error: case label not within a switch statement parser-sming.c:4524:5: error: break statement not within loop or switch parser-sming.c:4526:3: error: case label not within a switch statement parser-sming.c:4532:5: error: break statement not within loop or switch parser-sming.c:4534:3: error: case label not within a switch statement parser-sming.c:4543:5: error: break statement not within loop or switch parser-sming.c:4545:3: error: case label not within a switch statement parser-sming.c:4551:5: error: break statement not within loop or switch parser-sming.c:4553:3: error: case label not within a switch statement parser-sming.c:4559:5: error: break statement not within loop or switch parser-sming.c:4561:3: error: case label not within a switch statement parser-sming.c:4569:5: error: break statement not within loop or switch parser-sming.c:4571:3: error: case label not within a switch statement parser-sming.c:4577:5: error: break statement not within loop or switch parser-sming.c:4579:3: error: case label not within a switch statement parser-sming.c:4585:5: error: break statement not within loop or switch parser-sming.c:4587:3: error: case label not within a switch statement parser-sming.c:4595:5: error: break statement not within loop or switch parser-sming.c:4597:3: error: case label not within a switch statement parser-sming.c:4610:5: error: break statement not within loop or switch parser-sming.c:4612:3: error: case label not within a switch statement parser-sming.c:4618:5: error: break statement not within loop or switch parser-sming.c:4620:3: error: case label not within a switch statement parser-sming.c:4628:5: error: break statement not within loop or switch parser-sming.c:4630:3: error: case label not within a switch statement parser-sming.c:4638:5: error: break statement not within loop or switch parser-sming.c:4640:3: error: case label not within a switch statement parser-sming.c:4646:5: error: break statement not within loop or switch parser-sming.c:4648:3: error: case label not within a switch statement parser-sming.c:4654:5: error: break statement not within loop or switch parser-sming.c:4656:3: error: case label not within a switch statement parser-sming.c:4664:5: error: break statement not within loop or switch parser-sming.c:4666:3: error: case label not within a switch statement parser-sming.c:4679:5: error: break statement not within loop or switch parser-sming.c:4681:3: error: case label not within a switch statement parser-sming.c:4687:5: error: break statement not within loop or switch parser-sming.c:4689:3: error: case label not within a switch statement parser-sming.c:4695:5: error: break statement not within loop or switch parser-sming.c:4697:3: error: case label not within a switch statement parser-sming.c:4703:5: error: break statement not within loop or switch parser-sming.c:4705:3: error: case label not within a switch statement parser-sming.c:4713:5: error: break statement not within loop or switch parser-sming.c:4715:3: error: case label not within a switch statement parser-sming.c:4721:5: error: break statement not within loop or switch parser-sming.c:4723:3: error: case label not within a switch statement parser-sming.c:4729:5: error: break statement not within loop or switch parser-sming.c:4731:3: error: case label not within a switch statement parser-sming.c:4739:5: error: break statement not within loop or switch parser-sming.c:4741:3: error: case label not within a switch statement parser-sming.c:4754:5: error: break statement not within loop or switch parser-sming.c:4756:3: error: case label not within a switch statement parser-sming.c:4762:5: error: break statement not within loop or switch parser-sming.c:4764:3: error: case label not within a switch statement parser-sming.c:4770:5: error: break statement not within loop or switch parser-sming.c:4772:3: error: case label not within a switch statement parser-sming.c:4778:5: error: break statement not within loop or switch parser-sming.c:4780:3: error: case label not within a switch statement parser-sming.c:4793:5: error: break statement not within loop or switch parser-sming.c:4795:3: error: case label not within a switch statement parser-sming.c:4801:5: error: break statement not within loop or switch parser-sming.c:4803:3: error: case label not within a switch statement parser-sming.c:4814:5: error: break statement not within loop or switch parser-sming.c:4816:3: error: case label not within a switch statement parser-sming.c:4822:5: error: break statement not within loop or switch parser-sming.c:4824:3: error: case label not within a switch statement parser-sming.c:4843:5: error: break statement not within loop or switch parser-sming.c:4845:3: error: case label not within a switch statement parser-sming.c:4851:5: error: break statement not within loop or switch parser-sming.c:4853:3: error: case label not within a switch statement parser-sming.c:4859:5: error: break statement not within loop or switch parser-sming.c:4861:3: error: case label not within a switch statement parser-sming.c:4867:5: error: break statement not within loop or switch parser-sming.c:4869:3: error: case label not within a switch statement parser-sming.c:4879:5: error: break statement not within loop or switch parser-sming.c:4881:3: error: case label not within a switch statement parser-sming.c:4887:5: error: break statement not within loop or switch parser-sming.c:4889:3: error: case label not within a switch statement parser-sming.c:4895:5: error: break statement not within loop or switch parser-sming.c:4897:3: error: case label not within a switch statement parser-sming.c:4903:5: error: break statement not within loop or switch parser-sming.c:4905:3: error: case label not within a switch statement parser-sming.c:4911:5: error: break statement not within loop or switch parser-sming.c:4913:3: error: case label not within a switch statement parser-sming.c:4934:5: error: break statement not within loop or switch parser-sming.c:4936:3: error: case label not within a switch statement parser-sming.c:4976:5: error: break statement not within loop or switch parser-sming.c:4978:3: error: case label not within a switch statement parser-sming.c:5000:5: error: break statement not within loop or switch parser-sming.c:5002:3: error: case label not within a switch statement parser-sming.c:5041:5: error: break statement not within loop or switch parser-sming.c:5043:3: error: case label not within a switch statement parser-sming.c:5093:5: error: break statement not within loop or switch parser-sming.c:5095:3: error: case label not within a switch statement parser-sming.c:5138:5: error: break statement not within loop or switch parser-sming.c:5140:3: error: case label not within a switch statement parser-sming.c:5183:5: error: break statement not within loop or switch parser-sming.c:5185:3: error: case label not within a switch statement parser-sming.c:5200:5: error: break statement not within loop or switch parser-sming.c:5202:3: error: case label not within a switch statement parser-sming.c:5237:5: error: break statement not within loop or switch parser-sming.c:5239:3: error: case label not within a switch statement parser-sming.c:5253:5: error: break statement not within loop or switch parser-sming.c:5255:3: error: case label not within a switch statement parser-sming.c:5266:5: error: break statement not within loop or switch parser-sming.c:5268:3: error: case label not within a switch statement parser-sming.c:5275:5: error: break statement not within loop or switch parser-sming.c:5277:3: error: case label not within a switch statement parser-sming.c:5283:5: error: break statement not within loop or switch parser-sming.c:5285:3: error: case label not within a switch statement parser-sming.c:5291:5: error: break statement not within loop or switch parser-sming.c:5293:3: error: case label not within a switch statement parser-sming.c:5299:5: error: break statement not within loop or switch parser-sming.c:5301:3: error: case label not within a switch statement parser-sming.c:5309:5: error: break statement not within loop or switch parser-sming.c:5311:3: error: case label not within a switch statement parser-sming.c:5319:5: error: break statement not within loop or switch parser-sming.c:5321:3: error: case label not within a switch statement parser-sming.c:5334:5: error: break statement not within loop or switch parser-sming.c:5336:3: error: case label not within a switch statement parser-sming.c:5342:5: error: break statement not within loop or switch parser-sming.c:5344:3: error: case label not within a switch statement parser-sming.c:5350:5: error: break statement not within loop or switch parser-sming.c:5352:3: error: case label not within a switch statement parser-sming.c:5358:5: error: break statement not within loop or switch parser-sming.c:5360:3: error: case label not within a switch statement parser-sming.c:5366:5: error: break statement not within loop or switch parser-sming.c:5368:3: error: case label not within a switch statement parser-sming.c:5374:5: error: break statement not within loop or switch parser-sming.c:5376:3: error: case label not within a switch statement parser-sming.c:5382:5: error: break statement not within loop or switch parser-sming.c:5387:7: error: 'default' label not within a switch statement parser-sming.c:5387:16: error: break statement not within loop or switch parser-sming.c:1773:7: warning: unused variable 'yylno' [-Wunused-variable] 1773 | int yylno = yyrline[yyrule]; | ^~~~~ parser-sming.c: At top level: parser-sming.c:1692:1: error: expected identifier or '(' before 'do' 1692 | do { \ | ^~ parser-sming.c:5400:3: note: in expansion of macro 'YY_SYMBOL_PRINT' parser-sming.c:1700:3: error: expected identifier or '(' before 'while' 1700 | } while (0) | ^~~~~ parser-sming.c:5400:3: note: in expansion of macro 'YY_SYMBOL_PRINT' parser-sming.c:5402:3: warning: data definition has no type or storage class parser-sming.c:5402:3: warning: type defaults to 'int' in declaration of 'YYPOPSTACK' [-Wimplicit-int] parser-sming.c:5402:3: warning: parameter names (without types) in function declaration parser-sming.c:5403:3: warning: data definition has no type or storage class parser-sming.c:5403:3: warning: type defaults to 'int' in declaration of 'yylen' [-Wimplicit-int] parser-sming.c:5405:4: error: expected identifier or '(' before '++' token parser-sming.c:5410:3: error: expected identifier or '(' before '{' token parser-sming.c:5418:3: error: expected identifier or '(' before 'goto' parser-sming.c:5424:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-sming.c:5429:3: error: expected identifier or '(' before 'if' parser-sming.c:5435:3: error: expected identifier or '(' before 'if' parser-sming.c:5456:3: error: expected identifier or '(' before 'goto' parser-sming.c:5462:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-sming.c:5470:3: warning: data definition has no type or storage class parser-sming.c:5470:3: warning: type defaults to 'int' in declaration of 'YYPOPSTACK' [-Wimplicit-int] parser-sming.c:5470:3: warning: parameter names (without types) in function declaration parser-sming.c:5471:3: warning: data definition has no type or storage class parser-sming.c:5471:3: warning: type defaults to 'int' in declaration of 'yylen' [-Wimplicit-int] parser-sming.c:5471:3: error: redefinition of 'yylen' parser-sming.c:5403:3: note: previous definition of 'yylen' with type 'int' parser-sming.c:1759:1: error: expected identifier or '(' before 'do' 1759 | do { \ | ^~ parser-sming.c:5472:3: note: in expansion of macro 'YY_STACK_PRINT' parser-sming.c:1762:3: error: expected identifier or '(' before 'while' 1762 | } while (0) | ^~~~~ parser-sming.c:5472:3: note: in expansion of macro 'YY_STACK_PRINT' parser-sming.c:5473:3: warning: data definition has no type or storage class parser-sming.c:5473:3: warning: type defaults to 'int' in declaration of 'yystate' [-Wimplicit-int] parser-sming.c:5473:14: error: 'yyssp' undeclared here (not in a function) parser-sming.c:5474:3: error: expected identifier or '(' before 'goto' parser-sming.c:5480:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-sming.c:5484:3: error: expected identifier or '(' before 'for' parser-sming.c:5484:10: error: expected identifier or '(' before ')' token parser-sming.c:5511:4: error: expected identifier or '(' before '++' token parser-sming.c:1692:1: error: expected identifier or '(' before 'do' 1692 | do { \ | ^~ parser-sming.c:5516:3: note: in expansion of macro 'YY_SYMBOL_PRINT' parser-sming.c:1700:3: error: expected identifier or '(' before 'while' 1700 | } while (0) | ^~~~~ parser-sming.c:5516:3: note: in expansion of macro 'YY_SYMBOL_PRINT' parser-sming.c:5518:3: warning: data definition has no type or storage class parser-sming.c:5518:3: warning: type defaults to 'int' in declaration of 'yystate' [-Wimplicit-int] parser-sming.c:5518:3: error: redefinition of 'yystate' parser-sming.c:5473:3: note: previous definition of 'yystate' with type 'int' parser-sming.c:5518:13: error: 'yyn' undeclared here (not in a function); did you mean 'yylen'? parser-sming.c:5519:3: error: expected identifier or '(' before 'goto' parser-sming.c:5525:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-sming.c:5527:3: error: expected identifier or '(' before 'goto' parser-sming.c:5533:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-sming.c:5535:3: error: expected identifier or '(' before 'goto' parser-sming.c:5542:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-sming.c:5544:3: warning: data definition has no type or storage class parser-sming.c:5544:3: warning: type defaults to 'int' in declaration of 'yyresult' [-Wimplicit-int] parser-sming.c:5545:3: error: expected identifier or '(' before 'goto' parser-sming.c:5552:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-sming.c:5563:3: warning: data definition has no type or storage class parser-sming.c:5563:3: warning: type defaults to 'int' in declaration of 'YYPOPSTACK' [-Wimplicit-int] parser-sming.c:5563:3: warning: parameter names (without types) in function declaration parser-sming.c:1759:1: error: expected identifier or '(' before 'do' 1759 | do { \ | ^~ parser-sming.c:5564:3: note: in expansion of macro 'YY_STACK_PRINT' parser-sming.c:1762:3: error: expected identifier or '(' before 'while' 1762 | } while (0) | ^~~~~ parser-sming.c:5564:3: note: in expansion of macro 'YY_STACK_PRINT' parser-sming.c:5565:3: error: expected identifier or '(' before 'while' parser-sming.c:5572:3: error: expected identifier or '(' before 'if' parser-sming.c:5576:3: error: expected identifier or '(' before 'return' parser-sming.c:5577:1: error: expected identifier or '(' before '}' token parser-sming.y:21: error: unterminated #ifdef 21 | #ifdef BACKEND_SMING | parser-sming.c:1770:1: warning: 'yy_reduce_print' defined but not used [-Wunused-function] 1770 | yy_reduce_print (yy_state_t *yyssp, YYSTYPE *yyvsp, | ^~~~~~~~~~~~~~~ parser-sming.c:1747:1: warning: 'yy_stack_print' defined but not used [-Wunused-function] 1747 | yy_stack_print (yy_state_t *yybottom, yy_state_t *yytop) | ^~~~~~~~~~~~~~ parser-sming.c:1731:1: warning: 'yy_symbol_print' defined but not used [-Wunused-function] 1731 | yy_symbol_print (FILE *yyo, | ^~~~~~~~~~~~~~~ parser-sming.c:1604:26: warning: 'yyr2' defined but not used [-Wunused-const-variable=] 1604 | static const yytype_int8 yyr2[] = | ^~~~ parser-sming.c:1571:27: warning: 'yyr1' defined but not used [-Wunused-const-variable=] 1571 | static const yytype_uint8 yyr1[] = | ^~~~ parser-sming.c:1511:27: warning: 'yystos' defined but not used [-Wunused-const-variable=] 1511 | static const yytype_uint8 yystos[] = | ^~~~~~ parser-sming.c:1450:27: warning: 'yycheck' defined but not used [-Wunused-const-variable=] 1450 | static const yytype_int16 yycheck[] = | ^~~~~~~ parser-sming.c:1391:27: warning: 'yytable' defined but not used [-Wunused-const-variable=] 1391 | static const yytype_int16 yytable[] = | ^~~~~~~ parser-sming.c:1366:27: warning: 'yydefgoto' defined but not used [-Wunused-const-variable=] 1366 | static const yytype_int16 yydefgoto[] = | ^~~~~~~~~ parser-sming.c:1343:27: warning: 'yypgoto' defined but not used [-Wunused-const-variable=] 1343 | static const yytype_int16 yypgoto[] = | ^~~~~~~ parser-sming.c:1283:27: warning: 'yydefact' defined but not used [-Wunused-const-variable=] 1283 | static const yytype_int16 yydefact[] = | ^~~~~~~~ parser-sming.c:1221:27: warning: 'yypact' defined but not used [-Wunused-const-variable=] 1221 | static const yytype_int16 yypact[] = | ^~~~~~ parser-sming.c:1066:27: warning: 'yyrline' defined but not used [-Wunused-const-variable=] 1066 | static const yytype_int16 yyrline[] = | ^~~~~~~ parser-sming.c:1027:26: warning: 'yytranslate' defined but not used [-Wunused-const-variable=] 1027 | static const yytype_int8 yytranslate[] = | ^~~~~~~~~~~ parser-sming.y:171:1: warning: 'checkTypes' defined but not used [-Wunused-function] 171 | checkTypes(Parser *parserPtr, Module *modulePtr) | ^~~~~~~~~~ parser-sming.y:121:1: warning: 'findIdentity' defined but not used [-Wunused-function] 121 | findIdentity(char *spec, Parser *parserPtr, Module *modulePtr) | ^~~~~~~~~~~~ parser-sming.y:89:12: warning: 'attributeFlag' defined but not used [-Wunused-variable] 89 | static int attributeFlag = 0; | ^~~~~~~~~~~~~ parser-sming.y:78:21: warning: 'namedNumberPtr' defined but not used [-Wunused-variable] 78 | static NamedNumber *namedNumberPtr = NULL; | ^~~~~~~~~~~~~~ parser-sming.y:76:15: warning: 'eventPtr' defined but not used [-Wunused-variable] 76 | static Event *eventPtr = NULL; | ^~~~~~~~ parser-sming.y:73:18: warning: 'identityPtr' defined but not used [-Wunused-variable] 73 | static Identity *identityPtr = NULL; | ^~~~~~~~~~~ parser-sming.y:72:15: warning: 'macroPtr' defined but not used [-Wunused-variable] 72 | static Macro *macroPtr = NULL; | ^~~~~~~~ parser-sming.y:70:14: warning: 'importModulename' defined but not used [-Wunused-variable] 70 | static char *importModulename = NULL; | ^~~~~~~~~~~~~~~~ parser-sming.y:69:32: warning: 'attributeIdentifier' defined but not used [-Wunused-variable] 69 | *classIdentifier, *attributeIdentifier; | ^~~~~~~~~~~~~~~~~~~ parser-sming.y:69:14: warning: 'classIdentifier' defined but not used [-Wunused-variable] 69 | *classIdentifier, *attributeIdentifier; | ^~~~~~~~~~~~~~~ parser-sming.y:68:49: warning: 'identityIdentifier' defined but not used [-Wunused-variable] 68 | static char *typeIdentifier, *macroIdentifier, *identityIdentifier, | ^~~~~~~~~~~~~~~~~~ parser-sming.y:68:31: warning: 'macroIdentifier' defined but not used [-Wunused-variable] 68 | static char *typeIdentifier, *macroIdentifier, *identityIdentifier, | ^~~~~~~~~~~~~~~ parser-sming.y:68:14: warning: 'typeIdentifier' defined but not used [-Wunused-variable] 68 | static char *typeIdentifier, *macroIdentifier, *identityIdentifier, | ^~~~~~~~~~~~~~ make[2]: *** [Makefile:571: parser-sming.lo] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/bison --defines=parser-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[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 x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o parser-yang.lo parser-yang.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c parser-yang.c -fPIC -DPIC -o .libs/parser-yang.o parser-yang.y: In function 'checkDate': parser-yang.y:243:19: warning: implicit declaration of function 'timegm'; did you mean 'time'? [-Wimplicit-function-declaration] 243 | anytime = timegm(&tm); | ^~~~~~ | time parser-yang.y: In function 'yangparse': parser-yang.y:615:21: warning: implicit declaration of function 'yangSemanticAnalysis' [-Wimplicit-function-declaration] 615 | yangSemanticAnalysis(thisModulePtr); | ^~~~~~~~~~~~~~~~~~~~ parser-yang.y:965:21: warning: implicit declaration of function 'yangValidateInclude' [-Wimplicit-function-declaration] 965 | yangValidateInclude(thisModulePtr, includedModule); | ^~~~~~~~~~~~~~~~~~~ parser-yang.y:1017:25: warning: implicit declaration of function 'createIdentifierRef'; did you mean 'listIdentifierRef'? [-Wimplicit-function-declaration] 1017 | createIdentifierRef(node, getPrefix($2), getIdentifier($2)); | ^~~~~~~~~~~~~~~~~~~ | listIdentifierRef 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: At top level: parser-yang.y:87:13: warning: 'pushDecl' defined but not used [-Wunused-function] 87 | static void pushDecl(YangDecl decl) | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[1]: *** [Makefile:519: all-recursive] Error 1 make: *** [Makefile:405: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.69642 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.69642 (%build) Command exited with non-zero status 1 9.34user 4.41system 0:10.71elapsed 128%CPU (0avgtext+0avgdata 30380maxresident)k 0inputs+0outputs (0major+1081523minor)pagefaults 0swaps hsh-rebuild: rebuild of `libsmi-0.5.0-alt2.src.rpm' failed. Command exited with non-zero status 1 2.57user 1.57system 0:19.23elapsed 21%CPU (0avgtext+0avgdata 110520maxresident)k 0inputs+0outputs (0major+188068minor)pagefaults 0swaps