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

Bug 474528

Summary: x11-wm/fvwm : does not respect AR
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Jesús Guerrero Botella (RETIRED) <i92guboj>
Status: RESOLVED FIXED    
Severity: QA CC: desktop-wm+disabled, mmk
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: fvwm-2.6.5-ar.patch
patch against latest ebuild

Description Agostino Sarubbo gentoo-dev 2013-06-23 21:12:34 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 libfvwm.a gravity.o BidiJoin.o Flocale.o PictureUtils.o FScreen.o Graphics.o PictureGraphics.o Bindings.o FlocaleCharset.o Parse.o PictureImageLoader.o Colorset.o 
ColorUtils.o CombineChars.o Module.o FRender.o Ficonv.o envvar.o Fft.o gravity.o XResource.o FEvent.o FImage.o WinMagic.o Target.o Picture.o XError.o queue.o fvwmsignal.o 
System.o PictureBase.o Cursor.o Strings.o fvwmrect.o FRenderInit.o safemalloc.o FBidi.o wild.o Grab.o Event.o ClientMsg.o setpgrp.o FShape.o FGettext.o Rectangles.o 
timeout.o flist.o charmap.o wcontext.o modifiers.o fsm.o FTips.o fio.o fvwmlib.o
Comment 1 Michael Mair-Keimberger (iamnr3) 2013-07-21 16:49:30 UTC
Created attachment 353778 [details, diff]
fvwm-2.6.5-ar.patch

This patch fixes the buildsystem. Please have a look at it.
Comment 2 Michael Mair-Keimberger (iamnr3) 2013-07-21 16:51:45 UTC
Created attachment 353780 [details, diff]
patch against latest ebuild

Patch against the latest ebuild which incorporates my ar-patch.
Comment 3 Pacho Ramos gentoo-dev 2013-10-12 07:23:39 UTC
+  12 Oct 2013; Pacho Ramos <pacho@gentoo.org> +files/fvwm-2.6.5-ar.patch,
+  -fvwm-2.6.2.ebuild, -fvwm-2.6.3.ebuild, fvwm-2.6.5.ebuild:
+  Respect AR (#474528 by Michael Mair-Keimberger (iamnr3)), drop old
+