https://bugzilla.redhat.com/show_bug.cgi?id=1369708 --- Comment #7 from yunying.sun@xxxxxxxxx --- (In reply to yunying.sun from comment #6) > (In reply to Igor Gnatenko from comment #5) > > (In reply to yunying.sun from comment #4) > > > the configure error "cannot run C compiled programs" is there, seems because > > > "%configure" adds an extra flag "-Werror" to CFLAGS, which turns some config > > > warnings to errors. With "./configure", koji build pass. > > > > > > @Igor, is it acceptable to use: > > > CONFIG_SITE=$(pwd)/lib/default_config.site ./configure > > > #%configure > > > > > > instead of: > > > export CONFIG_SITE=$(pwd)/lib/default_config.site > > > %configure > > > > > > I've verified that koji build pass if comment off "%configure". > > > updated SPEC: https://github.com/yunyings/share/blob/master/tpm2-tss.spec > > > koji rawhide build: > > > http://koji.fedoraproject.org/koji/taskinfo?taskID=15448486 > > > > not really, because then it (I suppose) will ignore Fedora > > CFLAGS/LDFLAGS/CXXFLAGS/.... > > > > From your koji build it looks like %configure was executed and it worked. > > @Igor, the koji build succeeded in comment 4 because "./configure" is used > instead of "%configure". One correction here. So far the only working "%build" field looks like: %build ./bootstrap CONFIG_SITE=$(pwd)/lib/default_config.site ./configure %configure %make_build That is, "./configure" has to be done before configuration comes to "%configure". @Igor, does the "%build" above looks good to you? > > With: > CONFIG_SITE=$(pwd)/lib/default_config.site ./configure > #%configure > Koji build succeeded: > http://koji.fedoraproject.org/koji/taskinfo?taskID=15459008 > > With: > export CONFIG_SITE=$(pwd)/lib/default_config.site > %configure > koji build failed: > http://koji.fedoraproject.org/koji/taskinfo?taskID=15458924 -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component _______________________________________________ package-review mailing list package-review@xxxxxxxxxxxxxxxxxxxxxxx https://lists.fedoraproject.org/admin/lists/package-review@xxxxxxxxxxxxxxxxxxxxxxx