<86>Mar 16 13:53:16 userdel[3811743]: delete user 'rooter' <86>Mar 16 13:53:16 userdel[3811743]: removed group 'rooter' owned by 'rooter' <86>Mar 16 13:53:16 userdel[3811743]: removed shadow group 'rooter' owned by 'rooter' <86>Mar 16 13:53:16 groupadd[3811753]: group added to /etc/group: name=rooter, GID=654 <86>Mar 16 13:53:16 groupadd[3811753]: group added to /etc/gshadow: name=rooter <86>Mar 16 13:53:16 groupadd[3811753]: new group: name=rooter, GID=654 <86>Mar 16 13:53:16 useradd[3811760]: new user: name=rooter, UID=654, GID=654, home=/root, shell=/bin/bash <86>Mar 16 13:53:16 userdel[3811775]: delete user 'builder' <86>Mar 16 13:53:16 userdel[3811775]: removed group 'builder' owned by 'builder' <86>Mar 16 13:53:16 userdel[3811775]: removed shadow group 'builder' owned by 'builder' <86>Mar 16 13:53:16 groupadd[3811789]: group added to /etc/group: name=builder, GID=655 <86>Mar 16 13:53:16 groupadd[3811789]: group added to /etc/gshadow: name=builder <86>Mar 16 13:53:16 groupadd[3811789]: new group: name=builder, GID=655 <86>Mar 16 13:53:16 useradd[3811799]: new user: name=builder, UID=655, GID=655, home=/usr/src, shell=/bin/bash <13>Mar 16 13:53:19 rpmi: libidn2-2.3.0-alt1 sisyphus+240846.100.1.2 1573870475 installed <13>Mar 16 13:53:19 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+262033.600.7.2 1607340230 installed <13>Mar 16 13:53:20 rpmi: libstdc++10-devel-10.2.1-alt3 sisyphus+267829.100.1.1 1615808579 installed <13>Mar 16 13:53:21 rpmi: gcc10-c++-10.2.1-alt3 sisyphus+267829.100.1.1 1615808579 installed <13>Mar 16 13:53:21 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Mar 16 13:53:21 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Mar 16 13:53:21 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Mar 16 13:53:21 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Mar 16 13:53:21 rpmi: ca-certificates-2021.01.27-alt1 sisyphus+265371.200.1.1 1611759824 installed <13>Mar 16 13:53:21 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Mar 16 13:53:21 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Mar 16 13:53:21 rpmi: libcrypto1.1-1.1.1j-alt1 sisyphus+267718.100.1.1 1615557676 installed <13>Mar 16 13:53:21 rpmi: libssl1.1-1.1.1j-alt1 sisyphus+267718.100.1.1 1615557676 installed <13>Mar 16 13:53:21 rpmi: wget-1.21-alt1 sisyphus+264267.100.1.1 1609523553 installed <13>Mar 16 13:53:21 rpmi: gcc-c++-10-alt1 sisyphus+263054.200.3.1 1607516810 installed <13>Mar 16 13:53:21 rpmi: flex-2.6.4.0.88.9801-alt1 sisyphus+221902.2300.4.1 1550596430 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/libsmi-0.5.0-alt1.svn1841.nosrc.rpm (w1.gzdio) Installing libsmi-0.5.0-alt1.svn1841.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.68401 + 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.17297 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libsmi-0.5.0 + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.ac: not using Gettext autoreconf-default: running: aclocal --force autoreconf-default: configure.ac: tracing autoreconf-default: running: libtoolize --force --install libtoolize-default: putting auxiliary files in '.'. libtoolize-default: linking file './config.guess' libtoolize-default: linking file './config.sub' libtoolize-default: linking file './install-sh' libtoolize-default: linking file './ltmain.sh' libtoolize-default: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize-default: and rerunning libtoolize-default and aclocal. libtoolize-default: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf-default: configure.ac: not using Intltool autoreconf-default: configure.ac: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force autoreconf-default: running: /usr/bin/autoheader-2.60 --force autoreconf-default: running: automake --add-missing --force-missing configure.ac:26: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:26: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.ac:39: installing './compile' configure.ac:26: installing './missing' lib/Makefile.am: installing './depcomp' mibs/iana/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/iana/Makefile.am:15: (probably a GNU make extension) mibs/ietf/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/ietf/Makefile.am:15: (probably a GNU make extension) mibs/irtf/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/irtf/Makefile.am:15: (probably a GNU make extension) mibs/jacobs/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/jacobs/Makefile.am:15: (probably a GNU make extension) mibs/site/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/site/Makefile.am:15: (probably a GNU make extension) mibs/tubs/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name mibs/tubs/Makefile.am:15: (probably a GNU make extension) pibs/Makefile.am:16: warning: shell ls -1d [a-z]*/* | egrep -v 'CVS|Makefile': non-POSIX variable name pibs/Makefile.am:16: (probably a GNU make extension) pibs/ietf/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name pibs/ietf/Makefile.am:14: (probably a GNU make extension) pibs/site/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name pibs/site/Makefile.am:14: (probably a GNU make extension) pibs/tubs/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name pibs/tubs/Makefile.am:14: (probably a GNU make extension) test/Makefile.am:46: warning: shell ls -1d smidiff/* | egrep -v 'CVS|Makefile': non-POSIX variable name test/Makefile.am:46: (probably a GNU make extension) parallel-tests: installing './test-driver' test/dumps/cm/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/cm/Makefile.am:14: (probably a GNU make extension) test/dumps/corba/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/corba/Makefile.am:14: (probably a GNU make extension) test/dumps/identifiers/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/identifiers/Makefile.am:14: (probably a GNU make extension) test/dumps/imports/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/imports/Makefile.am:14: (probably a GNU make extension) test/dumps/jax/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/jax/Makefile.am:14: (probably a GNU make extension) test/dumps/metrics/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/metrics/Makefile.am:14: (probably a GNU make extension) test/dumps/mosy/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/mosy/Makefile.am:14: (probably a GNU make extension) test/dumps/netsnmp/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/netsnmp/Makefile.am:14: (probably a GNU make extension) test/dumps/orig-smiv2/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/orig-smiv2/Makefile.am:14: (probably a GNU make extension) test/dumps/python/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/python/Makefile.am:14: (probably a GNU make extension) test/dumps/smilint-smiv2/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/smilint-smiv2/Makefile.am:14: (probably a GNU make extension) test/dumps/sming/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/sming/Makefile.am:14: (probably a GNU make extension) test/dumps/smiv1/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/smiv1/Makefile.am:14: (probably a GNU make extension) test/dumps/smiv2-smiv2/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/smiv2-smiv2/Makefile.am:14: (probably a GNU make extension) test/dumps/smiv2/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/smiv2/Makefile.am:14: (probably a GNU make extension) test/dumps/tree/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/tree/Makefile.am:14: (probably a GNU make extension) test/dumps/types/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/types/Makefile.am:14: (probably a GNU make extension) test/dumps/xml/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/xml/Makefile.am:14: (probably a GNU make extension) test/dumps/yang/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/dumps/yang/Makefile.am:14: (probably a GNU make extension) test/smidiff/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name test/smidiff/Makefile.am:14: (probably a GNU make extension) tools/Makefile.am:14: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') yang/Makefile.am:16: warning: shell ls -1d [a-z]*/* | egrep -v 'CVS|Makefile': non-POSIX variable name yang/Makefile.am:16: (probably a GNU make extension) yang/iana/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name yang/iana/Makefile.am:15: (probably a GNU make extension) yang/ietf/Makefile.am:15: warning: shell ls -1 $(srcdir: non-POSIX variable name yang/ietf/Makefile.am:15: (probably a GNU make extension) yang/site/Makefile.am:14: warning: shell ls -1 | egrep -v 'CVS|Makefile': non-POSIX variable name yang/site/Makefile.am:14: (probably a GNU make extension) autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_prog_cc_static_works=no + lt_cv_prog_cc_static_works=no + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + 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=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --disable-static --enable-shared --sysconfdir=/etc --enable-smi --enable-sming configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for i586-alt-linux-gcc... i586-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking whether i586-alt-linux-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of i586-alt-linux-gcc... none checking for additional required compiler flags... checking for strtoll... yes checking for strtoull... yes checking for strtoq... yes checking for strtouq... yes checking for timegm... yes checking for vsnprintf... yes checking for snprintf... yes checking for asprintf... yes checking for asnprintf... no checking for vasprintf... yes checking for vasnprintf... no checking how to run the C preprocessor... i586-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking for unistd.h... (cached) yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for stdint.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for regexec in -lc... yes checking for path separator character... : checking for dir separator character... / checking for 64 bit types... long long/%lld, etc. checking for flex... /usr/bin/flex checking for bison... /usr/bin/bison checking for bash... /bin/sh checking for sh... /bin/sh checking for awk... /bin/awk checking for wget... /usr/bin/wget checking for gdiff... no checking for diff... /usr/bin/diff checking whether make sets $(MAKE)... (cached) yes checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by i586-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert i586-alt-linux-gnu file names to i586-alt-linux-gnu format... func_convert_file_noop checking how to convert i586-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i586-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for i586-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i586-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i586-alt-linux-strip... no checking for strip... strip checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from i586-alt-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for i586-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if i586-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i586-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-gcc static flag -static works... no checking if i586-alt-linux-gcc supports -c -o file.o... yes checking if i586-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no ./configure: line 12877: ./libtool: No such file or directory checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating tools/Makefile config.status: creating mibs/Makefile config.status: creating mibs/iana/Makefile config.status: creating mibs/ietf/Makefile config.status: creating mibs/irtf/Makefile config.status: creating mibs/jacobs/Makefile config.status: creating mibs/tubs/Makefile config.status: creating mibs/site/Makefile config.status: creating pibs/Makefile config.status: creating pibs/ietf/Makefile config.status: creating pibs/tubs/Makefile config.status: creating pibs/site/Makefile config.status: creating yang/Makefile config.status: creating yang/ietf/Makefile config.status: creating yang/iana/Makefile config.status: creating yang/site/Makefile config.status: creating test/Makefile config.status: creating test/mibs/Makefile config.status: creating test/smidiff/Makefile config.status: creating test/dumps/Makefile config.status: creating test/dumps/corba/Makefile config.status: creating test/dumps/imports/Makefile config.status: creating test/dumps/jax/Makefile config.status: creating test/dumps/netsnmp/Makefile config.status: creating test/dumps/mosy/Makefile config.status: creating test/dumps/orig-smiv2/Makefile config.status: creating test/dumps/smilint-smiv2/Makefile config.status: creating test/dumps/sming/Makefile config.status: creating test/dumps/smiv1/Makefile config.status: creating test/dumps/smiv2/Makefile config.status: creating test/dumps/smiv2-smiv2/Makefile config.status: creating test/dumps/tree/Makefile config.status: creating test/dumps/types/Makefile config.status: creating test/dumps/identifiers/Makefile config.status: creating test/dumps/metrics/Makefile config.status: creating test/dumps/xml/Makefile config.status: creating test/dumps/cm/Makefile config.status: creating test/dumps/python/Makefile config.status: creating test/dumps/yang/Makefile config.status: creating doc/Makefile config.status: creating lib/smi.h config.status: creating lib/libsmi.3 config.status: creating lib/smi_macro.3 config.status: creating lib/smi_module.3 config.status: creating lib/smi_node.3 config.status: creating lib/smi_type.3 config.status: creating lib/smi_config.3 config.status: creating lib/smi_render.3 config.status: creating lib/smi_util.3 config.status: creating lib/smi_class.3 config.status: creating lib/smi_attribute.3 config.status: creating lib/smi_event.3 config.status: creating lib/smi_identity.3 config.status: creating lib/yang_node.3 config.status: creating tools/smistrip config.status: creating tools/smicache config.status: creating tools/smiquery.1 config.status: creating tools/smilint.1 config.status: creating tools/smidump.1 config.status: creating tools/smidiff.1 config.status: creating tools/smistrip.1 config.status: creating tools/smicache.1 config.status: creating tools/smixlate.1 config.status: creating tools/mib2svg.cgi config.status: creating test/parser.test config.status: creating test/parser-yang.test config.status: creating test/parser-yang-ct.test config.status: creating test/smidump-corba.test config.status: creating test/smidump-jax.test config.status: creating test/smidump-netsnmp.test config.status: creating test/smidump-imports.test config.status: creating test/smidump-mosy.test config.status: creating test/smidump-orig-smiv2.test config.status: creating test/smidump-sming.test config.status: creating test/smidump-yang.test config.status: creating test/smidump-smiv1.test config.status: creating test/smidump-smiv2-smiv2.test config.status: creating test/smidump-smiv2.test config.status: creating test/smidump-tree.test config.status: creating test/smidump-types.test config.status: creating test/smidump-identifiers.test config.status: creating test/smidump-metrics.test config.status: creating test/smidump-xml.test config.status: creating test/smidump-cm.test config.status: creating test/smidump-python.test config.status: creating test/smilint-smiv2.test config.status: creating test/smidiff.test config.status: creating libsmi.pc config.status: creating win/config.h config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default commands configure: WARNING: unrecognized options: --without-included-gettext + LIBTOOL=/usr/bin/libtool + make -j8 make all-recursive Making all in lib make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' cat error.c | grep ERR_ | \ sed -e 's/^.*\(ERR_[a-zA-Z0-9_]*\).*$/\1/' | \ awk '{printf "#define %-50s %d\n", $1, NR-1}' > errormacros.h make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o util.lo util.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c util.c -fPIC -DPIC -o .libs/util.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o error.lo error.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c error.c -fPIC -DPIC -o .libs/error.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o common.lo common.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c common.c -fPIC -DPIC -o .libs/common.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o snprintf.lo snprintf.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c snprintf.c -fPIC -DPIC -o .libs/snprintf.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o yang-complex-types.lo yang-complex-types.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c yang-complex-types.c -fPIC -DPIC -o .libs/yang-complex-types.o yang-complex-types.c: In function 'addCTExtNode': yang-complex-types.c:148:9: warning: implicit declaration of function 'createIdentifierRef'; did you mean 'listIdentifierRef'? [-Wimplicit-function-declaration] 148 | createIdentifierRef(ret, prefix, identifier); | ^~~~~~~~~~~~~~~~~~~ | listIdentifierRef make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o yang-check.lo yang-check.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c yang-check.c -fPIC -DPIC -o .libs/yang-check.o yang-check.c: In function 'findTargetNode': yang-check.c:249:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 249 | || childPtr->export.nodeKind == YANG_DECL_INPUT && !strcmp("input", value) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ yang-check.c:250:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 250 | || childPtr->export.nodeKind == YANG_DECL_OUTPUT && !strcmp("output", value)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ yang-check.c: In function 'resolveXPath': yang-check.c:328:43: warning: comparison between 'YangStatus' and 'enum _YangParsingState' [-Wenum-compare] 328 | && tmpNode->export.status == YANG_PARSING_IN_PROGRESS) { | ^~ yang-check.c: In function 'typeHandler': yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_NONE' not handled in switch [-Wswitch] 1075 | switch (nodePtr->typeInfo->builtinType) { | ^~~~~~ yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_BINARY' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_BOOLEAN' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_EMPTY' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_INSTANCE_IDENTIFIER' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_INT8' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_INT16' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_INT32' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_INT64' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_STRING' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_UINT8' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_UINT16' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_UINT32' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_UINT64' not handled in switch [-Wswitch] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o smi-check.lo smi-check.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c smi-check.c -fPIC -DPIC -o .libs/smi-check.o smi-check.c: In function 'smiCheckIndex': smi-check.c:779:2: warning: enumeration value 'SMI_BASETYPE_POINTER' not handled in switch [-Wswitch] 779 | switch (typePtr->export.basetype) { | ^~~~~~ smi-check.c: In function 'smiCheckNotificationMembers': smi-check.c:2085:11: warning: variable 'node' set but not used [-Wunused-but-set-variable] 2085 | Node *node = NULL; | ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o yang.lo yang.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c yang.c -fPIC -DPIC -o .libs/yang.o yang.c: In function 'yangDeclAsString': yang.c:51:5: warning: enumeration value 'YANG_DECL_LAST' not handled in switch [-Wswitch] 51 | switch (decl) { | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /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-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' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o yang-data.lo yang-data.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c yang-data.c -fPIC -DPIC -o .libs/yang-data.o yang-data.c: In function 'getUniqueList': yang-data.c:1173:28: warning: unused variable 'item' [-Wunused-variable] 1173 | YangList *ret = NULL, *item = NULL, *prev = NULL; | ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o smi2yang.lo smi2yang.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c smi2yang.c -fPIC -DPIC -o .libs/smi2yang.o smi2yang.c: In function 'smi2yangLeafPath': smi2yang.c:442:28: warning: unused variable 'parentModule' [-Wunused-variable] 442 | SmiModule *smiModule, *parentModule = NULL; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /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/flex -Cfe -Psming -t -o scanner-sming.c scanner-sming.l > scanner-sming.c make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o smi-data.lo smi-data.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c smi-data.c -fPIC -DPIC -o .libs/smi-data.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/bison --defines=parser-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' /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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o parser-smi.lo parser-smi.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c parser-smi.c -fPIC -DPIC -o .libs/parser-smi.o parser-smi.c: In function 'smiparse': parser-smi.c:9306:12: warning: null character(s) ignored 9306 | case 382: | ^ parser-smi.c:9306: error: 'r' undeclared (first use in this function) 9306 | case 382: | parser-smi.c:9306: note: each undeclared identifier is reported only once for each function it appears in parser-smi.c:9306:1: error: expected ';' before ')' token 9306 | case 382: | ^ | ; parser-smi.c:9306: error: expected statement before ')' token 9306 | case 382: | parser-smi.c:9306: error: expected expression before '=' token parser-smi.c:9859:5: error: break statement not within loop or switch 9859 | break; | ^~~~~ parser-smi.c:9861:3: error: case label not within a switch statement 9861 | case 422: | ^~~~ parser-smi.c:9865:5: error: break statement not within loop or switch 9865 | break; | ^~~~~ parser-smi.c:9867:3: error: case label not within a switch statement 9867 | case 423: | ^~~~ parser-smi.c:9871:5: error: break statement not within loop or switch 9871 | break; | ^~~~~ parser-smi.c:9873:3: error: case label not within a switch statement 9873 | case 424: | ^~~~ parser-smi.c:9877:5: error: break statement not within loop or switch 9877 | break; | ^~~~~ parser-smi.c:9879:3: error: case label not within a switch statement 9879 | case 425: | ^~~~ parser-smi.c:9883:5: error: break statement not within loop or switch 9883 | break; | ^~~~~ parser-smi.c:9887:7: error: 'default' label not within a switch statement 9887 | default: break; | ^~~~~~~ parser-smi.c:9887:16: error: break statement not within loop or switch 9887 | default: break; | ^~~~~ parser-smi.c:3153:5: error: label 'yyerrlab' used but not defined 3153 | goto yyerrlab; | ^~~~ parser-smi.c:3077:5: error: label 'yyacceptlab' used but not defined 3077 | YYACCEPT; | ^~~~~~~~ parser-smi.y:1650:5: error: label 'yyabortlab' used but not defined 1650 | YYABORT; | ^~~~~~~ parser-smi.c:3054:11: error: label 'yyexhaustedlab' used but not defined 3054 | goto yyexhaustedlab; | ^~~~ parser-smi.c:2981:12: warning: unused variable 'yymsg_alloc' [-Wunused-variable] 2981 | YYSIZE_T yymsg_alloc = sizeof yymsgbuf; | ^~~~~~~~~~~ parser-smi.c:2980:9: warning: unused variable 'yymsg' [-Wunused-variable] 2980 | char *yymsg = yymsgbuf; | ^~~~~ parser-smi.c:2970:7: warning: unused variable 'yyresult' [-Wunused-variable] 2970 | int yyresult; | ^~~~~~~~ parser-smi.c:67:25: warning: variable 'sminerrs' set but not used [-Wunused-but-set-variable] 67 | #define yynerrs sminerrs | ^~~~~~~~ parser-smi.c:2944:9: note: in expansion of macro 'yynerrs' 2944 | int yynerrs; | ^~~~~~~ parser-smi.c: At top level: parser-smi.c:2555:1: error: expected identifier or '(' before 'do' 2555 | do { \ | ^~ parser-smi.c:9900:3: note: in expansion of macro 'YY_SYMBOL_PRINT' 9900 | YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); | ^~~~~~~~~~~~~~~ parser-smi.c:2563:3: error: expected identifier or '(' before 'while' 2563 | } while (0) | ^~~~~ parser-smi.c:9900:3: note: in expansion of macro 'YY_SYMBOL_PRINT' 9900 | YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); | ^~~~~~~~~~~~~~~ parser-smi.c:2984:32: error: expected ')' before '-=' token 2984 | #define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) | ^~ parser-smi.c:9902:3: note: in expansion of macro 'YYPOPSTACK' 9902 | YYPOPSTACK (yylen); | ^~~~~~~~~~ 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:2618:1: error: expected identifier or '(' before 'do' 2618 | do { \ | ^~ parser-smi.c:9904:3: note: in expansion of macro 'YY_STACK_PRINT' 9904 | YY_STACK_PRINT (yyss, yyssp); | ^~~~~~~~~~~~~~ parser-smi.c:2621:3: error: expected identifier or '(' before 'while' 2621 | } while (0) | ^~~~~ parser-smi.c:9904:3: note: in expansion of macro 'YY_STACK_PRINT' 9904 | YY_STACK_PRINT (yyss, yyssp); | ^~~~~~~~~~~~~~ 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:9: error: initializer element is not constant 9912 | yyn = yyr1[yyn]; | ^~~~ 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:41: error: 'yyssp' undeclared here (not in a function) 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:2984:32: error: expected ')' before '-=' token 2984 | #define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) | ^~ parser-smi.c:10010:3: note: in expansion of macro 'YYPOPSTACK' 10010 | YYPOPSTACK (yylen); | ^~~~~~~~~~ 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:2618:1: error: expected identifier or '(' before 'do' 2618 | do { \ | ^~ parser-smi.c:10012:3: note: in expansion of macro 'YY_STACK_PRINT' 10012 | YY_STACK_PRINT (yyss, yyssp); | ^~~~~~~~~~~~~~ parser-smi.c:2621:3: error: expected identifier or '(' before 'while' 2621 | } while (0) | ^~~~~ parser-smi.c:10012:3: note: in expansion of macro 'YY_STACK_PRINT' 10012 | YY_STACK_PRINT (yyss, yyssp); | ^~~~~~~~~~~~~~ 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:9914:3: note: previous definition of 'yystate' was here 9914 | yystate = yypgoto[yyn - YYNTOKENS] + *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:2555:1: error: expected identifier or '(' before 'do' 2555 | do { \ | ^~ parser-smi.c:10055:3: note: in expansion of macro 'YY_SYMBOL_PRINT' 10055 | YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp); | ^~~~~~~~~~~~~~~ parser-smi.c:2563:3: error: expected identifier or '(' before 'while' 2563 | } while (0) | ^~~~~ parser-smi.c:10055:3: note: in expansion of macro 'YY_SYMBOL_PRINT' 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:9914:3: note: previous definition of 'yystate' was here 9914 | yystate = yypgoto[yyn - YYNTOKENS] + *yyssp; | ^~~~~~~ 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:2984:32: error: expected ')' before '-=' token 2984 | #define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) | ^~ parser-smi.c:10096:3: note: in expansion of macro 'YYPOPSTACK' 10096 | YYPOPSTACK (yylen); | ^~~~~~~~~~ parser-smi.c:2618:1: error: expected identifier or '(' before 'do' 2618 | do { \ | ^~ parser-smi.c:10097:3: note: in expansion of macro 'YY_STACK_PRINT' 10097 | YY_STACK_PRINT (yyss, yyssp); | ^~~~~~~~~~~~~~ parser-smi.c:2621:3: error: expected identifier or '(' before 'while' 2621 | } while (0) | ^~~~~ parser-smi.c:10097:3: note: in expansion of macro 'YY_STACK_PRINT' 10097 | YY_STACK_PRINT (yyss, yyssp); | ^~~~~~~~~~~~~~ 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.c: In function 'smiparse': parser-smi.c:9888:5: warning: control reaches end of non-void function [-Wreturn-type] 9888 | } | ^ At top level: parser-smi.c:2910:1: warning: 'yydestruct' defined but not used [-Wunused-function] 2910 | yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep, struct Parser *parserPtr) | ^~~~~~~~~~ parser-smi.c:2777:1: warning: 'yysyntax_error' defined but not used [-Wunused-function] 2777 | yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, | ^~~~~~~~~~~~~~ parser-smi.c:2606:1: warning: 'yy_stack_print' defined but not used [-Wunused-function] 2606 | yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop) | ^~~~~~~~~~~~~~ parser-smi.c:2153:27: warning: 'yydefgoto' defined but not used [-Wunused-const-variable=] 2153 | static const yytype_int16 yydefgoto[] = | ^~~~~~~~~ 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/flex -Cfe -Psmi -t -o scanner-smi.c scanner-smi.l > scanner-smi.c make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/bison --defines=parser-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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o smi.lo smi.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c smi.c -fPIC -DPIC -o .libs/smi.o smi.c: In function 'smiValueAsString': smi.c:522:2: warning: enumeration value 'SMI_LANGUAGE_UNKNOWN' not handled in switch [-Wswitch] 522 | switch (smiLanguage) { | ^~~~~~ smi.c: In function 'smiUnpack': smi.c:3000:15: warning: variable 'last' set but not used [-Wunused-but-set-variable] 3000 | int i, j, last = 0; | ^~~~ smi.c: In function 'smiAsprintf': smi.c:3076:10: warning: implicit declaration of function 'vasprintf'; did you mean 'vasnprintf'? [-Wimplicit-function-declaration] 3076 | rc = vasprintf(strp, format, ap); | ^~~~~~~~~ | vasnprintf In file included from /usr/include/string.h:532, from smi.c:18: In function 'strncpy', inlined from 'smiValueAsString' at smi.c:566:3: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 2 bytes from a string of length 8 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'smiValueAsString' at smi.c:549:7: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 2 bytes from a string of length 8 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'smiValueAsString' at smi.c:535:7: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 2 bytes from a string of length 8 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o scanner-sming.lo scanner-sming.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c scanner-sming.c -fPIC -DPIC -o .libs/scanner-sming.o scanner-sming.c:7240:16: warning: 'input' defined but not used [-Wunused-function] 7240 | static int input (void) | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o parser-sming.lo parser-sming.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c parser-sming.c -fPIC -DPIC -o .libs/parser-sming.o parser-sming.y: In function 'checkTypes': parser-sming.y:182:6: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 182 | if (! parserPtr->flags & SMI_FLAG_NODESCR | ^~~~~~~~~~~~~~~~~~ parser-sming.y: In function 'checkDate': parser-sming.y:258:12: warning: implicit declaration of function 'timegm'; did you mean 'time'? [-Wimplicit-function-declaration] 258 | anytime = timegm(&tm); | ^~~~~~ | time parser-sming.y: In function 'smingparse': parser-sming.y:879:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 879 | if(typePtr = | ^~~~~~~ parser-sming.y:914:40: warning: pointer targets in passing argument 2 of 'findNamedNumberByName' differ in signedness [-Wpointer-sign] 914 | $11->value.ptr)) { | ~~~~~~~~~~~~~~~~~~ ^ | | | unsigned char * In file included from error.h:17, from parser-sming.y:42: smi-data.h:748:20: note: expected 'const char *' but argument is of type 'unsigned char *' 748 | const char *name); | ~~~~~~~~~~~~^~~~ parser-sming.y:913:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 913 | if (namedNumberPtr = findNamedNumberByName(typePtr, | ^~~~~~~~~~~~~~ parser-sming.y:1061:9: warning: statement with no effect [-Wunused-value] 1061 | for (tmpList; tmpList; tmpList=tmpList->nextPtr) { | ^~~ parser-sming.y:1062:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1062 | if (tmpAttribute = | ^~~~~~~~~~~~ parser-sming.y:2157:54: warning: passing argument 2 of 'setAttributeList' makes pointer from integer without a cast [-Wint-conversion] 2157 | setAttributeList($$, $1); | ^ | | | int In file included from error.h:17, from parser-sming.y:42: smi-data.h:705:61: note: expected 'List *' but argument is of type 'int' 705 | extern void setAttributeList(Attribute *attributePtr, List *listPtr); | ~~~~~~^~~~~~~ parser-sming.y:2158:12: warning: assignment to 'List *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 2158 | for (p = $1; p; p = p->nextPtr) | ^ parser-sming.y:2197:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2197 | } else if (tmp = findClass($1, | ^~~ parser-sming.y:2760:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2760 | $$->value.ptr = smiStrdup($1); | ^ parser-sming.y:2817:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2817 | $$->value.ptr = hexToStr($1,strlen($1)); | ^ parser-sming.y:2818:59: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2818 | $$->len = strlen($$->value.ptr); | ~ ^ | | | unsigned char * In file included from parser-sming.y:27: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ parser-sming.y:2865:35: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2865 | strcpy($$->value.ptr,$1); | ~~~~~~~~~~~~~~~~~~ ^ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from parser-sming.y:24: /usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ parser-sming.y:2866:59: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2866 | $$->len = strlen($$->value.ptr); | ~ ^ | | | unsigned char * In file included from parser-sming.y:27: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ parser-sming.y:2962:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2962 | $$->value.ptr = $1; | ^ parser-sming.y:2978:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2978 | $$->value.ptr = $1; | ^ parser-sming.y:2985:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2985 | $$->value.ptr = $1; | ^ parser-sming.y:2992:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2992 | $$->value.ptr = $1; | ^ parser-sming.y:3008:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3008 | $$->value.ptr = $1; | ^ parser-sming.y:3009:59: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 3009 | $$->len = strlen($$->value.ptr); | ~ ^ | | | unsigned char * In file included from parser-sming.y:27: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ 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[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o parser-yang.lo parser-yang.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c parser-yang.c -fPIC -DPIC -o .libs/parser-yang.o parser-yang.y: In function 'checkDate': parser-yang.y:243:12: warning: implicit declaration of function 'timegm'; did you mean 'time'? [-Wimplicit-function-declaration] 243 | anytime = timegm(&tm); | ^~~~~~ | time parser-yang.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:4845:9: note: in expansion of macro 'yyerror' 4845 | yyerror (parserPtr, yymsgp); | ^~~~~~~ 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:518: all-recursive] Error 1 make: *** [Makefile:404: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.17297 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.17297 (%build) Command exited with non-zero status 1 35.45user 6.21system 0:24.47elapsed 170%CPU (0avgtext+0avgdata 42268maxresident)k 0inputs+0outputs (0major+999876minor)pagefaults 0swaps hsh-rebuild: rebuild of `libsmi-0.5.0-alt1.svn1841.src.rpm' failed. Command exited with non-zero status 1 44.73user 11.55system 0:37.96elapsed 148%CPU (0avgtext+0avgdata 107932maxresident)k 1992inputs+0outputs (0major+1278703minor)pagefaults 0swaps