Bug 506612 - trace.h is missing #include <stdio.h>
Summary: trace.h is missing #include <stdio.h>
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: barry
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Christopher D. Stover
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-17 22:53 UTC by Nathanael Noblet
Modified: 2009-06-27 02:55 UTC (History)
1 user (show)

Fixed In Version: 0.15-0.6.20090623git.fc11
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-06-27 02:40:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nathanael Noblet 2009-06-17 22:53:42 UTC
Description of problem:
when enabling the opensync plugin for f11 manually, compilation fails because opensync-plugin/src/trace.h uses the functin vsnprintf, but doesn't 

#include <stdio.h>

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


How reproducible:

always

Steps to Reproduce:
1. change spec file: %if 0%{?fedora} > 8 && 0%{?fedora} < 11
2. rebuild
3.
  
Actual results:
failed build

Expected results:
clean build with opensync-plugin enabled

Additional info:

Comment 1 Nathanael Noblet 2009-06-17 22:57:55 UTC
basically to your barry-includes.patch you need to add

diff -ru barry-0.15.orig/opensync-plugin/src/trace.h barry-0.15/opensync-plugin/src/trace.h
--- barry-0.15.orig/opensync-plugin/src/trace.h	2009-06-17 16:54:49.000000000 -0600
+++ barry-0.15/opensync-plugin/src/trace.h.new	2009-06-17 16:54:45.000000000 -0600
@@ -24,6 +24,7 @@
 
 #include <opensync/opensync.h>
 #include <stdarg.h>
+#include <stdio.h>
 
 class Trace
 {

Comment 2 Fedora Update System 2009-06-25 00:38:39 UTC
barry-0.15-0.6.20090623git.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/barry-0.15-0.6.20090623git.fc9

Comment 3 Fedora Update System 2009-06-25 00:41:51 UTC
barry-0.15-0.6.20090623git.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/barry-0.15-0.6.20090623git.fc10

Comment 4 Fedora Update System 2009-06-25 00:43:55 UTC
barry-0.15-0.6.20090623git.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/barry-0.15-0.6.20090623git.fc11

Comment 5 Fedora Update System 2009-06-27 02:39:52 UTC
barry-0.15-0.6.20090623git.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2009-06-27 02:52:18 UTC
barry-0.15-0.6.20090623git.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2009-06-27 02:55:34 UTC
barry-0.15-0.6.20090623git.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.


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