Odd behavior trying to build Aegisub on desktop
by however from LinuxQuestions.org on (#5HYM1)
hi folks,
i am not sure the thread title is appropriate but this is what happened yesterday.
On my desktop, I tried to build aegisub witl sbopkg -i aegisub and chose the queue file option. All the deps build fine except for the actual aegisub package. Below i posted the last 20 lines of the build process before it stopped
Code:OK Successfully built LuaJIT
make[2]: Leaving directory '/tmp/SBo/aegisub-3.2.2/vendor/luajit/src'
make[1]: Leaving directory '/tmp/SBo/aegisub-3.2.2/vendor/luajit/src'
g++ -o /tmp/SBo/aegisub-3.2.2/automation/aegisub-lua -lz /tmp/SBo/aegisub-3.2.2/automation/tests/aegisub.o /tmp/SBo/aegisub-3.2.2/lib/libaegisub.a /tmp/SBo/aegisub-3.2.2/lib/libluabins.a /tmp/SBo/aegisub-3.2.2/vendor/luajit/src/libluajit.a -ldl -lm -L/usr/lib64 -pthread -lwx_gtk2u_gl-3.0 -lwx_gtk2u_stc-3.0 -lwx_gtk2u_xrc-3.0 -lwx_gtk2u_html-3.0 -lwx_gtk2u_qa-3.0 -lwx_gtk2u_adv-3.0 -lwx_gtk2u_core-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0 -lz -L/usr/lib64 -lboost_filesystem -lboost_locale -lboost_regex -lboost_system -lboost_thread -lboost_chrono -licuuc -licudata -licui18n -licuuc -licudata
/usr/bin/ld: /tmp/SBo/aegisub-3.2.2/automation/tests/aegisub.o: in function `(anonymous namespace)::check(lua_State*, int)':
/tmp/SBo/aegisub-3.2.2/automation/tests/aegisub.cpp:32: undefined reference to `agi::lua::get_string_or_default[abi:cxx11](lua_State*, int)'
/usr/bin/ld: /tmp/SBo/aegisub-3.2.2/automation/tests/aegisub.o: in function `main':
/tmp/SBo/aegisub-3.2.2/automation/tests/aegisub.cpp:50: undefined reference to `agi::dispatch::Init(std::function<void (std::function<void ()>)>)'
/usr/bin/ld: /tmp/SBo/aegisub-3.2.2/automation/tests/aegisub.cpp:51: undefined reference to `agi::log::LogSink::LogSink()'
/usr/bin/ld: /tmp/SBo/aegisub-3.2.2/automation/tests/aegisub.cpp:51: undefined reference to `agi::log::log'
/usr/bin/ld: /tmp/SBo/aegisub-3.2.2/automation/tests/aegisub.cpp:60: undefined reference to `agi::lua::preload_modules(lua_State*)'
/usr/bin/ld: /tmp/SBo/aegisub-3.2.2/automation/tests/aegisub.cpp:61: undefined reference to `agi::lua::Install(lua_State*, std::vector<boost::filesystem::path, std::allocator<boost::filesystem::path> > const&)'
/usr/bin/ld: /tmp/SBo/aegisub-3.2.2/automation/tests/aegisub.cpp:79: undefined reference to `agi::lua::add_stack_trace(lua_State*)'
/usr/bin/ld: /tmp/SBo/aegisub-3.2.2/automation/tests/aegisub.cpp:82: undefined reference to `agi::lua::LoadFile(lua_State*, boost::filesystem::path const&)'
collect2: error: ld returned 1 exit status
make: *** [Makefile.target:64: /tmp/SBo/aegisub-3.2.2/automation/aegisub-lua] Error 1Interestingly, i decided to try the same build on my laptop: it all worked, built and installed succesfully.
Both PCs have identical installation and I maintain both with regular and identical upgrades (maybe my laptop has less 3rd parties packages installed, simply because i use them more regularly on my desktop).
Can anyone throw any suggestions on why this happens and how to repair it?
Thanks


i am not sure the thread title is appropriate but this is what happened yesterday.
On my desktop, I tried to build aegisub witl sbopkg -i aegisub and chose the queue file option. All the deps build fine except for the actual aegisub package. Below i posted the last 20 lines of the build process before it stopped
Code:OK Successfully built LuaJIT
make[2]: Leaving directory '/tmp/SBo/aegisub-3.2.2/vendor/luajit/src'
make[1]: Leaving directory '/tmp/SBo/aegisub-3.2.2/vendor/luajit/src'
g++ -o /tmp/SBo/aegisub-3.2.2/automation/aegisub-lua -lz /tmp/SBo/aegisub-3.2.2/automation/tests/aegisub.o /tmp/SBo/aegisub-3.2.2/lib/libaegisub.a /tmp/SBo/aegisub-3.2.2/lib/libluabins.a /tmp/SBo/aegisub-3.2.2/vendor/luajit/src/libluajit.a -ldl -lm -L/usr/lib64 -pthread -lwx_gtk2u_gl-3.0 -lwx_gtk2u_stc-3.0 -lwx_gtk2u_xrc-3.0 -lwx_gtk2u_html-3.0 -lwx_gtk2u_qa-3.0 -lwx_gtk2u_adv-3.0 -lwx_gtk2u_core-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0 -lz -L/usr/lib64 -lboost_filesystem -lboost_locale -lboost_regex -lboost_system -lboost_thread -lboost_chrono -licuuc -licudata -licui18n -licuuc -licudata
/usr/bin/ld: /tmp/SBo/aegisub-3.2.2/automation/tests/aegisub.o: in function `(anonymous namespace)::check(lua_State*, int)':
/tmp/SBo/aegisub-3.2.2/automation/tests/aegisub.cpp:32: undefined reference to `agi::lua::get_string_or_default[abi:cxx11](lua_State*, int)'
/usr/bin/ld: /tmp/SBo/aegisub-3.2.2/automation/tests/aegisub.o: in function `main':
/tmp/SBo/aegisub-3.2.2/automation/tests/aegisub.cpp:50: undefined reference to `agi::dispatch::Init(std::function<void (std::function<void ()>)>)'
/usr/bin/ld: /tmp/SBo/aegisub-3.2.2/automation/tests/aegisub.cpp:51: undefined reference to `agi::log::LogSink::LogSink()'
/usr/bin/ld: /tmp/SBo/aegisub-3.2.2/automation/tests/aegisub.cpp:51: undefined reference to `agi::log::log'
/usr/bin/ld: /tmp/SBo/aegisub-3.2.2/automation/tests/aegisub.cpp:60: undefined reference to `agi::lua::preload_modules(lua_State*)'
/usr/bin/ld: /tmp/SBo/aegisub-3.2.2/automation/tests/aegisub.cpp:61: undefined reference to `agi::lua::Install(lua_State*, std::vector<boost::filesystem::path, std::allocator<boost::filesystem::path> > const&)'
/usr/bin/ld: /tmp/SBo/aegisub-3.2.2/automation/tests/aegisub.cpp:79: undefined reference to `agi::lua::add_stack_trace(lua_State*)'
/usr/bin/ld: /tmp/SBo/aegisub-3.2.2/automation/tests/aegisub.cpp:82: undefined reference to `agi::lua::LoadFile(lua_State*, boost::filesystem::path const&)'
collect2: error: ld returned 1 exit status
make: *** [Makefile.target:64: /tmp/SBo/aegisub-3.2.2/automation/aegisub-lua] Error 1Interestingly, i decided to try the same build on my laptop: it all worked, built and installed succesfully.
Both PCs have identical installation and I maintain both with regular and identical upgrades (maybe my laptop has less 3rd parties packages installed, simply because i use them more regularly on my desktop).
Can anyone throw any suggestions on why this happens and how to repair it?
Thanks