Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277544 - Lack of -c switch to bzip2 when building packages
Summary: Lack of -c switch to bzip2 when building packages
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - External Interaction (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 210077 288499
  Show dependency tree
 
Reported: 2009-07-12 22:02 UTC by Michał Górny
Modified: 2009-10-11 00:56 UTC (History)
0 users

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


Attachments
Patch to add '-c' switch to bzip2 invocation (portage-2.2_rc33-tbz2-conswitch.diff,825 bytes, patch)
2009-07-12 22:02 UTC, Michał Górny
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2009-07-12 22:02:08 UTC
When building binary packages, portage pipes tar data through 'bzip2 -f' (without '-c' switch).

Although standard bzip2 doesn't seem to have problems with it (pbzip2 has), according to the manual, will of outputting compressed data to STDOUT should be marked by use of '-c' switch.

AFAICS similar bzip2 invocations in portage code use the '-c' switch.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2009-07-12 22:02:36 UTC
Created attachment 197678 [details, diff]
Patch to add '-c' switch to bzip2 invocation
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2009-07-12 22:04:52 UTC
I should add that I have used both '-c' and '-f' switches because portage does so in few places. I don't know why or what for…
Comment 3 Zac Medico gentoo-dev 2009-08-06 19:06:37 UTC
Thanks, this is in svn r13934.
Comment 4 Zac Medico gentoo-dev 2009-08-10 00:25:26 UTC
This is fixed in 2.2_rc37.
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-24 11:48:42 UTC
Not released in 2.1.*.
Comment 6 Zac Medico gentoo-dev 2009-10-11 00:56:18 UTC
This is fixed in 2.1.7.