Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#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)

mpd.diff (611 bytes) - added by ehainry@… 17 years ago.
patch-flac (23.7 KB) - added by ehainry@… 17 years ago.
patch for _flac_common.h and flac_plugin.c (both remove the dependency on seekable_stream)

Download all attachments as: .zip

Change History (10)

comment:1 Changed 17 years ago by pipping@…

Milestone: Available Ports

comment:2 Changed 17 years ago by pipping@…

Milestone: Available PortsPort Bugs

comment:3 Changed 17 years ago by ehainry@…

I have modified the Portfile as a first patch so that by default mpd does not depend on flac. Portfile patch will follow.

comment:4 Changed 17 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 17 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 17 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 17 years ago by ehainry@…

Attachment: mpd.diff added

Changed 17 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 17 years ago by pipping@…

Resolution: fixed
Status: newclosed

fixed in r23485.

comment:8 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.