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

Bug 452092

Summary: sys-cluster/ploop does not respect AR/RANLIB
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: New packagesAssignee: Andreis Vinogradovs ( slepnoga ) <andreis.vinogradovs>
Status: RESOLVED FIXED    
Severity: normal CC: kir, pva, vserver-devs+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    

Description Agostino Sarubbo gentoo-dev 2013-01-14 19:54:09 UTC
You receive this bug because this package does not respect my system's AR/RANLIB ( x86_64-pc-linux-gnu-ar - /usr/bin/x86_64-pc-linux-gnu-ar | x86_64-pc-linux-gnu-ranlib - /usr/bin/x86_64-pc-linux-gnu-ranlib ) and calls directly ar - /usr/bin/ar | ranlib - /usr/bin/ranlib
The possible solutions to fix this issue are:
1)Fix the buildsystem, if you can
2)inherit toolchain-funcs and use tc-export AR RANLIB
3)inherit toolchain-funcs and use emake AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)"


ar rcs libploop.a uuid.o delta_read.o delta_sysfs.o balloon_util.o fsck_util.o ploop.o xml.o logger.o balloon.o lock.o fsutils.o gpt.o crc32.o merge.o util.o pcopy.o di.o 
cleanup.o symbols.o
ranlib libploop.a
Comment 1 Sergey Popov gentoo-dev 2013-01-15 11:44:58 UTC
+  15 Jan 2013; Sergey Popov <pinkbyte@gentoo.org> ploop-1.2.ebuild,
+  ploop-1.4.ebuild, ploop-1.5.ebuild:
+  Respect AR and RANLIB, wrt bug #452092. Thanks to Agostino Sarubbo for
+  discovering this issue