First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 233472
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Professional Audio Applications Maintainers <proaudio@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: tangram <tangram1@tlen.pl>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
audacity-1.3.5.ebuild.tar.bz2 Patch which changes existing include to the conditional include. patch tangram 2008-08-04 12:17 0000 7.31 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 233472 depends on: Show dependency tree
Bug 233472 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: 2008-07-31 11:26 0000
Audacity-1.3.5 fails to compile because missing include file.

Reproducible: Always

Steps to Reproduce:
1. USE flags "alsa flac id3tag ladspa mp3 twolame vamp"
2. emerge audacity
3.

Actual Results:  
i686-pc-linux-gnu-g++ -c -O2 -march=pentium2 -pipe
-I../lib-src/portmixer/include -I../lib-src/portaudio-v19/include -O2
-march=pentium2 -pipe       -I../lib-src/libresample/include
-I../lib-src/libnyquist/nyx      -I../lib-src/allegro -I../lib-src/FileDialog
-fno-strict-aliasing -I./include -I. -DLIBDIR=\"/usr/lib\" 
-I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread  
export/ExportFLAC.cpp -o export/ExportFLAC.o
export/ExportFLAC.cpp:32:30: error: vorbis/vorbisenc.h: Nie ma takiego pliku
ani katalogu ( means missing file)
make[1]: *** [export/ExportFLAC.o] Błąd 1
make[1]: *** Oczekiwanie na niezakończone zadania....


Portage 2.2_rc4 (default/linux/x86/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0,
2.6.25-gentoo-r7 i686)

------- Comment #1 From tangram 2008-08-04 12:17:06 0000 -------
Created an attachment (id=162185) [details]
Patch which changes existing include to the conditional include.

I prepared proposed patch which changes existing include to the conditional
include.

ExportFLAC_conditional_vorbisenc_h_include.patch
{
--- src/export/ExportFLAC.cpp   2008-08-01 01:07:09.000000000 +0200
+++ src/export/ExportFLAC.cpp   2008-08-01 23:48:01.000000000 +0200
@@ -29,7 +29,10 @@
 #include <wx/log.h>
 #include <wx/msgdlg.h>

+#ifdef USE_LIBVORBIS
 #include <vorbis/vorbisenc.h>
+#endif // USE_LIBVORBIS
+
 #include "FLAC++/encoder.h"

 #include "../float_cast.h"
}

Could someone( from gurus) check it please, it's my first patch.

------- Comment #2 From Alexis Ballier 2008-08-07 17:19:23 0000 -------
patch added, thanks a lot!
please don't forget to send it to the audacity developers so that it can be
fixed for good.

------- Comment #3 From tangram 2008-08-08 08:02:34 0000 -------
Audacity developers notified.
Hi Alexis, I sent email with short description and link to gentoo bugzilla to
audacity-devel@lists.sourceforge.net
Tangram

First Last Prev Next    No search results available      Search page      Enter new bug