unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: philippe.waroquiers@eurocontrol.int
Cc: bug-gnu-emacs@gnu.org
Subject: Re: hp-ux 11.11 lib-src/Makefile cp fails due to identical files
Date: Fri, 10 Aug 2007 17:47:44 +0300	[thread overview]
Message-ID: <u4pj7fnu7.fsf@gnu.org> (raw)
In-Reply-To: <200708101404.QAA07444@gull.cfmu.corp.eurocontrol.int> (message from Philippe Waroquiers on Fri, 10 Aug 2007 16:04:32 +0200 (METDST))

> Date: Fri, 10 Aug 2007 16:04:32 +0200 (METDST)
> From: Philippe Waroquiers <wao@cfmu.eurocontrol.int>
> 
> 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

  reply	other threads:[~2007-08-10 14:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-10 14:04 hp-ux 11.11 lib-src/Makefile cp fails due to identical files Philippe Waroquiers
2007-08-10 14:47 ` Eli Zaretskii [this message]
2007-08-10 15:06   ` WAROQUIERS Philippe
2007-08-10 16:47     ` Eli Zaretskii
2007-08-25 11:00     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=u4pj7fnu7.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=philippe.waroquiers@eurocontrol.int \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).