Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Sep 2004 16:52:55 +0100 (BST)
From:      Ceri Davies <ceri@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/71596: ONLY_FOR_ARCHS broken if ECHO_MSG == printf
Message-ID:  <200409111552.i8BFqtC4011267@quinch.private.submonkey.net>
Resent-Message-ID: <200409111600.i8BG0hRN004896@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         71596
>Category:       ports
>Synopsis:       ONLY_FOR_ARCHS broken if ECHO_MSG == printf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 11 16:00:42 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ceri Davies
>Release:        FreeBSD 5.2-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD quinch.private.submonkey.net 5.2-CURRENT FreeBSD 5.2-CURRENT #12: Mon Aug 16 23:06:26 BST 2004 root@quinch.private.submonkey.net:/usr/obj/usr/src/sys/QUINCH amd64

>Description:

	java/jdk12, for example, defines ONLY_FOR_ARCHS=i386, and ECHO_MSG=/usr/bin/printf
	This results in users other architectures getting a rather bizarre error message.
	
>How-To-Repeat:
	quinch# uname -m
	amd64
	quinch# pwd
	/usr/ports/java/jdk12
	quinch# make install
	printf: missing format character
	===>  jdk-1.2.2p11_3 is*** Error code 1
	
	Stop in /usr/ports/java/jdk12.
	quinch#
>Fix:
	Change this bit of bsd.port.mk?

	.if defined(IGNORE)
	.if defined(IGNORE_SILENT)
	IGNORECMD=      ${DO_NADA}
	.else
	IGNORECMD=      ${ECHO_MSG} "===>  ${PKGNAME} ${IGNORE}."
	.endif
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409111552.i8BFqtC4011267>