public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
* Building frysk on Fedora rawhide/development
@ 2007-03-03  0:38 Mark Wielaard
  2007-03-12 12:34 ` Mark Wielaard
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Wielaard @ 2007-03-03  0:38 UTC (permalink / raw)
  To: Frysk List

[-- Attachment #1: Type: text/plain, Size: 792 bytes --]

Hi,

Frysk should now build again (modulo warnings) on fedora
development/rawhide. We had some dependencies on old tools like jv-scan
and gcjh, our automake file build generator depended on some
non-documented automake variables and we got tripped by the "Per-target
flags are now correctly handled in link rules" fix in Automake 1.10. But
the build has been updated to work with both old and new gcj and
automake now.

I haven't actually been able to run the resulting FryskGUI, since
rawhide does not yet contain new java-gnome packages and libgcj.so.7rh
is no more. But the frysk-sys/core tests do look okish (or as fine as
can be expected with the buggy kernel in fedora).

You will still need to disable warnings with the attached patch. Need to
look into that next week.

Cheers,

Mark

[-- Attachment #2: Type: text/x-patch, Size: 4653 bytes --]

Index: common/Makefile.rules
===================================================================
RCS file: /cvs/frysk/frysk-common/Makefile.rules,v
retrieving revision 1.193
diff -u -r1.193 Makefile.rules
--- common/Makefile.rules	2 Mar 2007 23:38:20 -0000	1.193
+++ common/Makefile.rules	3 Mar 2007 00:22:12 -0000
@@ -160,8 +160,7 @@
 
 AM_GCJFLAGS = \
 	$(patsubst %,-I%,$(GEN_SOURCEPATH) $(GEN_CLASSPATH)) \
-	-Werror \
-	-Wall \
+	-w \
 	-fPIC \
 	$(ZZZ)
 
@@ -555,7 +554,7 @@
 ${GEN_DIRNAME}.jar: files-java.list
 	rm -rf $(GEN_CLASSDIR)
 	mkdir -p $(GEN_CLASSDIR)
-	$(JAVAC) -d $(GEN_CLASSDIR) $(JAVACFLAGS) \
+	$(JAVAC) -w -d $(GEN_CLASSDIR) $(JAVACFLAGS) \
 		@$(top_builddir)/files-java.list \
 		2>&1 | tee $*.log
 	if test -s $*.log ; \
Index: frysk-core/common/Makefile.rules
===================================================================
RCS file: /cvs/frysk/frysk-common/Makefile.rules,v
retrieving revision 1.193
diff -u -r1.193 Makefile.rules
--- frysk-core/common/Makefile.rules	2 Mar 2007 23:38:20 -0000	1.193
+++ frysk-core/common/Makefile.rules	3 Mar 2007 00:22:12 -0000
@@ -160,8 +160,7 @@
 
 AM_GCJFLAGS = \
 	$(patsubst %,-I%,$(GEN_SOURCEPATH) $(GEN_CLASSPATH)) \
-	-Werror \
-	-Wall \
+	-w \
 	-fPIC \
 	$(ZZZ)
 
@@ -555,7 +554,7 @@
 ${GEN_DIRNAME}.jar: files-java.list
 	rm -rf $(GEN_CLASSDIR)
 	mkdir -p $(GEN_CLASSDIR)
-	$(JAVAC) -d $(GEN_CLASSDIR) $(JAVACFLAGS) \
+	$(JAVAC) -w -d $(GEN_CLASSDIR) $(JAVACFLAGS) \
 		@$(top_builddir)/files-java.list \
 		2>&1 | tee $*.log
 	if test -s $*.log ; \
Index: frysk-gtk/common/Makefile.rules
===================================================================
RCS file: /cvs/frysk/frysk-common/Makefile.rules,v
retrieving revision 1.193
diff -u -r1.193 Makefile.rules
--- frysk-gtk/common/Makefile.rules	2 Mar 2007 23:38:20 -0000	1.193
+++ frysk-gtk/common/Makefile.rules	3 Mar 2007 00:22:12 -0000
@@ -160,8 +160,7 @@
 
 AM_GCJFLAGS = \
 	$(patsubst %,-I%,$(GEN_SOURCEPATH) $(GEN_CLASSPATH)) \
-	-Werror \
-	-Wall \
+	-w \
 	-fPIC \
 	$(ZZZ)
 
@@ -555,7 +554,7 @@
 ${GEN_DIRNAME}.jar: files-java.list
 	rm -rf $(GEN_CLASSDIR)
 	mkdir -p $(GEN_CLASSDIR)
-	$(JAVAC) -d $(GEN_CLASSDIR) $(JAVACFLAGS) \
+	$(JAVAC) -w -d $(GEN_CLASSDIR) $(JAVACFLAGS) \
 		@$(top_builddir)/files-java.list \
 		2>&1 | tee $*.log
 	if test -s $*.log ; \
Index: frysk-gui/common/Makefile.rules
===================================================================
RCS file: /cvs/frysk/frysk-common/Makefile.rules,v
retrieving revision 1.193
diff -u -r1.193 Makefile.rules
--- frysk-gui/common/Makefile.rules	2 Mar 2007 23:38:20 -0000	1.193
+++ frysk-gui/common/Makefile.rules	3 Mar 2007 00:22:12 -0000
@@ -160,8 +160,7 @@
 
 AM_GCJFLAGS = \
 	$(patsubst %,-I%,$(GEN_SOURCEPATH) $(GEN_CLASSPATH)) \
-	-Werror \
-	-Wall \
+	-w \
 	-fPIC \
 	$(ZZZ)
 
@@ -555,7 +554,7 @@
 ${GEN_DIRNAME}.jar: files-java.list
 	rm -rf $(GEN_CLASSDIR)
 	mkdir -p $(GEN_CLASSDIR)
-	$(JAVAC) -d $(GEN_CLASSDIR) $(JAVACFLAGS) \
+	$(JAVAC) -w -d $(GEN_CLASSDIR) $(JAVACFLAGS) \
 		@$(top_builddir)/files-java.list \
 		2>&1 | tee $*.log
 	if test -s $*.log ; \
Index: frysk-imports/common/Makefile.rules
===================================================================
RCS file: /cvs/frysk/frysk-common/Makefile.rules,v
retrieving revision 1.193
diff -u -r1.193 Makefile.rules
--- frysk-imports/common/Makefile.rules	2 Mar 2007 23:38:20 -0000	1.193
+++ frysk-imports/common/Makefile.rules	3 Mar 2007 00:22:12 -0000
@@ -160,8 +160,7 @@
 
 AM_GCJFLAGS = \
 	$(patsubst %,-I%,$(GEN_SOURCEPATH) $(GEN_CLASSPATH)) \
-	-Werror \
-	-Wall \
+	-w \
 	-fPIC \
 	$(ZZZ)
 
@@ -555,7 +554,7 @@
 ${GEN_DIRNAME}.jar: files-java.list
 	rm -rf $(GEN_CLASSDIR)
 	mkdir -p $(GEN_CLASSDIR)
-	$(JAVAC) -d $(GEN_CLASSDIR) $(JAVACFLAGS) \
+	$(JAVAC) -w -d $(GEN_CLASSDIR) $(JAVACFLAGS) \
 		@$(top_builddir)/files-java.list \
 		2>&1 | tee $*.log
 	if test -s $*.log ; \
Index: frysk-sys/common/Makefile.rules
===================================================================
RCS file: /cvs/frysk/frysk-common/Makefile.rules,v
retrieving revision 1.193
diff -u -r1.193 Makefile.rules
--- frysk-sys/common/Makefile.rules	2 Mar 2007 23:38:20 -0000	1.193
+++ frysk-sys/common/Makefile.rules	3 Mar 2007 00:22:12 -0000
@@ -160,8 +160,7 @@
 
 AM_GCJFLAGS = \
 	$(patsubst %,-I%,$(GEN_SOURCEPATH) $(GEN_CLASSPATH)) \
-	-Werror \
-	-Wall \
+	-w \
 	-fPIC \
 	$(ZZZ)
 
@@ -555,7 +554,7 @@
 ${GEN_DIRNAME}.jar: files-java.list
 	rm -rf $(GEN_CLASSDIR)
 	mkdir -p $(GEN_CLASSDIR)
-	$(JAVAC) -d $(GEN_CLASSDIR) $(JAVACFLAGS) \
+	$(JAVAC) -w -d $(GEN_CLASSDIR) $(JAVACFLAGS) \
 		@$(top_builddir)/files-java.list \
 		2>&1 | tee $*.log
 	if test -s $*.log ; \

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Building frysk on Fedora rawhide/development
  2007-03-03  0:38 Building frysk on Fedora rawhide/development Mark Wielaard
@ 2007-03-12 12:34 ` Mark Wielaard
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Wielaard @ 2007-03-12 12:34 UTC (permalink / raw)
  To: Frysk List; +Cc: Stepan Kasal

Hi,

On Sat, 2007-03-03 at 01:38 +0100, Mark Wielaard wrote:
> You will still need to disable warnings with the attached patch. Need to
> look into that next week.

Kris work made this patch unnecessary (thanks Kris!).
I made 2 small tweaks so that -Wall support is detected at configure
time and -Werror is only in force when requested. You can now build
Frysk CVS on rawhide with the latest gcc/gcj/ecj installed by just
running ../frysk/autogen.sh --disable-werror

When -Werror and -Wall are supported on rawhide gcc/gcj/ecj we should
look into which warning flags really make sense for our project. The new
-Wall is way to aggressive.

Cheers,

Mark

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-03-12 12:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-03  0:38 Building frysk on Fedora rawhide/development Mark Wielaard
2007-03-12 12:34 ` Mark Wielaard

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).