Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102050 - quickpkg doesn't work with FreeBSD awk
Summary: quickpkg doesn't work with FreeBSD awk
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-08-10 12:58 UTC by Stephen Bennett (RETIRED)
Modified: 2005-10-02 06:53 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Bennett (RETIRED) gentoo-dev 2005-08-10 12:58:02 UTC
As the summary says, quickpkg uses some non-portable gawk which breaks on
FreeBSD (ends up creating a broken tbz2 that can't be extracted). A simple
s/awk/gawk/g fixes it, and shouldn't affect linux platforms where the two are
the same anyway.
Comment 1 SpanKY gentoo-dev 2005-08-10 13:03:08 UTC
the awk looks pretty portable to me ... maybe BSD just sucks ;)

'portable awk' iirc is pretty basic ... no real features :P ... i think if we
use 'gawk' everywhere we should be ok ?
Comment 2 Stephen Bennett (RETIRED) gentoo-dev 2005-08-10 13:29:07 UTC
Yeah, using gawk everywhere is fine as long as it explicitly calls gawk. We
still need /usr/bin/awk to be fbsd awk since fbsd makefiles etc don't work with
gawk.

Apparently this affects macos as well, so CC-ing osx@.
Comment 3 SpanKY gentoo-dev 2005-08-10 15:02:42 UTC
fixed in head and stable
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-02 06:53:27 UTC
Fixed in 2.0.53_rc at least :)