Bug 173485 - games-strategy/uqm-0.6.2 fails to build on amd64 because of missing uqm-wrapper
Bug#: 173485 Product:  Gentoo Linux Version: unspecified Platform: AMD64
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: seldomused@gmail.com
Component: Games
URL: 
Summary: games-strategy/uqm-0.6.2 fails to build on amd64 because of missing uqm-wrapper
Keywords:  
Status Whiteboard: 
Opened: 2007-04-05 16:50 0000
Description:   Opened: 2007-04-05 16:50 0000
Emerging the current games-strategy/uqm-0.6.2 tries to patch the uqm-wrapper
startup script as per bug 165101 but fails because the script is not there.
It seems uqm-wrapper has been removed and gets generated during build from
build/unix/uqm-wrapper.in
I'm going to attach a patch to fix this.
Not sure if it is amd64 only, it probably exists on other architectures.


Reproducible: Always

Steps to Reproduce:
ACCEPT_KEYWORDS="~amd64" emerge uqm
Actual Results:  
emerge log:
>>> Unpacking source...
>>> Unpacking uqm-0.6.2-source.tgz to /var/tmp/portage/games-strategy/uqm-0.6.2/work
sed: can't read uqm-wrapper: No such file or directory

!!! ERROR: games-strategy/uqm-0.6.2 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_unpack
ebuild.sh, line 751: Called qa_call 'src_unpack'
environment, line 3363: Called src_unpack
uqm-0.6.2.ebuild, line 74: Called die

!!! sed uqm-wrapper failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! A complete build log is located at
'/var/tmp/portage/games-strategy/uqm-0.6.2/temp/build.log'. 

Expected Results:  
Should build the app

------- Comment #1 From Alex Karshakevich 2007-04-05 16:53:58 0000 -------
Created an attachment (id=115515) [details]
My fix of the ebuild that seems to work

------- Comment #2 From Tristan Heaven 2007-04-05 18:18:20 0000 -------
Thanks for the patch.