Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 178674
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 178569
Assigned To: Gentoo Linux bug wranglers <bug-wranglers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: simon <s7mon@web.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 178674 depends on: Show dependency tree
Bug 178674 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-05-15 19:23 0000
The esd-patch for the makefile is applied even if esd is not  available and
explicitly unselected via useflag. This results in a failing compile with
following error:

[ebuild     U ] media-sound/musepack-tools-1.15v-r1 [1.15v] USE="-16bit -esd
-static" 0 kB 
...
 * Applying musepack-tools-1.15v-Makefile-esd.patch ...
  [ ok ]
...
mppdec.c:1048: warning: passing argument 1 of 'randomize' from incompatible
pointer type
i686-pc-linux-gnu-gcc         -O2 -pipe -march=athlon-xp -fomit-frame-pointer
-I/var/tmp/portage/media-sound/musepack-tools-1.15v-r1/work/sv7  -DCVD_FASTLOG
-DFAST_MATH    -DMPPDEC_VERSION=\"1.15v\" -DMPPENC_VERSION=\"1.15v\"
-I/usr/include -L/usr/lib -fno-strict-aliasing -fno-gcse -fno-finite-math-only
-fno-unsafe-math-optimizations cpu_feat.o decode.o http.o huffsv7.o huffsv46.o
id3tag.o mppdec.o profile.o requant.o synth.o synthasm.o synthtab.o toolsd.o
wave_out.o stderr.o _setargv.o -o mppdec        -lm -lesd
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lesd
collect2: ld returned 1 exit status

Reproducible: Always




--- musepack-tools-1.15v-r1.ebuild      2007-05-15 21:11:16.000000000 +0200
+++ musepack-tools-1.15v-r2.ebuild      2007-05-15 21:09:36.000000000 +0200
@@ -31,13 +31,13 @@

        epatch "${FILESDIR}/${P}-Makefile.patch"
        epatch "${FILESDIR}/${P}-gcc4.patch"
-       epatch "${FILESDIR}/${P}-Makefile-esd.patch"
-
+
        sed -i 's/#define USE_IRIX_AUDIO/#undef USE_IRIX_AUDIO/' mpp.h

        if ! use esd ; then
                sed -i -e 's/#define USE_ESD_AUDIO/#undef USE_ESD_AUDIO/' mpp.h
        else
+              epatch "${FILESDIR}/${P}-Makefile-esd.patch"
                sed -i -e 's/^LDADD        = -lm$/LDADD    = $(shell esd-config
--libs)/' \
                        Makefile
        fi

------- Comment #1 From simon 2007-05-15 19:25:58 0000 -------
Sorry forgot the most important information, but didn't see any field in the
submission page.
It's with media-sound/musepack-tools-1.15v-r1 current ~x86 version

------- Comment #2 From Jakub Moc (RETIRED) 2007-05-15 19:29:19 0000 -------

*** This bug has been marked as a duplicate of bug 178569 ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug