Bug 223897 - multimedia/aegisub fails to build
Summary: multimedia/aegisub fails to build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-27 02:44 UTC by dbslav
Modified: 2018-03-03 02:29 UTC (History)
2 users (show)

See Also:


Attachments
Patch to rectify unicode error in build (273 bytes, text/x-c++src)
2017-11-27 02:44 UTC, dbslav
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 freebsd_triage 2018-02-20 12:08:24 UTC
Feedback timeout? (fixed?).