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

Bug 466600

Summary: www-client/uget : does not respect AR
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Alex Alexander (RETIRED) <wired>
Status: RESOLVED FIXED    
Severity: QA    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: uget-1.8.0.ebuild
uget-1.10.2.ebuild
uget-1.10.3.ebuild
uget-ar-hardcoded.patch

Description Agostino Sarubbo gentoo-dev 2013-04-20 20:26:07 UTC
You receive this bug because this package does not respect my system's AR (x86_64-pc-linux-gnu-ar) and calls directly /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)"


From the build log:

ar cru libuglib.a libuglib_a-UgOption.o libuglib_a-UgMarkup.o libuglib_a-UgIpc.o libuglib_a-UgRegistry.o libuglib_a-UgStdio.o libuglib_a-UgString.o libuglib_a-UgUri.o 
libuglib_a-UgUtils.o libuglib_a-UgHtml.o libuglib_a-UgXmlrpc.o libuglib_a-UgData.o libuglib_a-UgDataset.o libuglib_a-UgData-download.o libuglib_a-UgCategory.o 
libuglib_a-UgMessage.o libuglib_a-UgRunning.o libuglib_a-UgPlugin.o libuglib_a-UgPlugin-aria2.o libuglib_a-UgPlugin-curl.o libuglib_a-pwmd.o libuglib_a-UgApp-base.o
Comment 1 Ted Tanberry 2013-04-23 21:06:43 UTC
I've fixed the build system, now producing

x86_64-pc-linux-gnu-ar cru libuglib.a libuglib_a-UgOption.o libuglib_a-UgMarkup.o libuglib_a-UgIpc.o libuglib_a-UgRegistry.o libuglib_a-UgStdio.o libuglib_a-UgString.o libuglib_a-UgUri.o libuglib_a-UgUtils.o libuglib_a-UgHtml.o libuglib_a-UgXmlrpc.o libuglib_a-UgData.o libuglib_a-UgDataset.o libuglib_a-UgData-download.o libuglib_a-UgCategory.o libuglib_a-UgMessage.o libuglib_a-UgRunning.o libuglib_a-UgPlugin.o libuglib_a-UgPlugin-aria2.o libuglib_a-UgPlugin-curl.o libuglib_a-pwmd.o libuglib_a-UgApp-base.o 

instead. Furthermore, I've fixed some QA issues related to the .desktop file. Attached find the updated ebuilds and the patch for the build system
Comment 2 Ted Tanberry 2013-04-23 21:07:10 UTC
Created attachment 346408 [details]
uget-1.8.0.ebuild
Comment 3 Ted Tanberry 2013-04-23 21:07:29 UTC
Created attachment 346410 [details]
uget-1.10.2.ebuild
Comment 4 Ted Tanberry 2013-04-23 21:07:50 UTC
Created attachment 346412 [details]
uget-1.10.3.ebuild
Comment 5 Ted Tanberry 2013-04-23 21:08:11 UTC
Created attachment 346414 [details, diff]
uget-ar-hardcoded.patch
Comment 6 Alex Alexander (RETIRED) gentoo-dev 2013-05-03 04:08:56 UTC
fixed in 1.10.3-r1.

thanks for report Agostino,
thanks for patch Ted.

:)