I have applied the patch mentioned above¹ to the aegisub packaging,
and fixed *this portion of* the FTBFS. Unfortunately, aegisub still
fails to build - From my build log:

    g++ -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 
-I/home/gwolf/vcs/build-area/aegisub-3.2.2+dfsg/src/ -I.. 
-I/home/gwolf/vcs/build-area/aegisub-3.2.2+dfsg/src/include 
-I/home/gwolf/vcs/build-area/aegisub-3.2.2+dfsg/libaegisub/include 
-I/home/gwolf/vcs/build-area/aegisub-3.2.2+dfsg/build -pthread   -g -O2 
-fdebug-prefix-map=/home/gwolf/vcs/build-area/aegisub-3.2.2+dfsg=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra 
-Wno-unused-parameter -fno-strict-aliasing -pipe -g -std=c++11 
-Wno-c++11-narrowing -Wno-unused-local-typedefs -O3 
-I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 
-D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -include 
/home/gwolf/vcs/build-area/aegisub-3.2.2+dfsg/src/agi_pre.h   -c -o 
/home/gwolf/vcs/build-area/aegisub-3.2.2+dfsg/src/utils.o 
/home/gwolf/vcs/build-area/aegisub-3.2.2+dfsg/src/utils.cpp
    /home/gwolf/vcs/build-area/aegisub-3.2.2+dfsg/src/utils.cpp: In function 
‘wxString LocalizedLanguageName(const wxString&)’:
    /home/gwolf/vcs/build-area/aegisub-3.2.2+dfsg/src/utils.cpp:269:17: error: 
aggregate ‘icu_60::UnicodeString ustr’ has incomplete type and cannot be defined
       UnicodeString ustr;
                     ^~~~
    At global scope:
    cc1plus: warning: unrecognized command line option ‘-Wno-c++11-narrowing’
    make[1]: *** [Makefile.target:100: 
/home/gwolf/vcs/build-area/aegisub-3.2.2+dfsg/src/utils.o] Error 1
    make[1]: Leaving directory '/home/gwolf/vcs/build-area/aegisub-3.2.2+dfsg'
    dh_auto_build: make -j1 returned exit code 2
    make: *** [debian/rules:8: binary] Error 2

Please do note I am not applying the smaller patch² suggested by Paul
as it would require pulling in the git master - which has advanced
quite a bit from this version, and far exceeds what I'd be comfortable
in doing in a NMU.

--
¹ 
https://build.opensuse.org/package/view_file/multimedia:apps/aegisub/luabins.patch?expand=1
² https://github.com/Aegisub/Aegisub/pull/48

Attachment: signature.asc
Description: PGP signature

Reply via email to