| Summary: | Usage of utf8 for strings breaks compilation of third-party software | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Guillaume Rousse <guillomovitch> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | marja11 |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | Linux | ||
| Whiteboard: | MGA5TOO | ||
| Source RPM: | wxgtk-3.0.2-1.mga5 | CVE: | |
| Status comment: | |||
|
Marja Van Waes
2015-04-11 20:40:55 CEST
CC:
(none) =>
marja11 Hi, thanks for reporting this bug. Assigned to the package maintainer. (Please set the status to 'assigned' if you are working on it) Keywords:
(none) =>
Triaged It's already fixed in SVN [1] and a freeze push was requested [2] some time ago, but there wasn't any decision if we should push it or not. Even though I'm marked as a maintainer, I don't really maintain or know much about wxgtk, I was just the first one who pushed it to BS. Will assign this back to bug squad and assign wxgtk to 'nobody' in maintdb. [1] http://svnweb.mageia.org/packages?view=revision&revision=818725 [2] https://ml.mageia.org/l/arc/dev/2015-03/msg00498.html Keywords:
Triaged =>
(none)
Jani Välimaa
2015-04-12 11:01:48 CEST
Assignee:
jani.valimaa =>
bugsquad
Samuel Verschelde
2015-06-06 01:30:18 CEST
Whiteboard:
(none) =>
MGA5TOO Fixed in cauldron, closing. Status:
NEW =>
RESOLVED |
Usage of --enable-utf8 build option breaks compilation of third-party software, such as VeraCrypt (and probably others, such as TrueCrypt): Compiling TextUserInterface.cpp TextUserInterface.cpp: In member function 'virtual VeraCrypt::SharedPtr<VeraCrypt::VolumePassword> VeraCrypt::TextUserInterface::AskPassword(const wxString&, bool) const': TextUserInterface.cpp:119:49: error: invalid const_cast from type 'const wxScopedWCharBuffer {aka const wxScopedCharTypeBuffer<wchar_t>}' to type 'wchar_t*' const_cast <wchar_t *=""> (passwordStr.wc_str())[i] = L'X'; According to upstream, this breaks behaviour documented in official API: http://sourceforge.net/p/veracrypt/tickets/34/ This option is not used in fedora or debian build of this package. Reproducible: Steps to Reproduce: