Date: Mon, 15 Nov 2010 20:49:05 GMT From: Paul Mather <paul@gromit.dlib.vt.edu> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/152272: textproc/clucene-contrib fails to patch Message-ID: <201011152049.oAFKn5H9023651@www.freebsd.org> Resent-Message-ID: <201011152050.oAFKoAM6092536@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 152272 >Category: ports >Synopsis: textproc/clucene-contrib fails to patch >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 15 20:50:10 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Paul Mather >Release: FreeBSD/amd64 8.1-STABLE >Organization: Virginia Tech >Environment: FreeBSD developer.tower.lib.vt.edu 8.1-STABLE FreeBSD 8.1-STABLE #0: Fri Nov 5 10:58:18 EDT 2010 pmather@developer.tower.lib.vt.edu:/usr/obj/usr/src/sys/DEVELOPER amd64 >Description: Port textproc/clucene-contrib fails to build at the patch stage because of an absolute pathname in the patch-src_CLucene_analysis_cjk_CJKAnalyzer.cpp patch file: developer# make ===> License check disabled, port has not defined LICENSE ===> Extracting for clucene-contrib-0.9.16a => SHA256 Checksum OK for clucene-contrib-0.9.16a.tar.bz2. ===> Patching for clucene-contrib-0.9.16a ===> Converting DOS text files to UNIX text files ===> Applying FreeBSD patches for clucene-contrib-0.9.16a File to patch: No file found--skip this patch? [n] y 2 out of 2 hunks ignored--saving rejects to /work/a/ports/textproc/clucene-contrib/work/clucene-contrib-0.9.16a/src/CLucene/analysis/cjk/CJKAnalyzer.cpp.rej Can't create /work/a/ports/textproc/clucene-contrib/work/clucene-contrib-0.9.16a/src/CLucene/analysis/cjk/CJKAnalyzer.cpp.rej, output is in /tmp//patchr6TIXJM: No such file or directory => Patch patch-src_CLucene_analysis_cjk_CJKAnalyzer.cpp failed to apply cleanly. => Patch(es) patch-Makefile.in patch-src_CLucene_analysis_Makefile.am applied cleanly. *** Error code 1 Stop in /usr/ports/textproc/clucene-contrib. developer# >How-To-Repeat: cd /usr/ports/textproc/clucene-contrib make >Fix: The problem is that the patch-src_CLucene_analysis_cjk_CJKAnalyzer.cpp patch is badly formed. Here is a diff to correct the patch: --- patch-src_CLucene_analysis_cjk_CJKAnalyzer.cpp.orig 2010-11-15 14:45:29.074649667 -0500 +++ patch-src_CLucene_analysis_cjk_CJKAnalyzer.cpp 2010-11-15 14:38:59.148331898 -0500 @@ -1,5 +1,5 @@ ---- /work/a/ports/textproc/clucene-contrib/work/clucene-contrib-0.9.16a/src/CLucene/analysis/cjk/CJKAnalyzer.cpp.orig 2007-02-10 13:56:33.000000000 +0000 -+++ /work/a/ports/textproc/clucene-contrib/work/clucene-contrib-0.9.16a/src/CLucene/analysis/cjk/CJKAnalyzer.cpp 2010-06-22 07:00:25.000000000 +0000 +--- src/CLucene/analysis/cjk/CJKAnalyzer.cpp.orig 2007-02-10 13:56:33.000000000 +0000 ++++ src/CLucene/analysis/cjk/CJKAnalyzer.cpp 2010-06-22 07:00:25.000000000 +0000 @@ -1,4 +1,5 @@ #include "CLucene/StdHeader.h" +#include "CLucene/analysis/Analyzers.h" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011152049.oAFKn5H9023651>