Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 162809

Summary: x11-libs/xforms does not compile with automake 1.10
Product: Gentoo Linux Reporter: Christopher Rinderspacher <crinders>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christopher Rinderspacher 2007-01-19 15:08:08 UTC
Compilation crashes due to automake failure.
Changing patchfile eliminates problem

Reproducible: Always

Steps to Reproduce:
1.USE=opengl emerge x11-libs/xforms
2.
3.

Actual Results:  
automake fails

Expected Results:  
finish compilation

I have added a patch to eliminate the trailing "\" in the Makefile.am files in lib/ and fdesign/ which automake 1.10 interprets as continuation lines despite the fact, that the line is commmented out. Since there is no next line, automake exits with failure. 

Here's my modified patch file:

diff -Naur xforms-1.0.90.old/lib/Makefile.am xforms-1.0.90/lib/Makefile.am
--- xforms-1.0.90.old/lib/Makefile.am   2006-07-13 00:30:03.000000000 -0400
+++ xforms-1.0.90/lib/Makefile.am       2006-07-13 00:30:25.000000000 -0400
@@ -18,6 +18,7 @@
 lib_LTLIBRARIES = libforms.la
 
 libforms_la_LDFLAGS = -version-info 1:0:0
+libforms_la_LIBADD = ${XPM_LIB}
 
 libforms_la_SOURCES = \
        align.c \
diff -Naur xforms-1.0.90.old/fdesign/Makefile.am xforms-1.0.90/fdesign/Makefile.am
--- xforms-1.0.90.old/fdesign/Makefile.am       2007-01-19 09:54:11.000000000 -0500
+++ xforms-1.0.90/fdesign/Makefile.am   2007-01-19 09:52:19.000000000 -0500
@@ -57,4 +57,4 @@
 
 #      viewforms.c \
 #      viewforms.h \
-#      viewforms_main.c \
+#      viewforms_main.c
diff -Naur xforms-1.0.90.old/lib/Makefile.am xforms-1.0.90/lib/Makefile.am
--- xforms-1.0.90.old/lib/Makefile.am   2007-01-19 09:51:30.000000000 -0500
+++ xforms-1.0.90/lib/Makefile.am       2007-01-19 09:51:46.000000000 -0500
@@ -120,4 +120,4 @@
        xyplot.c
 
 #      dirent_vms.h \
-#      vms_readdir.c \
+#      vms_readdir.c
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-19 20:53:32 UTC

*** This bug has been marked as a duplicate of bug 161857 ***