<86>Apr 25 11:10:53 userdel[700451]: delete user 'rooter' <86>Apr 25 11:10:53 groupadd[700465]: group added to /etc/group: name=rooter, GID=543 <86>Apr 25 11:10:53 groupadd[700465]: group added to /etc/gshadow: name=rooter <86>Apr 25 11:10:53 groupadd[700465]: new group: name=rooter, GID=543 <86>Apr 25 11:10:53 useradd[700472]: new user: name=rooter, UID=543, GID=543, home=/root, shell=/bin/bash <86>Apr 25 11:10:53 userdel[700482]: delete user 'builder' <86>Apr 25 11:10:53 userdel[700482]: removed group 'builder' owned by 'builder' <86>Apr 25 11:10:53 userdel[700482]: removed shadow group 'builder' owned by 'builder' <86>Apr 25 11:10:53 groupadd[700492]: group added to /etc/group: name=builder, GID=544 <86>Apr 25 11:10:53 groupadd[700492]: group added to /etc/gshadow: name=builder <86>Apr 25 11:10:53 groupadd[700492]: new group: name=builder, GID=544 <86>Apr 25 11:10:53 useradd[700497]: new user: name=builder, UID=544, GID=544, home=/usr/src, shell=/bin/bash <13>Apr 25 11:10:55 rpmi: libidn2-2.3.0-alt1 sisyphus+240846.100.1.2 1573870475 installed <13>Apr 25 11:10:55 rpmi: gcc-c++-common-1.4.24-alt3 sisyphus+243033.100.1.1 1576462403 installed <13>Apr 25 11:10:56 rpmi: libstdc++9-devel-9.2.1-alt3 sisyphus+245055.100.1.1 1580041617 installed <13>Apr 25 11:10:57 rpmi: gcc9-c++-9.2.1-alt3 sisyphus+245055.100.1.1 1580041617 installed <13>Apr 25 11:10:57 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Apr 25 11:10:57 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Apr 25 11:10:57 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 25 11:10:57 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 25 11:10:57 rpmi: ca-certificates-2020.01.23-alt1 sisyphus+244791.300.2.1 1580285500 installed <13>Apr 25 11:10:57 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Apr 25 11:10:57 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Apr 25 11:10:57 rpmi: libcrypto1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Apr 25 11:10:57 rpmi: libssl1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Apr 25 11:10:57 rpmi: wget-1.20.3-alt1 sisyphus+226657.100.1.1 1554481535 installed <13>Apr 25 11:10:57 rpmi: gcc-c++-9-alt1 sisyphus+239632.300.3.1 1571788297 installed <13>Apr 25 11:10:57 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 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.9248 + 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.9248 + 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 + '[' -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 find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -ri dirname -- '{}' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + ./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 12882: ./libtool: No such file or directory checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating tools/Makefile config.status: creating mibs/Makefile config.status: creating mibs/iana/Makefile config.status: creating mibs/ietf/Makefile config.status: creating mibs/irtf/Makefile config.status: creating mibs/jacobs/Makefile config.status: creating mibs/tubs/Makefile config.status: creating mibs/site/Makefile config.status: creating pibs/Makefile config.status: creating pibs/ietf/Makefile config.status: creating pibs/tubs/Makefile config.status: creating pibs/site/Makefile config.status: creating yang/Makefile config.status: creating yang/ietf/Makefile config.status: creating yang/iana/Makefile config.status: creating yang/site/Makefile config.status: creating test/Makefile config.status: creating test/mibs/Makefile config.status: creating test/smidiff/Makefile config.status: creating test/dumps/Makefile config.status: creating test/dumps/corba/Makefile config.status: creating test/dumps/imports/Makefile config.status: creating test/dumps/jax/Makefile config.status: creating test/dumps/netsnmp/Makefile config.status: creating test/dumps/mosy/Makefile config.status: creating test/dumps/orig-smiv2/Makefile config.status: creating test/dumps/smilint-smiv2/Makefile config.status: creating test/dumps/sming/Makefile config.status: creating test/dumps/smiv1/Makefile config.status: creating test/dumps/smiv2/Makefile config.status: creating test/dumps/smiv2-smiv2/Makefile config.status: creating test/dumps/tree/Makefile config.status: creating test/dumps/types/Makefile config.status: creating test/dumps/identifiers/Makefile config.status: creating test/dumps/metrics/Makefile config.status: creating test/dumps/xml/Makefile config.status: creating test/dumps/cm/Makefile config.status: creating test/dumps/python/Makefile config.status: creating test/dumps/yang/Makefile config.status: creating doc/Makefile config.status: creating lib/smi.h config.status: creating lib/libsmi.3 config.status: creating lib/smi_macro.3 config.status: creating lib/smi_module.3 config.status: creating lib/smi_node.3 config.status: creating lib/smi_type.3 config.status: creating lib/smi_config.3 config.status: creating lib/smi_render.3 config.status: creating lib/smi_util.3 config.status: creating lib/smi_class.3 config.status: creating lib/smi_attribute.3 config.status: creating lib/smi_event.3 config.status: creating lib/smi_identity.3 config.status: creating lib/yang_node.3 config.status: creating tools/smistrip config.status: creating tools/smicache config.status: creating tools/smiquery.1 config.status: creating tools/smilint.1 config.status: creating tools/smidump.1 config.status: creating tools/smidiff.1 config.status: creating tools/smistrip.1 config.status: creating tools/smicache.1 config.status: creating tools/smixlate.1 config.status: creating tools/mib2svg.cgi config.status: creating test/parser.test config.status: creating test/parser-yang.test config.status: creating test/parser-yang-ct.test config.status: creating test/smidump-corba.test config.status: creating test/smidump-jax.test config.status: creating test/smidump-netsnmp.test config.status: creating test/smidump-imports.test config.status: creating test/smidump-mosy.test config.status: creating test/smidump-orig-smiv2.test config.status: creating test/smidump-sming.test config.status: creating test/smidump-yang.test config.status: creating test/smidump-smiv1.test config.status: creating test/smidump-smiv2-smiv2.test config.status: creating test/smidump-smiv2.test config.status: creating test/smidump-tree.test config.status: creating test/smidump-types.test config.status: creating test/smidump-identifiers.test config.status: creating test/smidump-metrics.test config.status: creating test/smidump-xml.test config.status: creating test/smidump-cm.test config.status: creating test/smidump-python.test config.status: creating test/smilint-smiv2.test config.status: creating test/smidiff.test config.status: creating libsmi.pc config.status: creating win/config.h config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default commands configure: WARNING: unrecognized options: --without-included-gettext + LIBTOOL=/usr/bin/libtool + make -j8 make all-recursive Making all in lib make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' cat error.c | grep ERR_ | \ sed -e 's/^.*\(ERR_[a-zA-Z0-9_]*\).*$/\1/' | \ awk '{printf "#define %-50s %d\n", $1, NR-1}' > errormacros.h make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /bin/sh ../libtool --tag=CC --mode=compile 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 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 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 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-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' {aka 'enum YangStatus'} and 'enum _YangParsingState' [-Wenum-compare] 328 | && tmpNode->export.status == YANG_PARSING_IN_PROGRESS) { | ^~ yang-check.c: In function 'typeHandler': yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_NONE' not handled in switch [-Wswitch] 1075 | switch (nodePtr->typeInfo->builtinType) { | ^~~~~~ yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_BINARY' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_BOOLEAN' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_EMPTY' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_INSTANCE_IDENTIFIER' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_INT8' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_INT16' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_INT32' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_INT64' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_STRING' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_UINT8' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_UINT16' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_UINT32' not handled in switch [-Wswitch] yang-check.c:1075:9: warning: enumeration value 'YANG_TYPE_UINT64' not handled in switch [-Wswitch] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /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-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 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 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-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' /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-smi.tab.h -t -psmi -o parser-smi.c parser-smi.y parser-smi.y:1290.1-12: warning: deprecated directive, use '%pure-parser' [-Wdeprecated] %pure_parser ^^^^^^^^^^^^ parser-smi.y: warning: 76 reduce/reduce conflicts [-Wconflicts-rr] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/bison --defines=parser-yang.tab.h -t -pyang -o parser-yang.c parser-yang.y parser-yang.y:271.1-12: warning: deprecated directive, use '%pure-parser' [-Wdeprecated] %pure_parser ^^^^^^^^^^^^ parser-yang.y: warning: 56 shift/reduce conflicts [-Wconflicts-sr] parser-yang.y: warning: 1088 reduce/reduce conflicts [-Wconflicts-rr] make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /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' /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:747:21: note: expected 'const char *' but argument is of type 'unsigned char *' 747 | extern NamedNumber *findNamedNumberByName(Type *typePtr, | ^~~~~~~~~~~~~~~~~~~~~ parser-sming.y:913:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 913 | if (namedNumberPtr = findNamedNumberByName(typePtr, | ^~~~~~~~~~~~~~ parser-sming.y:1061:9: warning: statement with no effect [-Wunused-value] 1061 | for (tmpList; tmpList; tmpList=tmpList->nextPtr) { | ^~~ parser-sming.y:1062:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1062 | if (tmpAttribute = | ^~~~~~~~~~~~ parser-sming.c:3513:12: warning: null character(s) preserved in literal 3513 | #line 1687 "parser-sming.y" /* yacc.c:1648 */ | ^ parser-sming.c:3513:12: warning: missing terminating " character parser-sming.c:3513:12: error: ""parser-smin" is not a valid filename 3513 | #line 1687 "parser-sming.y" /* yacc.c:1648 */ | parser-sming.c:3512:8: error: label at end of compound statement 3512 | case 122: | ^~~ parser-sming.c:4734:5: error: break statement not within loop or switch 4734 | break; | ^~~~~ parser-sming.c:4736:3: error: case label not within a switch statement 4736 | case 232: | ^~~~ parser-sming.c:4742:5: error: break statement not within loop or switch 4742 | break; | ^~~~~ parser-sming.c:4744:3: error: case label not within a switch statement 4744 | case 233: | ^~~~ parser-sming.c:4750:5: error: break statement not within loop or switch 4750 | break; | ^~~~~ parser-sming.c:4752:3: error: case label not within a switch statement 4752 | case 234: | ^~~~ parser-sming.c:4758:5: error: break statement not within loop or switch 4758 | break; | ^~~~~ parser-sming.c:4760:3: error: case label not within a switch statement 4760 | case 235: | ^~~~ parser-sming.c:4773:5: error: break statement not within loop or switch 4773 | break; | ^~~~~ parser-sming.c:4775:3: error: case label not within a switch statement 4775 | case 236: | ^~~~ parser-sming.c:4781:5: error: break statement not within loop or switch 4781 | break; | ^~~~~ parser-sming.c:4783:3: error: case label not within a switch statement 4783 | case 237: | ^~~~ parser-sming.c:4794:5: error: break statement not within loop or switch 4794 | break; | ^~~~~ parser-sming.c:4796:3: error: case label not within a switch statement 4796 | case 238: | ^~~~ parser-sming.c:4802:5: error: break statement not within loop or switch 4802 | break; | ^~~~~ parser-sming.c:4804:3: error: case label not within a switch statement 4804 | case 239: | ^~~~ parser-sming.c:4823:5: error: break statement not within loop or switch 4823 | break; | ^~~~~ parser-sming.c:4825:3: error: case label not within a switch statement 4825 | case 240: | ^~~~ parser-sming.c:4831:5: error: break statement not within loop or switch 4831 | break; | ^~~~~ parser-sming.c:4833:3: error: case label not within a switch statement 4833 | case 241: | ^~~~ parser-sming.c:4839:5: error: break statement not within loop or switch 4839 | break; | ^~~~~ parser-sming.c:4841:3: error: case label not within a switch statement 4841 | case 242: | ^~~~ parser-sming.c:4847:5: error: break statement not within loop or switch 4847 | break; | ^~~~~ parser-sming.c:4849:3: error: case label not within a switch statement 4849 | case 243: | ^~~~ parser-sming.c:4859:5: error: break statement not within loop or switch 4859 | break; | ^~~~~ parser-sming.c:4861:3: error: case label not within a switch statement 4861 | case 244: | ^~~~ parser-sming.c:4867:5: error: break statement not within loop or switch 4867 | break; | ^~~~~ parser-sming.c:4869:3: error: case label not within a switch statement 4869 | case 245: | ^~~~ parser-sming.c:4875:5: error: break statement not within loop or switch 4875 | break; | ^~~~~ parser-sming.c:4877:3: error: case label not within a switch statement 4877 | case 246: | ^~~~ parser-sming.c:4883:5: error: break statement not within loop or switch 4883 | break; | ^~~~~ parser-sming.c:4885:3: error: case label not within a switch statement 4885 | case 247: | ^~~~ parser-sming.c:4891:5: error: break statement not within loop or switch 4891 | break; | ^~~~~ parser-sming.c:4893:3: error: case label not within a switch statement 4893 | case 248: | ^~~~ parser-sming.c:4914:5: error: break statement not within loop or switch 4914 | break; | ^~~~~ parser-sming.c:4916:3: error: case label not within a switch statement 4916 | case 249: | ^~~~ 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.c:4956:5: error: break statement not within loop or switch 4956 | break; | ^~~~~ parser-sming.c:4958:3: error: case label not within a switch statement 4958 | case 250: | ^~~~ parser-sming.c:4980:5: error: break statement not within loop or switch 4980 | break; | ^~~~~ parser-sming.c:4982:3: error: case label not within a switch statement 4982 | case 251: | ^~~~ parser-sming.y:2817:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2817 | $$->value.ptr = hexToStr($1,strlen($1)); | ^ parser-sming.y:2818:59: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2818 | $$->len = strlen($$->value.ptr); | ~ ^ | | | unsigned char * In file included from parser-sming.y:27: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ parser-sming.c:5021:5: error: break statement not within loop or switch 5021 | break; | ^~~~~ parser-sming.c:5023:3: error: case label not within a switch statement 5023 | case 252: | ^~~~ parser-sming.y:2865:35: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2865 | strcpy($$->value.ptr,$1); | ~~~~~~~~~~~~~~~~~~ ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from parser-sming.y:24: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ parser-sming.y:2866:59: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2866 | $$->len = strlen($$->value.ptr); | ~ ^ | | | unsigned char * In file included from parser-sming.y:27: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ parser-sming.c:5073:5: error: break statement not within loop or switch 5073 | break; | ^~~~~ parser-sming.c:5075:3: error: case label not within a switch statement 5075 | case 253: | ^~~~ parser-sming.c:5118:5: error: break statement not within loop or switch 5118 | break; | ^~~~~ parser-sming.c:5120:3: error: case label not within a switch statement 5120 | case 254: | ^~~~ parser-sming.c:5163:5: error: break statement not within loop or switch 5163 | break; | ^~~~~ parser-sming.c:5165:3: error: case label not within a switch statement 5165 | case 255: | ^~~~ 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.c:5180:5: error: break statement not within loop or switch 5180 | break; | ^~~~~ parser-sming.c:5182:3: error: case label not within a switch statement 5182 | case 256: | ^~~~ 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.c:5217:5: error: break statement not within loop or switch 5217 | break; | ^~~~~ parser-sming.c:5219:3: error: case label not within a switch statement 5219 | case 257: | ^~~~ parser-sming.y:3008:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3008 | $$->value.ptr = $1; | ^ parser-sming.y:3009:59: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 3009 | $$->len = strlen($$->value.ptr); | ~ ^ | | | unsigned char * In file included from parser-sming.y:27: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ parser-sming.c:5233:5: error: break statement not within loop or switch 5233 | break; | ^~~~~ parser-sming.c:5235:3: error: case label not within a switch statement 5235 | case 258: | ^~~~ parser-sming.c:5246:5: error: break statement not within loop or switch 5246 | break; | ^~~~~ parser-sming.c:5248:3: error: case label not within a switch statement 5248 | case 259: | ^~~~ parser-sming.c:5255:5: error: break statement not within loop or switch 5255 | break; | ^~~~~ parser-sming.c:5257:3: error: case label not within a switch statement 5257 | case 260: | ^~~~ parser-sming.c:5263:5: error: break statement not within loop or switch 5263 | break; | ^~~~~ parser-sming.c:5265:3: error: case label not within a switch statement 5265 | case 261: | ^~~~ parser-sming.c:5271:5: error: break statement not within loop or switch 5271 | break; | ^~~~~ parser-sming.c:5273:3: error: case label not within a switch statement 5273 | case 262: | ^~~~ parser-sming.c:5279:5: error: break statement not within loop or switch 5279 | break; | ^~~~~ parser-sming.c:5281:3: error: case label not within a switch statement 5281 | case 263: | ^~~~ parser-sming.c:5289:5: error: break statement not within loop or switch 5289 | break; | ^~~~~ parser-sming.c:5291:3: error: case label not within a switch statement 5291 | case 264: | ^~~~ parser-sming.c:5299:5: error: break statement not within loop or switch 5299 | break; | ^~~~~ parser-sming.c:5301:3: error: case label not within a switch statement 5301 | case 265: | ^~~~ parser-sming.c:5314:5: error: break statement not within loop or switch 5314 | break; | ^~~~~ parser-sming.c:5316:3: error: case label not within a switch statement 5316 | case 266: | ^~~~ parser-sming.c:5322:5: error: break statement not within loop or switch 5322 | break; | ^~~~~ parser-sming.c:5324:3: error: case label not within a switch statement 5324 | case 267: | ^~~~ parser-sming.c:5330:5: error: break statement not within loop or switch 5330 | break; | ^~~~~ parser-sming.c:5332:3: error: case label not within a switch statement 5332 | case 268: | ^~~~ parser-sming.c:5338:5: error: break statement not within loop or switch 5338 | break; | ^~~~~ parser-sming.c:5340:3: error: case label not within a switch statement 5340 | case 269: | ^~~~ parser-sming.c:5346:5: error: break statement not within loop or switch 5346 | break; | ^~~~~ parser-sming.c:5348:3: error: case label not within a switch statement 5348 | case 270: | ^~~~ parser-sming.c:5354:5: error: break statement not within loop or switch 5354 | break; | ^~~~~ parser-sming.c:5356:3: error: case label not within a switch statement 5356 | case 271: | ^~~~ parser-sming.c:5362:5: error: break statement not within loop or switch 5362 | break; | ^~~~~ parser-sming.c:5366:7: error: 'default' label not within a switch statement 5366 | default: break; | ^~~~~~~ parser-sming.c:5366:16: error: break statement not within loop or switch 5366 | default: break; | ^~~~~ parser-sming.c:2063:5: error: label 'yyerrlab' used but not defined 2063 | goto yyerrlab; | ^~~~ parser-sming.c:1987:5: error: label 'yyacceptlab' used but not defined 1987 | YYACCEPT; | ^~~~~~~~ parser-sming.y:681:5: error: label 'yyabortlab' used but not defined 681 | YYABORT; | ^~~~~~~ parser-sming.c:1964:11: error: label 'yyexhaustedlab' used but not defined 1964 | goto yyexhaustedlab; | ^~~~ parser-sming.c:1891:12: warning: unused variable 'yymsg_alloc' [-Wunused-variable] 1891 | YYSIZE_T yymsg_alloc = sizeof yymsgbuf; | ^~~~~~~~~~~ parser-sming.c:1890:9: warning: unused variable 'yymsg' [-Wunused-variable] 1890 | char *yymsg = yymsgbuf; | ^~~~~ parser-sming.c:1880:7: warning: unused variable 'yyresult' [-Wunused-variable] 1880 | int yyresult; | ^~~~~~~~ parser-sming.c:67:25: warning: variable 'smingnerrs' set but not used [-Wunused-but-set-variable] 67 | #define yynerrs smingnerrs | ^~~~~~~~~~ parser-sming.c:1854:9: note: in expansion of macro 'yynerrs' 1854 | int yynerrs; | ^~~~~~~ parser-sming.c: At top level: parser-sming.c:1465:1: error: expected identifier or '(' before 'do' 1465 | do { \ | ^~ parser-sming.c:5379:3: note: in expansion of macro 'YY_SYMBOL_PRINT' 5379 | YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); | ^~~~~~~~~~~~~~~ parser-sming.c:1473:3: error: expected identifier or '(' before 'while' 1473 | } while (0) | ^~~~~ parser-sming.c:5379:3: note: in expansion of macro 'YY_SYMBOL_PRINT' 5379 | YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); | ^~~~~~~~~~~~~~~ parser-sming.c:1894:32: error: expected ')' before '-=' token 1894 | #define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) | ^~ parser-sming.c:5381:3: note: in expansion of macro 'YYPOPSTACK' 5381 | YYPOPSTACK (yylen); | ^~~~~~~~~~ parser-sming.c:5382:3: warning: data definition has no type or storage class 5382 | yylen = 0; | ^~~~~ parser-sming.c:5382:3: warning: type defaults to 'int' in declaration of 'yylen' [-Wimplicit-int] parser-sming.c:1528:1: error: expected identifier or '(' before 'do' 1528 | do { \ | ^~ parser-sming.c:5383:3: note: in expansion of macro 'YY_STACK_PRINT' 5383 | YY_STACK_PRINT (yyss, yyssp); | ^~~~~~~~~~~~~~ parser-sming.c:1531:3: error: expected identifier or '(' before 'while' 1531 | } while (0) | ^~~~~ parser-sming.c:5383:3: note: in expansion of macro 'YY_STACK_PRINT' 5383 | YY_STACK_PRINT (yyss, yyssp); | ^~~~~~~~~~~~~~ parser-sming.c:5385:4: error: expected identifier or '(' before '++' token 5385 | *++yyvsp = yyval; | ^~ parser-sming.c:5391:3: warning: data definition has no type or storage class 5391 | yyn = yyr1[yyn]; | ^~~ parser-sming.c:5391:3: warning: type defaults to 'int' in declaration of 'yyn' [-Wimplicit-int] parser-sming.c:5391:9: error: initializer element is not constant 5391 | yyn = yyr1[yyn]; | ^~~~ parser-sming.c:5393:3: warning: data definition has no type or storage class 5393 | yystate = yypgoto[yyn - YYNTOKENS] + *yyssp; | ^~~~~~~ parser-sming.c:5393:3: warning: type defaults to 'int' in declaration of 'yystate' [-Wimplicit-int] parser-sming.c:5393:41: error: 'yyssp' undeclared here (not in a function) 5393 | yystate = yypgoto[yyn - YYNTOKENS] + *yyssp; | ^~~~~ parser-sming.c:5394:3: error: expected identifier or '(' before 'if' 5394 | if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp) | ^~ parser-sming.c:5396:3: error: expected identifier or '(' before 'else' 5396 | else | ^~~~ parser-sming.c:5399:3: error: expected identifier or '(' before 'goto' 5399 | goto yynewstate; | ^~~~ parser-sming.c:5405:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token 5405 | yyerrlab: | ^ parser-sming.c:5411:3: error: expected identifier or '(' before 'if' 5411 | if (!yyerrstatus) | ^~ parser-sming.c:5452:3: error: expected identifier or '(' before 'if' 5452 | if (yyerrstatus == 3) | ^~ parser-sming.c:5473:3: error: expected identifier or '(' before 'goto' 5473 | goto yyerrlab1; | ^~~~ parser-sming.c:5479:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token 5479 | yyerrorlab: | ^ parser-sming.c:1894:32: error: expected ')' before '-=' token 1894 | #define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) | ^~ parser-sming.c:5489:3: note: in expansion of macro 'YYPOPSTACK' 5489 | YYPOPSTACK (yylen); | ^~~~~~~~~~ parser-sming.c:5490:3: warning: data definition has no type or storage class 5490 | yylen = 0; | ^~~~~ parser-sming.c:5490:3: warning: type defaults to 'int' in declaration of 'yylen' [-Wimplicit-int] parser-sming.c:5490:3: error: redefinition of 'yylen' parser-sming.c:5382:3: note: previous definition of 'yylen' was here 5382 | yylen = 0; | ^~~~~ parser-sming.c:1528:1: error: expected identifier or '(' before 'do' 1528 | do { \ | ^~ parser-sming.c:5491:3: note: in expansion of macro 'YY_STACK_PRINT' 5491 | YY_STACK_PRINT (yyss, yyssp); | ^~~~~~~~~~~~~~ parser-sming.c:1531:3: error: expected identifier or '(' before 'while' 1531 | } while (0) | ^~~~~ parser-sming.c:5491:3: note: in expansion of macro 'YY_STACK_PRINT' 5491 | YY_STACK_PRINT (yyss, yyssp); | ^~~~~~~~~~~~~~ parser-sming.c:5492:3: warning: data definition has no type or storage class 5492 | yystate = *yyssp; | ^~~~~~~ parser-sming.c:5492:3: warning: type defaults to 'int' in declaration of 'yystate' [-Wimplicit-int] parser-sming.c:5492:3: error: redefinition of 'yystate' parser-sming.c:5393:3: note: previous definition of 'yystate' was here 5393 | yystate = yypgoto[yyn - YYNTOKENS] + *yyssp; | ^~~~~~~ parser-sming.c:5493:3: error: expected identifier or '(' before 'goto' 5493 | goto yyerrlab1; | ^~~~ parser-sming.c:5499:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token 5499 | yyerrlab1: | ^ parser-sming.c:5502:3: error: expected identifier or '(' before 'for' 5502 | for (;;) | ^~~ parser-sming.c:5502:10: error: expected identifier or '(' before ')' token 5502 | for (;;) | ^ parser-sming.c:5529:4: error: expected identifier or '(' before '++' token 5529 | *++yyvsp = yylval; | ^~ parser-sming.c:1465:1: error: expected identifier or '(' before 'do' 1465 | do { \ | ^~ parser-sming.c:5534:3: note: in expansion of macro 'YY_SYMBOL_PRINT' 5534 | YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp); | ^~~~~~~~~~~~~~~ parser-sming.c:1473:3: error: expected identifier or '(' before 'while' 1473 | } while (0) | ^~~~~ parser-sming.c:5534:3: note: in expansion of macro 'YY_SYMBOL_PRINT' 5534 | YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp); | ^~~~~~~~~~~~~~~ parser-sming.c:5536:3: warning: data definition has no type or storage class 5536 | yystate = yyn; | ^~~~~~~ parser-sming.c:5536:3: warning: type defaults to 'int' in declaration of 'yystate' [-Wimplicit-int] parser-sming.c:5536:3: error: redefinition of 'yystate' parser-sming.c:5393:3: note: previous definition of 'yystate' was here 5393 | yystate = yypgoto[yyn - YYNTOKENS] + *yyssp; | ^~~~~~~ parser-sming.c:5536:13: error: initializer element is not constant 5536 | yystate = yyn; | ^~~ parser-sming.c:5537:3: error: expected identifier or '(' before 'goto' 5537 | goto yynewstate; | ^~~~ parser-sming.c:5543:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token 5543 | yyacceptlab: | ^ parser-sming.c:5545:3: error: expected identifier or '(' before 'goto' 5545 | goto yyreturn; | ^~~~ parser-sming.c:5550:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token 5550 | yyabortlab: | ^ parser-sming.c:5552:3: error: expected identifier or '(' before 'goto' 5552 | goto yyreturn; | ^~~~ parser-sming.c:5558:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token 5558 | yyexhaustedlab: | ^ parser-sming.c:5560:3: warning: data definition has no type or storage class 5560 | yyresult = 2; | ^~~~~~~~ parser-sming.c:5560:3: warning: type defaults to 'int' in declaration of 'yyresult' [-Wimplicit-int] parser-sming.c:5564:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token 5564 | yyreturn: | ^ parser-sming.c:1894:32: error: expected ')' before '-=' token 1894 | #define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) | ^~ parser-sming.c:5575:3: note: in expansion of macro 'YYPOPSTACK' 5575 | YYPOPSTACK (yylen); | ^~~~~~~~~~ parser-sming.c:1528:1: error: expected identifier or '(' before 'do' 1528 | do { \ | ^~ parser-sming.c:5576:3: note: in expansion of macro 'YY_STACK_PRINT' 5576 | YY_STACK_PRINT (yyss, yyssp); | ^~~~~~~~~~~~~~ parser-sming.c:1531:3: error: expected identifier or '(' before 'while' 1531 | } while (0) | ^~~~~ parser-sming.c:5576:3: note: in expansion of macro 'YY_STACK_PRINT' 5576 | YY_STACK_PRINT (yyss, yyssp); | ^~~~~~~~~~~~~~ parser-sming.c:5577:3: error: expected identifier or '(' before 'while' 5577 | while (yyssp != yyss) | ^~~~~ parser-sming.c:5584:3: error: expected identifier or '(' before 'if' 5584 | if (yyss != yyssa) | ^~ parser-sming.c:5588:3: error: expected identifier or '(' before 'if' 5588 | if (yymsg != yymsgbuf) | ^~ parser-sming.c:5591:3: error: expected identifier or '(' before 'return' 5591 | return yyresult; | ^~~~~~ parser-sming.c:5592:1: error: expected identifier or '(' before '}' token 5592 | } | ^ parser-sming.c: In function 'smingparse': parser-sming.c:5367:5: warning: control reaches end of non-void function [-Wreturn-type] 5367 | } | ^ At top level: parser-sming.c:1820:1: warning: 'yydestruct' defined but not used [-Wunused-function] 1820 | yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep, struct Parser *parserPtr) | ^~~~~~~~~~ parser-sming.c:1687:1: warning: 'yysyntax_error' defined but not used [-Wunused-function] 1687 | yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, | ^~~~~~~~~~~~~~ parser-sming.c:1516:1: warning: 'yy_stack_print' defined but not used [-Wunused-function] 1516 | yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop) | ^~~~~~~~~~~~~~ parser-sming.c:1138:27: warning: 'yydefgoto' defined but not used [-Wunused-const-variable=] 1138 | static const yytype_int16 yydefgoto[] = | ^~~~~~~~~ parser-sming.y:146:1: warning: 'findClass' defined but not used [-Wunused-function] 146 | findClass(char *spec, Parser *parserPtr, Module *modulePtr) | ^~~~~~~~~ parser-sming.y:121:1: warning: 'findIdentity' defined but not used [-Wunused-function] 121 | findIdentity(char *spec, Parser *parserPtr, Module *modulePtr) | ^~~~~~~~~~~~ parser-sming.y:89:12: warning: 'attributeFlag' defined but not used [-Wunused-variable] 89 | static int attributeFlag = 0; | ^~~~~~~~~~~~~ make[2]: *** [Makefile:570: parser-sming.lo] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /usr/bin/bison --defines=parser-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 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:507, from smi.c:18: In function 'strncpy', inlined from 'smiValueAsString' at smi.c:566:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 2 bytes from a string of length 8 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'smiValueAsString' at smi.c:549:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 2 bytes from a string of length 8 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'smiValueAsString' at smi.c:535:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 2 bytes from a string of length 8 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' /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 scanner-smi.lo scanner-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 scanner-smi.c -fPIC -DPIC -o .libs/scanner-smi.o scanner-smi.c:13933:16: warning: 'input' defined but not used [-Wunused-function] 13933 | 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-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[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 In file included from parser-smi.y:36: parser-smi.c: In function 'smiparse': parser-smi.c:9963:29: warning: passing argument 1 of 'smiyyerror' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9963 | 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-smi.y:40: smi-check.h:71:30: note: expected 'char *' but argument is of type 'const char *' 71 | extern void smiyyerror(char *msg, Parser *parserPtr); | ~~~~~~^~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libsmi-0.5.0/lib' make[1]: *** [Makefile:516: all-recursive] Error 1 make: *** [Makefile:402: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.9248 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.9248 (%build) Command exited with non-zero status 1 19.60user 2.04system 0:19.35elapsed 111%CPU (0avgtext+0avgdata 88236maxresident)k 0inputs+0outputs (0major+1011515minor)pagefaults 0swaps hsh-rebuild: rebuild of `libsmi-0.5.0-alt1.svn1841.src.rpm' failed. Command exited with non-zero status 1 25.24user 4.11system 0:28.86elapsed 101%CPU (0avgtext+0avgdata 108840maxresident)k 0inputs+0outputs (0major+1296639minor)pagefaults 0swaps