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

Bug 585654

Summary: media-gfx/wings-2.0.4 - wings_text.erl:22: can't find include lib "wings/intl_tools/wings_chars.hrl"
Product: Gentoo Linux Reporter: Jeroen Roovers (RETIRED) <jer>
Component: Current packagesAssignee: Gentoo Graphics Project <graphics+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: media-gfx:wings-2.0.4:20160611-111806.log.xz

Description Jeroen Roovers (RETIRED) gentoo-dev 2016-06-12 06:40:43 UTC
Created attachment 437202 [details]
media-gfx:wings-2.0.4:20160611-111806.log.xz

Looks like a parallel make issue.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2016-06-12 06:48:26 UTC
erlc -Werror -I ../e3d +debug_info '-Dwings_version="2.0.4"' -pa ../intl_tools  -o../ebin wings_text.erl
erlc -Werror -I ../e3d +debug_info '-Dwings_version="2.0.4"' -pa ../intl_tools  -o../ebin wings_tweak.erl
erlc '-Dwings_branch=""' -Werror -I ../e3d +debug_info '-Dwings_version="2.0.4"' -pa ../intl_tools  -o../ebin wings_u.erl
erlc -Werror -I ../e3d +debug_info '-Dwings_version="2.0.4"' -pa ../intl_tools  -o../ebin wings_undo.erl
erlc -Werror -I ../e3d +debug_info '-Dwings_version="2.0.4"' -pa ../intl_tools  -o../ebin wings_util.erl
erlc -Werror -I ../e3d +debug_info '-Dwings_version="2.0.4"' -pa ../intl_tools  -o../ebin wings_va.erl
erlc -Werror -I ../e3d +debug_info '-Dwings_version="2.0.4"' -pa ../intl_tools  -o../ebin wings_vbo.erl
erlc -Werror -I ../e3d +debug_info '-Dwings_version="2.0.4"' -pa ../intl_tools  -o../ebin wings_vec.erl
wings_text.erl:22: can't find include lib "wings/intl_tools/wings_chars.hrl"
wings_text.erl:105: undefined macro 'WINGS_CHARS_JP'
wings_text.erl:31: function char_ranges/1 undefined
wings_text.erl:45: function char_ranges/1 undefined
Makefile:168: recipe for target '../ebin/wings_text.beam' failed
make[1]: *** [../ebin/wings_text.beam] Error 1
make[1]: *** Waiting for unfinished jobs....
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2016-06-12 08:39:29 UTC
It wasn't a parallel make issue, but instead it looks like it was trying to compile against an existing install. So I replaced the canonical /usr/@libdir@/erlang/wings paths with the relative paths in the build directory, and then it suddenly works.

Fixed without revision bump.