From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: Re: hp-ux 11.11 lib-src/Makefile cp fails due to identical files Date: Fri, 10 Aug 2007 17:47:44 +0300 Message-ID: References: <200708101404.QAA07444@gull.cfmu.corp.eurocontrol.int> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1186757275 8523 80.91.229.12 (10 Aug 2007 14:47:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 10 Aug 2007 14:47:55 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: philippe.waroquiers@eurocontrol.int Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 10 16:47:53 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IJVmK-0006f3-MU for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Aug 2007 16:47:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IJVmK-0005AG-B9 for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Aug 2007 10:47:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IJVmH-00057q-5x for bug-gnu-emacs@gnu.org; Fri, 10 Aug 2007 10:47:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IJVmF-00056e-RH for bug-gnu-emacs@gnu.org; Fri, 10 Aug 2007 10:47:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IJVmF-00056W-Id for bug-gnu-emacs@gnu.org; Fri, 10 Aug 2007 10:47:47 -0400 Original-Received: from romy.inter.net.il ([213.8.233.24]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IJVmF-0003yr-56 for bug-gnu-emacs@gnu.org; Fri, 10 Aug 2007 10:47:47 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-204-18.inter.net.il [80.230.204.18]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id IPI04610 (AUTH halo1); Fri, 10 Aug 2007 17:47:39 +0300 (IDT) In-reply-to: <200708101404.QAA07444@gull.cfmu.corp.eurocontrol.int> (message from Philippe Waroquiers on Fri, 10 Aug 2007 16:04:32 +0200 (METDST)) X-Detected-Kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16315 Archived-At: > Date: Fri, 10 Aug 2007 16:04:32 +0200 (METDST) > From: Philippe Waroquiers > > When configuring emacs on hp-ux 11.11, the result cannot be build > with the hp make, while it can be built with the gnu make. > The problem is caused by lib-src/Makefile. > There are a set of lines such as: > rcs2log: $(srcdir)/rcs2log > cp -p $(srcdir)/rcs2log rcs2log > If for these lines, the target rcs2log and the source $(srcdir)/rcs2log > are the same, the hp make will still launch the command, that > will fail with the below error message: > > cp: /auto/home/wao/no_backup/brol/emacs_with_optim/emacs-22.1/lib-src/rcs2log and rcs2log are identical > *** Error exit code 1 Thank you for your report. Does it help to prepend "-" to the offending command, i.e. rcs2log: $(srcdir)/rcs2log -cp -p $(srcdir)/rcs2log rcs2log