Subject: pkg/37627: pkgsrc-2007Q3 libtunepimp doesn't build without mpeg4ip
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 12/27/2007 18:30:00
>Number:         37627
>Category:       pkg
>Synopsis:       pkgsrc-2007Q3 libtunepimp doesn't build without mpeg4ip
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 27 18:30:00 +0000 2007
>Originator:     Henry Bent
>Release:        4.99.17
NetBSD aelfric 4.99.17 NetBSD 4.99.17 (AELFRIC) #1: Thu Sep 13 13:11:45 EDT 2007  root@aelfric:/usr/obj/oldsrc/sys/arch/i386/compile/AELFRIC i386
I have audio/faac built without mpeg4ip support (explicit PKG_OPTIONS.faac+=-mpeg4ip in /etc/mk.conf).  I needed this in order to build another package, but I have since forgotten what it was.  I do have a separate audio/mpeg4ip installed.

Now, when trying to build audio/libtunepimp, I get this (as well as many, many other errors that appear to be caused by it):

 c++ -DHAVE_CONFIG_H -I. -I../.. -I../../include/tunepimp-0.5 -I../../libltdl -I/usr/pkgsrc/audio/libtunepimp/work/.buildlink/include -Wall -O2 -O3 -march=opteron -msse3 -MT mp4.lo -MD -MP -MF .deps/mp4.Tpo -c mp4.cpp  -fPIC -DPIC -o .libs/mp4.o
In file included from mp4.cpp:30:
/usr/pkgsrc/audio/libtunepimp/work/.buildlink/include/mp4.h:35:21: error: mpeg4ip.h: No such file or directory

libtunepimp doesn't seem to have any PKG_OPTIONS to set.
Build libtunepimp when faac and others have been built without mpeg4ip support.
I don't know, really.  At the very least I suppose libtunepimp should warn the user that this configuration isn't going to build.