Bug 149459 - 2 * bad format in printf problems
Summary: 2 * bad format in printf problems
Alias: None
Product: Fedora
Classification: Fedora
Component: cfengine   
(Show other bugs)
Version: 3
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jeff Sheltren
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2005-02-23 11:35 UTC by David Binderman
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-07-05 21:47:55 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description David Binderman 2005-02-23 11:35:09 UTC
Description of problem:

I just tried to compile package cfengine-2.1.9-2 from 
Redhat Fedora Extras development tree.

The compiler said


eval.c(653): warning #267: the format string requires additional arguments

The source code is

      Debug4("Checking AND Atom %s?\n");

%s specifier, not trailing parameter.


cfexecd.c(931): warning #269: invalid format string conversion

The source code is


. not valid in %s specifier. Maybe


was what the programmer intended ?

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:

Comment 1 Michael Schwendt 2005-02-23 14:35:17 UTC
Please see whether you can reproduce this with the newer cfengine from
Fedora Core Development.

Comment 2 Jeff Sheltren 2005-03-25 16:26:16 UTC
Are you compiling with gcc4?  If so, there are some issues with the current
release and I'm working with the author to get it fixed.  If you're using gcc3,
it should compile fine.  You can also try version 2.1.13 which is now in extras.

Comment 3 David Binderman 2005-03-25 17:08:34 UTC
>Are you compiling with gcc4? 

No - Intel 8.1 - much better error messages - see above.

>You can also try version 2.1.13 which is now in extras.

Sorry, but I won't be able to do this. Suggest you might like
to use Mark 1 eyeball to confirm that the problems I found are
gone in the latest version.

Comment 4 Jeff Sheltren 2005-07-05 21:47:55 UTC
OK, I've passed on your errors to Mark (the author of cfengine).  Hopefully they
will get fixed in the next upstream release.

Note You need to log in before you can comment on or make changes to this bug.