<86>May 7 10:46:37 userdel[1668613]: delete user 'rooter' <86>May 7 10:46:37 groupadd[1668625]: group added to /etc/group: name=rooter, GID=645 <86>May 7 10:46:37 groupadd[1668625]: group added to /etc/gshadow: name=rooter <86>May 7 10:46:37 groupadd[1668625]: new group: name=rooter, GID=645 <86>May 7 10:46:37 useradd[1668631]: new user: name=rooter, UID=645, GID=645, home=/root, shell=/bin/bash <86>May 7 10:46:37 userdel[1668644]: delete user 'builder' <86>May 7 10:46:37 userdel[1668644]: removed group 'builder' owned by 'builder' <86>May 7 10:46:37 userdel[1668644]: removed shadow group 'builder' owned by 'builder' <86>May 7 10:46:37 groupadd[1668653]: group added to /etc/group: name=builder, GID=646 <86>May 7 10:46:37 groupadd[1668653]: group added to /etc/gshadow: name=builder <86>May 7 10:46:37 groupadd[1668653]: new group: name=builder, GID=646 <86>May 7 10:46:37 useradd[1668660]: new user: name=builder, UID=646, GID=646, home=/usr/src, shell=/bin/bash <13>May 7 10:46:39 rpmi: libidn2-2.3.0-alt1 sisyphus+240846.100.1.2 1573870475 installed <13>May 7 10:46:39 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+262033.600.7.2 1607340230 installed <13>May 7 10:46:39 rpmi: libstdc++10-devel-10.2.1-alt3 sisyphus+267829.100.1.1 1615808579 installed <13>May 7 10:46:40 rpmi: gcc10-c++-10.2.1-alt3 sisyphus+267829.100.1.1 1615808579 installed <13>May 7 10:46:40 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>May 7 10:46:40 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>May 7 10:46:40 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 7 10:46:40 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 7 10:46:40 rpmi: ca-certificates-2021.03.24-alt1 sisyphus+268304.300.1.1 1616591829 installed <13>May 7 10:46:40 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>May 7 10:46:40 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>May 7 10:46:41 rpmi: libcrypto1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>May 7 10:46:41 rpmi: libssl1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>May 7 10:46:41 rpmi: wget-1.21-alt1 sisyphus+264267.100.1.1 1609523553 installed <13>May 7 10:46:41 rpmi: gcc-c++-10-alt1 sisyphus+263054.200.3.1 1607516810 installed <13>May 7 10:46:41 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.87423 + 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.87423 + 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 '' ']' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + 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 + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -ri dirname -- '{}' + readlink -e -- ./configure + ./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 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 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 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-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 smi2yang.lo smi2yang.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c smi2yang.c -fPIC -DPIC -o .libs/smi2yang.o smi2yang.c: In function 'smi2yangLeafPath': smi2yang.c:442:28: warning: unused variable 'parentModule' [-Wunused-variable] 442 | SmiModule *smiModule, *parentModule = NULL; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o yang.lo yang.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c yang.c -fPIC -DPIC -o .libs/yang.o yang.c: In function 'yangDeclAsString': yang.c:51:5: warning: enumeration value 'YANG_DECL_LAST' not handled in switch [-Wswitch] 51 | switch (decl) { | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o 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 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' /usr/bin/bison --defines=parser-smi.tab.h -t -psmi -o parser-smi.c parser-smi.y parser-smi.y:1290.1-12: warning: deprecated directive: '%pure_parser', use '%define api.pure' [-Wdeprecated] 1290 | %pure_parser | ^~~~~~~~~~~~ | %define api.pure parser-smi.y: warning: 76 reduce/reduce conflicts [-Wconflicts-rr] parser-smi.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples parser-smi.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/bison --defines=parser-sming.tab.h -t -psming -o parser-sming.c parser-sming.y parser-sming.y:352.1-12: warning: deprecated directive: '%pure_parser', use '%define api.pure' [-Wdeprecated] 352 | %pure_parser | ^~~~~~~~~~~~ | %define api.pure parser-sming.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o smi-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: '%pure_parser', use '%define api.pure' [-Wdeprecated] 271 | %pure_parser | ^~~~~~~~~~~~ | %define api.pure parser-yang.y: warning: 56 shift/reduce conflicts [-Wconflicts-sr] parser-yang.y: warning: 1088 reduce/reduce conflicts [-Wconflicts-rr] parser-yang.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples parser-yang.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/bison --defines=parser-sming.tab.h -t -psming -o parser-sming.c parser-sming.y parser-sming.y:352.1-12: warning: deprecated directive: '%pure_parser', use '%define api.pure' [-Wdeprecated] 352 | %pure_parser | ^~~~~~~~~~~~ | %define api.pure parser-sming.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/flex -Cfe -Psming -t -o scanner-sming.c scanner-sming.l > scanner-sming.c make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /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:2913:41: warning: null character(s) ignored 2913 | int yyrule, struct Parser *parserPtr) | ^ parser-smi.c:2913: error: expected ';', ',' or ')' before '-' token 2913 | int yyrule, struct Parser *parserPtr) | parser-smi.c:2913: warning: missing terminating " character parser-smi.c:2913: error: missing terminating " character parser-smi.c:2834:1: error: expected identifier or '(' before 'do' 2834 | do { \ | ^~ parser-smi.c:9973:3: note: in expansion of macro 'YY_SYMBOL_PRINT' parser-smi.c:2842:3: error: expected identifier or '(' before 'while' 2842 | } while (0) | ^~~~~ parser-smi.c:9973:3: note: in expansion of macro 'YY_SYMBOL_PRINT' parser-smi.c:9975:3: warning: data definition has no type or storage class parser-smi.c:9975:3: warning: type defaults to 'int' in declaration of 'YYPOPSTACK' [-Wimplicit-int] parser-smi.c:9975:3: warning: parameter names (without types) in function declaration parser-smi.c:9976:3: warning: data definition has no type or storage class parser-smi.c:9976:3: warning: type defaults to 'int' in declaration of 'yylen' [-Wimplicit-int] parser-smi.c:9978:4: error: expected identifier or '(' before '++' token parser-smi.c:9983:3: error: expected identifier or '(' before '{' token parser-smi.c:9991:3: error: expected identifier or '(' before 'goto' parser-smi.c:9997:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-smi.c:10002:3: error: expected identifier or '(' before 'if' parser-smi.c:10008:3: error: expected identifier or '(' before 'if' parser-smi.c:10029:3: error: expected identifier or '(' before 'goto' parser-smi.c:10035:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-smi.c:10043:3: warning: data definition has no type or storage class parser-smi.c:10043:3: warning: type defaults to 'int' in declaration of 'YYPOPSTACK' [-Wimplicit-int] parser-smi.c:10043:3: warning: parameter names (without types) in function declaration parser-smi.c:10044:3: warning: data definition has no type or storage class parser-smi.c:10044:3: warning: type defaults to 'int' in declaration of 'yylen' [-Wimplicit-int] parser-smi.c:10044:3: error: redefinition of 'yylen' parser-smi.c:9976:3: note: previous definition of 'yylen' was here parser-smi.c:2901:1: error: expected identifier or '(' before 'do' 2901 | do { \ | ^~ parser-smi.c:10045:3: note: in expansion of macro 'YY_STACK_PRINT' parser-smi.c:2904:3: error: expected identifier or '(' before 'while' 2904 | } while (0) | ^~~~~ parser-smi.c:10045:3: note: in expansion of macro 'YY_STACK_PRINT' parser-smi.c:10046:3: warning: data definition has no type or storage class parser-smi.c:10046:3: warning: type defaults to 'int' in declaration of 'yystate' [-Wimplicit-int] parser-smi.c:10046:14: error: 'yyssp' undeclared here (not in a function) parser-smi.c:10047:3: error: expected identifier or '(' before 'goto' parser-smi.c:10053:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-smi.c:10057:3: error: expected identifier or '(' before 'for' parser-smi.c:10057:10: error: expected identifier or '(' before ')' token parser-smi.c:10084:4: error: expected identifier or '(' before '++' token parser-smi.c:2834:1: error: expected identifier or '(' before 'do' 2834 | do { \ | ^~ parser-smi.c:10089:3: note: in expansion of macro 'YY_SYMBOL_PRINT' parser-smi.c:2842:3: error: expected identifier or '(' before 'while' 2842 | } while (0) | ^~~~~ parser-smi.c:10089:3: note: in expansion of macro 'YY_SYMBOL_PRINT' parser-smi.c:10091:3: warning: data definition has no type or storage class parser-smi.c:10091:3: warning: type defaults to 'int' in declaration of 'yystate' [-Wimplicit-int] parser-smi.c:10091:3: error: redefinition of 'yystate' parser-smi.c:10046:3: note: previous definition of 'yystate' was here parser-smi.c:10091:13: error: 'yyn' undeclared here (not in a function); did you mean 'yylen'? parser-smi.c:10092:3: error: expected identifier or '(' before 'goto' parser-smi.c:10098:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-smi.c:10100:3: error: expected identifier or '(' before 'goto' parser-smi.c:10106:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-smi.c:10108:3: error: expected identifier or '(' before 'goto' parser-smi.c:10115:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-smi.c:10117:3: warning: data definition has no type or storage class parser-smi.c:10117:3: warning: type defaults to 'int' in declaration of 'yyresult' [-Wimplicit-int] parser-smi.c:10118:3: error: expected identifier or '(' before 'goto' parser-smi.c:10125:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-smi.c:10136:3: warning: data definition has no type or storage class parser-smi.c:10136:3: warning: type defaults to 'int' in declaration of 'YYPOPSTACK' [-Wimplicit-int] parser-smi.c:10136:3: warning: parameter names (without types) in function declaration parser-smi.c:2901:1: error: expected identifier or '(' before 'do' 2901 | do { \ | ^~ parser-smi.c:10137:3: note: in expansion of macro 'YY_STACK_PRINT' parser-smi.c:2904:3: error: expected identifier or '(' before 'while' 2904 | } while (0) | ^~~~~ parser-smi.c:10137:3: note: in expansion of macro 'YY_STACK_PRINT' parser-smi.c:10138:3: error: expected identifier or '(' before 'while' parser-smi.c:10145:3: error: expected identifier or '(' before 'if' parser-smi.c:10149:3: error: expected identifier or '(' before 'return' parser-smi.c:10150:1: error: expected identifier or '(' before '}' token parser-smi.y:21: error: unterminated #ifdef 21 | #ifdef BACKEND_SMI | parser-smi.c:2889:1: warning: 'yy_stack_print' defined but not used [-Wunused-function] 2889 | yy_stack_print (yy_state_t *yybottom, yy_state_t *yytop) | ^~~~~~~~~~~~~~ parser-smi.c:2873:1: warning: 'yy_symbol_print' defined but not used [-Wunused-function] 2873 | yy_symbol_print (FILE *yyo, | ^~~~~~~~~~~~~~~ parser-smi.c:2731:26: warning: 'yyr2' defined but not used [-Wunused-const-variable=] 2731 | static const yytype_int8 yyr2[] = | ^~~~ parser-smi.c:2683:27: warning: 'yyr1' defined but not used [-Wunused-const-variable=] 2683 | static const yytype_int16 yyr1[] = | ^~~~ parser-smi.c:2607:27: warning: 'yystos' defined but not used [-Wunused-const-variable=] 2607 | static const yytype_int16 yystos[] = | ^~~~~~ parser-smi.c:2534:27: warning: 'yycheck' defined but not used [-Wunused-const-variable=] 2534 | static const yytype_int16 yycheck[] = | ^~~~~~~ parser-smi.c:2463:27: warning: 'yytable' defined but not used [-Wunused-const-variable=] 2463 | static const yytype_int16 yytable[] = | ^~~~~~~ parser-smi.c:2433:27: warning: 'yydefgoto' defined but not used [-Wunused-const-variable=] 2433 | static const yytype_int16 yydefgoto[] = | ^~~~~~~~~ parser-smi.c:2405:27: warning: 'yypgoto' defined but not used [-Wunused-const-variable=] 2405 | static const yytype_int16 yypgoto[] = | ^~~~~~~ parser-smi.c:2329:27: warning: 'yydefact' defined but not used [-Wunused-const-variable=] 2329 | static const yytype_int16 yydefact[] = | ^~~~~~~~ parser-smi.c:2251:27: warning: 'yypact' defined but not used [-Wunused-const-variable=] 2251 | static const yytype_int16 yypact[] = | ^~~~~~ parser-smi.c:2081:27: warning: 'yyrline' defined but not used [-Wunused-const-variable=] 2081 | static const yytype_int16 yyrline[] = | ^~~~~~~ parser-smi.c:2039:26: warning: 'yytranslate' defined but not used [-Wunused-const-variable=] 2039 | static const yytype_int8 yytranslate[] = | ^~~~~~~~~~~ parser-smi.y:1199:1: warning: 'checkDate' defined but not used [-Wunused-function] 1199 | checkDate(Parser *parserPtr, char *date) | ^~~~~~~~~ parser-smi.y:1144:1: warning: 'checkImportsUsage' defined but not used [-Wunused-function] 1144 | checkImportsUsage(Parser *parserPtr, Module *modulePtr) | ^~~~~~~~~~~~~~~~~ parser-smi.y:1118:1: warning: 'checkDefvals' defined but not used [-Wunused-function] 1118 | checkDefvals(Parser *parserPtr, Module *modulePtr) | ^~~~~~~~~~~~ parser-smi.y:946:1: warning: 'checkTypes' defined but not used [-Wunused-function] 946 | checkTypes(Parser *parserPtr, Module *modulePtr) | ^~~~~~~~~~ parser-smi.y:202:1: warning: 'checkObjects' defined but not used [-Wunused-function] 202 | checkObjects(Parser *parserPtr, Module *modulePtr) | ^~~~~~~~~~~~ parser-smi.y:187:1: warning: 'checkModuleIdentity' defined but not used [-Wunused-function] 187 | checkModuleIdentity(Parser *parserPtr, Module *modulePtr) | ^~~~~~~~~~~~~~~~~~~ parser-smi.y:139:1: warning: 'checkModuleName' defined but not used [-Wunused-function] 139 | checkModuleName(Parser *parserPtr, Module *modulePtr) | ^~~~~~~~~~~~~~~ parser-smi.y:125:1: warning: 'checkNameLen' defined but not used [-Wunused-function] 125 | checkNameLen(Parser *parser, char *name, int error_32, int error_64) | ^~~~~~~~~~~~ parser-smi.y:111:1: warning: 'checkDescr' defined but not used [-Wunused-function] 111 | checkDescr(Parser *parser, char *descr) | ^~~~~~~~~~ parser-smi.y:65:15: warning: 'indexFlag' defined but not used [-Wunused-variable] 65 | static int indexFlag; | ^~~~~~~~~ parser-smi.y:64:20: warning: 'defaultBasetype' defined but not used [-Wunused-variable] 64 | static SmiBasetype defaultBasetype; | ^~~~~~~~~~~~~~~ parser-smi.y:63:20: warning: 'variationkind' defined but not used [-Wunused-variable] 63 | static SmiNodekind variationkind; | ^~~~~~~~~~~~~ parser-smi.y:62:15: warning: 'impliedFlag' defined but not used [-Wunused-variable] 62 | static int impliedFlag; | ^~~~~~~~~~~ make[2]: *** [Makefile:570: parser-smi.lo] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o parser-yang.lo parser-yang.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c parser-yang.c -fPIC -DPIC -o .libs/parser-yang.o parser-yang.y: In function 'checkDate': parser-yang.y:243:12: warning: implicit declaration of function 'timegm'; did you mean 'time'? [-Wimplicit-function-declaration] 243 | anytime = timegm(&tm); | ^~~~~~ | time parser-yang.c: At top level: parser-yang.c:2104:44: warning: null character(s) ignored 2104 | 1, 1, 1, 1, 1, 1, 1, 1 | ^ parser-yang.c:2105:21: error: expected ',' or ';' before 'pop' 2105 | }; | ^ parser-yang.c:2106:3: error: expected identifier or '(' before '}' token 2106 | | ^ parser-yang.c:4100:5: error: expected identifier or '(' before 'break' parser-yang.c:4102:3: error: expected identifier or '(' before 'case' parser-yang.c:4109:5: error: expected identifier or '(' before 'break' parser-yang.c:4111:3: error: expected identifier or '(' before 'case' parser-yang.c:4117:5: error: expected identifier or '(' before 'break' parser-yang.c:4119:3: error: expected identifier or '(' before 'case' parser-yang.c:4123:5: error: expected identifier or '(' before 'break' parser-yang.c:4125:3: error: expected identifier or '(' before 'case' parser-yang.c:4129:5: error: expected identifier or '(' before 'break' parser-yang.c:4131:3: error: expected identifier or '(' before 'case' parser-yang.c:4135:5: error: expected identifier or '(' before 'break' parser-yang.c:4137:3: error: expected identifier or '(' before 'case' parser-yang.c:4144:5: error: expected identifier or '(' before 'break' parser-yang.c:4146:3: error: expected identifier or '(' before 'case' parser-yang.c:4152:5: error: expected identifier or '(' before 'break' parser-yang.c:4154:3: error: expected identifier or '(' before 'case' parser-yang.c:4161:5: error: expected identifier or '(' before 'break' parser-yang.c:4163:3: error: expected identifier or '(' before 'case' parser-yang.c:4170:5: error: expected identifier or '(' before 'break' parser-yang.c:4172:3: error: expected identifier or '(' before 'case' parser-yang.c:4179:5: error: expected identifier or '(' before 'break' parser-yang.c:4181:3: error: expected identifier or '(' before 'case' parser-yang.c:4187:5: error: expected identifier or '(' before 'break' parser-yang.c:4189:3: error: expected identifier or '(' before 'case' parser-yang.c:4193:5: error: expected identifier or '(' before 'break' parser-yang.c:4195:3: error: expected identifier or '(' before 'case' parser-yang.c:4199:5: error: expected identifier or '(' before 'break' parser-yang.c:4201:3: error: expected identifier or '(' before 'case' parser-yang.c:4205:5: error: expected identifier or '(' before 'break' parser-yang.c:4207:3: error: expected identifier or '(' before 'case' parser-yang.c:4214:5: error: expected identifier or '(' before 'break' parser-yang.c:4216:3: error: expected identifier or '(' before 'case' parser-yang.c:4222:5: error: expected identifier or '(' before 'break' parser-yang.c:4224:3: error: expected identifier or '(' before 'case' parser-yang.c:4228:5: error: expected identifier or '(' before 'break' parser-yang.c:4230:3: error: expected identifier or '(' before 'case' parser-yang.c:4234:5: error: expected identifier or '(' before 'break' parser-yang.c:4236:3: error: expected identifier or '(' before 'case' parser-yang.c:4240:5: error: expected identifier or '(' before 'break' parser-yang.c:4242:3: error: expected identifier or '(' before 'case' parser-yang.c:4249:5: error: expected identifier or '(' before 'break' parser-yang.c:4251:3: error: expected identifier or '(' before 'case' parser-yang.c:4257:5: error: expected identifier or '(' before 'break' parser-yang.c:4259:3: error: expected identifier or '(' before 'case' parser-yang.c:4263:5: error: expected identifier or '(' before 'break' parser-yang.c:4265:3: error: expected identifier or '(' before 'case' parser-yang.c:4269:5: error: expected identifier or '(' before 'break' parser-yang.c:4271:3: error: expected identifier or '(' before 'case' parser-yang.c:4275:5: error: expected identifier or '(' before 'break' parser-yang.c:4277:3: error: expected identifier or '(' before 'case' parser-yang.c:4284:5: error: expected identifier or '(' before 'break' parser-yang.c:4286:3: error: expected identifier or '(' before 'case' parser-yang.c:4292:5: error: expected identifier or '(' before 'break' parser-yang.c:4294:3: error: expected identifier or '(' before 'case' parser-yang.c:4298:5: error: expected identifier or '(' before 'break' parser-yang.c:4300:3: error: expected identifier or '(' before 'case' parser-yang.c:4304:5: error: expected identifier or '(' before 'break' parser-yang.c:4306:3: error: expected identifier or '(' before 'case' parser-yang.c:4310:5: error: expected identifier or '(' before 'break' parser-yang.c:4312:3: error: expected identifier or '(' before 'case' parser-yang.c:4319:5: error: expected identifier or '(' before 'break' parser-yang.c:4321:3: error: expected identifier or '(' before 'case' parser-yang.c:4327:5: error: expected identifier or '(' before 'break' parser-yang.c:4329:3: error: expected identifier or '(' before 'case' parser-yang.c:4333:5: error: expected identifier or '(' before 'break' parser-yang.c:4335:3: error: expected identifier or '(' before 'case' parser-yang.c:4339:5: error: expected identifier or '(' before 'break' parser-yang.c:4341:3: error: expected identifier or '(' before 'case' parser-yang.c:4345:5: error: expected identifier or '(' before 'break' parser-yang.c:4347:3: error: expected identifier or '(' before 'case' parser-yang.c:4355:5: error: expected identifier or '(' before 'break' parser-yang.c:4357:3: error: expected identifier or '(' before 'case' parser-yang.c:4363:5: error: expected identifier or '(' before 'break' parser-yang.c:4365:3: error: expected identifier or '(' before 'case' parser-yang.c:4369:5: error: expected identifier or '(' before 'break' parser-yang.c:4371:3: error: expected identifier or '(' before 'case' parser-yang.c:4375:5: error: expected identifier or '(' before 'break' parser-yang.c:4377:3: error: expected identifier or '(' before 'case' parser-yang.c:4381:5: error: expected identifier or '(' before 'break' parser-yang.c:4383:3: error: expected identifier or '(' before 'case' parser-yang.c:4389:5: error: expected identifier or '(' before 'break' parser-yang.c:4391:3: error: expected identifier or '(' before 'case' parser-yang.c:4397:5: error: expected identifier or '(' before 'break' parser-yang.c:4399:3: error: expected identifier or '(' before 'case' parser-yang.c:4406:5: error: expected identifier or '(' before 'break' parser-yang.c:4408:3: error: expected identifier or '(' before 'case' parser-yang.c:4415:5: error: expected identifier or '(' before 'break' parser-yang.c:4417:3: error: expected identifier or '(' before 'case' parser-yang.c:4421:5: error: expected identifier or '(' before 'break' parser-yang.c:4423:3: error: expected identifier or '(' before 'case' parser-yang.c:4427:5: error: expected identifier or '(' before 'break' parser-yang.c:4429:3: error: expected identifier or '(' before 'case' parser-yang.c:4433:5: error: expected identifier or '(' before 'break' parser-yang.c:4435:3: error: expected identifier or '(' before 'case' parser-yang.c:4439:5: error: expected identifier or '(' before 'break' parser-yang.c:4441:3: error: expected identifier or '(' before 'case' parser-yang.c:4445:5: error: expected identifier or '(' before 'break' parser-yang.c:4447:3: error: expected identifier or '(' before 'case' parser-yang.c:4451:5: error: expected identifier or '(' before 'break' parser-yang.c:4453:3: error: expected identifier or '(' before 'case' parser-yang.c:4457:5: error: expected identifier or '(' before 'break' parser-yang.c:4459:3: error: expected identifier or '(' before 'case' parser-yang.c:4463:5: error: expected identifier or '(' before 'break' parser-yang.c:4465:3: error: expected identifier or '(' before 'case' parser-yang.c:4469:5: error: expected identifier or '(' before 'break' parser-yang.c:4471:3: error: expected identifier or '(' before 'case' parser-yang.c:4475:5: error: expected identifier or '(' before 'break' parser-yang.c:4477:3: error: expected identifier or '(' before 'case' parser-yang.c:4481:5: error: expected identifier or '(' before 'break' parser-yang.c:4483:3: error: expected identifier or '(' before 'case' parser-yang.c:4487:5: error: expected identifier or '(' before 'break' parser-yang.c:4489:3: error: expected identifier or '(' before 'case' parser-yang.c:4493:5: error: expected identifier or '(' before 'break' parser-yang.c:4495:3: error: expected identifier or '(' before 'case' parser-yang.c:4499:5: error: expected identifier or '(' before 'break' parser-yang.c:4501:3: error: expected identifier or '(' before 'case' parser-yang.c:4505:5: error: expected identifier or '(' before 'break' parser-yang.c:4507:3: error: expected identifier or '(' before 'case' parser-yang.c:4511:5: error: expected identifier or '(' before 'break' parser-yang.c:4513:3: error: expected identifier or '(' before 'case' parser-yang.c:4517:5: error: expected identifier or '(' before 'break' parser-yang.c:4519:3: error: expected identifier or '(' before 'case' parser-yang.c:4523:5: error: expected identifier or '(' before 'break' parser-yang.c:4525:3: error: expected identifier or '(' before 'case' parser-yang.c:4529:5: error: expected identifier or '(' before 'break' parser-yang.c:4531:3: error: expected identifier or '(' before 'case' parser-yang.c:4535:5: error: expected identifier or '(' before 'break' parser-yang.c:4537:3: error: expected identifier or '(' before 'case' parser-yang.c:4541:5: error: expected identifier or '(' before 'break' parser-yang.c:4543:3: error: expected identifier or '(' before 'case' parser-yang.c:4547:5: error: expected identifier or '(' before 'break' parser-yang.c:4549:3: error: expected identifier or '(' before 'case' parser-yang.c:4553:5: error: expected identifier or '(' before 'break' parser-yang.c:4555:3: error: expected identifier or '(' before 'case' parser-yang.c:4559:5: error: expected identifier or '(' before 'break' parser-yang.c:4561:3: error: expected identifier or '(' before 'case' parser-yang.c:4565:5: error: expected identifier or '(' before 'break' parser-yang.c:4567:3: error: expected identifier or '(' before 'case' parser-yang.c:4571:5: error: expected identifier or '(' before 'break' parser-yang.c:4573:3: error: expected identifier or '(' before 'case' parser-yang.c:4577:5: error: expected identifier or '(' before 'break' parser-yang.c:4579:3: error: expected identifier or '(' before 'case' parser-yang.c:4583:5: error: expected identifier or '(' before 'break' parser-yang.c:4585:3: error: expected identifier or '(' before 'case' parser-yang.c:4589:5: error: expected identifier or '(' before 'break' parser-yang.c:4591:3: error: expected identifier or '(' before 'case' parser-yang.c:4595:5: error: expected identifier or '(' before 'break' parser-yang.c:4597:3: error: expected identifier or '(' before 'case' parser-yang.c:4601:5: error: expected identifier or '(' before 'break' parser-yang.c:4603:3: error: expected identifier or '(' before 'case' parser-yang.c:4607:5: error: expected identifier or '(' before 'break' parser-yang.c:4609:3: error: expected identifier or '(' before 'case' parser-yang.c:4613:5: error: expected identifier or '(' before 'break' parser-yang.c:4615:3: error: expected identifier or '(' before 'case' parser-yang.c:4619:5: error: expected identifier or '(' before 'break' parser-yang.c:4621:3: error: expected identifier or '(' before 'case' parser-yang.c:4625:5: error: expected identifier or '(' before 'break' parser-yang.c:4627:3: error: expected identifier or '(' before 'case' parser-yang.c:4631:5: error: expected identifier or '(' before 'break' parser-yang.c:4633:3: error: expected identifier or '(' before 'case' parser-yang.c:4637:5: error: expected identifier or '(' before 'break' parser-yang.c:4639:3: error: expected identifier or '(' before 'case' parser-yang.c:4643:5: error: expected identifier or '(' before 'break' parser-yang.c:4645:3: error: expected identifier or '(' before 'case' parser-yang.c:4649:5: error: expected identifier or '(' before 'break' parser-yang.c:4651:3: error: expected identifier or '(' before 'case' parser-yang.c:4655:5: error: expected identifier or '(' before 'break' parser-yang.c:4657:3: error: expected identifier or '(' before 'case' parser-yang.c:4661:5: error: expected identifier or '(' before 'break' parser-yang.c:4663:3: error: expected identifier or '(' before 'case' parser-yang.c:4667:5: error: expected identifier or '(' before 'break' parser-yang.c:4669:3: error: expected identifier or '(' before 'case' parser-yang.c:4673:5: error: expected identifier or '(' before 'break' parser-yang.c:4675:3: error: expected identifier or '(' before 'case' parser-yang.c:4679:5: error: expected identifier or '(' before 'break' parser-yang.c:4681:3: error: expected identifier or '(' before 'case' parser-yang.c:4685:5: error: expected identifier or '(' before 'break' parser-yang.c:4687:3: error: expected identifier or '(' before 'case' parser-yang.c:4691:5: error: expected identifier or '(' before 'break' parser-yang.c:4693:3: error: expected identifier or '(' before 'case' parser-yang.c:4697:5: error: expected identifier or '(' before 'break' parser-yang.c:4699:3: error: expected identifier or '(' before 'case' parser-yang.c:4703:5: error: expected identifier or '(' before 'break' parser-yang.c:4705:3: error: expected identifier or '(' before 'case' parser-yang.c:4709:5: error: expected identifier or '(' before 'break' parser-yang.c:4711:3: error: expected identifier or '(' before 'case' parser-yang.c:4715:5: error: expected identifier or '(' before 'break' parser-yang.c:4717:3: error: expected identifier or '(' before 'case' parser-yang.c:4721:5: error: expected identifier or '(' before 'break' parser-yang.c:4723:3: error: expected identifier or '(' before 'case' parser-yang.c:4727:5: error: expected identifier or '(' before 'break' parser-yang.c:4729:3: error: expected identifier or '(' before 'case' parser-yang.c:4733:5: error: expected identifier or '(' before 'break' parser-yang.c:4735:3: error: expected identifier or '(' before 'case' parser-yang.c:4739:5: error: expected identifier or '(' before 'break' parser-yang.c:4741:3: error: expected identifier or '(' before 'case' parser-yang.c:4745:5: error: expected identifier or '(' before 'break' parser-yang.c:4747:3: error: expected identifier or '(' before 'case' parser-yang.c:4751:5: error: expected identifier or '(' before 'break' parser-yang.c:4753:3: error: expected identifier or '(' before 'case' parser-yang.c:4757:5: error: expected identifier or '(' before 'break' parser-yang.c:4759:3: error: expected identifier or '(' before 'case' parser-yang.c:4763:5: error: expected identifier or '(' before 'break' parser-yang.c:4765:3: error: expected identifier or '(' before 'case' parser-yang.c:4769:5: error: expected identifier or '(' before 'break' parser-yang.c:4771:3: error: expected identifier or '(' before 'case' parser-yang.c:4775:5: error: expected identifier or '(' before 'break' parser-yang.c:4777:3: error: expected identifier or '(' before 'case' parser-yang.c:4781:5: error: expected identifier or '(' before 'break' parser-yang.c:4783:3: error: expected identifier or '(' before 'case' parser-yang.c:4787:5: error: expected identifier or '(' before 'break' parser-yang.c:4789:3: error: expected identifier or '(' before 'case' parser-yang.c:4793:5: error: expected identifier or '(' before 'break' parser-yang.c:4795:3: error: expected identifier or '(' before 'case' parser-yang.c:4799:5: error: expected identifier or '(' before 'break' parser-yang.c:4801:3: error: expected identifier or '(' before 'case' parser-yang.c:4805:5: error: expected identifier or '(' before 'break' parser-yang.c:4807:3: error: expected identifier or '(' before 'case' parser-yang.c:4811:5: error: expected identifier or '(' before 'break' parser-yang.c:4813:3: error: expected identifier or '(' before 'case' parser-yang.c:4817:5: error: expected identifier or '(' before 'break' parser-yang.c:4819:3: error: expected identifier or '(' before 'case' parser-yang.c:4823:5: error: expected identifier or '(' before 'break' parser-yang.c:4825:3: error: expected identifier or '(' before 'case' parser-yang.c:4829:5: error: expected identifier or '(' before 'break' parser-yang.c:4831:3: error: expected identifier or '(' before 'case' parser-yang.c:4835:5: error: expected identifier or '(' before 'break' parser-yang.c:4837:3: error: expected identifier or '(' before 'case' parser-yang.c:4841:5: error: expected identifier or '(' before 'break' parser-yang.c:4843:3: error: expected identifier or '(' before 'case' parser-yang.c:4847:5: error: expected identifier or '(' before 'break' parser-yang.c:4849:3: error: expected identifier or '(' before 'case' parser-yang.c:4855:5: error: expected identifier or '(' before 'break' parser-yang.c:4857:3: error: expected identifier or '(' before 'case' parser-yang.c:4863:5: error: expected identifier or '(' before 'break' parser-yang.c:4868:7: error: expected identifier or '(' before 'default' parser-yang.c:4869:5: error: expected identifier or '(' before '}' token parser-yang.c:4881:20: error: expected declaration specifiers or '...' before string constant parser-yang.c:327:31: error: expected declaration specifiers or '...' before '(' token 327 | # define YY_CAST(Type, Val) ((Type) (Val)) | ^ parser-yang.c:4881:31: note: in expansion of macro 'YY_CAST' parser-yang.c:4881:69: error: expected declaration specifiers or '...' before '&' token parser-yang.c:4881:77: error: expected declaration specifiers or '...' before '&' token parser-yang.c:4883:3: warning: data definition has no type or storage class parser-yang.c:4883:3: warning: type defaults to 'int' in declaration of 'YYPOPSTACK' [-Wimplicit-int] parser-yang.c:4883:3: warning: parameter names (without types) in function declaration parser-yang.c:4884:3: warning: data definition has no type or storage class parser-yang.c:4884:3: warning: type defaults to 'int' in declaration of 'yylen' [-Wimplicit-int] parser-yang.c:4886:4: error: expected identifier or '(' before '++' token parser-yang.c:4891:3: error: expected identifier or '(' before '{' token parser-yang.c:4899:3: error: expected identifier or '(' before 'goto' parser-yang.c:4905:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-yang.c:4910:3: error: expected identifier or '(' before 'if' parser-yang.c:4916:3: error: expected identifier or '(' before 'if' parser-yang.c:4937:3: error: expected identifier or '(' before 'goto' parser-yang.c:4943:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-yang.c:4951:3: warning: data definition has no type or storage class parser-yang.c:4951:3: warning: type defaults to 'int' in declaration of 'YYPOPSTACK' [-Wimplicit-int] parser-yang.c:4951:3: warning: parameter names (without types) in function declaration parser-yang.c:4952:3: warning: data definition has no type or storage class parser-yang.c:4952:3: warning: type defaults to 'int' in declaration of 'yylen' [-Wimplicit-int] parser-yang.c:4952:3: error: redefinition of 'yylen' parser-yang.c:4884:3: note: previous definition of 'yylen' was here parser-yang.c:4953:3: warning: data definition has no type or storage class parser-yang.c:4953:3: warning: type defaults to 'int' in declaration of 'YY_STACK_PRINT' [-Wimplicit-int] parser-yang.c:4953:3: warning: parameter names (without types) in function declaration parser-yang.c:4954:3: warning: data definition has no type or storage class parser-yang.c:4954:3: warning: type defaults to 'int' in declaration of 'yystate' [-Wimplicit-int] parser-yang.c:4954:14: error: 'yyssp' undeclared here (not in a function) parser-yang.c:4955:3: error: expected identifier or '(' before 'goto' parser-yang.c:4961:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-yang.c:4965:3: error: expected identifier or '(' before 'for' parser-yang.c:4965:10: error: expected identifier or '(' before ')' token parser-yang.c:4992:4: error: expected identifier or '(' before '++' token parser-yang.c:4997:20: error: expected declaration specifiers or '...' before string constant parser-yang.c:327:31: error: expected declaration specifiers or '...' before '(' token 327 | # define YY_CAST(Type, Val) ((Type) (Val)) | ^ parser-yang.c:1134:36: note: in expansion of macro 'YY_CAST' 1134 | #define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State]) | ^~~~~~~ parser-yang.c:4997:32: note: in expansion of macro 'YY_ACCESSING_SYMBOL' parser-yang.c:4997:59: error: unknown type name 'yyvsp' parser-yang.c:4997:66: error: unknown type name 'yylsp' parser-yang.c:4999:3: warning: data definition has no type or storage class parser-yang.c:4999:3: warning: type defaults to 'int' in declaration of 'yystate' [-Wimplicit-int] parser-yang.c:4999:3: error: redefinition of 'yystate' parser-yang.c:4954:3: note: previous definition of 'yystate' was here parser-yang.c:4999:13: error: 'yyn' undeclared here (not in a function); did you mean 'yylen'? parser-yang.c:5000:3: error: expected identifier or '(' before 'goto' parser-yang.c:5006:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-yang.c:5008:3: error: expected identifier or '(' before 'goto' parser-yang.c:5014:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-yang.c:5016:3: error: expected identifier or '(' before 'goto' parser-yang.c:5023:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-yang.c:5025:3: warning: data definition has no type or storage class parser-yang.c:5025:3: warning: type defaults to 'int' in declaration of 'yyresult' [-Wimplicit-int] parser-yang.c:5026:3: error: expected identifier or '(' before 'goto' parser-yang.c:5033:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token parser-yang.c:5044:3: warning: data definition has no type or storage class parser-yang.c:5044:3: warning: type defaults to 'int' in declaration of 'YYPOPSTACK' [-Wimplicit-int] parser-yang.c:5044:3: warning: parameter names (without types) in function declaration parser-yang.c:5045:3: warning: data definition has no type or storage class parser-yang.c:5045:3: warning: type defaults to 'int' in declaration of 'YY_STACK_PRINT' [-Wimplicit-int] parser-yang.c:5045:3: warning: parameter names (without types) in function declaration parser-yang.c:5046:3: error: expected identifier or '(' before 'while' parser-yang.c:5053:3: error: expected identifier or '(' before 'if' parser-yang.c:5057:3: error: expected identifier or '(' before 'return' parser-yang.c:5058:1: error: expected identifier or '(' before '}' token parser-yang.c:2041:26: warning: 'yyr2' defined but not used [-Wunused-const-variable=] 2041 | static const yytype_int8 yyr2[] = | ^~~~ parser-yang.c:1974:27: warning: 'yyr1' defined but not used [-Wunused-const-variable=] 1974 | static const yytype_int16 yyr1[] = | ^~~~ parser-yang.c:1874:27: warning: 'yystos' defined but not used [-Wunused-const-variable=] 1874 | static const yytype_int16 yystos[] = | ^~~~~~ parser-yang.c:1708:27: warning: 'yycheck' defined but not used [-Wunused-const-variable=] 1708 | static const yytype_int16 yycheck[] = | ^~~~~~~ parser-yang.c:1544:27: warning: 'yytable' defined but not used [-Wunused-const-variable=] 1544 | static const yytype_int16 yytable[] = | ^~~~~~~ parser-yang.c:1513:27: warning: 'yydefgoto' defined but not used [-Wunused-const-variable=] 1513 | static const yytype_int16 yydefgoto[] = | ^~~~~~~~~ parser-yang.c:1484:27: warning: 'yypgoto' defined but not used [-Wunused-const-variable=] 1484 | static const yytype_int16 yypgoto[] = | ^~~~~~~ parser-yang.c:1384:27: warning: 'yydefact' defined but not used [-Wunused-const-variable=] 1384 | static const yytype_int16 yydefact[] = | ^~~~~~~~ parser-yang.c:1282:27: warning: 'yypact' defined but not used [-Wunused-const-variable=] 1282 | static const yytype_int16 yypact[] = | ^~~~~~ parser-yang.c:1066:27: warning: 'yyrline' defined but not used [-Wunused-const-variable=] 1066 | static const yytype_int16 yyrline[] = | ^~~~~~~ parser-yang.c:1025:26: warning: 'yytranslate' defined but not used [-Wunused-const-variable=] 1025 | static const yytype_int8 yytranslate[] = | ^~~~~~~~~~~ parser-yang.y:182:1: warning: 'checkDate' defined but not used [-Wunused-function] 182 | checkDate(Parser *parserPtr, char *date) | ^~~~~~~~~ parser-yang.y:155:19: warning: 'node' defined but not used [-Wunused-variable] 155 | static _YangNode *node = NULL; | ^~~~ parser-yang.y:129:17: warning: 'topDecl' defined but not used [-Wunused-function] 129 | static YangDecl topDecl() | ^~~~~~~ parser-yang.y:118:13: warning: 'pop' defined but not used [-Wunused-function] 118 | static void pop() | ^~~ parser-yang.y:101:13: warning: 'pushNode' defined but not used [-Wunused-function] 101 | static void pushNode(_YangNode* node) | ^~~~~~~~ parser-yang.y:87:13: warning: 'pushDecl' defined but not used [-Wunused-function] 87 | static void pushDecl(YangDecl decl) | ^~~~~~~~ make[2]: *** [Makefile:570: parser-yang.lo] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/bison --defines=parser-yang.tab.h -t -pyang -o parser-yang.c parser-yang.y parser-yang.y:271.1-12: warning: deprecated directive: '%pure_parser', use '%define api.pure' [-Wdeprecated] 271 | %pure_parser | ^~~~~~~~~~~~ | %define api.pure parser-yang.y: warning: 56 shift/reduce conflicts [-Wconflicts-sr] parser-yang.y: warning: 1088 reduce/reduce conflicts [-Wconflicts-rr] parser-yang.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples parser-yang.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/bison --defines=parser-smi.tab.h -t -psmi -o parser-smi.c parser-smi.y parser-smi.y:1290.1-12: warning: deprecated directive: '%pure_parser', use '%define api.pure' [-Wdeprecated] 1290 | %pure_parser | ^~~~~~~~~~~~ | %define api.pure parser-smi.y: warning: 76 reduce/reduce conflicts [-Wconflicts-rr] parser-smi.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples parser-smi.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /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) | ~~~~~~~~~~~~^~~ 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:518: all-recursive] Error 1 make: *** [Makefile:404: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.87423 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.87423 (%build) Command exited with non-zero status 1 17.43user 2.39system 0:13.28elapsed 149%CPU (0avgtext+0avgdata 44824maxresident)k 0inputs+0outputs (0major+987742minor)pagefaults 0swaps hsh-rebuild: rebuild of `libsmi-0.5.0-alt1.svn1841.src.rpm' failed. Command exited with non-zero status 1 22.85user 4.68system 0:20.99elapsed 131%CPU (0avgtext+0avgdata 106444maxresident)k 1416inputs+0outputs (0major+1259939minor)pagefaults 0swaps