Package: steam
Version: 1.6.1-2
Severity: serious
Tags: patch

When trying to build 'steam', I get the following error:

#-/usr/bin/make clean
for a in sources; do ( cd $a && /usr/bin/make  clean); done
make[1]: Entering directory `/steam-1.6.1/sources'
make[1]: *** No rule to make target `clean'.  Stop.
make[1]: Leaving directory `/steam-1.6.1/sources'
make: *** [clean] Error 2

When this is fixed, the build fails because the configure scripts
are not executable.

Additionally, the package does not compile with gcc-4.0
(two "invalid lvalue in assignent" errors in xslt.c).

With the attached patch 'steam' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/steam-1.6.1/debian/rules ./debian/rules
--- ../tmp-orig/steam-1.6.1/debian/rules        2005-04-06 16:45:45.356346394 
+0200
+++ ./debian/rules      2005-04-06 16:45:35.860126886 +0200
@@ -34,6 +34,7 @@
        dh_testdir
 
        # Add here commands to compile the package.
+       chmod a+x configure */configure */*/configure
        ./configure --prefix=$(PREFIX) --with-realdir=$(REAL_DIR) 
--with-pike=/usr/bin/pike7.4 --with-config=/etc/steam 
--with-installdir=$(CURDIR)/$(INSTALL_DIR)
        cd sources && ./configure
        make
@@ -56,7 +57,7 @@
        # The original Makefile deletes configure files, which should be
        # included in debian diffs. So clean manually
        #-$(MAKE) clean
-       for a in sources; do ( cd $$a && $(MAKE) $(MAKE_FLAGS) clean); done
+       for a in sources; do ( if test -f $$a/Makefile; then cd $$a && $(MAKE) 
$(MAKE_FLAGS) clean; fi); done
 
        -rm -rf server/libraries/AbstractCallbacks.pike sources/aclocal.m4 
sources/autom4te.cache sources/libxslt/autom4te.cache 
sources/wiki/autom4te.cache sources/_XML/autom4te.cache spm/aclocal.m4 
spm/autom4te.cache spm/.in server/libraries/*.so sources/wiki/wiki.so 
sources/libxslt/Makefile  sources/Makefile sources/wiki/Makefile 
sources/_XML/Makefile
 
diff -urN ../tmp-orig/steam-1.6.1/sources/libxslt/xslt.c 
./sources/libxslt/xslt.c
--- ../tmp-orig/steam-1.6.1/sources/libxslt/xslt.c      2005-03-04 
10:10:08.000000000 +0100
+++ ./sources/libxslt/xslt.c    2005-04-06 16:43:02.541873271 +0200
@@ -190,7 +190,7 @@
     }
     strcat(out, buf);
  
-    (struct pike_string *)(store->err_str) = make_shared_string(&out[0]);
+    store->err_str = make_shared_string(&out[0]);
     add_ref(store->err_str);
     DEBUG_XSLT("leaving xsl_error() with:\n");
     DEBUG_XSLT(out);
@@ -228,7 +228,7 @@
     strcat(out, buf);
     DEBUG_XSLT("leaving xml_error():\n");
     DEBUG_XSLT(out);
-    (struct pike_string *)(store->err_str) = make_shared_string(&out[0]);
+    store->err_str = make_shared_string(&out[0]);
     add_ref(store->err_str);
 }
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to