Packaging question about -Wformat-security on Rawhide

Orion Poplawski orion at cora.nwra.com
Tue Feb 4 02:42:51 UTC 2014


On 02/03/2014 06:52 PM, Dan Mashal wrote:
> Hi,
> 
> So when rebuilding pidgin today I had issues building it for rawhide
> and on my local machine (F20).
> 
> Basically this flag is causing the configure script to not be able to
> locate perl.h
> 
> Looked at https://fedoraproject.org/wiki/Format-Security-FAQ but it is
> very vague and doesn't provide many examples for workarounds.
> 
> Build logs here:
> http://kojipkgs.fedoraproject.org//work/tasks/7623/6487623/build.log
> 
> config.log from my local F20 machine here:
> http://paste.fedoraproject.org/74131/75349139/raw/
> 
> So could someone with more experience please advise on how to work
> around this issue?
> 
> Also why was this pushed to redhat-rpm-config as an update to F20 when
> it is supposed to be an F21 change? It didn't really help when trying
> to figure what was going on.
> 
> Thanks,
> Dan
> 

The crux is that you need with -Wall or -Wformat as well on the compile
line test for perl.h.  I'm not sure why the default -Wall is being
dropped from that line (it is on other tests).  You might work around it
by explicitly adding -Wformat.

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com


More information about the devel mailing list