Bug 468508

Summary: /usr/include/sndfile.h:11:2: error: #endif without #if
Product: [Fedora] Fedora Reporter: Edward Sheldrake <ejsheldrake>
Component: libsndfileAssignee: Andreas Thienemann <andreas>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: andreas
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: 2008-11-07 02:53:20 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:

Description Edward Sheldrake 2008-10-25 12:39:48 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.17) Gecko/20080925 Fedora/1.1.12-1.fc9 SeaMonkey/1.1.12

This problem appeared with libsndfile-devel-1.0.17-5.fc9.i386 from updates-testing.

When compiling gst-plugins-bad:
In file included from gstsf.h:26
from gstsf.c:28:
/usr/include/sndfile.h:11:2: error: #endif without #if

Reproducible: Always

Steps to Reproduce:
1. Update to libsndfile-devel-1.0.17-5.fc9.i386 from updates-testing
2. Compile gst-plugins-bad
3.
Actual Results:  
gst-plugins-bad fails to compile due to the extra #endif in sndfile.h


Likely applies to other programs that use libsndfile.
Removing the second #endif from sndfile.h fixes the problem.

Comment 1 Andreas Thienemann 2008-10-25 12:50:03 UTC
Good catch Edward.

I accidentially introduced a spurious #endif in the wrapper for sndfile.h.

Updated packages are being built right now.

Please check 1.0.17-6.

regards,
 andreas

Comment 2 Fedora Update System 2008-10-25 13:06:02 UTC
libsndfile-1.0.17-6.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/libsndfile-1.0.17-6.fc9

Comment 3 Edward Sheldrake 2008-10-25 14:08:00 UTC
Yes, I can confirm it's fixed in libsndfile-1.0.17-6.fc9, gstreamer-plugins-bad rebuilt successfully.

Comment 4 Fedora Update System 2008-10-30 12:49:47 UTC
libsndfile-1.0.17-6.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update libsndfile'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-9210

Comment 5 Fedora Update System 2008-11-07 02:53:15 UTC
libsndfile-1.0.17-6.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.