On Sun, 13 Apr 2014 22:00:10 +0100
Peter Humphrey <pe...@prh.myzen.co.uk> wrote:

> How is it possible for portage to emerge packages differently when
> it's installing from packages?

The difference is mostly accountable to build-time dependencies;
without binpkg they need to be pulled in for the build, with binpkg
there is no build thus those build-time dependencies aren't needed.

The rest (only a small few) are accountable to the recorded
dependencies in the binpkg being different from the dependencies of
the ebuilds in the Portage tree; as dynamic dependencies* don't work 
entirely well with binpkgs and thus there is this small difference.

 * These propagate ebuild dependency changes to /var/db/pkg/.

Here is a list of those that aren't installed along the binpkgs:

 $ diff -u list listk | sort -k4 | pcregrep -Mv '^\+\N*\n-' | grep '^-\['
-[ebuild   R    ] app-arch/libarchive-3.1.2-r1:0/13  USE="acl bzip2 e2fsprogs 
iconv lzma zlib -expat -lzo -nettle -static-libs -xattr" 4,422 kB
-[ebuild   R    ] app-arch/unzip-6.0-r3  USE="bzip2 unicode -natspec" 1,345 kB
-[ebuild   R    ] app-text/build-docbook-catalog-1.19.1  5 kB
-[ebuild   R    ] app-text/docbook-xml-dtd-4.1.2-r6:4.1.2  74 kB
-[ebuild   R    ] app-text/docbook-xml-dtd-4.2-r2:4.2  77 kB
-[ebuild   R    ] app-text/docbook-xml-dtd-4.4-r2:4.4  94 kB
-[ebuild   R    ] app-text/docbook-xsl-stylesheets-1.78.0  USE="-ruby" 4,894 kB
-[ebuild   R    ] app-text/docbook2X-0.8.8-r2  USE="{-test}" 707 kB
-[ebuild   R    ] app-text/openjade-1.3.2-r6  USE="-static-libs" 874 kB
-[ebuild   R    ] app-text/opensp-1.5.2-r3  USE="nls -doc -static-libs {-test}" 
1,486 kB
-[ebuild   R    ] app-text/po4a-0.42  USE="{-test}" 1,957 kB
-[ebuild   R    ] app-text/sgml-common-0.6.3-r5  126 kB
-[ebuild   R    ] dev-lang/nasm-2.10.07  USE="-doc" 665 kB
-[ebuild   R    ] dev-libs/libgcrypt-1.5.3:0/11  USE="-static-libs" 1,474 kB
-[ebuild   R    ] dev-libs/libgpg-error-1.12  USE="nls -common-lisp 
-static-libs" 478 kB
-[ebuild   R    ] dev-libs/libxslt-1.1.28-r1  USE="crypt -debug -python 
-static-libs" PYTHON_TARGETS="python2_7 -python2_6" 3,356 kB
-[ebuild   R    ] dev-perl/Locale-gettext-1.50.0  8 kB
-[ebuild   R    ] dev-perl/SGMLSpm-1.03-r7  92 kB
-[ebuild   R    ] dev-perl/Text-CharWidth-0.40.0  9 kB
-[ebuild   R    ] dev-perl/Text-WrapI18N-0.60.0  4 kB
-[ebuild   R    ] dev-perl/XML-LibXML-2.1.400  USE="{-test}" 442 kB
-[ebuild   R    ] dev-perl/XML-NamespaceSupport-1.110.0  51 kB
-[ebuild   R    ] dev-perl/XML-Parser-2.410.0  233 kB
-[ebuild   R    ] dev-perl/XML-SAX-0.990.0  46 kB
-[ebuild   R    ] dev-perl/XML-SAX-Base-1.80.0  28 kB
-[ebuild   R    ] dev-util/cmake-2.8.12.2  USE="ncurses -emacs -qt4 (-qt5) 
{-test}" 5,927 kB
-[ebuild   R    ] dev-util/gperf-3.0.4  961 kB
-[ebuild   R    ] dev-util/gtk-doc-am-1.20  629 kB
-[ebuild   R    ] dev-util/intltool-0.50.2-r1  186 kB
-[ebuild   R    ] dev-util/pkgconfig-0.28  USE="-hardened -internal-glib" 0 kB
-[ebuild   R    ] perl-core/Archive-Tar-1.900.0  57 kB
-[ebuild   R    ] perl-core/CPAN-Meta-2.120.921  75 kB
-[ebuild   R    ] perl-core/CPAN-Meta-Requirements-2.122.0  21 kB
-[ebuild   R    ] perl-core/CPAN-Meta-YAML-0.8.0  31 kB
-[ebuild   R    ] perl-core/ExtUtils-CBuilder-0.280.205  34 kB
-[ebuild   R    ] perl-core/ExtUtils-Install-1.540.0  66 kB
-[ebuild   R    ] perl-core/ExtUtils-MakeMaker-6.640.0  412 kB
-[ebuild   R    ] perl-core/ExtUtils-Manifest-1.610.0  29 kB
-[ebuild   R    ] perl-core/ExtUtils-ParseXS-3.180.0  62 kB
-[ebuild   R    ] perl-core/IPC-Cmd-0.780.0  27 kB
-[ebuild   R    ] perl-core/Module-Build-0.400.300  USE="{-test}" 301 kB
-[ebuild   R    ] perl-core/Module-CoreList-2.840.0  59 kB
-[ebuild   R    ] perl-core/Module-Load-0.240.0  6 kB
-[ebuild   R    ] perl-core/Module-Load-Conditional-0.540.0  13 kB
-[ebuild   R    ] perl-core/Module-Metadata-1.0.11  27 kB
-[ebuild   R    ] perl-core/Params-Check-0.360.0  12 kB
-[ebuild   R    ] perl-core/Parse-CPAN-Meta-1.440.400  8 kB
-[ebuild   R    ] perl-core/Test-Harness-3.260.0  288 kB
-[ebuild   R    ] perl-core/version-0.990.100  105 kB
-[ebuild   R    ] sys-apps/ed-1.6  85 kB
-[ebuild   R    ] sys-apps/help2man-1.43.3  USE="nls" 195 kB
-[ebuild   R    ] sys-devel/autoconf-2.69:2.5  USE="-emacs -multislot" 1,187 kB
-[ebuild   R    ] sys-devel/autoconf-wrapper-13  0 kB
-[ebuild   R    ] sys-devel/automake-1.11.6:1.11  1,068 kB
-[ebuild   R    ] sys-devel/automake-1.12.6:1.12  1,368 kB
-[ebuild   R    ] sys-devel/automake-1.13.4:1.13  1,416 kB
-[ebuild   R    ] sys-devel/automake-wrapper-9  0 kB
-[ebuild   R    ] sys-devel/bison-2.4.3  USE="nls -static" 1,614 kB
-[ebuild   R    ] sys-devel/flex-2.5.37  USE="nls -static {-test}" 1,273 kB
-[ebuild   R    ] sys-devel/m4-1.4.16  USE="-examples" 982 kB
-[ebuild   R    ] virtual/perl-Archive-Tar-1.900.0  0 kB
-[ebuild   R    ] virtual/perl-CPAN-Meta-2.120.921  0 kB
-[ebuild   R    ] virtual/perl-CPAN-Meta-Requirements-2.122.0  0 kB
-[ebuild   R    ] virtual/perl-CPAN-Meta-YAML-0.8.0  0 kB
-[ebuild   R    ] virtual/perl-ExtUtils-CBuilder-0.280.205  0 kB
-[ebuild   R    ] virtual/perl-ExtUtils-Command-1.170.0-r3  0 kB
-[ebuild   R    ] virtual/perl-ExtUtils-Install-1.540.0  0 kB
-[ebuild   R    ] virtual/perl-ExtUtils-MakeMaker-6.640.0  0 kB
-[ebuild   R    ] virtual/perl-ExtUtils-Manifest-1.610.0  0 kB
-[ebuild   R    ] virtual/perl-ExtUtils-ParseXS-3.180.0  0 kB
-[ebuild   R    ] virtual/perl-File-Temp-0.220.0-r2  0 kB
-[ebuild   R    ] virtual/perl-IO-Zlib-1.100.0-r2  0 kB
-[ebuild   R    ] virtual/perl-IPC-Cmd-0.780.0  0 kB
-[ebuild   R    ] virtual/perl-JSON-PP-2.272.0-r1  0 kB
-[ebuild   R    ] virtual/perl-Locale-Maketext-Simple-0.210.0-r2  0 kB
-[ebuild   R    ] virtual/perl-Module-Build-0.400.300  0 kB
-[ebuild   R    ] virtual/perl-Module-CoreList-2.840.0  0 kB
-[ebuild   R    ] virtual/perl-Module-Load-0.240.0  0 kB
-[ebuild   R    ] virtual/perl-Module-Load-Conditional-0.540.0  0 kB
-[ebuild   R    ] virtual/perl-Module-Metadata-1.0.11  0 kB
-[ebuild   R    ] virtual/perl-Package-Constants-0.20.0-r2  0 kB
-[ebuild   R    ] virtual/perl-Params-Check-0.360.0  0 kB
-[ebuild   R    ] virtual/perl-Parse-CPAN-Meta-1.440.400  0 kB
-[ebuild   R    ] virtual/perl-Perl-OSType-1.2.0-r1  0 kB
-[ebuild   R    ] virtual/perl-Test-Harness-3.260.0  0 kB
-[ebuild   R    ] virtual/perl-Test-Simple-0.980.0-r2  0 kB
-[ebuild   R    ] virtual/perl-version-0.990.100  0 kB
-[ebuild   R    ] virtual/pkgconfig-0  0 kB
-[ebuild   R    ] virtual/yacc-0  0 kB

-- 
With kind regards,

Tom Wijsman (TomWij)
Gentoo Developer

E-mail address  : tom...@gentoo.org
GPG Public Key  : 6D34E57D
GPG Fingerprint : C165 AF18 AB4C 400B C3D2  ABF0 95B2 1FCD 6D34 E57D

Reply via email to