Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121917 - ptypes-2.0.2 fails at src_install new ebuild included
Summary: ptypes-2.0.2 fails at src_install new ebuild included
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: C++ Team [disbanded]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-06 19:00 UTC by Richard Whitty
Modified: 2006-02-07 21:22 UTC (History)
0 users

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


Attachments
fixed ebuild (ptypes-2.0.2-r1.ebuild,741 bytes, text/plain)
2006-02-06 19:01 UTC, Richard Whitty
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Whitty 2006-02-06 19:00:02 UTC
The ebuild dumps out with the call trace:
src_install()
dyn_install()

There were no die messages, so couldn't figure out where the issue was.
Turns out was dying whilst installing documentation as dohtml apparently doesn't provide the -r option by default (unlike dodoc seems to)
Fixed by adding die messages and adding the '-r' switch to dohtml:

ptypes-2.0.2-r1.ebuild:
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/ptypes/ptypes-2.0.2.ebuild,v 1.1 2005/09/03 14:28:09 dragonheart Exp $

DESCRIPTION="PTypes (C++ Portable Types Library) is a simple alternative to the STL that includes multithreading and networking."

HOMEPAGE="http://www.melikyan.com/ptypes/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

LICENSE="as-is"
SLOT="0"
KEYWORDS="~x86 ~amd64"

IUSE=""

DEPEND="virtual/libc"

src_compile() {
        make
}

src_install() {
        dolib lib/* || die Installing libraries
        insinto /usr/include
        doins include/* || die Installing headers
        dohtml -r doc/* || die Installing documentation
        dodoc LICENSE
}

diff from ptypes-2.0.2.ebuild:
23c23
<       dolib lib/* || die
---
>       dolib lib/* || die Installing libraries
25,26c25,26
<       doins include/* || die
<       dohtml doc/* || die
---
>       doins include/* || die Installing headers
>       dohtml -r doc/* || die Installing documentation



Hope that helps ;)
Comment 1 Richard Whitty 2006-02-06 19:01:11 UTC
Created attachment 79080 [details]
fixed ebuild
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2006-02-07 21:22:20 UTC
Fixed, thanks.