Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4241 - texinfo ebuild doesn't install info pages for texinfo
Summary: texinfo ebuild doesn't install info pages for texinfo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-27 10:53 UTC by Vadim Berezniker
Modified: 2003-02-04 19:42 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 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 :)