<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>208250</bug_id>
          
          <creation_ts>2008-01-30 23:23 0000</creation_ts>
          <short_desc>media-plugins/audacious-plugins-1.4.4 doesn&apos;t build FLAC support even with &quot;flac&quot; USE flag</short_desc>
          <delta_ts>2008-02-21 16:10:48 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>2007.0</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P3</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>laurent.bardin@gmail.com</reporter>
          <assigned_to>chainsaw@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>laurent.bardin@gmail.com</who>
            <bug_when>2008-01-30 23:23:11 0000</bug_when>
            <thetext>After upgrading to media-sound/audacious-1.4.5 and media-plugins/audacious-plugins-1.4.4 (both from the 1.3 tree), Audacious wouldn&apos;t play my FLAC files. The plugin option wouldn&apos;t even appear in the Preferences &gt; Modules &gt; Decoders window. Installing media-libs/flac-1.2.1-r1 manually and rebuilding media-plugins/audacious-plugins saved the day.

Reproducible: Always

Steps to Reproduce:
1. merge media-plugins/audacious-plugins with USE=&quot;flac&quot; and uninstalled media-libs/flac;
2. even though the configure line contains &quot;--enable-flac&quot;, media-libs/flac isn&apos;t pulled in. Build log shows &quot;checking for flac &gt;= 1.1.2... no&quot; and carries on;
3. launch audacious and try to play a flac file.

Actual Results:  
The flac file is not played.

Interesting build log sections:
&lt;snip&gt;
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-cdaudio-ng --enable-neon --disable-projectm --disable-projectm-1.0 --enable-aac --disable-adplug --enable-alsa --disable-arts --disable-chardet --enable-dbus --disable-esd --enable-flac --disable-jack --disable-gnomeshortcuts --disable-lirc --enable-mp3 --disable-modplug --disable-musepack --disable-mtp_up --enable-nls --disable-oss --disable-pulse --disable-paranormal --disable-sid --disable-sndfile --enable-sse2 --disable-timidity --disable-tta --enable-vorbis --disable-wavpack --enable-wma --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
&lt;snip&gt;
checking for flac &gt;= 1.1.2... no
&lt;snip&gt;
Input Plugins
  -------------
  ...
  Free Lossless Audio Codec (flacng):     no
  ...
&lt;snip&gt;

Expected Results:  
media-libs/flac should be pulled in and merged.

Manually emerging media-libs/flac before media-plugins/audacious-plugins did the trick.

&lt;snip&gt;
checking for flac &gt;= 1.1.2... yes
checking FLAC_CFLAGS... -I/usr/include/FLAC  
checking FLAC_LIBS... -lFLAC -lm 
&lt;snip&gt;
Input Plugins
  -------------
  ...
  Free Lossless Audio Codec (flacng):    yes
  ...
&lt;snip&gt;

The ebuild contains &quot;flac? ( &gt;=media-libs/libvorbis-1.0 )&quot;, while it should logically also use media-libs/flac. A change from the 1.3 tree, maybe?

Will post full build log if needed and asked for.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>laurent.bardin@gmail.com</who>
            <bug_when>2008-01-30 23:39:43 0000</bug_when>
            <thetext>A quick additional note: my &quot;flac&quot; USE flag was only activated for audacious-plugins, in /etc/portage/package.use.

The behavior should still be the same, unless the user also has the &quot;sndfile&quot; USE flag set, as media-libs/libsndfile will pull in media-libs/flac, enabling it for any ./configure that needs it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chainsaw@gentoo.org</who>
            <bug_when>2008-02-21 16:10:48 0000</bug_when>
            <thetext>+  21 Feb 2008; Tony Vroon &lt;chainsaw@gentoo.org&gt;
+  audacious-plugins-1.4.4.ebuild, audacious-plugins-1.4.5.ebuild:
+  Add missing libflac dependency, as pointed out by Laurent Bardin
+  &lt;laurent.bardin@gmail.com&gt; in bug #208250.

This is now in CVS, and will appear in the portage tree within 2 hours. Looks like I removed too much when I sorted &amp; cleaned the dependency list for 1.4; your bug report is appreciated :)

Thank you for your contribution to Gentoo Linux.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>