From nobody@FreeBSD.org  Wed Oct 31 16:08:10 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 3DB39D2A
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 31 Oct 2012 16:08:10 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 1AC058FC15
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 31 Oct 2012 16:08:10 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q9VG89rE048063
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 31 Oct 2012 16:08:09 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id q9VG89lG048062;
	Wed, 31 Oct 2012 16:08:09 GMT
	(envelope-from nobody)
Message-Id: <201210311608.q9VG89lG048062@red.freebsd.org>
Date: Wed, 31 Oct 2012 16:08:09 GMT
From: Volodymyr Kostyrko <c.kworr@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: devel/pmd fails to install
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         173241
>Category:       ports
>Synopsis:       devel/pmd fails to install
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    antoine
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 31 16:10:00 UTC 2012
>Closed-Date:    Tue May 28 19:55:49 UTC 2013
>Last-Modified:  Tue May 28 19:55:49 UTC 2013
>Originator:     Volodymyr Kostyrko
>Release:        RELENG_9
>Organization:
None
>Environment:
# uname -a
FreeBSD ar1l0u 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #5 r242393M: Wed Oct 31 11:40:32 EET 2012     arcade@ar1l0u:/usr/obj/usr/src/sys/MINIMAL  amd64
>Description:
Currently it fails installation with:

compile:
    [mkdir] Created dir: /tmp/ports/usr/ports/devel/pmd/work/pmd-3.7/build
    [javac] /tmp/ports/usr/ports/devel/pmd/work/pmd-3.7/bin/build.xml:31: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 735 source files to /tmp/ports/usr/ports/devel/pmd/work/pmd-3.7/build
    [javac] /tmp/ports/usr/ports/devel/pmd/work/pmd-3.7/src/net/sourceforge/pmd/jsp/ast/CharStream.java:4: error: unmappable character for encoding UTF8
    [javac]  * @author Pieter &#65533; Application Engineers NV/SA &#65533; http://www.ae.be
    [javac]                   ^
    [javac] /tmp/ports/usr/ports/devel/pmd/work/pmd-3.7/src/net/sourceforge/pmd/jsp/ast/CharStream.java:4: error: unmappable character for encoding UTF8
    [javac]  * @author Pieter &#65533; Application Engineers NV/SA &#65533; http://www.ae.be
    [javac]                                                 ^
    [javac] /tmp/ports/usr/ports/devel/pmd/work/pmd-3.7/src/net/sourceforge/pmd/jsp/ast/ParseException.java:4: error: unmappable character for encoding UTF8
    [javac]  * @author Pieter &#65533; Application Engineers NV/SA &#65533; http://www.ae.be
    [javac]                   ^
    [javac] /tmp/ports/usr/ports/devel/pmd/work/pmd-3.7/src/net/sourceforge/pmd/jsp/ast/ParseException.java:4: error: unmappable character for encoding UTF8
    [javac]  * @author Pieter &#65533; Application Engineers NV/SA &#65533; http://www.ae.be
    [javac]                                                 ^
    [javac] /tmp/ports/usr/ports/devel/pmd/work/pmd-3.7/src/net/sourceforge/pmd/jsp/ast/Token.java:4: error: unmappable character for encoding UTF8
    [javac]  * @author Pieter &#65533; Application Engineers NV/SA &#65533; http://www.ae.be
    [javac]                   ^
    [javac] /tmp/ports/usr/ports/devel/pmd/work/pmd-3.7/src/net/sourceforge/pmd/jsp/ast/Token.java:4: error: unmappable character for encoding UTF8
    [javac]  * @author Pieter &#65533; Application Engineers NV/SA &#65533; http://www.ae.be
    [javac]                                                 ^
    [javac] /tmp/ports/usr/ports/devel/pmd/work/pmd-3.7/regress/test/net/sourceforge/pmd/util/StringUtilTest.java:36: error: unmappable character for encoding UTF8
    [javac]         String test = "&#65533;";
    [javac]                        ^
    [javac] /tmp/ports/usr/ports/devel/pmd/work/pmd-3.7/regress/test/net/sourceforge/pmd/util/StringUtilTest.java:43: error: unmappable character for encoding UTF8
    [javac]         String test = "&#65533;";
    [javac]                        ^
    [javac] /tmp/ports/usr/ports/devel/pmd/work/pmd-3.7/regress/test/net/sourceforge/pmd/util/StringUtilTest.java:45: error: unmappable character for encoding UTF8
    [javac]         assertEquals("&#65533;", sb.toString());
    [javac]                       ^
    [javac] 9 errors
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->antoine 
Responsible-Changed-By: antoine 
Responsible-Changed-When: Sun May 26 14:22:16 UTC 2013 
Responsible-Changed-Why:  
I will have a look at this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=173241 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/173241: commit references a PR
Date: Tue, 28 May 2013 19:42:05 +0000 (UTC)

 Author: antoine
 Date: Tue May 28 19:41:51 2013
 New Revision: 319325
 URL: http://svnweb.freebsd.org/changeset/ports/319325
 
 Log:
   Update pmd to 5.0.4
   Pass maintainership to submitter
   
   PR:		ports/173241
   PR:		ports/177236
   PR:		ports/178291
   Submitted by:	Danilo Egea Gondolfo
   Approved by:	miwi (mentor)
 
 Deleted:
   head/devel/pmd/files/
 Modified:
   head/devel/pmd/Makefile
   head/devel/pmd/distinfo
   head/devel/pmd/pkg-plist
 
 Modified: head/devel/pmd/Makefile
 ==============================================================================
 --- head/devel/pmd/Makefile	Tue May 28 19:38:34 2013	(r319324)
 +++ head/devel/pmd/Makefile	Tue May 28 19:41:51 2013	(r319325)
 @@ -2,53 +2,38 @@
  # $FreeBSD$
  
  PORTNAME=	pmd
 -PORTVERSION=	3.7
 -PORTREVISION=	2
 +PORTVERSION=	5.0.4
  CATEGORIES=	devel java
 -MASTER_SITES=	SF/${PORTNAME}/OldFiles
 -DISTNAME=	${PORTNAME}-src-${PORTVERSION}
 +MASTER_SITES=	SF
 +DISTNAME=	${PORTNAME}-bin-${PORTVERSION}
  
 -MAINTAINER=	ports@FreeBSD.org
 +MAINTAINER=	danilogondolfo@gmail.com
  COMMENT=	Static analysis tool for Java source code
  
 -BUILD_DEPENDS=	${JAVALIBDIR}/junit.jar:${PORTSDIR}/java/junit
 +LICENSE=	BSD
  
  USE_ZIP=	yes
  USE_JAVA=	yes
  JAVA_VERSION=	1.6+
 -USE_ANT=	yes
 -
 -MAKE_ARGS=	-cp ${JAVALIBDIR}/junit.jar
 -
 +NO_BUILD=	yes
  DATADIR=	${JAVASHAREDIR}/${PORTNAME}
 +PORTDOCS=	*
  
 -.include <bsd.port.pre.mk>
 +OPTIONS_DEFINE=	DOCS
  
 -WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 -BUILD_WRKSRC=	${WRKSRC}/bin
 +post-patch:
 +	@${REINPLACE_CMD} -e 's|#!/bin/bash|#!/bin/sh|' \
 +		-e 's|LIB_DIR=$$(pwd -P)|LIB_DIR=${DATADIR}|' ${WRKSRC}/bin/run.sh
  
 -.if !defined(NOPORTDOCS)
 -PORTDOCS=	*
 -.endif
 +.include <bsd.port.options.mk>
  
  do-install:
 -.for script in bgastviewer.sh cpd.sh designer.sh pmd.sh
 -	${REINPLACE_CMD} -e "s|%%DATADIR%%|${DATADIR}|" \
 -	  -e "s|%%JAVA_VERSION%%|${JAVA_VERSION}|" \
 -	  -e "s|%%LOCALBASE%%|${LOCALBASE}|" \
 -	  ${INSTALL_WRKSRC}/bin/${script}
 -.endfor
 -	${INSTALL_SCRIPT} ${INSTALL_WRKSRC}/bin/bgastviewer.sh ${PREFIX}/bin/bgastviewer
 -	${INSTALL_SCRIPT} ${INSTALL_WRKSRC}/bin/cpd.sh ${PREFIX}/bin/cpd
 -	${INSTALL_SCRIPT} ${INSTALL_WRKSRC}/bin/designer.sh ${PREFIX}/bin/pmd_designer
 -	${INSTALL_SCRIPT} ${INSTALL_WRKSRC}/bin/pmd.sh ${PREFIX}/bin/pmd
 -	${MKDIR} ${DATADIR}
 -	cd ${INSTALL_WRKSRC}/lib \
 -	  && ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${DATADIR}/ \;
 -.if !defined(NOPORTDOCS)
 -	cd ${INSTALL_WRKSRC}/docs \
 -	  && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/\{} \; \
 -	  && ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${DOCSDIR}/\{} \;
 +	${INSTALL_SCRIPT} ${WRKSRC}/bin/run.sh ${PREFIX}/bin/pmd
 +	@${MKDIR} ${DATADIR}
 +	${INSTALL_DATA} ${WRKSRC}/lib/* ${DATADIR}
 +.if ${PORT_OPTIONS:MDOCS}
 +	@${MKDIR} ${DOCSDIR}
 +	cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR}
  .endif
  
 -.include <bsd.port.post.mk>
 +.include <bsd.port.mk>
 
 Modified: head/devel/pmd/distinfo
 ==============================================================================
 --- head/devel/pmd/distinfo	Tue May 28 19:38:34 2013	(r319324)
 +++ head/devel/pmd/distinfo	Tue May 28 19:41:51 2013	(r319325)
 @@ -1,2 +1,2 @@
 -SHA256 (pmd-src-3.7.zip) = a35de76cd8049fd91b3c4e2031b7b03f849e03e2facba1e32ea1cb27cacdb5ff
 -SIZE (pmd-src-3.7.zip) = 10756798
 +SHA256 (pmd-bin-5.0.4.zip) = 7a95be0f5ff208ff1b9d028d70f1db9530403f98d47fb579b6b977d17ac7ef9d
 +SIZE (pmd-bin-5.0.4.zip) = 19023399
 
 Modified: head/devel/pmd/pkg-plist
 ==============================================================================
 --- head/devel/pmd/pkg-plist	Tue May 28 19:38:34 2013	(r319324)
 +++ head/devel/pmd/pkg-plist	Tue May 28 19:41:51 2013	(r319325)
 @@ -1,11 +1,21 @@
 -bin/bgastviewer
 -bin/cpd
  bin/pmd
 -bin/pmd_designer
 -%%DATADIR%%/jakarta-oro-2.0.8.jar
 -%%DATADIR%%/jaxen-1.1-beta-7.jar
 -%%DATADIR%%/pmd-3.7.jar
 -%%DATADIR%%/pmd-src-3.7.jar
 -%%DATADIR%%/xercesImpl-2.6.2.jar
 +%%DATADIR%%/ant-1.8.1.jar
 +%%DATADIR%%/ant-launcher-1.8.1.jar
 +%%DATADIR%%/ant-testutil-1.7.1.jar
 +%%DATADIR%%/asm-3.2.jar
 +%%DATADIR%%/commons-io-2.2.jar
 +%%DATADIR%%/dom4j-1.6.1.jar
 +%%DATADIR%%/javacc-4.1.jar
 +%%DATADIR%%/jaxen-1.1.1.jar
 +%%DATADIR%%/jcommander-1.27.jar
 +%%DATADIR%%/jdom-1.0.jar
 +%%DATADIR%%/junit-4.4.jar
 +%%DATADIR%%/pmd-5.0.4.jar
 +%%DATADIR%%/rhino-1.7R3.jar
 +%%DATADIR%%/saxon-9.1.0.8-dom.jar
 +%%DATADIR%%/saxon-9.1.0.8.jar
 +%%DATADIR%%/xercesImpl-2.9.1.jar
 +%%DATADIR%%/xml-apis-1.3.02.jar
  %%DATADIR%%/xmlParserAPIs-2.6.2.jar
 +%%DATADIR%%/xom-1.0.jar
  @dirrm %%DATADIR%%
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: antoine 
State-Changed-When: Tue May 28 19:55:27 UTC 2013 
State-Changed-Why:  
Fixed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=173241 
>Unformatted:
