Bug 1572180

Summary: Implicit declaration warning due to typo in #ifdef
Product: [Fedora] Fedora Reporter: Mattias Ellert <mattias.ellert>
Component: neonAssignee: Joe Orton <jorton>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: dev, jorton
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: neon-0.30.2-6.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-25 12:19:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mattias Ellert 2018-04-26 10:59:10 UTC
Description of problem:

The buildlog

https://kojipkgs.fedoraproject.org//packages/neon/0.30.2/5.fc29/data/logs/x86_64/build.log

contains the warning

ne_socket.c:580:8: warning: implicit declaration of function 'writev'

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

neon-0.30.2-5.fc29 (and others)

How reproducible:

Always

Steps to Reproduce:
1. Build the package

Actual results:

Implicit declaration warning 

Expected results:

No implicit declaration warning 

Additional info:

The reason is a typo in an #ifdef, line 30 in neon-0.30.2/src/ne_socket.c says

#ifdef HAVE_SYS_UIO_h

when it should say

#ifdef HAVE_SYS_UIO_H

(i.e. the last H should be a capital H)

Comment 2 Joe Orton 2018-06-28 16:56:21 UTC
Package: neon-0.30.2-6.fc29
Build: https://koji.fedoraproject.org/koji/buildinfo?buildID=1099591

Comment 3 Jan Kurik 2018-08-14 11:19:42 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.

Comment 4 Mattias Ellert 2018-10-25 12:19:41 UTC
The build.log of the referenced build does not have a warning about implicit declaration of function 'writev'.

Closing.