Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 552110

Summary: dev-libs/libgcrypt-1.6.3-r2: documentation should be built only once
Product: Gentoo Linux Reporter: Andrew Savchenko <bircoph>
Component: [OLD] LibraryAssignee: Crypto team [DISABLED] <crypto+disabled>
Status: RESOLVED FIXED    
Severity: normal Keywords: EBUILD, PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: libgcrypt-1.6.3-r2.ebuild.patch

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.