Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 466600 - www-client/uget : does not respect AR
Summary: www-client/uget : does not respect AR
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Alex Alexander (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2013-04-20 20:26 UTC by Agostino Sarubbo
Modified: 2013-05-03 04:08 UTC (History)
0 users

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


Attachments
uget-1.8.0.ebuild (uget-1.8.0.ebuild,1.92 KB, text/plain)
2013-04-23 21:07 UTC, Ted Tanberry
Details
uget-1.10.2.ebuild (uget-1.10.2.ebuild,2.03 KB, text/plain)
2013-04-23 21:07 UTC, Ted Tanberry
Details
uget-1.10.3.ebuild (uget-1.10.3.ebuild,2.03 KB, text/plain)
2013-04-23 21:07 UTC, Ted Tanberry
Details
uget-ar-hardcoded.patch (uget-ar-hardcoded.patch,641 bytes, patch)
2013-04-23 21:08 UTC, Ted Tanberry
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-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.

:)