Bug 728776

Summary: error: token "{" is not valid in preprocessor expressions
Product: [Fedora] Fedora Reporter: Robert Scheck <redhat-bugzilla>
Component: yajlAssignee: Daniel Berrangé <berrange>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: berrange, cassmodiah, jakub, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-30 12:32:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
build.log from mock as bzip2 compressed file none

Description Robert Scheck 2011-08-07 12:08:52 UTC
Description of problem:
Rebuild of i3-4.0.1-1 on Fedora 15 fails while it works on Fedora 16+ and I'm
unable to see another relevant difference than gcc in this case.

Version-Release number of selected component (if applicable):
i3-4.0.1-1.fc15
gcc-4.6.0-10.fc15

How reproducible:
Everytime, try to rebuild i3-4.0.1-1.fcX in mock for x86_64 for example.
  
Actual results:
error: token "{" is not valid in preprocessor expressions

Expected results:
Working rebuild like at Fedora 16+

Comment 1 Robert Scheck 2011-08-07 12:10:47 UTC
Created attachment 517042 [details]
build.log from mock as bzip2 compressed file

Comment 2 Jakub Jelinek 2011-08-18 15:55:21 UTC
rpm -qf /usr/include/yajl/yajl_version.h 
yajl-devel-1.0.11-1.fc15.x86_64
head /usr/include/yajl/yajl_version.h
#ifndef YAJL_VERSION_H_
#define YAJL_VERSION_H_

#include <yajl/yajl_common.h>

#define YAJL_MAJOR ${YAJL_MAJOR}
#define YAJL_MINOR ${YAJL_MINOR}
#define YAJL_MICRO ${YAJL_MICRO}

#define YAJL_VERSION ((YAJL_MAJOR * 10000) + (YAJL_MINOR * 100) + YAJL_MICRO)

Obviously a bug in /usr/include/yajl/yajl_version.h.

Comment 3 Daniel Berrangé 2012-01-30 12:32:34 UTC

*** This bug has been marked as a duplicate of bug 714659 ***