From owner-freebsd-java@FreeBSD.ORG Fri Apr 23 08:17:22 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8744A16A4CE; Fri, 23 Apr 2004 08:17:22 -0700 (PDT) Received: from arabica.esil.univ-mrs.fr (arabica.esil.univ-mrs.fr [139.124.41.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 006F743D49; Fri, 23 Apr 2004 08:17:21 -0700 (PDT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1])i3NFHJVI086553; Fri, 23 Apr 2004 17:17:19 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: (from rv@localhost)i3NFHJ2q086552; Fri, 23 Apr 2004 17:17:19 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: arabica.esil.univ-mrs.fr: rv set sender to herve.quiroz@esil.univ-mrs.fr using -f Date: Fri, 23 Apr 2004 17:17:19 +0200 From: Herve Quiroz To: freebsd-java@FreeBSD.ORG Message-ID: <20040423151719.GA85960@arabica.esil.univ-mrs.fr> Mail-Followup-To: freebsd-java@FreeBSD.ORG, phantom@FreeBSD.org References: <20040422180637.GA44407@arabica.esil.univ-mrs.fr> <20040423100659.GB68607@anyware12.anyware> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040423100659.GB68607@anyware12.anyware> User-Agent: Mutt/1.4.2.1i cc: phantom@FreeBSD.ORG Subject: Re: Weird output with java/jdk14 while cleanning ports X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Apr 2004 15:17:22 -0000 Thanks Jean-Baptiste! So I found what is broken: the Makefile overrides ${ECHO_MSG}. This only occurs when you are missing some distfile (or patchfile) is ${DISTDIR}. You may try the attached patch to have an idea. Basically, printf(1) is used because of the '\n' escapes that are used to display error messages in 80 chars wide lines. My suggestion: - Remove the ECHO_MSG override statements - Write the error messages in separate, plain-old text files (in files/) - Have IGNORE set to the content of these files, but filtered (with sed(1)) to print the correct values of ${JDK_VERSION} and ${SCSL_*} variables. Alexey, if you agree with that, I will send a PR. Hum. I realize now that we don't need files, just plain-old variables and the correct sed(1) command to limit to 80 chars width. So I may rather implement that if you prefer. Herve On Fri, Apr 23, 2004 at 12:07:01PM +0200, Jean-Baptiste Quenot wrote: > * Herve Quiroz: > > > ===> Cleaning for jdk-1.4.2p6_4===> Cleaning for jikes-1.20 > > If you mean that ^^^^^ > > Yes I experience it all the time with all ports depending on jdk. > -- > Jean-Baptiste Quenot > http://caraldi.com/jbq/