Bug 188925

Summary: up-imapproxy does not compile due to missing #include
Product: [Fedora] Fedora Reporter: Prarit Bhargava <prarit>
Component: up-imapproxyAssignee: Jeff Carlson <jeff>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: extras-qa
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: 2008-01-23 15:22:45 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: 163350, 185729    
Attachments:
Description Flags
Fix to add missing #include in up-imapproxy code none

Description Prarit Bhargava 2006-04-13 17:37:31 UTC
Description of problem:

up-imapproxy does not compile due to missing #include

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

How reproducible: 100%


Steps to Reproduce:
1. rpmbuild --rebuild source.rpm or rpmbuild -bb spec.file
  
Actual results:

Build fails with

src/imapcommon.c:377: error: 'MD5_DIGEST_LENGTH' undeclared (first use in this
function)
src/imapcommon.c:377: error: (Each undeclared identifier is reported only once
src/imapcommon.c:377: error: for each function it appears in.)
src/imapcommon.c:396: warning: pointer targets in passing argument 3 of
'EVP_DigestFinal' differ in signedness
src/imapcommon.c:658: warning: format '%d' expects type 'int', but argument 7
has type 'size_t'
src/imapcommon.c:377: warning: unused variable 'md5pw'
make: *** [src/imapcommon.o] Error 1
make: *** Waiting for unfinished jobs....
src/main.c: In function 'main':
src/main.c:605: warning: format '%d' expects type 'int', but argument 5 has type
'pthread_t'
src/main.c:630: warning: pointer targets in passing argument 3 of 'accept'
differ in signedness
src/main.c:659: warning: cast to pointer from integer of different size
src/main.c: In function 'SetBannerAndCapability':
src/main.c:957: warning: unused variable 'NumRef'
src/main.c: At top level:
src/main.c:160: warning: 'rcsId' defined but not used
src/main.c:161: warning: 'rcsSource' defined but not used
src/main.c:162: warning: 'rcsAuthor' defined but not used
error: Bad exit status from /var/tmp/rpm-tmp.3310 (%build)

Expected results:

Build should complete.

Additional info: Patch attached.

Comment 1 Prarit Bhargava 2006-04-13 17:37:31 UTC
Created attachment 127717 [details]
Fix to add missing #include in up-imapproxy code

Comment 2 Tim Jackson 2008-01-06 11:28:07 UTC
This bug seems to have been fixed for a long time and therefore I think it
should be closed.

Comment 3 Doug Chapman 2008-01-23 15:22:45 UTC
(In reply to comment #2)
> This bug seems to have been fixed for a long time and therefore I think it
> should be closed.

I agree, building cleanly for me now.  Closing it.