* Package: app-editors/wxhexeditor-0.24-r1 * Repository: gentoo * Maintainer: wxwidgets@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking wxHexEditor-v0.24-src.tar.xz to /var/tmp/portage/app-editors/wxhexeditor-0.24-r1/work >>> Source unpacked in /var/tmp/portage/app-editors/wxhexeditor-0.24-r1/work >>> Preparing source in /var/tmp/portage/app-editors/wxhexeditor-0.24-r1/work/wxHexEditor ... * * Requested wxWidgets: 3.0-gtk3 * Using wxWidgets: gtk3-unicode-3.0-gtk3 * * Applying wxhexeditor-0.24-syslibs.patch ... [ ok ] * Applying wxhexeditor-0.24-desktop.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-editors/wxhexeditor-0.24-r1/work/wxHexEditor ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-editors/wxhexeditor-0.24-r1/work/wxHexEditor ... make -j4 Makefile:58: warning: ignoring prerequisites on suffix rule definition c++ -c `wx-config --cxxflags` -MMD -fopenmp -Wall -fopenmp -pipe -march=native -fno-diagnostics-color -O2 -DNDEBUG src/HexEditorGui.cpp -o src/HexEditorGui.o c++ -c `wx-config --cxxflags` -MMD -fopenmp -Wall -fopenmp -pipe -march=native -fno-diagnostics-color -O2 -DNDEBUG src/FAL.cpp -o src/FAL.o c++ -c `wx-config --cxxflags` -MMD -fopenmp -Wall -fopenmp -pipe -march=native -fno-diagnostics-color -O2 -DNDEBUG src/HexDialogs.cpp -o src/HexDialogs.o c++ -c `wx-config --cxxflags` -MMD -fopenmp -Wall -fopenmp -pipe -march=native -fno-diagnostics-color -O2 -DNDEBUG src/HexPanels.cpp -o src/HexPanels.o In file included from /usr/include/mutils/mtypes.h:24, from /usr/include/mhash.h:8, from src/HexEditor.h:28, from src/HexDialogs.h:28, from src/HexDialogs.cpp:25: /usr/include/mutils/mutils.h:250:70: error: '_Bool' has not been declared 250 | rd32 *mutils_word32nswap(mutils_word32 *x, mutils_word32 n, mutils_boolean destructive); | ^~~~~~~~~~~~~~ /usr/include/mutils/mutils.h:253:1: error: '_Bool' does not name a type 253 | mutils_boolean mutils_thequals(mutils_word8 *text, mutils_word8 *hash, __const mutils_word32 len); | ^~~~~~~~~~~~~~ /usr/include/mutils/mhash.h:73:1: error: '_Bool' does not name a type 73 | mutils_boolean mhash(MHASH thread, const void *plaintext, mutils_word32 size); | ^~~~~~~~~~~~~~ /usr/include/mutils/mhash.h:91:1: error: '_Bool' does not name a type 91 | mutils_boolean mhash_hmac_deinit(MHASH thread, void *result); | ^~~~~~~~~~~~~~ /usr/include/mutils/mhash.h:95:1: error: '_Bool' does not name a type 95 | mutils_boolean mhash_save_state_mem(MHASH thread, void *mem, mutils_word32 *mem_size); | ^~~~~~~~~~~~~~ /usr/include/mutils/mhash.h:116:1: error: '_Bool' does not name a type 116 | mutils_boolean mhash_keygen_uses_salt(keygenid type); | ^~~~~~~~~~~~~~ /usr/include/mutils/mhash.h:117:1: error: '_Bool' does not name a type 117 | mutils_boolean mhash_keygen_uses_count(keygenid type); | ^~~~~~~~~~~~~~ /usr/include/mutils/mhash.h:118:1: error: '_Bool' does not name a type 118 | mutils_boolean mhash_keygen_uses_hash_algorithm(keygenid type); | ^~~~~~~~~~~~~~ In file included from /usr/include/mutils/mtypes.h:24, from /usr/include/mhash.h:8, from src/HexEditor.h:28, from src/HexEditorFrame.h:29, from src/HexPanels.cpp:24: /usr/include/mutils/mutils.h:250:70: error: '_Bool' has not been declared 250 | rd32 *mutils_word32nswap(mutils_word32 *x, mutils_word32 n, mutils_boolean destructive); | ^~~~~~~~~~~~~~ /usr/include/mutils/mutils.h:253:1: error: '_Bool' does not name a type 253 | mutils_boolean mutils_thequals(mutils_word8 *text, mutils_word8 *hash, __const mutils_word32 len); | ^~~~~~~~~~~~~~ /usr/include/mutils/mhash.h:73:1: error: '_Bool' does not name a type 73 | mutils_boolean mhash(MHASH thread, const void *plaintext, mutils_word32 size); | ^~~~~~~~~~~~~~ /usr/include/mutils/mhash.h:91:1: error: '_Bool' does not name a type 91 | mutils_boolean mhash_hmac_deinit(MHASH thread, void *result); | ^~~~~~~~~~~~~~ /usr/include/mutils/mhash.h:95:1: error: '_Bool' does not name a type 95 | mutils_boolean mhash_save_state_mem(MHASH thread, void *mem, mutils_word32 *mem_size); | ^~~~~~~~~~~~~~ /usr/include/mutils/mhash.h:116:1: error: '_Bool' does not name a type 116 | mutils_boolean mhash_keygen_uses_salt(keygenid type); | ^~~~~~~~~~~~~~ /usr/include/mutils/mhash.h:117:1: error: '_Bool' does not name a type 117 | mutils_boolean mhash_keygen_uses_count(keygenid type); | ^~~~~~~~~~~~~~ /usr/include/mutils/mhash.h:118:1: error: '_Bool' does not name a type 118 | mutils_boolean mhash_keygen_uses_hash_algorithm(keygenid type); | ^~~~~~~~~~~~~~ src/FAL.cpp: In member function 'bool FAL::Apply()': src/FAL.cpp:550:59: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 550 | while (wr < rd_size) { | ~~~^~~~~~~~~ src/FAL.cpp:556:56: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 556 | success*=true; | ~~~~~~~^~~~~~ src/FAL.cpp:562:56: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 562 | success*=Write(bfr, rd_size);//*= to make update success true or false | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/FAL.cpp:569:48: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 569 | success*=Write((DiffArray[i]->flag_commit ? DiffArray[i]->old_data : DiffArray[i]->new_data), DiffArray[i]->size); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/FAL.cpp: In member function 'wxFileOffset FAL::Length(int)': src/FAL.cpp:696:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 696 | for( unsigned i=0 ; i < PatchIndice; i++ ) | ~~^~~~~~~~~~~~~ src/HexDialogs.cpp: In function 'bool HexVerifyAndPrepare(wxString&, wxString, wxWindow*)': src/HexDialogs.cpp:71:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 71 | while( hexval.find(' ') != -1 ) | ~~~~~~~~~~~~~~~~~^~~~~ src/HexDialogs.cpp: In member function 'uint64_t FindDialog::FindBinaryForward(wxMemoryBuffer, uint64_t, uint64_t, unsigned int, wxProgressDialog*, wxString&, uint64_t&)': src/HexDialogs.cpp:799:24: warning: statement has no effect [-Wunused-value] 799 | buffer == NULL; | ^ src/HexDialogs.cpp:960:13: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 960 | if (! options & SEARCH_FINDALL) | ^~~~~~~~~ src/HexDialogs.cpp:782:14: warning: unused variable 'first_run' [-Wunused-variable] 782 | bool first_run=true; | ^~~~~~~~~ src/HexDialogs.cpp:806:18: warning: unused variable 'read_speed' [-Wunused-variable] 806 | unsigned read_speed=0,percentage=0; | ^~~~~~~~~~ src/HexDialogs.cpp: In member function 'uint64_t FindDialog::FindBinaryBackward(wxMemoryBuffer, uint64_t, uint64_t, unsigned int, wxProgressDialog*, wxString&, uint64_t&)': src/HexDialogs.cpp:1098:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1098 | if( ! progress_gauge->Update( percentage) ); // update progress and break on abort | ^~ src/HexDialogs.cpp:1099:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1099 | break; | ^~~~~ src/HexDialogs.cpp:1096:19: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1096 | if( progress_gauge != NULL) | ^ src/HexDialogs.cpp:990:14: warning: unused variable 'first_search' [-Wunused-variable] 990 | bool first_search=true; | ^~~~~~~~~~~~ src/HexDialogs.cpp:1010:18: warning: unused variable 'read_speed_offset' [-Wunused-variable] 1010 | uint64_t read_speed_offset=0,processfootprint=0; | ^~~~~~~~~~~~~~~~~ src/HexDialogs.cpp: In member function 'int FindDialog::SearchAtBuffer(char*, int, char*, int, unsigned int, std::vector*)': src/HexDialogs.cpp:24:16: warning: overflow in conversion from 'long long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 24 | #define NANINT 0xFFFFFFFFFFFFFFFFLL | ^~~~~~~~~~~~~~~~~~~~ src/HexDialogs.cpp:1628:16: note: in expansion of macro 'NANINT' 1628 | return NANINT; | ^~~~~~ src/HexDialogs.cpp: In member function 'virtual void ChecksumDialog::EventHandler(wxCommandEvent&)': src/HexDialogs.cpp:2688:25: warning: deleting object of polymorphic class type 'FAL' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2688 | delete F; | ^~~~~~~~ src/HexDialogs.cpp: In member function 'wxString ChecksumDialog::CalculateChecksum(FAL&, int)': src/HexDialogs.cpp:2773:33: error: 'mhash' was not declared in this scope; did you mean 'myhash'? 2773 | mhash( myhash[i], buffer, readed); | ^~~~~ | myhash src/HexDialogs.cpp: In member function 'virtual void DeviceBackupDialog::OnBackup(wxCommandEvent&)': src/HexDialogs.cpp:3233:17: error: 'mhash' was not declared in this scope; did you mean 'myhash'? 3233 | mhash( myhash, buff, rd); | ^~~~~ | myhash make: *** [Makefile:58: src/HexDialogs.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from src/HexEditorFrame.h:33, from src/HexPanels.cpp:24: src/../resources/wxhex.xpm:2:21: warning: 'wxhex_xpm' defined but not used [-Wunused-variable] 2 | static const char * wxhex_xpm[] = { | ^~~~~~~~~ make: *** [Makefile:58: src/HexPanels.o] Error 1 * ERROR: app-editors/wxhexeditor-0.24-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-editors/wxhexeditor-0.24-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-editors/wxhexeditor-0.24-r1::gentoo'`. * The complete build log is located at '/var/log/portage/app-editors:wxhexeditor-0.24-r1:20220210-071134.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-editors/wxhexeditor-0.24-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-editors/wxhexeditor-0.24-r1/temp/environment'. * Working directory: '/var/tmp/portage/app-editors/wxhexeditor-0.24-r1/work/wxHexEditor' * S: '/var/tmp/portage/app-editors/wxhexeditor-0.24-r1/work/wxHexEditor'