<86>Mar 18 05:28:20 userdel[1557836]: delete user 'rooter' <86>Mar 18 05:28:20 groupadd[1557859]: group added to /etc/group: name=rooter, GID=687 <86>Mar 18 05:28:20 groupadd[1557859]: group added to /etc/gshadow: name=rooter <86>Mar 18 05:28:20 groupadd[1557859]: new group: name=rooter, GID=687 <86>Mar 18 05:28:20 useradd[1557867]: new user: name=rooter, UID=687, GID=687, home=/root, shell=/bin/bash <86>Mar 18 05:28:20 userdel[1557876]: delete user 'builder' <86>Mar 18 05:28:20 userdel[1557876]: removed group 'builder' owned by 'builder' <86>Mar 18 05:28:20 userdel[1557876]: removed shadow group 'builder' owned by 'builder' <86>Mar 18 05:28:20 groupadd[1557900]: group added to /etc/group: name=builder, GID=688 <86>Mar 18 05:28:20 groupadd[1557900]: group added to /etc/gshadow: name=builder <86>Mar 18 05:28:20 groupadd[1557900]: new group: name=builder, GID=688 <86>Mar 18 05:28:20 useradd[1557905]: new user: name=builder, UID=688, GID=688, home=/usr/src, shell=/bin/bash <13>Mar 18 05:28:23 rpmi: libidn2-2.3.0-alt1 sisyphus+240846.100.1.2 1573870464 installed <13>Mar 18 05:28:23 rpmi: gcc-c++-common-1.4.24-alt3 sisyphus+243033.100.1.1 1576462403 installed <13>Mar 18 05:28:24 rpmi: libstdc++9-devel-9.2.1-alt3 sisyphus+245055.100.1.1 1580041305 installed <13>Mar 18 05:28:24 rpmi: gcc9-c++-9.2.1-alt3 sisyphus+245055.100.1.1 1580041305 installed <13>Mar 18 05:28:24 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Mar 18 05:28:24 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825069 installed <13>Mar 18 05:28:24 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Mar 18 05:28:24 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Mar 18 05:28:24 rpmi: ca-certificates-2020.01.23-alt1 sisyphus+244791.300.2.1 1580285500 installed <13>Mar 18 05:28:24 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Mar 18 05:28:24 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Mar 18 05:28:25 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235630 installed <13>Mar 18 05:28:25 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235630 installed <13>Mar 18 05:28:25 rpmi: wget-1.20.3-alt1 sisyphus+226657.100.1.1 1554481530 installed <13>Mar 18 05:28:25 rpmi: gcc-c++-9-alt1 sisyphus+239632.300.3.1 1571789214 installed <13>Mar 18 05:28:25 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-alt1.svn1841.nosrc.rpm Installing libsmi-0.5.0-alt1.svn1841.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.5107 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf libsmi-0.5.0 + echo 'Source #0 (libsmi-0.5.0.tar):' Source #0 (libsmi-0.5.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/libsmi-0.5.0.tar + cd libsmi-0.5.0 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #2 (libsmi-0.4.8-alt-man.patch):' Patch #2 (libsmi-0.4.8-alt-man.patch): + /usr/bin/patch -p1 patching file tools/smicache.1.in + echo 'Patch #3 (libsmi-deb-smistrip.patch):' Patch #3 (libsmi-deb-smistrip.patch): + /usr/bin/patch -p1 patching file tools/smistrip.in + echo 'Patch #4 (libsmi-alt-fix-build.patch):' Patch #4 (libsmi-alt-fix-build.patch): + /usr/bin/patch -p1 patching file lib/Makefile.am + echo 'Patch #5 (libsmi-0.5.0-alt-yyleng.patch):' Patch #5 (libsmi-0.5.0-alt-yyleng.patch): + /usr/bin/patch -p1 patching file lib/scanner-smi.h patching file lib/scanner-sming.h patching file lib/scanner-yang.h + echo 'Patch #7 (libsmi-0.4.8-alt-bison.patch):' Patch #7 (libsmi-0.4.8-alt-bison.patch): + /usr/bin/patch -p1 patching file lib/parser-sming.y Hunk #1 succeeded at 1550 (offset -6 lines). + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.5107 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libsmi-0.5.0 + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.ac: not using Gettext autoreconf-default: running: aclocal --force autoreconf-default: configure.ac: tracing autoreconf-default: running: libtoolize --force --install libtoolize-default: putting auxiliary files in '.'. libtoolize-default: linking file './config.guess' libtoolize-default: linking file './config.sub' libtoolize-default: linking file './install-sh' libtoolize-default: linking file './ltmain.sh' libtoolize-default: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize-default: and rerunning libtoolize-default and aclocal. libtoolize-default: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf-default: configure.ac: not using Intltool autoreconf-default: configure.ac: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force autoreconf-default: running: /usr/bin/autoheader-2.60 --force autoreconf-default: running: automake --add-missing --force-missing configure.ac:26: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:26: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.ac:39: installing './compile' configure.ac:26: installing './missing' lib/Makefile.am: installing './depcomp' mibs/iana/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/iana/Makefile.am:15: (probably a GNU make extension) mibs/ietf/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/ietf/Makefile.am:15: (probably a GNU make extension) mibs/irtf/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/irtf/Makefile.am:15: (probably a GNU make extension) mibs/jacobs/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/jacobs/Makefile.am:15: (probably a GNU make extension) mibs/site/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/site/Makefile.am:15: (probably a GNU make extension) mibs/tubs/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/tubs/Makefile.am:15: (probably a GNU make extension) pibs/Makefile.am:16: warning: shell ls -1d [a-z]*/* | egrep -v 'CVS|Makefile': non-POSIX variable name pibs/Makefile.am:16: (probably a GNU make extension) pibs/ietf/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name pibs/ietf/Makefile.am:14: (probably a GNU make extension) pibs/site/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name pibs/site/Makefile.am:14: (probably a GNU make extension) pibs/tubs/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name pibs/tubs/Makefile.am:14: (probably a GNU make extension) test/Makefile.am:46: warning: shell ls -1d smidiff/* | egrep -v 'CVS|Makefile': non-POSIX variable name test/Makefile.am:46: (probably a GNU make extension) parallel-tests: installing './test-driver' test/dumps/cm/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/cm/Makefile.am:14: (probably a GNU make extension) test/dumps/corba/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/corba/Makefile.am:14: (probably a GNU make extension) test/dumps/identifiers/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/identifiers/Makefile.am:14: (probably a GNU make extension) test/dumps/imports/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/imports/Makefile.am:14: (probably a GNU make extension) test/dumps/jax/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/jax/Makefile.am:14: (probably a GNU make extension) test/dumps/metrics/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/metrics/Makefile.am:14: (probably a GNU make extension) test/dumps/mosy/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/mosy/Makefile.am:14: (probably a GNU make extension) test/dumps/netsnmp/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/netsnmp/Makefile.am:14: (probably a GNU make extension) test/dumps/orig-smiv2/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/orig-smiv2/Makefile.am:14: (probably a GNU make extension) test/dumps/python/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/python/Makefile.am:14: (probably a GNU make extension) test/dumps/smilint-smiv2/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/smilint-smiv2/Makefile.am:14: (probably a GNU make extension) test/dumps/sming/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/sming/Makefile.am:14: (probably a GNU make extension) test/dumps/smiv1/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/smiv1/Makefile.am:14: (probably a GNU make extension) test/dumps/smiv2-smiv2/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/smiv2-smiv2/Makefile.am:14: (probably a GNU make extension) test/dumps/smiv2/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/smiv2/Makefile.am:14: (probably a GNU make extension) test/dumps/tree/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/tree/Makefile.am:14: (probably a GNU make extension) test/dumps/types/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/types/Makefile.am:14: (probably a GNU make extension) test/dumps/xml/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/xml/Makefile.am:14: (probably a GNU make extension) test/dumps/yang/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/yang/Makefile.am:14: (probably a GNU make extension) test/smidiff/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/smidiff/Makefile.am:14: (probably a GNU make extension) tools/Makefile.am:14: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') yang/Makefile.am:16: warning: shell ls -1d [a-z]*/* | egrep -v 'CVS|Makefile': non-POSIX variable name yang/Makefile.am:16: (probably a GNU make extension) yang/iana/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name yang/iana/Makefile.am:15: (probably a GNU make extension) yang/ietf/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name yang/ietf/Makefile.am:15: (probably a GNU make extension) yang/site/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name yang/site/Makefile.am:14: (probably a GNU make extension) autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + '[' -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 dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --disable-static --enable-shared --sysconfdir=/etc --enable-smi --enable-sming configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-alt-linux-gcc... none checking for additional required compiler flags... checking for strtoll... yes checking for strtoull... yes checking for strtoq... yes checking for strtouq... yes checking for timegm... yes checking for vsnprintf... yes checking for snprintf... yes checking for asprintf... yes checking for asnprintf... no checking for vasprintf... yes checking for vasnprintf... no checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking for unistd.h... (cached) yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for stdint.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for regexec in -lc... yes checking for path separator character... : checking for dir separator character... / checking for 64 bit types... long long/%lld, etc. checking for flex... /usr/bin/flex checking for bison... /usr/bin/bison checking for bash... /bin/sh checking for sh... /bin/sh checking for awk... /bin/awk checking for wget... /usr/bin/wget checking for gdiff... no checking for diff... /usr/bin/diff checking whether make sets $(MAKE)... (cached) yes checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by x86_64-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-alt-linux-gnu file names to x86_64-alt-linux-gnu format... func_convert_file_noop checking how to convert x86_64-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for x86_64-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-alt-linux-strip... no checking for strip... strip checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-gcc static flag -static works... no checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking if x86_64-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no ./configure: line 12882: ./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 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 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 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 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 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 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 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 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' /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, use '%pure-parser' [-Wdeprecated] %pure_parser ^^^^^^^^^^^^ 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, use '%pure-parser' [-Wdeprecated] %pure_parser ^^^^^^^^^^^^ 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, use '%pure-parser' [-Wdeprecated] %pure_parser ^^^^^^^^^^^^ parser-smi.y: warning: 76 reduce/reduce conflicts [-Wconflicts-rr] 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, use '%pure-parser' [-Wdeprecated] %pure_parser ^^^^^^^^^^^^ parser-yang.y: warning: 56 shift/reduce conflicts [-Wconflicts-sr] parser-yang.y: warning: 1088 reduce/reduce conflicts [-Wconflicts-rr] 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:2378:21: warning: null character(s) ignored 2378 | 291, 256, 256, 270, 98, 254, 27, 166, 97, 21, | ^ parser-smi.c:2378: error: expected '}' before 'h' 2378 | 291, 256, 256, 270, 98, 254, 27, 166, 97, 21, | parser-smi.c:2328:1: note: to match this '{' 2328 | { | ^ parser-smi.c:2416:7: error: expected ',' or ';' before 'yyssp' 2416 | 146, 149, 150, 151, 152, 152, 153, 154, 154, 155, | ^~~~~ parser-smi.c:2417:7: warning: data definition has no type or storage class 2417 | 155, 155, 156, 156, 158, 157, 160, 161, 162, 159, | ^~~~~ parser-smi.c:2417:7: warning: type defaults to 'int' in declaration of 'yyvsp' [-Wimplicit-int] parser-smi.c:2417:15: error: 'yyvs' undeclared here (not in a function); did you mean 'yyvsp'? 2417 | 155, 155, 156, 156, 158, 157, 160, 161, 162, 159, | ^~~~ | yyvsp parser-smi.c:2417:22: error: 'yysize' undeclared here (not in a function); did you mean 'dysize'? 2417 | 155, 155, 156, 156, 158, 157, 160, 161, 162, 159, | ^~~~~~ | dysize parser-smi.c:2417:20: error: invalid operands to binary + (have 'const yytype_uint16 *' {aka 'const short unsigned int *'} and 'const yytype_uint16 *' {aka 'const short unsigned int *'}) 2417 | 155, 155, 156, 156, 158, 157, 160, 161, 162, 159, | ~~~~ ^ | | | | | const yytype_uint16 * {aka const short unsigned int *} | const yytype_uint16 * {aka const short unsigned int *} parser-smi.c:2417:15: warning: initialization of 'int' from 'const yytype_uint16 *' {aka 'const short unsigned int *'} makes integer from pointer without a cast [-Wint-conversion] 2417 | 155, 155, 156, 156, 158, 157, 160, 161, 162, 159, | ^~~~ parser-smi.c:2417:15: error: initializer element is not constant parser-smi.c:2419:18: error: expected declaration specifiers or '...' before '(' token 2419 | 171, 171, 172, 173, 173, 174, 174, 174, 175, 176, | ^ parser-smi.c:2422:7: error: expected identifier or '(' before 'if' 2422 | 189, 191, 190, 192, 190, 194, 195, 196, 193, 198, | ^~ parser-smi.c:2424:5: error: expected identifier or '(' before '}' token 2424 | 207, 208, 208, 209, 209, 210, 210, 210, 210, 210, | ^ parser-smi.c:2426:14: error: expected declaration specifiers or '...' before '(' token 2426 | 214, 214, 217, 214, 218, 214, 214, 214, 214, 214, | ^ parser-smi.c:2428:3: error: expected identifier or '(' before 'if' 2428 | 220, 220, 220, 220, 221, 221, 221, 221, 222, 222, | ^ parser-smi.c:2431:3: error: expected identifier or '(' before 'goto' 2431 | 224, 224, 224, 224, 225, 225, 225, 225, 226, 227, | ^ ~ parser-smi.c:2436:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token 2436 | 250, 251, 251, 252, 252, 253, 253, 254, 255, 256, | ^ parser-smi.c:2443:3: error: expected identifier or '(' before 'if' 2443 | 298, 298, 299, 299, 301, 300, 303, 302, 304, 304, | ^ parser-smi.c:2449:3: error: expected identifier or '(' before 'if' 2449 | | ^ parser-smi.c:2455:3: error: expected identifier or '(' before 'if' 2455 | 1, 2, 3, 1, 3, 1, 1, 1, 1, 1, | ^ parser-smi.c:2460:3: error: expected identifier or '(' before 'else' 2460 | 0, 0, 5, 1, 1, 1, 1, 1, 1, 1, | ^ parser-smi.c:2468:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before '+=' token 2468 | 1, 0, 5, 0, 0, 5, 0, 0, 5, 0, | ^~ parser-smi.c:2469:3: error: expected identifier or '(' before 'if' 2469 | 1, 0, 1, 3, 1, 0, 5, 0, 1, 3, | ^ parser-smi.c:2471:3: warning: data definition has no type or storage class 2471 | 0, 0, 0, 0, 0, 0, 0, 24, 4, 0, | ^ parser-smi.c:2471:3: warning: type defaults to 'int' in declaration of 'yyn' [-Wimplicit-int] parser-smi.c:2471:9: error: initializer element is not constant 2471 | 0, 0, 0, 0, 0, 0, 0, 24, 4, 0, | ^~~~~~~ parser-smi.c:2472:3: error: expected identifier or '(' before 'if' 2472 | 1, 1, 3, 1, 4, 1, 2, 1, 1, 1, | ^ parser-smi.c:2482:3: error: expected identifier or '(' before 'if' 2482 | 0, 2, 0, 1, 0, 5, 4, 0, 5, 0, | ^ parser-smi.c:2486:20: error: expected declaration specifiers or '...' before string constant 2486 | 1, 3, 1, 4, 1, 3, 1, 1, 1, 0, | ^~~~~~~~~~ parser-smi.c:2486:32: error: unknown type name 'yytoken' 2486 | 1, 3, 1, 4, 1, 3, 1, 1, 1, 0, | ^~~~~~~ parser-smi.c:2486:41: error: expected declaration specifiers or '...' before '&' token 2486 | 1, 3, 1, 4, 1, 3, 1, 1, 1, 0, | ^ parser-smi.c:2486:50: error: expected declaration specifiers or '...' before '&' token 2486 | 1, 3, 1, 4, 1, 3, 1, 1, 1, 0, | ^ parser-smi.c:2489:3: warning: data definition has no type or storage class 2489 | 15, 0, 0, 0, 15, 1, 1, 2, 0, 5, | ^ ~~ parser-smi.c:2489:3: warning: type defaults to 'int' in declaration of 'yychar' [-Wimplicit-int] parser-smi.c:2489:12: error: 'YYEMPTY' undeclared here (not in a function) 2489 | 15, 0, 0, 0, 15, 1, 1, 2, 0, 5, | ^~~~~~~ parser-smi.c:2489:12: warning: initialization of 'int' from 'const yytype_uint16 *' {aka 'const short unsigned int *'} makes integer from pointer without a cast [-Wint-conversion] parser-smi.c:2489:12: error: initializer element is not constant parser-smi.c:2491:3: warning: data definition has no type or storage class 2491 | 1, 2, 1, 1, 0, 5, 0, 8, 2, 0, | ^ ~~ parser-smi.c:2491:3: warning: type defaults to 'int' in declaration of 'yystate' [-Wimplicit-int] parser-smi.c:2491:13: error: initializer element is not constant 2491 | 1, 2, 1, 1, 0, 5, 0, 8, 2, 0, | ^~~ parser-smi.c:2493:4: error: expected identifier or '(' before '++' token 2493 | 1, 0, 1, 2, 0, 8, 1, 3, 1, 2, | ^ parser-smi.c:2496:3: error: expected identifier or '(' before 'goto' 2496 | }; | ^ parser-smi.c:2502:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token 2502 | #define YYEOF 0 | ^ parser-smi.c:2504:3: error: expected identifier or '(' before 'if' 2504 | #define YYACCEPT goto yyacceptlab | ^~ parser-smi.c:2506:3: error: expected identifier or '(' before 'goto' 2506 | #define YYERROR goto yyerrorlab | ^~~~ parser-smi.c:2512:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token 2512 | do \ | ^ parser-smi.c:2524:3: warning: data definition has no type or storage class 2524 | YYERROR; \ | ^ ~ parser-smi.c:2524:3: warning: type defaults to 'int' in declaration of 'yyval' [-Wimplicit-int] parser-smi.c:2524:19: error: 'yylen' undeclared here (not in a function); did you mean 'yyleng'? 2524 | YYERROR; \ | ^~~~~ | yyleng parser-smi.c:2524:18: error: invalid operands to binary - (have 'int' and 'const yytype_uint16 *' {aka 'const short unsigned int *'}) 2524 | YYERROR; \ | ^ | | | const yytype_uint16 * {aka const short unsigned int *} parser-smi.c:2524:11: error: initializer element is not constant 2524 | YYERROR; \ | ^~~~~ parser-smi.c:2527:3: warning: data definition has no type or storage class 2527 | | ^ parser-smi.c:2527:3: warning: type defaults to 'int' in declaration of 'YY_REDUCE_PRINT' [-Wimplicit-int] parser-smi.c:2527:3: warning: parameter names (without types) in function declaration parser-smi.c:2528:3: error: expected identifier or '(' before 'switch' 2528 | /* Error token number */ | ^~~~~~ parser-smi.c:9900:20: error: expected declaration specifiers or '...' before string constant 9900 | YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); | ^~~~~~~~~ parser-smi.c:9900:31: error: unknown type name 'yyr1' 9900 | YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); | ^~~~ parser-smi.c:9900:42: error: expected declaration specifiers or '...' before '&' token 9900 | YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); | ^ parser-smi.c:9900:50: error: expected declaration specifiers or '...' before '&' token 9900 | YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); | ^ parser-smi.c:9902:3: warning: data definition has no type or storage class 9902 | YYPOPSTACK (yylen); | ^~~~~~~~~~ parser-smi.c:9902:3: warning: type defaults to 'int' in declaration of 'YYPOPSTACK' [-Wimplicit-int] parser-smi.c:9902:3: warning: parameter names (without types) in function declaration parser-smi.c:9903:3: warning: data definition has no type or storage class 9903 | yylen = 0; | ^~~~~ parser-smi.c:9903:3: warning: type defaults to 'int' in declaration of 'yylen' [-Wimplicit-int] parser-smi.c:9904:3: warning: data definition has no type or storage class 9904 | YY_STACK_PRINT (yyss, yyssp); | ^~~~~~~~~~~~~~ parser-smi.c:9904:3: warning: type defaults to 'int' in declaration of 'YY_STACK_PRINT' [-Wimplicit-int] parser-smi.c:9904:3: warning: parameter names (without types) in function declaration parser-smi.c:9906:4: error: expected identifier or '(' before '++' token 9906 | *++yyvsp = yyval; | ^~ parser-smi.c:9912:3: warning: data definition has no type or storage class 9912 | yyn = yyr1[yyn]; | ^~~ parser-smi.c:9912:3: warning: type defaults to 'int' in declaration of 'yyn' [-Wimplicit-int] parser-smi.c:9912:3: error: redefinition of 'yyn' parser-smi.c:2471:3: note: previous definition of 'yyn' was here 2471 | 0, 0, 0, 0, 0, 0, 0, 24, 4, 0, | ^ parser-smi.c:9912:9: error: 'yyr1' undeclared here (not in a function) 9912 | yyn = yyr1[yyn]; | ^~~~ parser-smi.c:9912:9: error: initializer element is not constant parser-smi.c:9914:3: warning: data definition has no type or storage class 9914 | yystate = yypgoto[yyn - YYNTOKENS] + *yyssp; | ^~~~~~~ parser-smi.c:9914:3: warning: type defaults to 'int' in declaration of 'yystate' [-Wimplicit-int] parser-smi.c:9914:3: error: redefinition of 'yystate' parser-smi.c:2491:3: note: previous definition of 'yystate' was here 2491 | 1, 2, 1, 1, 0, 5, 0, 8, 2, 0, | ^ ~~ parser-smi.c:9914:41: error: 'yyssp' undeclared here (not in a function); did you mean 'yyvsp'? 9914 | yystate = yypgoto[yyn - YYNTOKENS] + *yyssp; | ^~~~~ | yyvsp parser-smi.c:9914:13: error: initializer element is not constant 9914 | yystate = yypgoto[yyn - YYNTOKENS] + *yyssp; | ^~~~~~~ parser-smi.c:9915:3: error: expected identifier or '(' before 'if' 9915 | if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp) | ^~ parser-smi.c:9917:3: error: expected identifier or '(' before 'else' 9917 | else | ^~~~ parser-smi.c:9920:3: error: expected identifier or '(' before 'goto' 9920 | goto yynewstate; | ^~~~ parser-smi.c:9926:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token 9926 | yyerrlab: | ^ parser-smi.c:9932:3: error: expected identifier or '(' before 'if' 9932 | if (!yyerrstatus) | ^~ parser-smi.c:9973:3: error: expected identifier or '(' before 'if' 9973 | if (yyerrstatus == 3) | ^~ parser-smi.c:9994:3: error: expected identifier or '(' before 'goto' 9994 | goto yyerrlab1; | ^~~~ parser-smi.c:10000:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token 10000 | yyerrorlab: | ^ parser-smi.c:10010:3: warning: data definition has no type or storage class 10010 | YYPOPSTACK (yylen); | ^~~~~~~~~~ parser-smi.c:10010:3: warning: type defaults to 'int' in declaration of 'YYPOPSTACK' [-Wimplicit-int] parser-smi.c:10010:3: warning: parameter names (without types) in function declaration parser-smi.c:10011:3: warning: data definition has no type or storage class 10011 | yylen = 0; | ^~~~~ parser-smi.c:10011:3: warning: type defaults to 'int' in declaration of 'yylen' [-Wimplicit-int] parser-smi.c:10011:3: error: redefinition of 'yylen' parser-smi.c:9903:3: note: previous definition of 'yylen' was here 9903 | yylen = 0; | ^~~~~ parser-smi.c:10012:3: warning: data definition has no type or storage class 10012 | YY_STACK_PRINT (yyss, yyssp); | ^~~~~~~~~~~~~~ parser-smi.c:10012:3: warning: type defaults to 'int' in declaration of 'YY_STACK_PRINT' [-Wimplicit-int] parser-smi.c:10012:3: warning: parameter names (without types) in function declaration parser-smi.c:10013:3: warning: data definition has no type or storage class 10013 | yystate = *yyssp; | ^~~~~~~ parser-smi.c:10013:3: warning: type defaults to 'int' in declaration of 'yystate' [-Wimplicit-int] parser-smi.c:10013:3: error: redefinition of 'yystate' parser-smi.c:2491:3: note: previous definition of 'yystate' was here 2491 | 1, 2, 1, 1, 0, 5, 0, 8, 2, 0, | ^ ~~ parser-smi.c:10013:13: error: initializer element is not constant 10013 | yystate = *yyssp; | ^ parser-smi.c:10014:3: error: expected identifier or '(' before 'goto' 10014 | goto yyerrlab1; | ^~~~ parser-smi.c:10020:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token 10020 | yyerrlab1: | ^ parser-smi.c:10023:3: error: expected identifier or '(' before 'for' 10023 | for (;;) | ^~~ parser-smi.c:10023:10: error: expected identifier or '(' before ')' token 10023 | for (;;) | ^ parser-smi.c:10050:4: error: expected identifier or '(' before '++' token 10050 | *++yyvsp = yylval; | ^~ parser-smi.c:10055:20: error: expected declaration specifiers or '...' before string constant 10055 | YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp); | ^~~~~~~~~~ parser-smi.c:10055:32: error: expected declaration specifiers or '...' before 'yystos' 10055 | YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp); | ^~~~~~ parser-smi.c:10055:45: error: expected declaration specifiers or '...' before 'yyvsp' 10055 | YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp); | ^~~~~ parser-smi.c:10055:52: error: unknown type name 'yylsp' 10055 | YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp); | ^~~~~ parser-smi.c:10057:3: warning: data definition has no type or storage class 10057 | yystate = yyn; | ^~~~~~~ parser-smi.c:10057:3: warning: type defaults to 'int' in declaration of 'yystate' [-Wimplicit-int] parser-smi.c:10057:3: error: redefinition of 'yystate' parser-smi.c:2491:3: note: previous definition of 'yystate' was here 2491 | 1, 2, 1, 1, 0, 5, 0, 8, 2, 0, | ^ ~~ parser-smi.c:10057:13: error: initializer element is not constant 10057 | yystate = yyn; | ^~~ parser-smi.c:10058:3: error: expected identifier or '(' before 'goto' 10058 | goto yynewstate; | ^~~~ parser-smi.c:10064:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token 10064 | yyacceptlab: | ^ parser-smi.c:10066:3: error: expected identifier or '(' before 'goto' 10066 | goto yyreturn; | ^~~~ parser-smi.c:10071:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token 10071 | yyabortlab: | ^ parser-smi.c:10073:3: error: expected identifier or '(' before 'goto' 10073 | goto yyreturn; | ^~~~ parser-smi.c:10079:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token 10079 | yyexhaustedlab: | ^ parser-smi.c:10081:3: warning: data definition has no type or storage class 10081 | yyresult = 2; | ^~~~~~~~ parser-smi.c:10081:3: warning: type defaults to 'int' in declaration of 'yyresult' [-Wimplicit-int] parser-smi.c:10085:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token 10085 | yyreturn: | ^ parser-smi.c:10096:3: warning: data definition has no type or storage class 10096 | YYPOPSTACK (yylen); | ^~~~~~~~~~ parser-smi.c:10096:3: warning: type defaults to 'int' in declaration of 'YYPOPSTACK' [-Wimplicit-int] parser-smi.c:10096:3: warning: parameter names (without types) in function declaration parser-smi.c:10097:3: warning: data definition has no type or storage class 10097 | YY_STACK_PRINT (yyss, yyssp); | ^~~~~~~~~~~~~~ parser-smi.c:10097:3: warning: type defaults to 'int' in declaration of 'YY_STACK_PRINT' [-Wimplicit-int] parser-smi.c:10097:3: warning: parameter names (without types) in function declaration parser-smi.c:10098:3: error: expected identifier or '(' before 'while' 10098 | while (yyssp != yyss) | ^~~~~ parser-smi.c:10105:3: error: expected identifier or '(' before 'if' 10105 | if (yyss != yyssa) | ^~ parser-smi.c:10109:3: error: expected identifier or '(' before 'if' 10109 | if (yymsg != yymsgbuf) | ^~ parser-smi.c:10112:3: error: expected identifier or '(' before 'return' 10112 | return yyresult; | ^~~~~~ parser-smi.c:10113:1: error: expected identifier or '(' before '}' token 10113 | } | ^ parser-smi.y:7270:2: error: #endif without #if 7270 | #endif | ^~~~~ parser-smi.c:2327:28: warning: 'yystos' defined but not used [-Wunused-const-variable=] 2327 | static const yytype_uint16 yystos[] = | ^~~~~~ parser-smi.c:2254:27: warning: 'yycheck' defined but not used [-Wunused-const-variable=] 2254 | static const yytype_int16 yycheck[] = | ^~~~~~~ parser-smi.c:2153:27: warning: 'yydefgoto' defined but not used [-Wunused-const-variable=] 2153 | static const yytype_int16 yydefgoto[] = | ^~~~~~~~~ parser-smi.c:2049:28: warning: 'yydefact' defined but not used [-Wunused-const-variable=] 2049 | static const yytype_uint16 yydefact[] = | ^~~~~~~~ parser-smi.c:1971:27: warning: 'yypact' defined but not used [-Wunused-const-variable=] 1971 | static const yytype_int16 yypact[] = | ^~~~~~ parser-smi.c:1865:26: warning: 'yytname' defined but not used [-Wunused-const-variable=] 1865 | static const char *const yytname[] = | ^~~~~~~ parser-smi.c:1814:28: warning: 'yyrline' defined but not used [-Wunused-const-variable=] 1814 | static const yytype_uint16 yyrline[] = | ^~~~~~~ parser-smi.c:1772:27: warning: 'yytranslate' defined but not used [-Wunused-const-variable=] 1772 | static const yytype_uint8 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-smi.tab.h -t -psmi -o parser-smi.c parser-smi.y parser-smi.y:1290.1-12: warning: deprecated directive, use '%pure-parser' [-Wdeprecated] %pure_parser ^^^^^^^^^^^^ parser-smi.y: warning: 76 reduce/reduce conflicts [-Wconflicts-rr] 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' /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' /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' {aka 'enum 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' /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, use '%pure-parser' [-Wdeprecated] %pure_parser ^^^^^^^^^^^^ parser-yang.y: warning: 56 shift/reduce conflicts [-Wconflicts-sr] parser-yang.y: warning: 1088 reduce/reduce conflicts [-Wconflicts-rr] 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:507, from smi.c:18: In function 'strncpy', inlined from 'smiValueAsString' at smi.c:566:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 2 bytes from a string of length 8 [-Wstringop-truncation] 106 | 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:106:10: warning: '__builtin_strncpy' output may be truncated copying 2 bytes from a string of length 8 [-Wstringop-truncation] 106 | 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:106:10: warning: '__builtin_strncpy' output may be truncated copying 2 bytes from a string of length 8 [-Wstringop-truncation] 106 | 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-sming.lo parser-sming.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -c parser-sming.c -fPIC -DPIC -o .libs/parser-sming.o parser-sming.y: In function 'checkTypes': parser-sming.y:182:6: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 182 | if (! parserPtr->flags & SMI_FLAG_NODESCR | ^~~~~~~~~~~~~~~~~~ parser-sming.y: In function 'checkDate': parser-sming.y:258:12: warning: implicit declaration of function 'timegm'; did you mean 'time'? [-Wimplicit-function-declaration] 258 | anytime = timegm(&tm); | ^~~~~~ | time parser-sming.y: In function 'smingparse': parser-sming.y:879:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 879 | if(typePtr = | ^~~~~~~ parser-sming.y:914:40: warning: pointer targets in passing argument 2 of 'findNamedNumberByName' differ in signedness [-Wpointer-sign] 914 | $11->value.ptr)) { | ~~~~~~~~~~~~~~~~~~ ^ | | | unsigned char * In file included from error.h:17, from parser-sming.y:42: smi-data.h:747:21: note: expected 'const char *' but argument is of type 'unsigned char *' 747 | extern NamedNumber *findNamedNumberByName(Type *typePtr, | ^~~~~~~~~~~~~~~~~~~~~ parser-sming.y:913:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 913 | if (namedNumberPtr = findNamedNumberByName(typePtr, | ^~~~~~~~~~~~~~ parser-sming.y:1061:9: warning: statement with no effect [-Wunused-value] 1061 | for (tmpList; tmpList; tmpList=tmpList->nextPtr) { | ^~~ parser-sming.y:1062:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1062 | if (tmpAttribute = | ^~~~~~~~~~~~ parser-sming.y:2157:54: warning: passing argument 2 of 'setAttributeList' makes pointer from integer without a cast [-Wint-conversion] 2157 | setAttributeList($$, $1); | ^ | | | int In file included from error.h:17, from parser-sming.y:42: smi-data.h:705:61: note: expected 'List *' {aka 'struct List *'} but argument is of type 'int' 705 | extern void setAttributeList(Attribute *attributePtr, List *listPtr); | ~~~~~~^~~~~~~ parser-sming.y:2158:12: warning: assignment to 'List *' {aka 'struct List *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 2158 | for (p = $1; p; p = p->nextPtr) | ^ parser-sming.y:2197:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2197 | } else if (tmp = findClass($1, | ^~~ parser-sming.y:2760:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2760 | $$->value.ptr = smiStrdup($1); | ^ parser-sming.y:2817:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2817 | $$->value.ptr = hexToStr($1,strlen($1)); | ^ parser-sming.y:2818:59: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2818 | $$->len = strlen($$->value.ptr); | ~ ^ | | | unsigned char * In file included from parser-sming.y:27: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ parser-sming.y:2865:35: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2865 | strcpy($$->value.ptr,$1); | ~~~~~~~~~~~~~~~~~~ ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from parser-sming.y:24: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ parser-sming.y:2866:59: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2866 | $$->len = strlen($$->value.ptr); | ~ ^ | | | unsigned char * In file included from parser-sming.y:27: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ parser-sming.y:2962:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2962 | $$->value.ptr = $1; | ^ parser-sming.y:2978:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2978 | $$->value.ptr = $1; | ^ parser-sming.y:2985:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2985 | $$->value.ptr = $1; | ^ parser-sming.y:2992:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2992 | $$->value.ptr = $1; | ^ parser-sming.y:3008:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3008 | $$->value.ptr = $1; | ^ parser-sming.y:3009:59: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 3009 | $$->len = strlen($$->value.ptr); | ~ ^ | | | unsigned char * In file included from parser-sming.y:27: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from parser-sming.y:42: parser-sming.c:5442:29: warning: passing argument 1 of 'smiyyerror' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5442 | yyerror (parserPtr, yymsgp); | ^~~~~~ error.h:25:44: note: in definition of macro 'yyerror' 25 | #define yyerror(parserPtr, msg) smiyyerror(msg, parserPtr) | ^~~ In file included from parser-sming.y:46: smi-check.h:71:30: note: expected 'char *' but argument is of type 'const char *' 71 | extern void smiyyerror(char *msg, Parser *parserPtr); | ~~~~~~^~~ At top level: parser-sming.y:89:12: warning: 'attributeFlag' defined but not used [-Wunused-variable] 89 | static int attributeFlag = 0; | ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[1]: *** [Makefile:516: all-recursive] Error 1 make: *** [Makefile:402: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.5107 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.5107 (%build) Command exited with non-zero status 1 15.98user 2.24system 0:23.25elapsed 78%CPU (0avgtext+0avgdata 50856maxresident)k 0inputs+0outputs (0major+1082392minor)pagefaults 0swaps hsh-rebuild: rebuild of `libsmi-0.5.0-alt1.svn1841.src.rpm' failed. Command exited with non-zero status 1 21.19user 4.35system 0:33.29elapsed 76%CPU (0avgtext+0avgdata 109288maxresident)k 0inputs+0outputs (0major+1357535minor)pagefaults 0swaps