Gentoo Archives: gentoo-portage-dev

From: Amit Dor-Shifer <amitds@××××××.com>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] depgraph.display_problems directs unsatisfied dependencies messages to stdout
Date: Tue, 28 Jul 2009 06:55:17
Message-Id: 4A6EA0D1.6040002@oversi.com
1 Hello all
2 <SHELL>
3 amit0 ~ # emerge -p my_non_existing_pkg 2> /tmp/err 1> /tmp/out
4 amit0 ~ # echo $?
5 1
6 amit0 ~ # cat /tmp/err
7 amit0 ~ # cat /tmp/out
8
9 These are the packages that would be merged, in order:
10
11 Calculating dependencies ... done!
12
13 emerge: there are no ebuilds to satisfy "my_non_existing_pkg".
14
15 </SHELL>
16 Documentation states:
17 "All output goes to stderr, except for unsatisfied dependencies which go
18 to stdout for parsing by programs such as autounmask"
19
20 What's autounmask?
21
22 10x,
23
24 Amit

Replies