Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132532 - games-misc/jugglemaster does not emerge with media-video/ffmpeg-0.4.9_p20051216
Summary: games-misc/jugglemaster does not emerge with media-video/ffmpeg-0.4.9_p20051216
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-07 02:06 UTC by Tupone Alfredo
Modified: 2009-07-05 15:41 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
jugglemaster-0.4-ffmpeg.patch (jugglemaster-0.4-ffmpeg.patch,329 bytes, patch)
2006-06-02 18:44 UTC, Tristan Heaven (RETIRED)
Details | Diff
bugg (bugg.h,347 bytes, patch)
2009-07-05 14:46 UTC, Nyanda
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tupone Alfredo gentoo-dev 2006-05-07 02:06:32 UTC
Here is some of the log that show the error
make[1]: Leaving directory `/var/tmp/portage/jugglemaster-0.4/work/jugglemaster-0.4/src/jmlib'
g++ -march=athlon -O3 -pipe -Wall -fsigned-char `wx-config --cppflags` -DHAVE_AVCODEC_H -I/usr/include/ffmpeg   -c -o advsite.o advsite.cpp
patt.cpp: In member function 'int PatternLoader::OpenFile(const char*, int)':
patt.cpp:74: error: ambiguous overload for 'operator+=' in 'targetfilename += "/.jugglemaster/"'
/usr/include/wx/string.h:563: note: candidates are: void wxString::operator+=(const wxString&) <near match>
/usr/include/wx/string.h:567: note:                 void wxString::operator+=(wxChar) <near match>
/usr/include/wx/string.h:573: note:                 void wxString::operator+=(const wxWCharBuffer&) <near match>
patt.cpp:77: error: ambiguous overload for 'operator=' in 'targetfilename = ""'
/usr/include/wx/string.h:278: note: candidates are: wxString& wxString::operator=(int) <near match>
/usr/include/wx/string.h:519: note:                 wxString& wxString::operator=(const wxString&) <near match>
/usr/include/wx/string.h:521: note:                 wxString& wxString::operator=(wxChar) <near match>
/usr/include/wx/string.h:526: note:                 wxString& wxString::operator=(const wxWCharBuffer&) <near match>
patt.cpp:80: error: ambiguous overload for 'operator+=' in 'targetfilename += filename'
/usr/include/wx/string.h:563: note: candidates are: void wxString::operator+=(const wxString&) <near match>
/usr/include/wx/string.h:567: note:                 void wxString::operator+=(wxChar) <near match>
/usr/include/wx/string.h:573: note:                 void wxString::operator+=(const wxWCharBuffer&) <near match>
patt.cpp:82: error: ambiguous overload for 'operator=' in 'targetfilename = filename'
/usr/include/wx/string.h:278: note: candidates are: wxString& wxString::operator=(int) <near match>
/usr/include/wx/string.h:519: note:                 wxString& wxString::operator=(const wxString&) <near match>
/usr/include/wx/string.h:521: note:                 wxString& wxString::operator=(wxChar) <near match>
/usr/include/wx/string.h:526: note:                 wxString& wxString::operator=(const wxWCharBuffer&) <near match>
patt.cpp:85: error: invalid cast from type 'wxString' to type 'const char*'
patt.cpp:86: error: invalid cast from type 'wxString' to type 'const char*'
patt.cpp:89: error: conversion from 'const char*' to 'const wxString' is ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int) <near match>
patt.cpp:90: error: invalid cast from type 'wxString' to type 'const char*'
patt.cpp:93: error: call of overloaded 'wxString(const char [33])' is ambiguous
/usr/include/wx/string.h:322: note: candidates are: wxString::wxString(const wxWCharBuffer&) <near match>
/usr/include/wx/string.h:306: note:                 wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx/string.h:291: note:                 wxString::wxString(const wxString&) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int) <near match>
patt.cpp:96: error: invalid conversion from 'const char*' to 'wxChar'
patt.cpp:96: error:   initializing argument 1 of 'wxString& wxString::Append(wxChar, size_t)'
patt.cpp:97: error: invalid cast from type 'wxString' to type 'const char*'
patt.cpp:103: error: conversion from 'const char [11]' to 'const wxString' is ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int) <near match>
patt.cpp:104: error: invalid conversion from 'const char*' to 'wxChar'
patt.cpp:104: error:   initializing argument 1 of 'int wxString::Find(wxChar, bool) const'
patt.cpp:105: error: invalid conversion from 'const char*' to 'wxChar'
patt.cpp:105: error:   initializing argument 1 of 'int wxString::Find(wxChar, bool) const'
patt.cpp:115: error: conversion from 'const char [9]' to 'const wxString' is ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int) <near match>
patt.cpp:127: error: conversion from 'const char [35]' to 'const wxString' is ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int) <near match>
patt.cpp:127: error: conversion from 'const char [6]' to 'const wxString' is ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int) <near match>
patt.cpp:130: error: invalid cast from type 'wxString' to type 'const char*'
patt.cpp:133: warning: control reaches end of non-void function
make: *** [patt.o] Error 1
make: *** Waiting for unfinished jobs....
choosestyle.h:30: error: conversion from 
Comment 1 Tupone Alfredo gentoo-dev 2006-05-07 02:06:32 UTC
Here is some of the log that show the error
make[1]: Leaving directory `/var/tmp/portage/jugglemaster-0.4/work/jugglemaster-0.4/src/jmlib'
g++ -march=athlon -O3 -pipe -Wall -fsigned-char `wx-config --cppflags` -DHAVE_AVCODEC_H -I/usr/include/ffmpeg   -c -o advsite.o advsite.cpp
patt.cpp: In member function 'int PatternLoader::OpenFile(const char*, int)':
patt.cpp:74: error: ambiguous overload for 'operator+=' in 'targetfilename += "/.jugglemaster/"'
/usr/include/wx/string.h:563: note: candidates are: void wxString::operator+=(const wxString&) <near match>
/usr/include/wx/string.h:567: note:                 void wxString::operator+=(wxChar) <near match>
/usr/include/wx/string.h:573: note:                 void wxString::operator+=(const wxWCharBuffer&) <near match>
patt.cpp:77: error: ambiguous overload for 'operator=' in 'targetfilename = ""'
/usr/include/wx/string.h:278: note: candidates are: wxString& wxString::operator=(int) <near match>
/usr/include/wx/string.h:519: note:                 wxString& wxString::operator=(const wxString&) <near match>
/usr/include/wx/string.h:521: note:                 wxString& wxString::operator=(wxChar) <near match>
/usr/include/wx/string.h:526: note:                 wxString& wxString::operator=(const wxWCharBuffer&) <near match>
patt.cpp:80: error: ambiguous overload for 'operator+=' in 'targetfilename += filename'
/usr/include/wx/string.h:563: note: candidates are: void wxString::operator+=(const wxString&) <near match>
/usr/include/wx/string.h:567: note:                 void wxString::operator+=(wxChar) <near match>
/usr/include/wx/string.h:573: note:                 void wxString::operator+=(const wxWCharBuffer&) <near match>
patt.cpp:82: error: ambiguous overload for 'operator=' in 'targetfilename = filename'
/usr/include/wx/string.h:278: note: candidates are: wxString& wxString::operator=(int) <near match>
/usr/include/wx/string.h:519: note:                 wxString& wxString::operator=(const wxString&) <near match>
/usr/include/wx/string.h:521: note:                 wxString& wxString::operator=(wxChar) <near match>
/usr/include/wx/string.h:526: note:                 wxString& wxString::operator=(const wxWCharBuffer&) <near match>
patt.cpp:85: error: invalid cast from type 'wxString' to type 'const char*'
patt.cpp:86: error: invalid cast from type 'wxString' to type 'const char*'
patt.cpp:89: error: conversion from 'const char*' to 'const wxString' is ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int) <near match>
patt.cpp:90: error: invalid cast from type 'wxString' to type 'const char*'
patt.cpp:93: error: call of overloaded 'wxString(const char [33])' is ambiguous
/usr/include/wx/string.h:322: note: candidates are: wxString::wxString(const wxWCharBuffer&) <near match>
/usr/include/wx/string.h:306: note:                 wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx/string.h:291: note:                 wxString::wxString(const wxString&) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int) <near match>
patt.cpp:96: error: invalid conversion from 'const char*' to 'wxChar'
patt.cpp:96: error:   initializing argument 1 of 'wxString& wxString::Append(wxChar, size_t)'
patt.cpp:97: error: invalid cast from type 'wxString' to type 'const char*'
patt.cpp:103: error: conversion from 'const char [11]' to 'const wxString' is ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int) <near match>
patt.cpp:104: error: invalid conversion from 'const char*' to 'wxChar'
patt.cpp:104: error:   initializing argument 1 of 'int wxString::Find(wxChar, bool) const'
patt.cpp:105: error: invalid conversion from 'const char*' to 'wxChar'
patt.cpp:105: error:   initializing argument 1 of 'int wxString::Find(wxChar, bool) const'
patt.cpp:115: error: conversion from 'const char [9]' to 'const wxString' is ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int) <near match>
patt.cpp:127: error: conversion from 'const char [35]' to 'const wxString' is ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int) <near match>
patt.cpp:127: error: conversion from 'const char [6]' to 'const wxString' is ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int) <near match>
patt.cpp:130: error: invalid cast from type 'wxString' to type 'const char*'
patt.cpp:133: warning: control reaches end of non-void function
make: *** [patt.o] Error 1
make: *** Waiting for unfinished jobs....
choosestyle.h:30: error: conversion from const char [7] to wxString is ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int) <near match>
choosestyle.h:30: error: conversion from const char [11] to wxString is ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int) <near match>
choosestyle.h:30: error: conversion from const char [9] to wxString is ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int) <near match>
choosestyle.h:30: error: conversion from const char [8] to wxString is ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx/string.h:284: note:                 wxString::wxString(int) <near match>
choosestyle.h:30: error: conversion from const char [7] to wxString is ambiguous
/usr/include/wx/string.h:306: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2006-05-15 12:21:48 UTC
Not a gcc-4.1 bug.  This is due to the app not being unicode aware, and using the unicode headers.  (atleast, that's what a member of wx upstream told me, and it does fail with gcc-3.4)
Comment 3 Tupone Alfredo gentoo-dev 2006-05-31 14:55:36 UTC
after recompiling wxGTK without unicode I get the following problem (with ffmpeg):

g++ -march=athlon -O3 -pipe -Wall -fsigned-char `wx-config --cppflags` -DHAVE_AVCODEC_H -I/usr/include/ffmpeg   -c -o print.o print.cpp
print.cpp: In member function 'int Print::printMPEG()':
print.cpp:562: error: 'struct AVCodecContext' has no member named 'frame_rate'
print.cpp:563: error: 'struct AVCodecContext' has no member named 'frame_rate_base'
Comment 4 Tristan Heaven (RETIRED) gentoo-dev 2006-06-02 18:44:53 UTC
Created attachment 88224 [details, diff]
jugglemaster-0.4-ffmpeg.patch

Try this
Comment 5 Tupone Alfredo gentoo-dev 2006-06-03 03:30:55 UTC
Fixed. Thanks for patch
Comment 6 Nyanda 2009-07-05 14:46:32 UTC
Created attachment 196775 [details, diff]
bugg
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2009-07-05 15:41:33 UTC
(In reply to comment #6)
> Created an attachment (id=196775) [edit]
> bugg
> 

Commenting here on ancient bug won't help at all.

If you have a problem with current ffmpeg and/or jugglemaster you need to open new bug.