Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 329935 - net-wireless/wimax-1.5 fails to build on x86 with "Sed failed" message
Summary: net-wireless/wimax-1.5 fails to build on x86 with "Sed failed" message
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Alexey Shvetsov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-26 15:30 UTC by Simeon Maryasin
Modified: 2010-07-26 22:14 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
quick fix (wimax.patch,518 bytes, patch)
2010-07-26 15:31 UTC, Simeon Maryasin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simeon Maryasin 2010-07-26 15:30:48 UTC
From ebuild:
  use amd64 && sed -i [...] || die "Sed failed"

This always causes failure with "Sed failed" message if USE="-amd64".
Comment 1 Simeon Maryasin 2010-07-26 15:31:35 UTC
Created attachment 240207 [details, diff]
quick fix
Comment 2 Wormo (RETIRED) gentoo-dev 2010-07-26 16:57:12 UTC
Thanks for the report. 

I don't understand your proposed fix though -- did you change anything aside from converting the shortcut '&&' into the longer 'if-then' syntax?
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2010-07-26 20:52:46 UTC
Please don't do that.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2010-07-26 20:57:53 UTC
The patch is valid:

jeroen@astrid ~ $ cat usefooordie.sh 
#!/bin/bash

false && echo yesitstrue || echo noitswrong
jeroen@astrid ~ $ ./usefooordie.sh 
noitswrong

The die() is always executed when `use amd64' returns false.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2010-07-26 21:06:35 UTC
(In reply to comment #2)
> I don't understand your proposed fix though -- did you change anything aside
> from converting the shortcut '&&' into the longer 'if-then' syntax?

Since you asked. :)
Comment 6 Alexey Shvetsov archtester gentoo-dev 2010-07-26 22:14:35 UTC
Its fixed, Now wimax wimax-tools and libeap always builds as 32bit apps