New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #11424 (closed defect: fixed)

Opened 7 years ago

Last modified 5 years ago

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

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

Change History

comment:1 Changed 7 years ago by pipping@…

  • Milestone set to Available Ports

comment:2 Changed 7 years ago by pipping@…

  • Milestone changed from Available Ports to Port Bugs

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

Changed 7 years ago by ehainry@…

patch for _flac_common.h and flac_plugin.c (both remove the dependency on seekable_stream)

comment:7 Changed 7 years ago by pipping@…

  • Status changed from new to closed
  • Resolution set to fixed

fixed in r23485.

comment:8 Changed 5 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.