* [gentoo-user] [portage] rebuild dependencies of a package
@ 2013-07-25 14:28 András Csányi
2013-07-25 15:15 ` Mick
0 siblings, 1 reply; 2+ messages in thread
From: András Csányi @ 2013-07-25 14:28 UTC (permalink / raw
To: gentoo-user
Hi All,
I would like to ask some help regarding hos to use portage.
I have a few packages to rebuild on my system and sometimes I have to
- or I think I have to - rebuild dependencies of a package to fix a
compiling issue.
I do it something like this:
equery g nautilus
* dependency graph for gnome-base/nautilus-3.6.3_p0_p16
`-- gnome-base/nautilus-3.6.3_p0_p16 ~amd64
`-- dev-libs/glib-2.37.3_p1_p02 (>=dev-libs/glib-2.35.9)
`-- dev-libs/libdbusmenu-12.10.3_p0_p01 (dev-libs/libdbusmenu) ~amd64
`-- dev-libs/libunity-6.90.2_p0_p01 (dev-libs/libunity) ~amd64
`-- dev-libs/libzeitgeist-0.3.18 (dev-libs/libzeitgeist) ~amd64
`-- x11-libs/pango-1.34.1 (>=x11-libs/pango-1.28.3) ~amd64
`-- x11-libs/gtk+-3.8.2_p3_p02 (>=x11-libs/gtk+-3.5.12) [introspection?]
`-- dev-libs/libxml2-2.9.1-r1 (>=dev-libs/libxml2-2.7.8) ~amd64
`-- gnome-base/gnome-desktop-3.8.3 (>=gnome-base/gnome-desktop-3) ~amd64
`-- gnome-base/dconf-0.16.1 (gnome-base/dconf) ~amd64
`-- gnome-base/gsettings-desktop-schemas-3.8.0_p1_p01
(gnome-base/gsettings-desktop-schemas)
`-- x11-libs/libnotify-0.7.5-r1 (>=x11-libs/libnotify-0.7) amd64
`-- x11-libs/libX11-1.5.0-r1 (x11-libs/libX11) ~amd64
`-- x11-libs/libXext-1.3.2 (x11-libs/libXext) ~amd64
`-- x11-libs/libXrender-0.9.8 (x11-libs/libXrender) ~amd64
`-- media-libs/libexif-0.6.21-r1 (>=media-libs/libexif-0.6.20) ~amd64
`-- dev-libs/gobject-introspection-1.37.1
(>=dev-libs/gobject-introspection-0.6.4)
`-- app-misc/tracker-0.16.1 (>=app-misc/tracker-0.14) ~amd64
`-- media-libs/exempi-2.2.1 (>=media-libs/exempi-2.1.0) ~amd64
`-- dev-lang/perl-5.16.3 (>=dev-lang/perl-5) ~amd64
`-- dev-util/gdbus-codegen-2.36.3 (>=dev-util/gdbus-codegen-2.33) ~amd64
`-- dev-util/gtk-doc-am-1.19 (>=dev-util/gtk-doc-am-1.4) ~amd64
`-- dev-util/intltool-0.50.2-r1 (>=dev-util/intltool-0.40.1) ~amd64
`-- sys-devel/gettext-0.18.2 (sys-devel/gettext) amd64
`-- virtual/pkgconfig-0 (virtual/pkgconfig) amd64
`-- x11-proto/xproto-7.0.24 (x11-proto/xproto) ~amd64
`-- sys-devel/automake-1.12.6 (>=sys-devel/automake-1.12) amd64
`-- sys-devel/automake-1.13.4 (>=sys-devel/automake-1.13) ~amd64
`-- sys-devel/autoconf-2.69 (>=sys-devel/autoconf-2.68) amd64
`-- sys-devel/libtool-2.4.2 (sys-devel/libtool) ~amd64
`-- app-arch/xz-utils-5.0.5 (app-arch/xz-utils) ~amd64
`-- sys-apps/sed-4.2.2 (>=sys-apps/sed-4) ~amd64
`-- x11-base/xorg-server-1.13.3_p0_p06 (x11-base/xorg-server)
~amd64 [xvfb]
`-- x11-apps/xhost-1.0.6 (x11-apps/xhost) ~amd64
`-- x11-themes/gnome-icon-theme-3.8.2
(>=x11-themes/gnome-icon-theme-1.1.91) ~amd64
`-- x11-themes/gnome-icon-theme-symbolic-3.8.3
(x11-themes/gnome-icon-theme-symbolic) ~amd64
`-- gnome-extra/nautilus-tracker-tags-0.16.1
(>=gnome-extra/nautilus-tracker-tags-0.12) ~amd64
`-- gnome-extra/sushi-3.8.1 (>=gnome-extra/sushi-0.1.9) ~amd64
`-- gnome-extra/nautilus-sendto-3.8.0
(>=gnome-extra/nautilus-sendto-3.0.1) ~amd64
`-- gnome-base/gvfs-1.16.3 (>=gnome-base/gvfs-1.14) ~amd64 [gtk]
`-- app-admin/packagekit-base-0.7.4 (app-admin/packagekit-base) ~amd64
[ gnome-base/nautilus-3.6.3_p0_p16 stats: packages (41), max depth (1) ]
and I copy all of the package names and rebuild them.
Is there a easier way to rebuild dependencies of a package? I mean a
command or something?
I have searched in the google and I do not find answer for my question.
Thanks for any help in advance!
--
-- Csanyi Andras (Sayusi Ando) -- http://sayusi.hu --
http://facebook.com/andras.csanyi
-- ""Trust in God and keep your gunpowder dry!" - Cromwell
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-user] [portage] rebuild dependencies of a package
2013-07-25 14:28 [gentoo-user] [portage] rebuild dependencies of a package András Csányi
@ 2013-07-25 15:15 ` Mick
0 siblings, 0 replies; 2+ messages in thread
From: Mick @ 2013-07-25 15:15 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 1411 bytes --]
On Thursday 25 Jul 2013 15:28:23 András Csányi wrote:
> Hi All,
>
> I would like to ask some help regarding hos to use portage.
>
> I have a few packages to rebuild on my system and sometimes I have to
> - or I think I have to - rebuild dependencies of a package to fix a
> compiling issue.
>
> I do it something like this:
>
> equery g nautilus
>
> * dependency graph for gnome-base/nautilus-3.6.3_p0_p16
> `-- gnome-base/nautilus-3.6.3_p0_p16 ~amd64
> `-- dev-libs/glib-2.37.3_p1_p02 (>=dev-libs/glib-2.35.9)
[snip ...]
> and I copy all of the package names and rebuild them.
>
> Is there a easier way to rebuild dependencies of a package? I mean a
> command or something?
>
> I have searched in the google and I do not find answer for my question.
>
> Thanks for any help in advance!
In your /etc/make.conf add:
preserve-libs
in the FEATURES section. Then run:
emerge @preserved-rebuild
In addition, you can finish it off with:
revdep-rebuild -v -- --ask
This will rebuild any dependencies that have been affected by whatever other
package you happened to have installed/updated recently. When you finish
emerging look into your elog messages, because portage often warns you that
you need to run either of these two commands and it is advisable to do so
after you have run 'emerge --depclean --ask'.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-25 15:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-25 14:28 [gentoo-user] [portage] rebuild dependencies of a package András Csányi
2013-07-25 15:15 ` Mick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox