sg3_utils
sg3_utils copied to clipboard
1.44 + master: build fails
1.44 + all patches up to master.
Gcc 1.0.1 from rawhide.
[tkloczko@barrel sg3_utils-1.44]$ make
make all-recursive
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/sg3_utils-1.44'
Making all in include
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/sg3_utils-1.44/include'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/sg3_utils-1.44/include'
Making all in lib
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/sg3_utils-1.44/lib'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/sg3_utils-1.44/lib'
Making all in src
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/sg3_utils-1.44/src'
gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -c -o sg_get_elem_status.o sg_get_elem_status.c
sg_get_elem_status.c:1:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘-’ token
1 | PROPS-END
| ^
In file included from /usr/include/stdlib.h:394,
from sg_get_elem_status.c:14:
/usr/include/sys/types.h:33:9: error: unknown type name ‘__u_char’
33 | typedef __u_char u_char;
| ^~~~~~~~
make[2]: *** [Makefile:1152: sg_get_elem_status.o] Error 1
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/sg3_utils-1.44/src'
make[1]: *** [Makefile:400: all-recursive] Error 1
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/sg3_utils-1.44'