ports/58902: java/jdk14: \n printed in make fetch message

Linh Pham question at closedsrc.org
Mon Nov 3 23:10:11 UTC 2003


>Number:         58902
>Category:       ports
>Synopsis:       java/jdk14: \n printed in make fetch message
>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 03 15:10:09 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Linh Pham
>Release:        FreeBSD 5.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD q.internal.closedsrc.org 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #1: Mon Oct 27 21:45:52 PST 2003 question at q.internal.closedsrc.org:/usr/obj/usr/src/sys/Q i386
>Description:
When running "make fetch" in java/jdk14 without the patch files nor the
source tarball, a message is displayed with "\n" instead of actual newline
characters. Below is an example of the output:

===>  jdk-1.4.1p4 : The source distribution exists on your system, but due to\n licensing restrictions you still need to download the\n patchset, bsd-jdk14-patches-4.tar.gz, from\n http://www.eyesbeyond.com/freebsddom/java/jdk14.html.\n Please place the patchset in /usr/ports/distfiles.\n.

>How-To-Repeat:
Run "make fetch" in java/jdk14 without the required tarballs and/or patches.

Makefile version 1.65.
>Fix:
I don't have a diff or a coded fix, but maybe replacing the section starting
with:

ECHO_MSG=/usr/bin/printf
IGNORE= :\n\

with an actual printf statement or maybe have separate pkg-message-1[ab]
files that contain the text and cat it.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list