[...] from command.c:20: ../include/parted/unit.h:77:1: warning: ignoring attribute 'const' because it conflicts with attribute 'pure' [-Wattributes] ; ^ In file included from ../include/parted/parted.h:40, from command.h:22, from parted.c:26: ../include/parted/unit.h:77:1: warning: ignoring attribute 'const' because it conflicts with attribute 'pure' [-Wattributes] ; ^ In file included from ../include/parted/parted.h:40, from ui.c:22: ../include/parted/unit.h:77:1: warning: ignoring attribute 'const' because it conflicts with attribute 'pure' [-Wattributes] ; ^ depbase=`echo table.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ x86_64-tld-linux-gcc -I. -I../lib -I../lib -I../include -I../include -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -MT table.o -MD -MP -MF $depbase.Tpo -c -o table.o table.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo version.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ x86_64-tld-linux-gcc -I. -I../lib -I../lib -I../include -I../include -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -MT version.o -MD -MP -MF $depbase.Tpo -c -o version.o version.c &&\ mv -f $depbase.Tpo $depbase.Po rm -f libver.a ar cru libver.a version.o ranlib libver.a /bin/sh ../libtool --tag=CC --mode=link x86_64-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -Wl,--as-needed -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -rdynamic -o parted command.o parted.o strlist.o ui.o table.o libver.a ../libparted/libparted.la -lreadline -ldl -ltinfo libtool: link: x86_64-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -Wl,--as-needed -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z -Wl,relro -Wl,-z -Wl,combreloc -rdynamic -o .libs/parted command.o parted.o strlist.o ui.o table.o libver.a ../libparted/.libs/libparted.so -ldevmapper -lblkid /usr/lib64/libuuid.so -lreadline -ldl -ltinfo /usr/bin/ld: ../libparted/.libs/libparted.so: undefined reference to `major' /usr/bin/ld: ../libparted/.libs/libparted.so: undefined reference to `minor' collect2: error: ld returned 1 exit status make[3]: *** [Makefile:1244: parted] Error 1 make[3]: Leaving directory '/tmp/B.gwtFsY/BUILD/parted-3.2/parted' make[2]: *** [Makefile:1151: all] Error 2 make[2]: Leaving directory '/tmp/B.gwtFsY/BUILD/parted-3.2/parted' make[1]: *** [Makefile:1279: all-recursive] Error 1 make[1]: Leaving directory '/tmp/B.gwtFsY/BUILD/parted-3.2' make: *** [Makefile:1201: all] Error 2 error: Bad exit status from /tmp/B.gwtFsY/BUILD/tmp/rpm-tmp.4127 (%build) RPM build errors: Bad exit status from /tmp/B.gwtFsY/BUILD/tmp/rpm-tmp.4127 (%build) ended at: Sun Aug 18 18:35:07 2019, done in 0:00:48.193877 error: No files produced. + chmod -R u+rwX /tmp/B.gwtFsY/BUILD + rm -rf /tmp/B.gwtFsY/tmp /tmp/B.gwtFsY/BUILD + rm -rf /tmp/B.gwtFsY Begin-TLD-Builder-Info Build-Time: user:36.52s sys:5.98s real:50.73s (faults io:344 non-io:4725700) End-TLD-Builder-Info