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

Bug 446902

Summary: app-text/dvisvgm builds a useless static libpotrace
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: New packagesAssignee: TeX project <tex>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.launchpad.net/dvisvgm/+bug/1153182
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    

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