Bug 223897

Summary: multimedia/aegisub fails to build
Product: Ports & Packages Reporter: dbslav
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Some People CC: jbeich, w.schwarzenfeld
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch to rectify unicode error in build none

Description dbslav 2017-11-27 02:44:10 UTC
Created attachment 188304 [details]
Patch to rectify unicode error in build

Currently on 11.0-RELEASE-p9, but assuming it affects other releases as well. 



10 warnings generated.
/usr/ports/multimedia/aegisub/work/aegisub-3.2.2/src/video_controller.cpp:192:10: warning: enumeration value 'Custom' not handled in switch
      [-Wswitch]
        switch (type) {
                ^
11 warnings generated.
10 warnings generated.
gmake[2]: Leaving directory '/usr/ports/multimedia/aegisub/work/aegisub-3.2.2'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1


Attempting to re-run with MAKE_JOBS_UNSAFE=yes yields the following:
 
/usr/ports/multimedia/aegisub/work/aegisub-3.2.2/src/utils.cpp:269:17: error: variable has incomplete type 'icu::UnicodeString'
                UnicodeString ustr;


Appears that the issue is to a (possible?) upstream issue with utils.cpp. 

The included patch appears to rectify the issue, but may be a case of taking a sledgehammer to the problem.
Comment 1 Jan Beich freebsd_committer freebsd_triage 2017-12-11 22:53:10 UTC
Something is out of date on you end. The above error should have been fixed by ports r449740.
Comment 2 Walter Schwarzenfeld 2018-02-20 12:08:24 UTC
Feedback timeout? (fixed?).