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

Bug 4241

Summary: texinfo ebuild doesn't install info pages for texinfo
Product: Gentoo Linux Reporter: Vadim Berezniker <kryptolus>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Vadim Berezniker 2002-06-27 10:53:09 UTC
The ebuild for texinfo does not actually install the info pages for itself.
It ends up installing the info pages to the temporary image directory.

I'm not familiar with how info pages are installed in ebuilds, so I can't help
on this one.
Comment 1 Vadim Berezniker 2002-06-27 11:05:35 UTC
Found out what happens.
During install, the package gets installed into
$TMP/portage/texinfo-N/image/$TMP/portage/texinfo-N/image/usr/share 
(The path is doubled)

So when the ebuild tries to rename the info files, it fails because they're not
where it expects. I'll investigate further.
Comment 2 Vadim Berezniker 2002-06-27 11:15:12 UTC
This fixed it for me. Don't know if it's the Right Thing(tm).
The makefile appears to append infodir to DESTDIR.

40c40
< 	make DESTDIR=${D} infodir=${D}/usr/share/info install || die
---
> 	make DESTDIR=${D} infodir=/usr/share/info install || die
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2002-06-27 20:34:06 UTC
Thanks for the catch, AND the fix, Vadim :)