Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 552110 - dev-libs/libgcrypt-1.6.3-r2: documentation should be built only once
Summary: dev-libs/libgcrypt-1.6.3-r2: documentation should be built only once
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2015-06-14 17:56 UTC by Andrew Savchenko
Modified: 2015-06-15 04:37 UTC (History)
0 users

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


Attachments
libgcrypt-1.6.3-r2.ebuild.patch (libgcrypt-1.6.3-r2.ebuild.patch,432 bytes, patch)
2015-06-14 17:56 UTC, Andrew Savchenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Savchenko gentoo-dev 2015-06-14 17:56:30 UTC
Created attachment 405148 [details, diff]
libgcrypt-1.6.3-r2.ebuild.patch

Hello,

due to bugfix of #551930, pdf documentation is now being built and installed for each abi (thus N times for N abis). This is wasteful since pdf generation takes time.

Proposed patch fixes this.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-06-14 18:00:59 UTC
+  14 Jun 2015; Michał Górny <mgorny@gentoo.org> libgcrypt-1.6.3-r2.ebuild:
+  Build the PDF only for native ABI, bug #552110.

is_final_abi() is incorrect.
Comment 2 Andrew Savchenko gentoo-dev 2015-06-14 18:20:28 UTC
(In reply to Michał Górny from comment #1)
> is_final_abi() is incorrect.

Why?

What if user needs only 32-bit version of libgcrypt on amd64 host? As far as I understand, there will be no docs this way (multilib_is_native_abi check).
Comment 3 Andrew Savchenko gentoo-dev 2015-06-15 04:37:04 UTC
(In reply to Andrew Savchenko from comment #2)
> What if user needs only 32-bit version of libgcrypt on amd64 host? As far as
> I understand, there will be no docs this way (multilib_is_native_abi check).

OK, this case is impossible. Native ABI build is always forced which is a bit strange for me...

Still I don't understand what is wrong with is_final_abi(), since PDF build is arch independent.