Bug 468508 - /usr/include/sndfile.h:11:2: error: #endif without #if
Summary: /usr/include/sndfile.h:11:2: error: #endif without #if
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libsndfile
Version: 9
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Andreas Thienemann
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-10-25 12:39 UTC by Edward Sheldrake
Modified: 2008-11-07 02:53 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-11-07 02:53:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.