Package: src:argus-client
Severity: normal
Tags: patch
User: [email protected]
Usertags: ppc64el

Dear Maintainer,

The package argus-client fails to build from source on ppc64el architecture
due to out of date config.{guess,sub} files.

The patch attached just includes autotools debhelper to clean target.

Thanks for your consideration.

Fernando


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13-1-powerpc64le (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u argus-client-2.0.6.fixes.1/debian/rules argus-client-2.0.6.fixes.1/debian/rules
--- argus-client-2.0.6.fixes.1/debian/rules
+++ argus-client-2.0.6.fixes.1/debian/rules
@@ -39,30 +39,9 @@
 # The autotools target adds forced build-time dependencies on
 # autotools-dev (for /usr/share/misc/config.*) and devscripts (for dch)
 # It's also a .PHONY make target.
-autotools:
-       chmod u+x $(OLDSUB)
-       chmod u+x $(OLDGUESS)
-       OLDDATESUB=`$(OLDSUB) -t 2>/dev/null | tr -d -` ;\
-       OLDDATEGUESS=`$(OLDGUESS) -t 2>/dev/null | tr -d -` ;\
-       NEWDATESUB=`/usr/share/misc/config.sub -t | tr -d -` ;\
-       NEWDATEGUESS=`/usr/share/misc/config.guess -t | tr -d -` ;\
-       if [ -z $$OLDDATEGUESS ]; then \
-	       OLDDATEGUESS=0 ;\
-       fi ;\
-       if [ -z $$OLDDATESUB ]; then \
-	       OLDDATESUB=0 ;\
-       fi ;\
-       if [ $$OLDDATESUB -lt $$NEWDATESUB -o \
-	    $$OLDDATEGUESS -lt $$NEWDATEGUESS ]; then \
-	  dch -a -p "GNU config automated update: config.sub\
-	    ($$OLDDATESUB to $$NEWDATESUB), config.guess\
-	    ($$OLDDATEGUESS to $$NEWDATEGUESS)" ;\
-	  cp -f /usr/share/misc/config.sub $(OLDSUB) ;\
-	  cp -f /usr/share/misc/config.guess $(OLDGUESS) ;\
-	  echo WARNING: GNU config scripts updated from master copies 1>&2 ;\
-       fi

 clean: unpatch checkroot
+       dh_autotools-dev_updateconfig
	test -f debian/control
	rm -f build-stamp
	rm -rf $(tmp) $(tmp-ALT) debian/substvars debian/files *.orig */*.orig *~ */*~

Reply via email to