Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
apk-tools
apk-tools
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 61
    • Issues 61
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 15
    • Merge Requests 15
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • apk-toolsapk-tools
  • Issues
  • #7107

Closed
Open
Opened Apr 10, 2017 by Chris Giorgi@TemptorSent

APK prints warnings and errors to STDOUT not STDERR

Currently, apk prints warnings and errors to STDOUT rather than STDERR, which breaks scripts taking their input from the output of an apk command, especially when a non-fatal warning is printed. Shiz has provided a patch to correct the issue, attached.

(from redmine: issue id 7107, created on 2017-04-10, closed on 2017-05-22)

  • Changesets:
    • Revision 027df02d by Timo Teräs on 2017-04-26T06:34:32Z:
print: handle mixing stdout and stderr printing

Fixes regression from commit 5ba27c90 which caused stdio
buffering issues now that output is split to stderr/stdout.

See also commit 51737872 for some of the history.

Fixes #7107
  • Uploads:
    • 0001-print-print-warnings-and-errors-to-stderr.patch
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: alpine/apk-tools#7107