Bug 23499 - [4.1/4.2 regression] libgcj/classpath create empty directory $PREFIX/share/classpath/api/
Summary: [4.1/4.2 regression] libgcj/classpath create empty directory $PREFIX/share/cl...
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: libgcj (show other bugs)
Version: 4.1.0
: P5 normal
Target Milestone: 4.1.0
Assignee: Tom Tromey
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-20 17:31 UTC by Gerald Pfeifer
Modified: 2006-01-06 20:30 UTC (History)
4 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2005-08-21 00:31:30


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald Pfeifer 2005-08-20 17:31:43 UTC
After the classpath/libgcj import, installation creates a new directory
$PREFIX/share/classpath/api/ which is empty.
Comment 1 Tom Tromey 2005-08-21 00:31:30 UTC
Thanks, I'll handle this
Comment 2 Mark Mitchell 2005-08-22 05:08:53 UTC
Although this does effect the installation process, it's still not
release-critical; removing target milestone.
Comment 3 Tom Tromey 2005-08-22 18:53:23 UTC
I fixed this in classpath.
It will be brought in by the next merge.
Comment 4 cvs-commit@developer.classpath.org 2005-08-22 19:56:34 UTC
Subject: Bug 23499

CVSROOT:	/cvsroot/classpath
Module name:	classpath
Branch: 	
Changes by:	Tom Tromey <tromey@savannah.gnu.org>	05/08/22 18:50:11

Modified files:
	.              : ChangeLog 
	doc/api        : Makefile.am 
	include        : gnu_java_awt_peer_qt_QMatrix.h 
	                 gnu_java_awt_peer_qt_QPainterPath.h 
	                 gnu_java_awt_peer_qt_QPen.h 
	                 gnu_java_awt_peer_qt_QtAudioClip.h 
	                 gnu_java_awt_peer_qt_QtButtonPeer.h 
	                 gnu_java_awt_peer_qt_QtCanvasPeer.h 
	                 gnu_java_awt_peer_qt_QtCheckboxPeer.h 
	                 gnu_java_awt_peer_qt_QtChoicePeer.h 
	                 gnu_java_awt_peer_qt_QtComponentPeer.h 
	                 gnu_java_awt_peer_qt_QtContainerPeer.h 
	                 gnu_java_awt_peer_qt_QtDialogPeer.h 
	                 gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h 
	                 gnu_java_awt_peer_qt_QtFileDialogPeer.h 
	                 gnu_java_awt_peer_qt_QtFontMetrics.h 
	                 gnu_java_awt_peer_qt_QtFontPeer.h 
	                 gnu_java_awt_peer_qt_QtFramePeer.h 
	                 gnu_java_awt_peer_qt_QtGraphics.h 
	                 gnu_java_awt_peer_qt_QtGraphicsEnvironment.h 
	                 gnu_java_awt_peer_qt_QtImage.h 
	                 gnu_java_awt_peer_qt_QtLabelPeer.h 
	                 gnu_java_awt_peer_qt_QtListPeer.h 
	                 gnu_java_awt_peer_qt_QtMenuBarPeer.h 
	                 gnu_java_awt_peer_qt_QtMenuComponentPeer.h 
	                 gnu_java_awt_peer_qt_QtMenuItemPeer.h 
	                 gnu_java_awt_peer_qt_QtMenuPeer.h 
	                 gnu_java_awt_peer_qt_QtPanelPeer.h 
	                 gnu_java_awt_peer_qt_QtPopupMenuPeer.h 
	                 gnu_java_awt_peer_qt_QtScreenDevice.h 
	                 gnu_java_awt_peer_qt_QtScrollPanePeer.h 
	                 gnu_java_awt_peer_qt_QtScrollbarPeer.h 
	                 gnu_java_awt_peer_qt_QtTextAreaPeer.h 
	                 gnu_java_awt_peer_qt_QtTextFieldPeer.h 
	                 gnu_java_awt_peer_qt_QtToolkit.h 
	                 gnu_java_awt_peer_qt_QtVolatileImage.h 
	                 gnu_java_awt_peer_qt_QtWindowPeer.h 
	java/io        : PrintWriter.java 
Added files:
	javax/swing/text: LayoutQueue.java 

Log message:
	PR libgcj/23499:
	* doc/api/Makefile.am (install-data-local): Now conditional on
	CREATE_API_DOCS.
	(uninstall-local): Likewise.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.4509&tr2=1.4510&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/doc/api/Makefile.am.diff?tr1=1.17&tr2=1.18&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QMatrix.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QPainterPath.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QPen.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtAudioClip.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtButtonPeer.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtCanvasPeer.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtCheckboxPeer.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtChoicePeer.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtComponentPeer.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtContainerPeer.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtDialogPeer.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtFileDialogPeer.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtFontMetrics.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtFontPeer.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtFramePeer.h.diff?tr1=1.5&tr2=1.6&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtGraphics.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtImage.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtLabelPeer.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtListPeer.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtMenuBarPeer.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtMenuItemPeer.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtMenuPeer.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtPanelPeer.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtScreenDevice.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtScrollPanePeer.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtScrollbarPeer.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtTextAreaPeer.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtTextFieldPeer.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtToolkit.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtVolatileImage.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_awt_peer_qt_QtWindowPeer.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/java/io/PrintWriter.java.diff?tr1=1.15&tr2=1.16&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/LayoutQueue.java?rev=1.1




Comment 5 Tom Tromey 2005-09-27 17:34:33 UTC
Should be fixed by recent classpath import.
Comment 6 Gerald Pfeifer 2005-09-27 17:38:35 UTC
Yes, and no. ;-)

My testing finished earlier today, and $PREFIX/share/classpath/api/ isn't
created any longer.  Thanks!

Unfortunately, the parent directory $PREFIX/share/classpath/ still is created
even though it's empty.
Comment 7 Tom Tromey 2005-09-30 20:48:49 UTC
This turns out to be somewhat tricky.
Automake's install rule will create a directory for a
conditionally-defined installable file even if the file
won't be installed by the current configuration.
(There's an automake PR about this.)

I'm reluctant to have a lot of Makefile changes in classpath,
but that is one route to a fix.  Another equally ugly route
would be to remove the directories in a post install hook.
Comment 8 Andrew Pinski 2005-10-05 20:05:59 UTC
Moving target milestone to 4.2 since this is java bug.
Comment 9 Tom Tromey 2006-01-06 20:12:26 UTC
Subject: Bug 23499

Author: tromey
Date: Fri Jan  6 20:12:22 2006
New Revision: 109426

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109426
Log:
	PR libgcj/23499:
	* lib/Makefile.in: Rebuilt.
	* lib/Makefile.am (glibj_DATA): Commented out.

Modified:
    trunk/libjava/classpath/ChangeLog.gcj
    trunk/libjava/classpath/lib/Makefile.am
    trunk/libjava/classpath/lib/Makefile.in

Comment 10 Tom Tromey 2006-01-06 20:26:58 UTC
Subject: Bug 23499

Author: tromey
Date: Fri Jan  6 20:26:52 2006
New Revision: 109428

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109428
Log:
	PR libgcj/23499:
	* lib/Makefile.in: Rebuilt.
	* lib/Makefile.am (glibj_DATA): Commented out.

Modified:
    branches/gcc-4_1-branch/libjava/classpath/ChangeLog.gcj
    branches/gcc-4_1-branch/libjava/classpath/lib/Makefile.am
    branches/gcc-4_1-branch/libjava/classpath/lib/Makefile.in

Comment 11 Tom Tromey 2006-01-06 20:30:10 UTC
Fix checked in.