public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "mec dot gnu at mindspring dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/14893] [3.4 Regression] 3.4.0-20040406, 'make install' fails on doc/gcjh.1
Date: Sat, 10 Apr 2004 02:59:00 -0000	[thread overview]
Message-ID: <20040410023922.24749.qmail@sources.redhat.com> (raw)
In-Reply-To: <20040408175851.14893.mec.gnu@mindspring.com>


------- Additional Comments From mec dot gnu at mindspring dot com  2004-04-09 21:10 -------
Subject: Re:  [3.4 Regression] 3.4.0-20040406, 'make install' fails on doc/gcjh.1


------- Additional Comments From mec dot gnu at mindspring dot com  2004-04-10 02:39 -------
Subject: Re:  [3.4 Regression] 3.4.0-20040406, 'make install' fails on doc/gcjh.1

Your patch works for me, after I deleted the duplicate line for
java.install-man.gij.

I tested on:

  native i686-pc-linux-gnu, gnu make 3.79.1, gcc 3.4.0-20040406
  native i686-pc-linux-gnu, gnu make 3.79.1, gcc 3.4.0-20040406
  native hppa2.0w-hp-hpux11.11, gnu make 3.79.1, gcc 3.4.0-20040406

On hpux11.11, 'make install' got through this part and gcjh.1 showed up
in the right place.  But 'make install' failed a little bit later for an
unrelated reason: doc/grepjar.1 is not in the pre-built tarball, so it
has to be built from source, which requires perl, which I intentionally
don't have in my $PATH on hpux11.11 so that I can find issues like this.
I will file a separate PR for that.

Michael C

--- gcc-3.4.0-20040406/gcc/java/Make-lang.in~	2004-02-22 15:45:38.000000000 -0500
+++ gcc-3.4.0-20040406/gcc/java/Make-lang.in	2004-04-09 16:25:33.000000000 -0400
@@ -393,19 +393,20 @@
 
 # Install the man pages.
 java.install-man: installdirs \
-                  $(DESTDIR)$(man1dir)/$(JAVA_INSTALL_NAME)$(man1ext) \
-		  $(JAVA_TARGET_INDEPENDENT_BIN_TOOLS:%=doc/%.1) \
-		  doc/gij.1 doc/jv-convert.1 doc/rmic.1 doc/rmiregistry.1
-	for tool in $(JAVA_TARGET_INDEPENDENT_BIN_TOOLS) \
-		gij jv-convert rmic rmiregistry ; do \
-	  tool_transformed_name=`echo $$tool|sed '$(program_transform_name)'`; \
-	  man_name=$(DESTDIR)$(man1dir)/$${tool_transformed_name}$(man1ext); \
-	  rm -f $$man_name ; \
-	  $(INSTALL_DATA) doc/$${tool}.1 $$man_name; \
-	  chmod a-x $$man_name ; \
-	done
+		  java.install-man.gcj \
+		  java.install-man.gcjh \
+		  java.install-man.jv-scan \
+		  java.install-man.jcf-dump \
+		  java.install-man.gij \
+		  java.install-man.gij \
+		  java.install-man.jv-convert \
+		  java.install-man.rmic \
+		  java.install-man.rmiregistry
 
-$(DESTDIR)$(man1dir)/$(JAVA_INSTALL_NAME)$(man1ext): doc/gcj.1
-	-rm -f $@
-	-$(INSTALL_DATA) $< $@
-	-chmod a-x $@
+java.install-man.%: doc/%.1 installdirs
+	tool=`echo $@ | sed 's/^java\.install-man\.//'`; \
+	tool_transformed_name=`echo "$$tool"|sed '$(program_transform_name)'`; \
+	man_name=$(DESTDIR)$(man1dir)/$${tool_transformed_name}$(man1ext); \
+	rm -f "$$man_name"; \
+	$(INSTALL_DATA) $< "$$man_name"; \
+	chmod a-x "$$man_name"



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14893


  parent reply	other threads:[~2004-04-10  2:39 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-08 17:58 [Bug bootstrap/14893] New: " mec dot gnu at mindspring dot com
2004-04-08 18:00 ` [Bug bootstrap/14893] " mec dot gnu at mindspring dot com
2004-04-08 18:02 ` [Bug bootstrap/14893] [3.4 Regression] " pinskia at gcc dot gnu dot org
2004-04-08 18:06 ` mec dot gnu at mindspring dot com
2004-04-08 18:07 ` mec dot gnu at mindspring dot com
2004-04-08 18:07 ` mec dot gnu at mindspring dot com
2004-04-08 19:58 ` prj-bugzilla-gcc at multivac dot cwru dot edu
2004-04-09 18:18 ` mec dot gnu at mindspring dot com
2004-04-09 18:32 ` prj at po dot cwru dot edu
2004-04-09 19:46 ` mec dot gnu at mindspring dot com
2004-04-10  2:59 ` mec dot gnu at mindspring dot com [this message]
2004-04-10  3:04 ` prj at po dot cwru dot edu
2004-04-11 20:20 ` mmitchel at gcc dot gnu dot org
2004-04-11 22:17 ` mec dot gnu at mindspring dot com
2004-04-12  8:05 ` prj at po dot cwru dot edu
2004-04-12 12:51 ` aoliva at gcc dot gnu dot org
2004-04-12 16:03 ` prj-bugzilla-gcc at multivac dot cwru dot edu
2004-04-13  4:21 ` aoliva at gcc dot gnu dot org
2004-04-13 20:11 ` mec dot gnu at mindspring dot com
2004-04-14 10:10 ` mmitchel at gcc dot gnu dot org
2004-04-14 21:14 ` cvs-commit at gcc dot gnu dot org
2004-04-14 23:20 ` [Bug bootstrap/14893] [3.5 " pinskia at gcc dot gnu dot org
2004-04-15  7:03 ` aoliva at gcc dot gnu dot org
2004-06-06  3:53 ` giovannibajo at libero dot it
2004-06-06  4:08 ` mec dot gnu at mindspring dot com
2004-08-03 22:56 ` aoliva at gcc dot gnu dot org
2004-08-05 19:29 ` cvs-commit at gcc dot gnu dot org
2004-08-05 19:35 ` pinskia at gcc dot gnu dot org

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

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

  git send-email \
    --in-reply-to=20040410023922.24749.qmail@sources.redhat.com \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /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.
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).