<86>Nov 17 10:02:50 userdel[81145]: delete user 'rooter' <86>Nov 17 10:02:50 groupadd[81157]: group added to /etc/group: name=rooter, GID=597 <86>Nov 17 10:02:50 groupadd[81157]: group added to /etc/gshadow: name=rooter <86>Nov 17 10:02:50 groupadd[81157]: new group: name=rooter, GID=597 <86>Nov 17 10:02:50 useradd[81168]: new user: name=rooter, UID=597, GID=597, home=/root, shell=/bin/bash <86>Nov 17 10:02:50 userdel[81199]: delete user 'builder' <86>Nov 17 10:02:50 userdel[81199]: removed group 'builder' owned by 'builder' <86>Nov 17 10:02:50 userdel[81199]: removed shadow group 'builder' owned by 'builder' <86>Nov 17 10:02:50 groupadd[81226]: group added to /etc/group: name=builder, GID=598 <86>Nov 17 10:02:50 groupadd[81226]: group added to /etc/gshadow: name=builder <86>Nov 17 10:02:50 groupadd[81226]: new group: name=builder, GID=598 <86>Nov 17 10:02:50 useradd[81239]: new user: name=builder, UID=598, GID=598, home=/usr/src, shell=/bin/bash <13>Nov 17 10:02:55 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <13>Nov 17 10:02:55 rpmi: libcom_err-devel-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <13>Nov 17 10:02:55 rpmi: libe2fs-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <13>Nov 17 10:02:55 rpmi: libss-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <13>Nov 17 10:02:55 rpmi: libss-devel-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <13>Nov 17 10:02:55 rpmi: rpm-macros-info-install-6.5-alt2 sisyphus+220294.200.2.1 1548933637 installed <13>Nov 17 10:02:55 rpmi: perl-Unicode-Normalize-1:5.28.1-alt1 sisyphus+219907.100.1.1 1548343222 installed <13>Nov 17 10:02:55 rpmi: perl-Unicode-EastAsianWidth-1.40-alt1 sisyphus.217785.100 1544703272 installed <13>Nov 17 10:02:55 rpmi: perl-Text-Unidecode-1.30-alt1 1480505027 installed <13>Nov 17 10:02:55 rpmi: perl-Pod-Escapes-1.07-alt1 1418767892 installed <13>Nov 17 10:02:55 rpmi: perl-Filter-1.59-alt1.1 sisyphus+219907.400.1.1 1548343389 installed <13>Nov 17 10:02:55 rpmi: perl-Encode-3.01-alt1 sisyphus+224923.100.1.1 1552474122 installed <13>Nov 17 10:02:56 rpmi: perl-libintl-1.31-alt1.1 sisyphus+219907.6300.1.1 1548352985 installed <13>Nov 17 10:02:56 rpmi: perl-Pod-Simple-3.35-alt1 1482098090 installed <13>Nov 17 10:02:56 rpmi: makeinfo-6.5-alt2 sisyphus+220294.200.2.1 1548933643 installed <13>Nov 17 10:02:56 rpmi: libe2fs-devel-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <13>Nov 17 10:02:56 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/fdutils-5.5.20081027-alt2.nosrc.rpm Installing fdutils-5.5.20081027-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.7084 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf fdutils-5.5 + echo 'Source #0 (fdutils-5.5.tar):' Source #0 (fdutils-5.5.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/fdutils-5.5.tar + cd fdutils-5.5 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (fdutils-5.5-20081027.diff):' Patch #1 (fdutils-5.5-20081027.diff): + /usr/bin/patch -p1 patching file Changelog patching file doc/diskd.1 patching file doc/diskseekd.1 patching file doc/fdmount.1 patching file doc/fdrawcmd.1 patching file doc/floppycontrol.1 patching file doc/floppymeter.1 patching file doc/formatlist.texi patching file doc/getfdprm.1 patching file doc/makefloppies.1 patching file doc/setfdprm.1 patching file doc/superformat.1 patching file doc/superformat.texi patching file doc/xdfcopy.1 patching file src/calc-format.c patching file src/fdmount.c patching file src/fdutils.h patching file src/floppycontrol.c patching file src/mediaprm.c patching file src/mediaprm.lex patching file src/msdos_fs.h patching file src/printfdprm.c patching file src/superformat.c patching file src/superformat.h + echo 'Patch #2 (fdutils-5.5-20060227-alt-headers.patch):' Patch #2 (fdutils-5.5-20060227-alt-headers.patch): + /usr/bin/patch -p1 patching file src/printfdprm.c Hunk #1 succeeded at 1 with fuzz 2. + echo 'Patch #3 (fdutils-5.4-alt-texinfo.patch):' Patch #3 (fdutils-5.4-alt-texinfo.patch): + /usr/bin/patch -p1 patching file doc/fdutils.texi + echo 'Patch #4 (fdutils-alt-nodvi.patch):' Patch #4 (fdutils-alt-nodvi.patch): + /usr/bin/patch -p1 patching file doc/Makefile.in + echo 'Patch #5 (fdutils-alt-ext2_fs.patch):' Patch #5 (fdutils-alt-ext2_fs.patch): + /usr/bin/patch -p1 patching file src/fdmount.c + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.82667 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd fdutils-5.5 + 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_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext checking whether make sets $(MAKE)... yes checking for i586-alt-linux-gcc... i586-alt-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ANSI C... none needed checking how to run the C preprocessor... i586-alt-linux-gcc -E checking for egrep... grep -E checking whether i586-alt-linux-gcc needs -traditional... no checking for a BSD-compatible install... /bin/install -c checking whether ln -s works... yes checking for install-info... no checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking target system type... i586-alt-linux-gnu checking for an ANSI C-conforming const... yes checking for inline... inline 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 linux/ext_fs.h usability... no checking linux/ext_fs.h presence... no checking for linux/ext_fs.h... no checking linux/xia_fs.h usability... no checking linux/xia_fs.h presence... no checking for linux/xia_fs.h... no checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating config.h + make make: Entering directory '/usr/src/RPM/BUILD/fdutils-5.5' make -C src all make[1]: Entering directory '/usr/src/RPM/BUILD/fdutils-5.5/src' i586-alt-linux-gcc -Wall -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -c -o floppycontrol.o floppycontrol.c lex -Pmediaprm mediaprm.lex i586-alt-linux-gcc -Wall -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -c -o lex.mediaprm.o lex.mediaprm.c lex.mediaprm.c:1607:16: warning: 'input' defined but not used [-Wunused-function] static int input (void) ^~~~~ lex.mediaprm.c:1564:17: warning: 'yyunput' defined but not used [-Wunused-function] static void yyunput (int c, char * yy_bp ) ^~~~~~~ ar rv libfdutils.a lex.mediaprm.o ar: creating libfdutils.a a - lex.mediaprm.o lex -Pdriveprm driveprm.lex i586-alt-linux-gcc -Wall -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -c -o lex.driveprm.o lex.driveprm.c lex.driveprm.c:1530:16: warning: 'input' defined but not used [-Wunused-function] static int input (void) ^~~~~ lex.driveprm.c:1487:17: warning: 'yyunput' defined but not used [-Wunused-function] static void yyunput (int c, char * yy_bp ) ^~~~~~~ ar rv libfdutils.a lex.driveprm.o a - lex.driveprm.o i586-alt-linux-gcc -Wall -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -c -o mediaprm.o mediaprm.c mediaprm.c: In function 'parse_mediaprm': mediaprm.c:323:12: warning: operation on 'r' may be undefined [-Wsequence-point] return ((r=parse_direct(argc, argv, drvprm, medprm) && ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (r=parse_indirect(argc, argv, drvprm, medprm)))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ar rv libfdutils.a mediaprm.o a - mediaprm.o i586-alt-linux-gcc -Wall -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -c -o driveprm.o driveprm.c driveprm.c: In function 'getdrivenum': driveprm.c:143:13: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . major(buf->st_rdev) != FLOPPY_MAJOR) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ driveprm.c:148:13: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . num = minor( buf->st_rdev ); ^~~~~~~~~~~~~~~~~ ar rv libfdutils.a driveprm.o a - driveprm.o i586-alt-linux-gcc -Wall -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -c -o parse.o parse.c ar rv libfdutils.a parse.o a - parse.o i586-alt-linux-gcc -Wall -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -c -o oldfdprm.o oldfdprm.c ar rv libfdutils.a oldfdprm.o a - oldfdprm.o i586-alt-linux-gcc -Wall -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -c -o enh_options.o enh_options.c enh_options.c: In function 'parse_option': enh_options.c:195:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ enh_options.c:197:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' return 0; ^~~~~~ enh_options.c: In function 'print_help': enh_options.c:382:21: warning: variable 'htlength' set but not used [-Wunused-but-set-variable] int i, wordlength, htlength, col; ^~~~~~~~ ar rv libfdutils.a enh_options.o a - enh_options.o i586-alt-linux-gcc -Wall -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -c -o measure.o measure.c ar rv libfdutils.a measure.o a - measure.o i586-alt-linux-gcc -Wall -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -c -o printfdprm.o printfdprm.c printfdprm.c: In function 'print_params': printfdprm.c:12:45: warning: variable 'need_tpi' set but not used [-Wunused-but-set-variable] int ssize, r, perp_ref, need_dtr, need_fm, need_tpi; ^~~~~~~~ ar rv libfdutils.a printfdprm.o a - printfdprm.o i586-alt-linux-gcc -Wall -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -c -o calc-format.o calc-format.c calc-format.c: In function 'calc_placement': calc-format.c:327:21: warning: variable 'max_offset' set but not used [-Wunused-but-set-variable] int cur_sector, i, max_offset; ^~~~~~~~~~ ar rv libfdutils.a calc-format.o a - calc-format.o i586-alt-linux-gcc -Wall -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -c -o misc.o misc.c ar rv libfdutils.a misc.o a - misc.o i586-alt-linux-gcc -Wall -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -c -o skews.o skews.c ar rv libfdutils.a skews.o a - skews.o ranlib libfdutils.a i586-alt-linux-gcc -o floppycontrol floppycontrol.o -L. -lfdutils i586-alt-linux-gcc -Wall -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -c -o getfdprm.o getfdprm.c i586-alt-linux-gcc -o getfdprm getfdprm.o -L. -lfdutils i586-alt-linux-gcc -Wall -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o setfdprm setfdprm.c -L. -lfdutils i586-alt-linux-gcc -Wall -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -c -o fdrawcmd.o fdrawcmd.c fdrawcmd.c: In function 'main': fdrawcmd.c:382:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, buffer, size ); ^~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -o fdrawcmd fdrawcmd.o -L. -lfdutils i586-alt-linux-gcc -Wall -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -c -o superformat.o superformat.c superformat.c: In function 'send_cmd': superformat.c:122:6: warning: variable 'retries' set but not used [-Wunused-but-set-variable] int retries; ^~~~~~~ superformat.c: In function 'main': superformat.c:762:13: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . if(minor(drivedesc.buf.st_rdev) & 0x7c) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ superformat.c:1126:36: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] snprintf(twom_buffer, 5, "-2 %2d", fd0.dsect); ^ In file included from /usr/include/stdio.h:862, from superformat.c:40: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 6 and 15 bytes into a destination of size 5 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -o superformat superformat.o -L. -lfdutils i586-alt-linux-gcc -Wall -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" xdfcopy.c -o xdfcopy xdfcopy.c: In function 'readwrite_cylinder': xdfcopy.c:445:27: warning: variable 'tv3' set but not used [-Wunused-but-set-variable] static struct timeval tv3, tv4; ^~~ xdfcopy.c: In function 'get_type': xdfcopy.c:524:13: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . if (!S_ISBLK(statbuf.st_mode) || major(statbuf.st_rdev) != FLOPPY_MAJOR) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xdfcopy.c:527:13: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . drive = minor( statbuf.st_rdev ); ^~~~~~~~~~~~~~~~~~~~~~ xdfcopy.c: In function 'main': xdfcopy.c:763:6: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmdbuffer); ^~~~~~~~~~~~~~~~~ xdfcopy.c:766:6: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmdbuffer); ^~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -Wall -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" fdmount.c -o fdmount fdmount.c: In function 'canonicalize': fdmount.c:208:6: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd (canonical, PATH_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ fdmount.c: In function 'do_mount': fdmount.c:672:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd,super,sizeof(super)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ fdmount.c: In function 'main': fdmount.c:1248:6: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir ("/"); /* no current directory. */ ^~~~~~~~~~~ i586-alt-linux-gcc -Wall -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -c -o diskseekd.o diskseekd.c diskseekd.c: In function 'main': diskseekd.c:123:13: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . if (major(buf.st_rdev) != FLOPPY_MAJOR) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diskseekd.c:128:13: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . drive = minor( buf.st_rdev ); ^~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -o diskseekd diskseekd.o -L. -lfdutils i586-alt-linux-gcc -Wall -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -c -o diskd.o diskd.c diskd.c: In function 'main': diskd.c:108:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(command); ^~~~~~~~~~~~~~~ i586-alt-linux-gcc -o diskd diskd.o -L. -lfdutils i586-alt-linux-gcc -Wall -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -c -o floppymeter.o floppymeter.c floppymeter.c: In function 'main': floppymeter.c:167:13: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . if (!S_ISBLK(buf.st_mode) || major(buf.st_rdev) != FLOPPY_MAJOR) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ floppymeter.c:171:13: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . dn = minor( buf.st_rdev ); ^~~~~~~~~~~~~~~ i586-alt-linux-gcc -o floppymeter floppymeter.o -L. -lfdutils i586-alt-linux-gcc -Wall -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I. -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -c -o convert.o convert.c i586-alt-linux-gcc -o convertfdprm convert.o -L. -lfdutils rm enh_options.o measure.o calc-format.o oldfdprm.o parse.o driveprm.o misc.o lex.mediaprm.o lex.driveprm.o printfdprm.o skews.o lex.mediaprm.c mediaprm.o lex.driveprm.c make[1]: Leaving directory '/usr/src/RPM/BUILD/fdutils-5.5/src' make -C doc all make[1]: Entering directory '/usr/src/RPM/BUILD/fdutils-5.5/doc' makeinfo -I . ./fdutils.texi make[1]: Leaving directory '/usr/src/RPM/BUILD/fdutils-5.5/doc' make: Leaving directory '/usr/src/RPM/BUILD/fdutils-5.5' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.91665 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/fdutils-buildroot + : + /bin/rm -rf -- /usr/src/tmp/fdutils-buildroot + cd fdutils-5.5 + mkdir -p /usr/src/tmp/fdutils-buildroot/etc /usr/src/tmp/fdutils-buildroot/usr/bin /usr/src/tmp/fdutils-buildroot/usr/share/info /usr/src/tmp/fdutils-buildroot/usr/share/man/man1 /usr/src/tmp/fdutils-buildroot/usr/share/man/man4 ++ id -u ++ id -g + /usr/bin/make 'INSTALL=/bin/install -p' prefix=/usr/src/tmp/fdutils-buildroot/usr exec_prefix=/usr/src/tmp/fdutils-buildroot/usr bindir=/usr/src/tmp/fdutils-buildroot/usr/bin sbindir=/usr/src/tmp/fdutils-buildroot/usr/sbin sysconfdir=/usr/src/tmp/fdutils-buildroot/etc datadir=/usr/src/tmp/fdutils-buildroot/usr/share includedir=/usr/src/tmp/fdutils-buildroot/usr/include libdir=/usr/src/tmp/fdutils-buildroot/usr/lib libexecdir=/usr/src/tmp/fdutils-buildroot/usr/lib localstatedir=/usr/src/tmp/fdutils-buildroot/var/lib sharedstatedir=/usr/src/tmp/fdutils-buildroot/var/lib mandir=/usr/src/tmp/fdutils-buildroot/usr/share/man infodir=/usr/src/tmp/fdutils-buildroot/usr/share/info install UID=598 GID=598 make: Entering directory '/usr/src/RPM/BUILD/fdutils-5.5' /usr/bin/make -C src all make[1]: Entering directory '/usr/src/RPM/BUILD/fdutils-5.5/src' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/usr/src/RPM/BUILD/fdutils-5.5/src' /usr/bin/make -C src install-bin install-conf make[1]: Entering directory '/usr/src/RPM/BUILD/fdutils-5.5/src' ../mkinstalldirs /usr/src/tmp/fdutils-buildroot/usr/bin /bin/install -p -c -m 755 -o 598 -g 598 ./MAKEFLOPPIES /usr/src/tmp/fdutils-buildroot/usr/bin /bin/install -p -c -s -m 755 -o 598 -g 598 diskd /usr/src/tmp/fdutils-buildroot/usr/bin /bin/install -p -c -s -m 755 -o 598 -g 598 diskseekd /usr/src/tmp/fdutils-buildroot/usr/bin /bin/install -p -c -s -m 755 -o 598 -g 598 floppycontrol /usr/src/tmp/fdutils-buildroot/usr/bin /bin/install -p -c -s -m 755 -o 598 -g 598 floppymeter /usr/src/tmp/fdutils-buildroot/usr/bin /bin/install -p -c -s -m 755 -o 598 -g 598 getfdprm /usr/src/tmp/fdutils-buildroot/usr/bin /bin/install -p -c -s -m 755 -o 598 -g 598 setfdprm /usr/src/tmp/fdutils-buildroot/usr/bin /bin/install -p -c -s -m 755 -o 598 -g 598 fdrawcmd /usr/src/tmp/fdutils-buildroot/usr/bin /bin/install -p -c -s -m 755 -o 598 -g 598 superformat /usr/src/tmp/fdutils-buildroot/usr/bin /bin/install -p -c -s -m 755 -o 598 -g 598 xdfcopy /usr/src/tmp/fdutils-buildroot/usr/bin /bin/install -p -c -s -m 4750 -o 598 -g 598 fdmount /usr/src/tmp/fdutils-buildroot/usr/bin /bin/install -p -c -s -m 4750 -o 598 -g 598 fdmount /usr/src/tmp/fdutils-buildroot/usr/bin/fdumount ( cd /usr/src/tmp/fdutils-buildroot/usr/bin; \ ln -sf xdfcopy /usr/src/tmp/fdutils-buildroot/usr/bin/xdfformat; \ ln -sf fdmount /usr/src/tmp/fdutils-buildroot/usr/bin/fdumount; \ ln -sf fdmount /usr/src/tmp/fdutils-buildroot/usr/bin/fdlist; \ ln -sf fdmount /usr/src/tmp/fdutils-buildroot/usr/bin/fdmountd ) ../mkinstalldirs if [ ! -f /usr/src/tmp/fdutils-buildroot/etc/mediaprm ] ; then \ cp ./mediaprm /usr/src/tmp/fdutils-buildroot/etc ; \ fi make[1]: Leaving directory '/usr/src/RPM/BUILD/fdutils-5.5/src' /usr/bin/make -C doc install make[1]: Entering directory '/usr/src/RPM/BUILD/fdutils-5.5/doc' ../mkinstalldirs /usr/src/tmp/fdutils-buildroot/usr/share/man/man1 ../mkinstalldirs /usr/src/tmp/fdutils-buildroot/usr/share/man/man4 ../mkinstalldirs /usr/src/tmp/fdutils-buildroot/usr/share/man/man8 mkdir /usr/src/tmp/fdutils-buildroot/usr/share/man/man8 for i in diskd.1 fdrawcmd.1 getfdprm.1 superformat.1 diskseekd.1 floppycontrol.1 makefloppies.1 xdfcopy.1 fdmount.1 floppymeter.1 setfdprm.1; do \ install -c -m 644 -o 598 -g 598 \ ./$i /usr/src/tmp/fdutils-buildroot/usr/share/man/man1/$i; \ done for i in fd.4; do \ install -c -m 644 -o 598 -g 598 \ ./$i /usr/src/tmp/fdutils-buildroot/usr/share/man/man4/$i; \ done ( cd /usr/src/tmp/fdutils-buildroot/usr/share/man/man1; \ ln -sf fdmount.1 /usr/src/tmp/fdutils-buildroot/usr/share/man/man1/fdumount.1; \ ln -sf fdmount.1 /usr/src/tmp/fdutils-buildroot/usr/share/man/man1/fdlist.1; \ ln -sf fdmount.1 /usr/src/tmp/fdutils-buildroot/usr/share/man/man1/fdmountd.1; \ ln -sf xdfcopy.1 /usr/src/tmp/fdutils-buildroot/usr/share/man/man1/xdfformat.1 \ ) ../mkinstalldirs /usr/src/tmp/fdutils-buildroot/usr/share/info if test -f fdutils.info; then \ for i in fdutils.info*; do \ /bin/install -p -m 644 $i /usr/src/tmp/fdutils-buildroot/usr/share/info/$i; \ done; \ else \ for i in ./fdutils.info*; do \ /bin/install -p -m 644 $i /usr/src/tmp/fdutils-buildroot/usr/share/info/`echo $i | sed 's|^./||'`; \ done; \ fi; \ if [ -n "" ] ; then \ if [ -f /usr/src/tmp/fdutils-buildroot/usr/share/info/dir.info ] ; then \ /usr/src/tmp/fdutils-buildroot/usr/share/info/fdutils.info /usr/src/tmp/fdutils-buildroot/usr/share/info/dir.info; \ fi; \ if [ -f /usr/src/tmp/fdutils-buildroot/usr/share/info/dir ] ; then \ /usr/src/tmp/fdutils-buildroot/usr/share/info/fdutils.info /usr/src/tmp/fdutils-buildroot/usr/share/info/dir; \ fi; \ fi make[1]: Leaving directory '/usr/src/RPM/BUILD/fdutils-5.5/doc' make: Leaving directory '/usr/src/RPM/BUILD/fdutils-5.5' + install -p -m644 src/mediaprm /usr/src/tmp/fdutils-buildroot/etc + chmod 755 /usr/src/tmp/fdutils-buildroot/usr/bin/MAKEFLOPPIES /usr/src/tmp/fdutils-buildroot/usr/bin/diskd /usr/src/tmp/fdutils-buildroot/usr/bin/diskseekd /usr/src/tmp/fdutils-buildroot/usr/bin/fdlist /usr/src/tmp/fdutils-buildroot/usr/bin/fdmount /usr/src/tmp/fdutils-buildroot/usr/bin/fdmountd /usr/src/tmp/fdutils-buildroot/usr/bin/fdrawcmd /usr/src/tmp/fdutils-buildroot/usr/bin/fdumount /usr/src/tmp/fdutils-buildroot/usr/bin/floppycontrol /usr/src/tmp/fdutils-buildroot/usr/bin/floppymeter /usr/src/tmp/fdutils-buildroot/usr/bin/getfdprm /usr/src/tmp/fdutils-buildroot/usr/bin/setfdprm /usr/src/tmp/fdutils-buildroot/usr/bin/superformat /usr/src/tmp/fdutils-buildroot/usr/bin/xdfcopy /usr/src/tmp/fdutils-buildroot/usr/bin/xdfformat + rm /usr/src/tmp/fdutils-buildroot/usr/share/man/man4/fd.4 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/fdutils-buildroot (auto) Verifying and fixing files in /usr/src/tmp/fdutils-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/fdutils-buildroot/ (default) Compressing files in /usr/src/tmp/fdutils-buildroot (auto) removed '/usr/src/tmp/fdutils-buildroot/usr/share/man/man1/xdfformat.1' '/usr/src/tmp/fdutils-buildroot/usr/share/man/man1/xdfformat.1.xz' -> 'xdfcopy.1.xz' removed '/usr/src/tmp/fdutils-buildroot/usr/share/man/man1/fdmountd.1' '/usr/src/tmp/fdutils-buildroot/usr/share/man/man1/fdmountd.1.xz' -> 'fdmount.1.xz' removed '/usr/src/tmp/fdutils-buildroot/usr/share/man/man1/fdlist.1' '/usr/src/tmp/fdutils-buildroot/usr/share/man/man1/fdlist.1.xz' -> 'fdmount.1.xz' removed '/usr/src/tmp/fdutils-buildroot/usr/share/man/man1/fdumount.1' '/usr/src/tmp/fdutils-buildroot/usr/share/man/man1/fdumount.1.xz' -> 'fdmount.1.xz' Verifying info files in /usr/src/tmp/fdutils-buildroot/usr/share/info (normal) Verifying ELF objects in /usr/src/tmp/fdutils-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/bin/fdmount: uses non-LFS functions: __xstat fopen lseek open verify-elf: WARNING: ./usr/bin/xdfcopy: uses non-LFS functions: __fxstat lseek open verify-elf: WARNING: ./usr/bin/superformat: uses non-LFS functions: __fxstat fopen lseek open verify-elf: WARNING: ./usr/bin/fdrawcmd: uses non-LFS functions: open verify-elf: WARNING: ./usr/bin/setfdprm: uses non-LFS functions: __fxstat fopen open verify-elf: WARNING: ./usr/bin/getfdprm: uses non-LFS functions: __fxstat fopen open verify-elf: WARNING: ./usr/bin/floppymeter: uses non-LFS functions: __fxstat open verify-elf: WARNING: ./usr/bin/floppycontrol: uses non-LFS functions: open verify-elf: WARNING: ./usr/bin/diskseekd: uses non-LFS functions: __fxstat fopen open verify-elf: WARNING: ./usr/bin/diskd: uses non-LFS functions: open Hardlinking identical .pyc and .pyo files Processing files: fdutils-5.5.20081027-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.52441 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd fdutils-5.5 + DOCDIR=/usr/src/tmp/fdutils-buildroot/usr/share/doc/fdutils-5.5.20081027 + export DOCDIR + rm -rf /usr/src/tmp/fdutils-buildroot/usr/share/doc/fdutils-5.5.20081027 + /bin/mkdir -p /usr/src/tmp/fdutils-buildroot/usr/share/doc/fdutils-5.5.20081027 + cp -prL CREDITS Changelog doc/FAQ.html doc/README doc/floppy_formats /usr/src/tmp/fdutils-buildroot/usr/share/doc/fdutils-5.5.20081027 + chmod -R go-w /usr/src/tmp/fdutils-buildroot/usr/share/doc/fdutils-5.5.20081027 + chmod -R a+rX /usr/src/tmp/fdutils-buildroot/usr/share/doc/fdutils-5.5.20081027 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.FqQMCt find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.F75Ooe find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) find-requires: FINDPACKAGE-COMMANDS: chmod chown expr mknod rm Requires: util-linux >= 2.11h-alt2, /bin/sh, /lib/ld-linux.so.2, coreutils, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), rtld(GNU_HASH) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.aPXfDr Wrote: /usr/src/RPM/RPMS/i586/fdutils-5.5.20081027-alt2.i586.rpm 19.62user 5.47system 0:29.11elapsed 86%CPU (0avgtext+0avgdata 30392maxresident)k 0inputs+0outputs (0major+788776minor)pagefaults 0swaps 27.86user 10.01system 0:44.15elapsed 85%CPU (0avgtext+0avgdata 115012maxresident)k 0inputs+0outputs (0major+1081151minor)pagefaults 0swaps