Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 462968 - app-office/dia2code does not respect AR
Summary: app-office/dia2code does not respect AR
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GNOME Office (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2013-03-24 13:14 UTC by Agostino Sarubbo
Modified: 2013-09-22 11:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dia2code-0.8.5-ar.patch (dia2code-0.8.5-ar.patch,778 bytes, patch)
2013-05-31 20:24 UTC, Michael Mair-Keimberger (iamnr3)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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
+