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

Bug 462968

Summary: app-office/dia2code does not respect AR
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: New packagesAssignee: GNOME Office (OBSOLETE) <gnome-office+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: mmk
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: dia2code-0.8.5-ar.patch

Description Agostino Sarubbo gentoo-dev 2013-03-24 13:14:34 UTC
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
Comment 1 Michael Mair-Keimberger (iamnr3) 2013-05-31 20:24:18 UTC
Created attachment 349762 [details, diff]
dia2code-0.8.5-ar.patch

This patch fixes the ar issue. Please review.
Comment 2 Pacho Ramos gentoo-dev 2013-09-22 11:28:55 UTC
+  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
+