Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 905213

Summary: media-gfx/opentoonz-1.6.0 fails to compile: CMake Error at Qt5LinguistToolsMacros.cmake:99 (add_custom_command): Attempt to add a custom rule to output
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: otakuto.gentoo
Status: CONFIRMED ---    
Severity: normal CC: mehw.is.me, proxy-maint, sam, yoric-k
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/opentoonz/opentoonz/issues/4831
https://github.com/opentoonz/opentoonz/issues/4840
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 905698    
Bug Blocks:    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-04-28 06:44:36 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-gfx/opentoonz-1.6.0 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-04-28 06:44:39 UTC
Created attachment 860870 [details]
build.log

build log and emerge --info
Comment 2 mehw 2023-05-04 12:10:38 UTC
The problem had been discussed upstream.

The bug#905698 patch seems to fix the issue:
https://bugs.gentoo.org/attachment.cgi?id=861122

Upstream suggestions to address the issue are reported below.


Build fails with Qt 5.15.9
https://github.com/opentoonz/opentoonz/issues/4831
Suggests to rename .ts files
from
toonz/sources/translations/chinese/toonz.ts
toonz/sources/translations/czech/toonz.ts
...
to
toonz/sources/translations/toonz_zh.ts
toonz/sources/translations/toonz_cz.ts
...


1.7 Release Candidate Build Appears Broken on Linux
https://github.com/opentoonz/opentoonz/issues/4840
Suggests to turn off translations:
cmake ../sources -DWITH_TRANSLATION=OFF