On Sun, 26 Jun 2016 09:26:29 -0500, Ranjan Maitra wrote:
Hi,
I have a local rpm that I have created using wbar. The spec file is here:
https://paste.fedoraproject.org/384973/14669508
I have successfully created this rpm up to Fedora 23. But have been unable to do so this time around in F24.
I get the following errors:
.... cc1plus: all warnings being treated as errors Makefile:551: recipe for target 'wbar-Main.o' failed make[2]: *** [wbar-Main.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/home/maitra/rpmbuild/BUILD/wbar-2.3.4/src' Makefile:404: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/maitra/rpmbuild/BUILD/wbar-2.3.4' Makefile:345: recipe for target 'all' failed make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.qtyTEY (%build)
I was wondering what is going wrong here.
Revisit the build output and look for a real error message from the compiler, not these that Make prints.