[Bug-report] [Lunar Linux 0000239]: audacity fails to compile

bug-reports at lunar-linux.org bug-reports at lunar-linux.org
Tue Mar 4 19:09:54 GMT 2003


A BUGNOTE has been added to this bug.
=======================================================================
http://bugs.lunar-linux.org/view_bug_page.php?f_id=0000239
=======================================================================
Reporter:                   jmhodges
Handler:                    hardkrash
=======================================================================
Project:                    Lunar Linux
Bug ID:                     0000239
Category:                   moonbase
Reproducibility:            always
Severity:                   minor
Priority:                   none
Status:                     assigned
=======================================================================
Date Submitted:             2003-02-08 18:21 GMT
Last Modified:              2003-03-04 19:09 GMT
=======================================================================
Summary:                    audacity fails to compile
Description: 
Here's the error :::

tag_file.cpp: In function `size_t RenderV2ToFile(const ID3_TagImpl&,
   std::fstream&)':
tag_file.cpp:284: invalid conversion from `int' to `const char*'
tag_file.cpp:284:   initializing argument 1 of
`std::basic_ofstream<_CharT,
   _Traits>::basic_ofstream(const char*, std::_Ios_Openmode) [with _CharT
=
   char, _Traits = std::char_traits<char>]'
tag_file.cpp:299: invalid conversion from `uchar*' to `char*'
tag_file.cpp:299:   initializing argument 1 of
`std::basic_istream<_CharT,
   _Traits>& std::basic_istream<_CharT, _Traits>::read(_CharT*, int)
[with
   _CharT = char, _Traits = std::char_traits<char>]'
tag_file.cpp:301: invalid conversion from `uchar*' to `const char*'
tag_file.cpp:301:   initializing argument 1 of
`std::basic_ostream<_CharT,
   _Traits>& std::basic_ostream<_CharT, _Traits>::write(const _CharT*,
int)
   [with _CharT = char, _Traits = std::char_traits<char>]'
make[3]: *** [tag_file.lo] Error 1
make[3]: Leaving directory `/usr/src/audacity-src-1.0.0/id3lib/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/audacity-src-1.0.0/id3lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/audacity-src-1.0.0/id3lib'
make: *** [id3lib/src/.libs/libid3.a] Error 2
 ! Problem Detected !
Creating /var/log/lunar/compile/audacity-src-1.0.0.bz2
=======================================================================

-----------------------------------------------------------------------
 hardkrash - 2003-02-14 04:53 GMT 
-----------------------------------------------------------------------
this is because audacity includes id3lib source with it
and that code isnt compling

i am going to patch the configure script to use the lunar id3lib module
insted

-----------------------------------------------------------------------
 avitzour - 2003-02-24 03:56 GMT 
-----------------------------------------------------------------------
When trying to install without id3lib, another error occurs:


g++ -c -O3 -mcpu=athlon-tbird -march=athlon-tbird -funroll-loops -m3dnow
-Wno-deAPalette.cpp: In function `void InitAPaletteFrame(wxWindow*)':
APalette.cpp:76: conversion from `const char[17]' to `const wxString' is
   ambiguous
/usr/include/wx/string.h:303: candidates are: wxString::wxString(wchar_t,
   unsigned int = 1) <near match>
/usr/include/wx/string.h:281:                 wxString::wxString(int)
<near
   match>
APalette.cpp: In constructor `APalette::APalette(wxWindow*, int, const
   wxPoint&, const wxSize&)':
APalette.cpp:217: conversion from `const char[15]' to `const wxString' is
   ambiguous
/usr/include/wx/string.h:303: candidates are: wxString::wxString(wchar_t,
   unsigned int = 1) <near match>
/usr/include/wx/string.h:281:                 wxString::wxString(int)
<near
   match
APalette.cpp:218: conversion from `const char[14]' to `const wxString' is
   ambiguous
/usr/include/wx/string.h:303: candidates are: wxString::wxString(wchar_t,
   unsigned int = 1) <near match>
/usr/include/wx/string.h:281:                 wxString::wxString(int)
<near
   match>
APalette.cpp:219: conversion from `const char[16]' to `const wxString' is
   ambiguous
/usr/include/wx/string.h:303: candidates are: wxString::wxString(wchar_t,
   unsigned int = 1) <near match>
/usr/include/wx/string.h:281:                 wxString::wxString(int)
<near
   match>
APalette.cpp:220: conversion from `const char[10]' to `const wxString' is
   ambiguous
/usr/include/wx/string.h:303: candidates are: wxString::wxString(wchar_t,
   unsigned int = 1) <near match>
/usr/include/wx/string.h:281:                 wxString::wxString(int)
<near
   match>
APalette.cpp:222: conversion from `const char[5]' to `const wxString' is
   ambiguous
/usr/include/wx/string.h:303: candidates are: wxString::wxString(wchar_t,
   unsigned int = 1) <near match>
/usr/include/wx/string.h:281:                 wxString::wxString(int)
<near
   match>
APalette.cpp:223: conversion from `const char[5]' to `const wxString' is
   ambiguous
/usr/include/wx/string.h:303: candidates are: wxString::wxString(wchar_t,
   unsigned int = 1) <near match>
/usr/include/wx/string.h:281:                 wxString::wxString(int)
<near
   match>
APalette.cpp:224: conversion from `const char[7]' to `const wxString' is
   ambiguous
/usr/include/wx/string.h:303: candidates are: wxString::wxString(wchar_t,
   unsigned int = 1) <near match>
/usr/include/wx/string.h:281:                 wxString::wxString(int)
<near
   match>
APalette.cpp:225: conversion from `const char[20]' to `const wxString' is
   ambiguous
/usr/include/wx/string.h:303: candidates are: wxString::wxString(wchar_t,
   unsigned int = 1) <near match>
/usr/include/wx/string.h:281:                 wxString::wxString(int)
<near
   match>
APalette.cpp: In member function `void APalette::OnPlay()':
APalette.cpp:384: could not convert `"This version of Audacity requires
that
   all tracks\nmatch the project sample rate to play or export.\nTo change
the
   sample rate of a track, click on its title."' to `const wxString&'
/usr/include/wx/msgdlg.h:30: in passing argument 1 of `int
wxMessageBox(const
   wxString&, const wxString&, long int, wxWindow*, int, int)'
make: *** [obj/APalette.cpp.o] Error 1

-----------------------------------------------------------------------
 hardkrash - 2003-02-26 16:39 GMT 
-----------------------------------------------------------------------
this bug is caused by audacity not supporting unicode in wxGTK

i am working on getting this to compile correctly

i have locally bumped my version to 1.1.1-3

and i am hitting segfaults now

next week (first in march of 2003) i will have my devlopment machine back
from repair and hopefully i will get this bug nailed

-----------------------------------------------------------------------
 hardkrash - 2003-03-04 19:09 GMT 
-----------------------------------------------------------------------
AHHHHH endlich
the fix is in, stupid missing file
if it still segfaults make sure you have a ~/.Audacity file.

enjoy


More information about the Lunar-bugs mailing list