Created attachment 111952 [details] shadow-4.0.7-gcc4.patch
Description of problem: shadow-utils aren't rebuildable using current Rawhide: --- snipp --- make[2]: Entering directory `/usr/src/redhat/BUILD/shadow-4.0.7/lib' if /bin/sh ../libtool --tag=CC --mode=compile gcc -I. -I. -I.. -O2 -Wall -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -m32 -march=i386 -mtune=pentium4 -MT commonio.lo -MD -MP -MF ".deps/commonio.Tpo" -c -o commonio.lo commonio.c; \ then mv -f ".deps/commonio.Tpo" ".deps/commonio.Plo"; else rm -f ".deps/commonio.Tpo"; exit 1; fi gcc -I. -I. -I.. -O2 -Wall -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -m32 -march=i386 -mtune=pentium4 -MT commonio.lo -MD -MP -MF .deps/commonio.Tpo -c commonio.c -o commonio.o commonio.c: In function 'commonio_open': commonio.c:460: error: syntax error before '(' token commonio.c:460: error: '__n_val' undeclared (first use in this function) commonio.c:460: error: (Each undeclared identifier is reported only once commonio.c:460: error: for each function it appears in.) [...] --- snapp --- Version-Release number of selected component (if applicable): shadow-utils-4.0.7-1 gcc-4.0.0-0.33 glibc-2.3.4-14 How reproducible: Try to rebuild shadow-utils - and die with the error message above. Actual results / Expected results: shadow-utils should be rebuildable. Additional info: The attached patch solves the problem for me.
thx.