From stdcxx-dev-return-3873-apmail-incubator-stdcxx-dev-archive=incubator.apache.org@incubator.apache.org Thu Jul 05 02:46:25 2007 Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 36953 invoked from network); 5 Jul 2007 02:46:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jul 2007 02:46:25 -0000 Received: (qmail 64454 invoked by uid 500); 5 Jul 2007 02:46:28 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 64436 invoked by uid 500); 5 Jul 2007 02:46:28 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 64425 invoked by uid 99); 5 Jul 2007 02:46:28 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jul 2007 19:46:28 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jul 2007 19:46:24 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 89344714226 for ; Wed, 4 Jul 2007 19:46:04 -0700 (PDT) Message-ID: <12049996.1183603564476.JavaMail.jira@brutus> Date: Wed, 4 Jul 2007 19:46:04 -0700 (PDT) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Commented: (STDCXX-109) [Mac OS X 10.2.8] Unable to build rwstderr.cat (no gencat utility) In-Reply-To: <1580888633.1136844267567.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STDCXX-109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12510264 ] Martin Sebor commented on STDCXX-109: ------------------------------------- Andrew, this must be fixed for 4.2. Can you please double-check to make sure this is still a problem and if so, let us know if you'll be able to work on a patch? > [Mac OS X 10.2.8] Unable to build rwstderr.cat (no gencat utility) > ------------------------------------------------------------------ > > Key: STDCXX-109 > URL: https://issues.apache.org/jira/browse/STDCXX-109 > Project: C++ Standard Library > Issue Type: Bug > Components: Build > Environment: Mac OS X 10.2.8/Darwin 6.8 with GCC 3.1 > Reporter: Andrew Black > Assignee: Andrew Black > Fix For: 4.2 > > > When the make process gets to the point where it tries to build the rwstderr.cat file, the make process fails with > gencat rwstderr.cat /Volumes/Orion/Work/stdcxx/src/rwstderr.msg > /bin/sh: gencat: command not found > make[2]: *** [rwstderr.cat] Error 127 > make[1]: *** [lib] Error 2 > make: *** [libstd] Error 2 > The most obvious cause is that there is no gencat utility installed on the system in the $PATH hierarchy. I have not searched for the gencat utility outside of the $PATH hierarchy at this point in time, though it would make sense to do so. As this utility is referenced as a part of the makefile rules, it would be difficult at best to control logic through the characterization tests. > A possible way to detect if there is an accessable copy of gencat would be to use the which command, redirecting the output to /dev/null, and using the return code to detect the location. > Another possible tactic would be to make the failed execution of gencat a non fatal problem (which likely would result in other problems if it failed in other circumstances), then to touch the output file when done so that a file is present (if empty) to be used in building the library. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.