Bug 169029

Summary: hpijs cannot be rebuilt
Product: [Fedora] Fedora Reporter: Roozbeh Pournader <roozbeh>
Component: hpijsAssignee: Tim Waugh <twaugh>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4Keywords: Patch
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-22 12:11:48 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
Patch to fix the problem none

Description Roozbeh Pournader 2005-09-22 11:47:10 UTC
Description of problem:
Neither the latest hpijs SRPM for FC4 nor the latest version in the CVS can be
rebuilt. The build stops, with a log ending in:

printerproxy.h:69: error: ISO C++ forbids declaration of 'Printer' with no type
printerproxy.h:69: error: 'Printer' declared as a 'virtual' field
printerproxy.h:69: error: expected ';' before '*' token
printerfactory.h:92: error: ISO C++ forbids declaration of 'Printer' with no type
printerfactory.h:92: error: 'Printer' declared as an 'inline' field
printerfactory.h:92: error: expected ';' before '*' token
printerfactory.h:178: error: expected initializer before '*' token
make[1]: *** [hpijs.o] Error 1


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

How reproducible:
Always

Comment 1 Roozbeh Pournader 2005-09-22 12:04:26 UTC
Created attachment 119129 [details]
Patch to fix the problem

Attached a patch to fix the problem.

Comment 2 Tim Waugh 2005-09-22 12:11:48 UTC
Thanks.  However, hpijs will in future be provided by the HPLIP package.  There
is a test update of this available for Fedora Core 4 even now.