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

Bug 440274

Summary: sys-apps/module-init-tools does not respect AR
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=438332
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    

Description Agostino Sarubbo gentoo-dev 2012-10-30 13:18:19 UTC
ar cru libmodtools.a libmodtools_a-util.o libmodtools_a-logging.o libmodtools_a-index.o libmodtools_a-config_filter.o libmodtools_a-elfops.o
Comment 1 Julian Ospald 2012-10-30 15:05:16 UTC
CC'ing toolchain since there are different opinions on whether this is a valid bug
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2012-10-30 15:25:35 UTC
(In reply to comment #1)
> CC'ing toolchain since there are different opinions on whether this is a
> valid bug

Referring to bug 438332. Autotools doesn't itself respect AR/RANLIB, so this is is just lost fight already. If nothing else is misrespected than AR, then there should be no bug report -- but if there is others like CC misrespected at the same time... It doesn't hurt to make it respect CHOST for AR too, but is still pointless.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2012-10-30 17:37:34 UTC
Futhermore m-i-t is deadcode and replaced by sys-apps/kmod.
Comment 4 Agostino Sarubbo gentoo-dev 2012-10-30 18:03:27 UTC
(In reply to comment #2)
> Referring to bug 438332. Autotools doesn't itself respect AR/RANLIB, so this
> is is just lost fight already. If nothing else is misrespected than AR, then
> there should be no bug report -- but if there is others like CC misrespected
> at the same time... It doesn't hurt to make it respect CHOST for AR too, but
> is still pointless.

If Autotools is a crap, we are not forced to follow it.

The ebuild should respect the _SYSTEM_ AR, so the bug is valid.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2012-10-30 18:13:52 UTC
as said, m-i-t has been replaced by kmod and as explained in bug 438332 this is pointless
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2012-10-30 18:16:52 UTC
taking this back, later automake is using ARFLAGS, where as previous ones didn't...
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2012-10-30 18:17:19 UTC
but is WONTFIX still due to kmod
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-10-30 18:22:25 UTC
Guys if you re-open and close this bug again you'll be pissing me off as I get the same message copied at least three times, k?
Comment 9 SpanKY gentoo-dev 2012-11-11 20:30:58 UTC
should be all set now in the tree; thanks for the report!

Commit message: Use correct `ar`
http://sources.gentoo.org/sys-apps/module-init-tools/module-init-tools-3.16-r2.ebuild?r1=1.1&r2=1.2