| Summary: | app-i18n/sunpinyin-2.0.4_pre20130108 :IO::File=IO(0x42f0908) around line 1: No name given for documen | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
| Component: | Current packages | Assignee: | CJK Team <cjk> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | davidshen84, fpemud |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge log
package history The upstream patch fix:sunpinyin:pod2man error (no name given for document) and double prefix when intalled on gentoo::prefix |
||
|
Description
Toralf Förster
2015-07-02 13:56:36 UTC
Created attachment 406084 [details]
package history
sunpinyin: FTBFS: pod2man error (no name given for document) https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=790287 pod2man.patch https://code.google.com/p/sunpinyin/issues/detail?id=327 It's fixed for me. *** Bug 581168 has been marked as a duplicate of this bug. *** *** Bug 579140 has been marked as a duplicate of this bug. *** Created attachment 431980 [details, diff]
The upstream patch
fix:sunpinyin:pod2man error (no name given for document) and double prefix when intalled on gentoo::prefix 1 bug fix for https://bugs.gentoo.org/show_bug.cgi?id=553796 --- src_prepare() { epatch_user sed -i -e 's/pod2man < $SOURCE > $TARGET/pod2man $SOURCE $TARGET/' man/SConscript || die } --- add this line: sed -i -e 's/pod2man < $SOURCE > $TARGET/pod2man $SOURCE $TARGET/' according to: https://bugs.gentoo.org/attachment.cgi?id=431980&action=diff https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=790287;msg=7 2 bug fix for double prefix when intalled on gentoo::prefix escons --install-sandbox="${ED}" install modified to: escons --install-sandbox="${D}" install according to: Usually, all but one occurrences of ${D} in an ebuild (or eclass) have to be replaced by ${ED} to work properly in the prefix. Remember that when using make DESTDIR="${D}" install the ${D} should in general not be changed, as configure was called with --prefix="${EPREFIX}"/usr. ref: https://wiki.gentoo.org/wiki/Project:Prefix/Technical_Documentation Created attachment 433076 [details]
fix:sunpinyin:pod2man error (no name given for document) and double prefix when intalled on gentoo::prefix
Fixed. Thanks a lot for your bug report.
--- a/app-i18n/sunpinyin/sunpinyin-2.0.4_pre20130108.ebuild
+++ b/app-i18n/sunpinyin/sunpinyin-2.0.4_pre20130108.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -24,6 +24,7 @@ DEPEND="${RDEPEND}
PDEPEND="app-i18n/sunpinyin-data"
src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.0.4-pod2man.patch
epatch_user
}
@@ -40,7 +41,7 @@ src_compile() {
}
src_install() {
- escons --install-sandbox="${ED}" install
+ escons --install-sandbox="${D}" install
rm -rf "${D}"/usr/share/doc/${PN} || die
dodoc doc/{README,SLM-inst.mk,SLM-train.mk}
}
|