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

Bug 466690

Summary: app-backup/bacula : does not respect AR
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Thomas Beierlein <tomjbe>
Status: RESOLVED INVALID    
Severity: QA    
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-04-21 15:36:20 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:

checking for ar... /usr/bin/ar
Comment 1 Thomas Beierlein gentoo-dev 2013-04-22 16:49:58 UTC
(In reply to comment #0)
> 
> From the build log:
> 
> checking for ar... /usr/bin/ar

That seems to be a false positive. 'comnfigure' checks for ar but it gets never used during the build process. I will look into it anyway...
Comment 2 Agostino Sarubbo gentoo-dev 2013-04-22 16:55:26 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > 
> > From the build log:
> > 
> > checking for ar... /usr/bin/ar
> 
> That seems to be a false positive.

No, it finds A and uses B
Comment 3 Agostino Sarubbo gentoo-dev 2013-04-22 17:11:27 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > (In reply to comment #0)
> > > 
> > > From the build log:
> > > 
> > > checking for ar... /usr/bin/ar
> > 
> > That seems to be a false positive.
> 
> No, it finds A and uses B

My bad. I though it find /usr/bin/ar and uses x86_64-pc-linux-gnu-ar. So probably it is invalid but is a good idea remove unuseful check from the configure and send it upstream
Comment 4 Thomas Beierlein gentoo-dev 2013-04-22 17:18:15 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > (In reply to comment #0)
> > > 
> > > From the build log:
> > > 
> > > checking for ar... /usr/bin/ar
> > 
> > That seems to be a false positive.
> 
> No, it finds A and uses B

Sorry, if I made myself not clear. What I wanted to say was: "/usr/bin/ar is never used during the build process!" 

Additionally, all Makefiles contain a definition of AR (due to autotools), but AR is nowhere referenced.(In reply to comment #3)
> (In reply to comment #2)
> > (In reply to comment #1)
> > > (In reply to comment #0)
> > > > 
> > > > From the build log:
> > > > 
> > > > checking for ar... /usr/bin/ar
> > > 
> > > That seems to be a false positive.
> > 
> > No, it finds A and uses B
> 
> My bad. I though it find /usr/bin/ar and uses x86_64-pc-linux-gnu-ar. So
> probably it is invalid but is a good idea remove unuseful check from the
> configure and send it upstream

Right. It uses no version of ar at all. It only checks for it.

I will try to drop the test completely and talk with upstream.
Comment 5 Agostino Sarubbo gentoo-dev 2013-04-22 17:31:01 UTC
(In reply to comment #4)
> I will try to drop the test completely and talk with upstream.

I think is enough talk only with upstream.
Comment 6 Thomas Beierlein gentoo-dev 2018-01-05 11:26:04 UTC
Close stale bug.