Skip to content

Compile issue on Debian13 #869

Description

@esternin
$ git clone https://github.com/davidgiven/fluxengine.git
$ cd fluxengine
$ make
Environment changed --- regenerating
AB
loading build.py
loading build/c.py
...
package 'md4c' found
loading src/gui/drivetypes/build.py
loading tools/build.py
loading dep/alphanum/build.py
[194/1067] GITREPOSITORY dep/+patternlanguage_repo
From https://github.com/WerWolv/PatternLanguage
 * branch            f97999d4da8f64df0706227f8b5a6a861e5a95ff -> FETCH_HEAD
Previous HEAD position was 3305788 parser: Fix MSVC builds not supporting _ as placeholders yet
HEAD is now at f97999d lib: Fix compile errors
[455/1067] CXX src/gui2/+libimhex_core/dep/r/imhex/lib/libimhex/source/helpers/encoding_file.cpp
In file included from /usr/include/c++/14/bits/specfun.h:43,
                 from /usr/include/c++/14/cmath:3906,
                 from .obj/unix/dep/+libwolv_core_hdr/wolv/types/uintwide_t.h:27,
                 from .obj/unix/dep/+libwolv_core_hdr/wolv/types.hpp:11,
                 from .obj/unix/src/gui2/+libimhex_core_hdr/hex/helpers/types.hpp:9,
                 from .obj/unix/src/gui2/+libimhex_core_hdr/hex.hpp:3,
                 from .obj/unix/src/gui2/+libimhex_core_hdr/hex/helpers/encoding_file.hpp:3,
                 from dep/r/imhex/lib/libimhex/source/helpers/encoding_file.cpp:1:
In function ‘constexpr decltype (__comp((* __first1), (* __first2))) std::lexicographical_compare_three_way(_InputIter1, _InputIter1, _InputIter2, _InputIter2, _Comp) [with _InputIter1 = __gnu_cxx::__normal_iterator<const unsigned char*, vector<unsigned char> >; _InputIter2 = __gnu_cxx::__normal_iterator<const unsigned char*, vector<unsigned char> >; _Comp = __detail::_Synth3way]’,
    inlined from ‘constexpr std::__detail::__synth3way_t<_Iterator> std::operator<=>(const vector<_Tp, _Alloc>&, const vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = allocator<unsigned char>]’ at /usr/include/c++/14/bits/stl_vector.h:2071:52,
    inlined from ‘constexpr bool std::less<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = std::vector<unsigned char>]’ at /usr/include/c++/14/bits/stl_function.h:405:20,
    inlined from ‘std::pair<std::_Rb_tree_node_base*, std::_Rb_tree_node_base*> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_unique_pos(const key_type&) [with _Key = std::vector<unsigned char>; _Val = std::pair<const std::vector<unsigned char>, std::__cxx11::basic_string<char> >; _KeyOfValue = std::_Select1st<std::pair<const std::vector<unsigned char>, std::__cxx11::basic_string<char> > >; _Compare = std::less<std::vector<unsigned char> >; _Alloc = std::allocator<std::pair<const std::vector<unsigned char>, std::__cxx11::basic_string<char> > >]’ at /usr/include/c++/14/bits/stl_tree.h:2116:35,
    inlined from ‘std::pair<std::_Rb_tree_iterator<_Val>, bool> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_insert_unique(_Arg&&) [with _Arg = std::pair<const std::vector<unsigned char>, std::__cxx11::basic_string<char> >; _Key = std::vector<unsigned char>; _Val = std::pair<const std::vector<unsigned char>, std::__cxx11::basic_string<char> >; _KeyOfValue = std::_Select1st<std::pair<const std::vector<unsigned char>, std::__cxx11::basic_string<char> > >; _Compare = std::less<std::vector<unsigned char> >; _Alloc = std::allocator<std::pair<const std::vector<unsigned char>, std::__cxx11::basic_string<char> > >]’ at /usr/include/c++/14/bits/stl_tree.h:2169:28:
/usr/include/c++/14/bits/stl_algobase.h:1884:39: warning: ‘int __builtin_memcmp(const void*, const void*, long unsigned int)’ specified bound [9223372036854775808, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Wstringop-overread]
 1884 |                     = __builtin_memcmp(&*__first1, &*__first2, __blen) <=> 0;
      |                       ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[490/1067] CXX src/gui2/+libimhex_core/dep/r/imhex/lib/libimhex/source/ui/imgui_imhex_extensions.cpp
In file included from dep/r/imhex/lib/libimhex/source/ui/imgui_imhex_extensions.cpp:13:
.obj/unix/src/gui2/+imgui_hdr/stb_image.h: In function ‘int stbi__parse_png_file(stbi__png*, int, int)’:
.obj/unix/src/gui2/+imgui_hdr/stb_image.h:5166:56: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5166 |                   for (k = 0; k < s->img_n; ++k) tc[k] = (stbi_uc)(stbi__get16be(s) & 255) * stbi__depth_scale_table[z->depth]; // non 8-bit images will be larger
      |                                                  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.obj/unix/src/gui2/+imgui_hdr/stb_image.h:5082:25: note: at offset 3 into destination object ‘tc’ of size 3
 5082 |    stbi_uc has_trans=0, tc[3]={0};
      |                         ^~
[598/1067] ROMFS src/gui2/+fonts_romfs
[libromfs] Packing resource folder: dep/r/imhex/plugins/fonts/romfs
[664/1067] ROMFS src/gui2/+ui_romfs
[libromfs] Packing resource folder: dep/r/imhex/plugins/ui/romfs
[705/1067] ROMFS src/gui2/+builtin_romfs
[libromfs] Packing resource folder: dep/r/imhex/plugins/builtin/romfs
[710/1067] ROMFS src/gui2/+gui_romfs
[libromfs] Packing resource folder: src/gui2/imhex_overrides/rsrc
[libromfs] Bundling resource: splash_background.svg
[711/1067] ROMFS src/gui2/+fluxengine_romfs
[libromfs] Packing resource folder: src/gui2/rsrc
[libromfs] Bundling resource: lang/languages.json
[libromfs] Bundling resource: lang/en_US.json
[libromfs] Bundling resource: auto_extract/workspaces/default.hexws
[libromfs] Bundling resource: layout.hexlyt
[1067/1067] CXXLINK scripts/+mkdocindex
ninja: no work to do.
MKDOC README.md
$

Make completes, and the executable runs. fluxengine-gui opens a blank black screen, no buttons or windows within.n Throws this error:

[16:16:31] [ERROR] [fluxengine | Init Tasks]    Init task 'Loading plugins' threw an exception: Invalid romfs resource path! File 'fonts' : lang/languages.json
[16:16:31] [INFO]  [fluxengine | Init Tasks]    ImHex fully started in 3ms
[16:16:31] [WARN]  [fluxengine | Main]          All tasks finished, but some failed

Are these benign?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions