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

Bug 455296

Summary: dev-scheme/tinyscheme does not respect AR
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: New packagesAssignee: Scheme Project <scheme>
Status: RESOLVED FIXED    
Severity: normal CC: mmk
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: tinyscheme-1.40-r1.ebuild
tinyscheme-1.40-makefile.patch

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


ar crs libtinyscheme.a scheme.o dynload.o
Comment 1 Michael Mair-Keimberger (iamnr3) 2013-06-04 19:55:51 UTC
Created attachment 350128 [details]
tinyscheme-1.40-r1.ebuild

I've updated the ebuild and tried to fix all the remaining issues. please have a look at it, it should fix:
* respect ldflags (bug 334649)
* respect cc (bug 455294)
* respect ar (bug 455296)
* static-lib support (bug 455298)
* soname symlink (bug 455300)
* ebuild bump to eapi 5
Comment 2 Michael Mair-Keimberger (iamnr3) 2013-06-04 19:56:13 UTC
Created attachment 350130 [details, diff]
tinyscheme-1.40-makefile.patch

makefile patch
Comment 3 Panagiotis Christopoulos (RETIRED) gentoo-dev 2013-12-11 13:39:52 UTC
*tinyscheme-1.41 (11 Dec 2013)

  11 Dec 2013; Panagiotis Christopoulos <pchrist@gentoo.org>
  +tinyscheme-1.41.ebuild, +files/tinyscheme-1.41-makefile.patch:
  Bump to 1.41 contains various fixes for bug #334649, bug #455294, bug
  #455296, bug #455298, bug #455300 and bug #493694, thanks to Agostino Sarubbo
  (ago at gentoo dot org) for reporting the QA issues. Special thanks to
  Michael Mair-Keimberger (iamnr3) who made the patches in bug #455296. Prefix
  (darwin) keywords dropped cause logic inside the ebuild has changed and the
  ebuild needs rekeywording.

I'll close this when 1.41 is stabilized, removing old versions.