You receive this bug because this package does not respect my system's AR ( x86_64-pc-linux-gnu-ar - /usr/bin/x86_64-pc-linux-gnu-ar ) and calls directly ar - /usr/bin/ar The possible solutions to fix this issue are: 1)Fix the buildsystem, if you can 2)inherit toolchain-funcs and use tc-export AR 3)inherit toolchain-funcs and use emake AR="$(tc-getAR)" ar cru libdia2code.a decls.o includes.o generate_code_idl.o generate_code_php.o generate_code_php_five.o generate_code_shp.o generate_code_python.o generate_code_ada.o generate_code_sql.o scan_tree.o generate_code_c.o parse_diagram.o dia2code.o generate_code_java.o generate_code_cpp.o generate_code_csharp.o generate_code_ruby.o source_parser.o comment_helper.o main.o
Created attachment 349762 [details, diff] dia2code-0.8.5-ar.patch This patch fixes the ar issue. Please review.
+ 22 Sep 2013; Pacho Ramos <pacho@gentoo.org> +files/dia2code-0.8.5-ar.patch, + -dia2code-0.8.4.ebuild, dia2code-0.8.5.ebuild: + Respect AR, bug #462968 by ago and iamnr3, drop old +