Bug 491233

Summary: Unable to build TPS
Product: [Retired] Dogtag Certificate System Reporter: Chandrasekar Kannan <ckannan>
Component: ESCAssignee: Christina Fu <cfu>
Status: CLOSED ERRATA QA Contact: Chandrasekar Kannan <ckannan>
Severity: urgent Docs Contact:
Priority: urgent    
Version: unspecifiedCC: alee, benl, jmagne
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-22 23:33: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:
Bug Depends On:    
Bug Blocks: 443788    
Attachments:
Description Flags
add nss-pkcs11-devel dependency
none
add nss-pkcs11-devel dependency
none
add nss-pkcs11-devel dependency
none
alternative fix none

Description Chandrasekar Kannan 2009-03-19 23:04:34 UTC
I found the error in the build.log:

      [exec] /usr/include/features.h:154:1: warning: this is the  
location of the previous definition
      [exec] ../src/engine/RA.cpp:42:22: error: nssbaset.h: No such  
file or directory
      [exec] ../src/engine/RA.cpp:79: error: expected constructor,  
destructor, or type conversion before '*' token
      [exec] ../src/engine/RA.cpp: In static member function 'static  
void RA::AuditThis(RA_Log_Level, const char*, const char*,  
__va_list_tag*)':
      [exec] ../src/engine/RA.cpp:1626: error: 'NSSUTF8' was not  
declared in this scope
      [exec] ../src/engine/RA.cpp:1626: error: 'audit_msg' was not  
declared in this scope
      [exec] ../src/engine/RA.cpp:1637: error: 'sig_b64' was not  
declared in this scope
      [exec] ../src/engine/RA.cpp:1638: error: 'out_sig_b64' was not  
declared in this scope
      [exec] make[1]: *** [src/engine/libtps_la-RA.lo] Error 1
      [exec] make[1]: Leaving directory `/home/svrbld/20090319-012702/ 
release/pki/base/tps/dist/rpmpkg/BUILD/pki-tps-8.0.0/blds'
      [exec] make: *** [all] Error 2
      [exec] error: Bad exit status from /var/tmp/rpm-tmp.84973 (%build)
      [exec]     Bad exit status from /var/tmp/rpm-tmp.84973 (%build)

--Kevin
On Mar 19, 2009, at 3:17 PM, Kevin Wright wrote:


> On Mar 19, 2009, at 3:04 PM, Chandrasekar Kannan wrote:
>
>>
>> Kevin - Can you look at $SUBJECT ?
>>
>> Thanks.
>>
>> *******************
>> --Chandra
>>
>>
>>
>

Comment 1 Christina Fu 2009-03-19 23:48:59 UTC
Created attachment 335944 [details]
add nss-pkcs11-devel dependency

Comment 2 Christina Fu 2009-03-19 23:49:59 UTC
Created attachment 335945 [details]
add nss-pkcs11-devel dependency

Comment 3 Christina Fu 2009-03-19 23:51:02 UTC
Created attachment 335946 [details]
add nss-pkcs11-devel dependency


Matt please review the three spec files.  thanks.

Comment 4 Christina Fu 2009-03-20 00:54:50 UTC
Created attachment 335950 [details]
alternative fix

So, according to Matt, pkcs11 is not available on Solaris, and according to Relyea, nssbaset.h should not be included.

Therefore, I do a typedef in TPS to resolve the build dependency issue.

Comment 5 Christina Fu 2009-03-20 00:57:32 UTC
[cfu@localhost src]$ svn commit
Sending        src/engine/RA.cpp
Sending        src/include/engine/RA.h
Transmitting file data ..
Committed revision 311.

Comment 7 Christina Fu 2009-07-05 15:53:02 UTC
it builds.  verified.