Gentoo Archives: gentoo-user

From: Bruce Hill <daddy@×××××××××××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] do subslots improve user-experience?
Date: Tue, 05 Nov 2013 14:30:16
Message-Id: 20131105142959.GK22282@server
In Reply to: Re: [gentoo-user] do subslots improve user-experience? by Bruce Hill
1 On Tue, Nov 05, 2013 at 07:29:28AM -0600, Bruce Hill wrote:
2 > On Sat, Nov 02, 2013 at 01:04:52PM +0100, hasufell wrote:
3 > > -----BEGIN PGP SIGNED MESSAGE-----
4 > > Hash: SHA1
5 > >
6 > > Another round of questioning the users here.
7 > >
8 > > more specifically:
9 > > * how often do you experience useless rebuilds?
10 > > * do you really have a problem with running
11 > > revdep-rebuild/haskell-updater/perl-cleaner etc after every emerge?
12 > > * do you think it's worth the effort to add more stuff to the PM, so
13 > > that you don't have to run revdep-rebuild that often?
14 > > * do you trust the other methods like subslots or preserved-rebuild to
15 > > work reliably? (as in: do you still use revdep-rebuild?)
16 > >
17 > > If you want my opinion on subslots:
18 > > # grep EMERGE_DEFAULT_OPTS /etc/portage/make.conf
19 > > EMERGE_DEFAULT_OPTS="--ignore-built-slot-operator-deps=y"
20 >
21 > This kind of subslot mess is so irritating:
22 >
23 > workstation ~ # emerge -aDjtuv --changed-use @world && dispatch-conf && emerge -a --depclean && revdep-rebuild -i && clear && exit
24 >
25 > These are the packages that would be merged, in reverse order:
26 >
27 > Calculating dependencies... done!
28 > [ebuild rR ] dev-qt/qtgui-4.8.5-r1:4 USE="accessibility exceptions glib xv (-aqua) -cups -debug -egl -gtkstyle -mng -nas -nis -pch -qt3support -tiff -trace -xinerama" 0 kB
29 > [ebuild rR ] media-libs/libwebp-0.3.1 USE="jpeg png -experimental -gif -opengl -static-libs -swap-16bit-csp -tiff" ABI_X86="(64) (-32) (-x32)" 0 kB
30 > [ebuild rR ] app-emulation/wine-1.6 USE="X alsa cups fontconfig jpeg mono mp3 ncurses nls opengl perl png prelink run-exes ssl threads truetype udisks xml -capi -custom-cflags -dos -gecko -gphoto2 -gsm -gstreamer -lcms -ldap -odbc -openal -opencl -osmesa -oss -pulseaudio -samba -scanner (-selinux) {-test} -v4l -xcomposite -xinerama" ABI_X86="32 64 (-x32)" LINGUAS="en_US -ar -bg -ca -cs -da -de -el -en -eo -es -fa -fi -fr -he -hi -hr -hu -it -ja -ko -lt -ml -nb_NO -nl -or -pa -pl -pt_BR -pt_PT -rm -ro -ru -sk -sl -sr_RS@cyrillic -sr_RS@latin -sv -te -th -tr -uk -wa -zh_CN -zh_TW" 0 kB
31 > [ebuild U ~] www-client/firefox-25.0-r1 [24.0-r1] USE="alsa dbus jit libnotify startup-notification -bindist -custom-cflags -custom-optimization -debug -gstreamer -minimal (-pgo) -pulseaudio (-selinux) -system-cairo -system-icu -system-jpeg -system-sqlite -wifi" LINGUAS="-af -ak -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -csb -cy -da -de -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -ku -lg -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -nso -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -ta_LK -te -th -tr -uk -vi -zh_CN -zh_TW -zu" 124,545 kB
32 > [ebuild U ] app-portage/pfl-2.4-r1 [2.3] USE="network-cron" PYTHON_TARGETS="python2_7%* -python2_6%" 7 kB
33 > [ebuild U ~] mail-client/thunderbird-24.1.0-r1 [24.0-r1] USE="alsa dbus jit libnotify lightning startup-notification -bindist -crypt -custom-cflags -custom-optimization -debug -gstreamer -ldap -minimal -mozdom -pulseaudio (-selinux) -system-cairo -system-icu -system-jpeg -system-sqlite -wifi" LINGUAS="-ar -ast -be -bg -bn_BD -br -ca -cs -da -de -el -en_GB -es_AR -es_ES -et -eu -fi -fr -fy_NL -ga_IE -gd -gl -he -hr -hu -hy_AM -id -is -it -ja -ko -lt -nb_NO -nl -nn_NO -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -sq -sr -sv_SE -ta_LK -tr -uk -vi -zh_CN -zh_TW" 137,057 kB
34 > [ebuild rR ] net-print/cups-filters-1.0.36-r1 USE="jpeg png tiff -perl -static-libs -zeroconf" 0 kB
35 > [ebuild rR ] app-text/poppler-0.24.3:0/43 USE="cairo cjk cxx introspection jpeg jpeg2k lcms png tiff utils -curl -debug -doc -qt4" 0 kB
36 > [ebuild rR ] media-libs/openjpeg-1.5.1 USE="-doc -static-libs {-test}" 0 kB
37 > [ebuild rR ] x11-libs/cairo-1.12.14-r4 USE="X glib svg (-aqua) -debug -directfb -doc (-drm) (-gallium) (-gles2) -legacy-drivers -opengl -openvg (-qt4) -static-libs -valgrind -xcb -xlib-xcb" 0 kB
38 > [ebuild r U ~] media-libs/libpng-1.6.6:0/16 [1.5.15:0/0] USE="apng (-neon) -static-libs" ABI_X86="(64%*) -32% (-x32)" 860 kB
39 >
40 > Total: 11 packages (4 upgrades, 7 reinstalls), Size of downloads: 262,467 kB
41 >
42 > The following keyword changes are necessary to proceed:
43 > (see "package.accept_keywords" in the portage(5) man page for more details)
44 > # required by @__auto_slot_operator_replace_installed__ (argument)
45 > =media-libs/libpng-1.6.6 ~amd64
46 >
47 > Use --autounmask-write to write changes to config files (honoring
48 > CONFIG_PROTECT). Carefully examine the list of proposed changes,
49 > paying special attention to mask or keyword changes that may expose
50 > experimental or unstable packages.
51 >
52 > !!! The following installed packages are masked:
53 > - net-analyzer/mtr-0.82::gentoo (masked by: package.mask)
54 > For more information, see the MASKED PACKAGES section in the emerge
55 > man page or refer to the Gentoo Handbook.
56 >
57 > workstation ~ # grep libpng /usr/portage/net-print/cups-filters/cups-filters-1.0.36-r1.ebuild
58 > png? ( media-libs/libpng:0= )
59 > workstation ~ # grep libpng /usr/portage/app-text/poppler/poppler-0.24.3.ebuild
60 > png? ( media-libs/libpng:0= )
61 > workstation ~ # grep libpng /usr/portage/media-libs/openjpeg/openjpeg-1.5.1.ebuild
62 > media-libs/libpng:0=[static-libs?]
63 > workstation ~ # grep libpng /usr/portage/x11-libs/cairo/cairo-1.12.14-r4.ebuild
64 > media-libs/libpng:0=
65 > epatch "${FILESDIR}"/${PN}-1.12.14-libpng16.patch
66 > workstation ~ # eshowkw media-libs/libpng
67 > Keywords for media-libs/libpng:
68 > | | u |
69 > | a a p s | n |
70 > | l m h i m m p s p | u s | r
71 > | p d a p a 6 i p c 3 a x | s l | e
72 > | h 6 r p 6 8 p p 6 9 s r 8 | e o | p
73 > | a 4 m a 4 k s c 4 0 h c 6 | d t | o
74 > -------------+---------------------------+--------+-------
75 > 1.2.50 | ~ + + ~ + + ~ o + + + + + | o 1.2 | gentoo
76 > 1.2.50-r1 | ~ ~ ~ ~ ~ ~ ~ o ~ ~ ~ ~ ~ | o | gentoo
77 > -------------+---------------------------+--------+-------
78 > [I]1.5.15 | + + + + + ~ ~ + + + + + + | o 0 | gentoo
79 > -------------+---------------------------+--------+-------
80 > 1.5.17 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | o 1.5 | gentoo
81 > -------------+---------------------------+--------+-------
82 > 1.6.6 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | o 0/16 | gentoo
83 > workstation ~ # grep libpng /etc/portage/package.*
84 > /etc/portage/package.use:media-libs/libpng apng
85 >
86 >
87 >
88 > Just whomever decided to add the 16 subslot caused libpng ~amd64 to be pulled
89 > for those amd64 packages. Gentoo has a long history of libpng ~amd64 problems.
90 > What is the need for the stinking 0/16 subslot here? What was it not good
91 > enough to slot 1.6.6 as 1.6?
92 >
93 > And with this *new* subslotting, what is The Gentoo Way (TM) to keep stable
94 > libpng in this instance?
95
96 I didn't check that www-client/firefox-25.0-r1 was actually requiring
97 >=media-libs/libpng-1.5.17[apng]
98
99 Why did -t (tree) not show www-client/firefox-25.0-r1 pulling libpng?
100
101 --tree (-t)
102 Shows the dependency tree for the given target by indenting dependencies. This is only really useful in combination with --emptytree or --update and
103 --deep.
104
105 So I just masked www-client/firefox until stable libpng, that isn't itself
106 broken or introduced regressions, catches up. Gentoo's history with libpng
107 compels me to keep it arch. ;)
108
109 I can't understand the *need* for the new slot/subslot philosophy. In the
110 former methodology we would have:
111
112 workstation ~ # eshowkw media-libs/libpng
113 Keywords for media-libs/libpng:
114 | | u |
115 | a a p s | n |
116 | l m h i m m p s p | u s | r
117 | p d a p a 6 i p c 3 a x | s l | e
118 | h 6 r p 6 8 p p 6 9 s r 8 | e o | p
119 | a 4 m a 4 k s c 4 0 h c 6 | d t | o
120 -------------+---------------------------+--------+-------
121 1.2.50 | ~ + + ~ + + ~ o + + + + + | o 1.2 | gentoo
122 1.2.50-r1 | ~ ~ ~ ~ ~ ~ ~ o ~ ~ ~ ~ ~ | o | gentoo
123 -------------+---------------------------+--------+-------
124 [I]1.5.15 | + + + + + ~ ~ + + + + + + | o 1.5 | gentoo
125 1.5.17 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | o | gentoo
126 -------------+---------------------------+--------+-------
127 1.6.6 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | o 1.6 | gentoo
128
129 What was the problem with this?
130 --
131 Happy Penguin Computers >')
132 126 Fenco Drive ( \
133 Tupelo, MS 38801 ^^
134 support@×××××××××××××××××××××.com
135 662-269-2706 662-205-6424
136 http://happypenguincomputers.com/
137
138 A: Because it messes up the order in which people normally read text.
139 Q: Why is top-posting such a bad thing?
140 A: Top-posting.
141 Q: What is the most annoying thing in e-mail?
142
143 Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting

Replies

Subject Author
Re: [gentoo-user] do subslots improve user-experience? Neil Bothwick <neil@××××××××××.uk>