Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 445002 - >dev-libs/libnl-3.2.14 doc source should be downloaded based on USE=doc
Summary: >dev-libs/libnl-3.2.14 doc source should be downloaded based on USE=doc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-27 21:50 UTC by Mike Auty (RETIRED)
Modified: 2012-11-28 01:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Auty (RETIRED) gentoo-dev 2012-11-27 21:50:52 UTC
Just a quick note to say that the SRC variable should only require the 11 Mb doc package if USE=doc is set.  If USE=-doc then the contents of the package won't get used anyway, so it's a wasted download.  Let me know if you need any more information...
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-11-27 22:13:34 UTC
Good catch. Fixed in >=3.2.14.
Comment 2 iGentoo 2012-11-28 01:31:24 UTC
# emerge -av libnl

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-libs/libnl-3.2.16:3  USE="-doc -static-libs -utils" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] 

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-libs/libnl-3.2.16
 * libnl-3.2.16.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...              [ ok ]
>>> Unpacking source...
>>> Unpacking libnl-3.2.16.tar.gz to /var/tmp/portage/dev-libs/libnl-3.2.16/work
>>> Source unpacked in /var/tmp/portage/dev-libs/libnl-3.2.16/work
>>> Preparing source in /var/tmp/portage/dev-libs/libnl-3.2.16/work/libnl-3.2.16 ...
 * Running elibtoolize in: libnl-3.2.16/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.2 patch ...
 * Applying libnl-1.1-vlan-header.patch ...                              [ ok ]
mv: cannot stat ‘/var/tmp/portage/dev-libs/libnl-3.2.16/work/libnl-doc-3.2.15’: No such file or directory
 * ERROR: dev-libs/libnl-3.2.16 failed (prepare phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_prepare
 *   environment, line 2440:  Called die
 * The specific snippet of code:
 *       mv "${WORKDIR}"/${PN}-doc-3.2.15 "${WORKDIR}"/${PN}-doc-${PV} || die