Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 446902 - app-text/dvisvgm builds a useless static libpotrace
Summary: app-text/dvisvgm builds a useless static libpotrace
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: TeX project
URL: https://bugs.launchpad.net/dvisvgm/+b...
Whiteboard:
Keywords:
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2012-12-11 18:03 UTC by Agostino Sarubbo
Modified: 2013-03-10 10:13 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2012-12-11 18:03:38 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 libpotrace.a curve.o trace.o decompose.o potracelib.o
Comment 1 Alexis Ballier gentoo-dev 2013-02-21 19:21:23 UTC
different issue imho

it uses libpotrace from system but insists in building its own that will be thrown away...
Comment 2 Alexis Ballier gentoo-dev 2013-03-10 10:13:35 UTC
fixed in 1.2

$ cat files/dvisvgm-1.2-external_potrace.patch 
Do not build potracelib if system potrace is being used.
https://bugs.launchpad.net/dvisvgm/+bug/1153182
https://bugs.gentoo.org/show_bug.cgi?id=446902