NetBSD Problem Report #45768

From www@NetBSD.org  Mon Jan  2 00:17:09 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 5510063D94F
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  2 Jan 2012 00:17:09 +0000 (UTC)
Message-Id: <20120102001708.C166563BB83@www.NetBSD.org>
Date: Mon,  2 Jan 2012 00:17:08 +0000 (UTC)
From: pda@freeshell.org
Reply-To: pda@freeshell.org
To: gnats-bugs@NetBSD.org
Subject: shells/dash/ in pkgsrc 11q-3 appears designed to only compile with gcc
X-Send-Pr-Version: www-1.0

>Number:         45768
>Category:       pkg
>Synopsis:       shells/dash/ in pkgsrc 11q-3 appears designed to only compile with gcc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    hpux-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 02 00:20:00 +0000 2012
>Last-Modified:  Thu Apr 26 17:03:11 +0000 2012
>Originator:     Paul Ackersviller
>Release:        Just pkgsrc 11q-3
>Organization:
>Environment:
HP-UX tdcndv01 B.11.31 U ia64 1579589996 unlimited-user license

>Description:
work/dash-0.5.5.1/src/Makefile has the line
COMMON_CFLAGS = -Wall
which causes an error with HP's C compiler.

After truncating that macro, I encounter a further error due to the line
  $(COMPILE) -E -x c -o $@ $<
...but taking out "-x c" some just leads me into an interactive shell.
>How-To-Repeat:
bmake -C shells/dash COMMON_CFLAGS=
>Fix:
COMMON_CFLAGS=

>Release-Note:

>Audit-Trail:
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/45768: shells/dash/ in pkgsrc 11q-3 appears designed to only
 compile with gcc
Date: Mon, 02 Jan 2012 21:10:15 +0900

 Such issues should be handled in wrapper (pkgsrc/mk/wrapper/{cmd-sink-hp-cc,transform-hp-cc).
 Do you know corresponding compiler options for HP's C compiler?
   -Wall (rise all warnings)  -check?
   -x c (specify the source language as C)  none?

Responsible-Changed-From-To: pkg-manager->hpux-pkg-people
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Thu, 26 Apr 2012 13:50:44 +0000
Responsible-Changed-Why:
problem on HP-UX


Responsible-Changed-From-To: hpux-pkg-people->cheusov
Responsible-Changed-By: cheusov@NetBSD.org
Responsible-Changed-When: Thu, 26 Apr 2012 16:03:17 +0000
Responsible-Changed-Why:
I'll take it.


Responsible-Changed-From-To: cheusov->hpux-pkg-people
Responsible-Changed-By: cheusov@NetBSD.org
Responsible-Changed-When: Thu, 26 Apr 2012 17:03:11 +0000
Responsible-Changed-Why:
back to HP-UX people


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.