#11424 closed defect (fixed)
BUG: mpd 0.12.1 build fails with flac 1.1.3
Reported by: | vinc17@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | High | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | vinc17@… | |
Port: |
Description
The mpd 0.12.1 build fails with the following error:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wmissing-prototypes -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -c -o mpd-_flac_common.o `test -f 'inputPlugins/_flac_common.c' || echo './'`inputPlugins/_flac_common.c In file included from inputPlugins/_flac_common.c:26: inputPlugins/_flac_common.h:33:42: error: FLAC/seekable_stream_decoder.h: No such file or directory [...]
This header file existed in flac 1.1.2, but no longer exists in flac 1.1.3.
Attachments (2)
Change History (10)
comment:1 Changed 18 years ago by pipping@…
Milestone: | → Available Ports |
---|
comment:2 Changed 18 years ago by pipping@…
Milestone: | Available Ports → Port Bugs |
---|
comment:3 Changed 18 years ago by ehainry@…
comment:4 Changed 18 years ago by ehainry@…
Oh, and I will try to update to 0.12.2 version as soon as possible.
too bad I was not in the cc-er for this bug, it could have stayed without me noticing for a long time.
comment:5 Changed 18 years ago by ehainry@…
I have updated the portfile for mpd to version 0.12.2 (see bug #11650). It unfortunately does not resolve the bug, and I have no time to investigate further, I am reporting the bug on musicpd's bugzilla and hope it will help.
comment:6 Changed 18 years ago by ehainry@…
This problem is solved in mpd's svn. I have made a patch that integrates the changes for flac to be supported in mpd. Here come a diff of the Portfile (diff against current 0.12.2_0 version) and a patchfile.
Changed 18 years ago by ehainry@…
Changed 18 years ago by ehainry@…
Attachment: | patch-flac added |
---|
patch for _flac_common.h and flac_plugin.c (both remove the dependency on seekable_stream)
comment:7 Changed 18 years ago by pipping@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
fixed in r23485.
I have modified the Portfile as a first patch so that by default mpd does not depend on flac. Portfile patch will follow.