Package: pkg-config
Version: 0.26-1
Severity: normal
Tags: patch
User: debian-...@lists.debian.org
Usertag: arm64

pkg-config FTBFS on arm64 as it's config.sub and guess files are too old
to know about aarch64. this patch adds dh-autoreconf support which fixes
this for all architectures. A more conservative version could just use
dh-autotools-dev in the same way.

-- System Information:
Debian Release: 7.4
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-kvm-i386-20110111 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
diff -u pkg-config-0.26/debian/control pkg-config-0.26/debian/control
--- pkg-config-0.26/debian/control
+++ pkg-config-0.26/debian/control
@@ -2,7 +2,7 @@
 Section: devel
 Priority: optional
 Maintainer: Tollef Fog Heen <tfh...@debian.org>
-Build-Depends: debhelper (>= 7.0.50), libglib2.0-dev, libpopt-dev
+Build-Depends: debhelper (>= 7.0.50), dh-autoreconf, libglib2.0-dev, libpopt-dev
 Homepage: http://pkg-config.freedesktop.org
 Standards-Version: 3.8.4
 
diff -u pkg-config-0.26/debian/rules pkg-config-0.26/debian/rules
--- pkg-config-0.26/debian/rules
+++ pkg-config-0.26/debian/rules
@@ -8,7 +8,7 @@
     done | sort -u | tr '\n' : | sed 's/:$$//')
 
 %:
-	dh $@
+	dh $@ --with autoreconf
 
 override_dh_auto_configure:
 	./configure --prefix=/usr \
diff -u pkg-config-0.26/debian/changelog pkg-config-0.26/debian/changelog
--- pkg-config-0.26/debian/changelog
+++ pkg-config-0.26/debian/changelog
@@ -1,3 +1,10 @@
+pkg-config (0.26-1+cfg) unreleased; urgency=low
+
+  * Non-maintainer upload.
+  * Update config.{sub,guess} for new arches (with dh-autoreconf)
+
+ -- Wookey <woo...@debian.org>  Mon, 24 Mar 2014 17:58:55 +0000
+
 pkg-config (0.26-1) unstable; urgency=low
 
   * New upstream release
only in patch2:
unchanged:
--- pkg-config-0.26.orig/config.log
+++ pkg-config-0.26/config.log
@@ -0,0 +1,233 @@
+This file contains any messages produced by compilers while
+running configure, to aid debugging if configure makes a mistake.
+
+It was created by configure, which was
+generated by GNU Autoconf 2.68.  Invocation command line was
+
+  $ ./configure --prefix=/usr --with-installed-popt --mandir=${prefix}/share/man --infodir=${prefix}/share/info --disable-shared --with-pc-path=/usr/local/lib/aarch64-linux-gnu/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/aarch64-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig --with-system-library-path=/lib:/lib/aarch64-linux-gnu:/usr/lib:/usr/lib/aarch64-linux-gnu
+
+## --------- ##
+## Platform. ##
+## --------- ##
+
+hostname = turfan
+uname -m = aarch64
+uname -r = 3.12.0-mustang_sw_1.11.09-beta
+uname -s = Linux
+uname -v = #4 SMP Mon Mar 24 10:24:20 CST 2014
+
+/usr/bin/uname -p = unknown
+/bin/uname -X     = unknown
+
+/bin/arch              = unknown
+/usr/bin/arch -k       = unknown
+/usr/convex/getsysinfo = unknown
+/usr/bin/hostinfo      = unknown
+/bin/machine           = unknown
+/usr/bin/oslevel       = unknown
+/bin/universe          = unknown
+
+PATH: /usr/local/bin
+PATH: /usr/bin
+PATH: /bin
+PATH: /usr/local/games
+PATH: /usr/games
+
+
+## ----------- ##
+## Core tests. ##
+## ----------- ##
+
+configure:2300: checking for a BSD-compatible install
+configure:2368: result: /usr/bin/install -c
+configure:2379: checking whether build environment is sane
+configure:2429: result: yes
+configure:2570: checking for a thread-safe mkdir -p
+configure:2609: result: /bin/mkdir -p
+configure:2622: checking for gawk
+configure:2652: result: no
+configure:2622: checking for mawk
+configure:2638: found /usr/bin/mawk
+configure:2649: result: mawk
+configure:2660: checking whether make sets $(MAKE)
+configure:2682: result: yes
+configure:2763: checking whether to enable maintainer-specific portions of Makefiles
+configure:2772: result: no
+configure:2818: checking build system type
+configure:2827: error: cannot guess build type; you must specify one
+
+## ---------------- ##
+## Cache variables. ##
+## ---------------- ##
+
+ac_cv_env_CC_set=
+ac_cv_env_CC_value=
+ac_cv_env_CFLAGS_set=
+ac_cv_env_CFLAGS_value=
+ac_cv_env_CPPFLAGS_set=
+ac_cv_env_CPPFLAGS_value=
+ac_cv_env_CPP_set=
+ac_cv_env_CPP_value=
+ac_cv_env_LDFLAGS_set=
+ac_cv_env_LDFLAGS_value=
+ac_cv_env_LIBS_set=
+ac_cv_env_LIBS_value=
+ac_cv_env_build_alias_set=
+ac_cv_env_build_alias_value=
+ac_cv_env_host_alias_set=
+ac_cv_env_host_alias_value=
+ac_cv_env_target_alias_set=
+ac_cv_env_target_alias_value=
+ac_cv_path_install='/usr/bin/install -c'
+ac_cv_path_mkdir=/bin/mkdir
+ac_cv_prog_AWK=mawk
+ac_cv_prog_make_make_set=yes
+
+## ----------------- ##
+## Output variables. ##
+## ----------------- ##
+
+ACLOCAL='${SHELL} /home/buildd/packages/modified/pkg-config-0.26/missing --run aclocal-1.11'
+ALLOCA=''
+AMDEPBACKSLASH=''
+AMDEP_FALSE=''
+AMDEP_TRUE=''
+AMTAR='${SHELL} /home/buildd/packages/modified/pkg-config-0.26/missing --run tar'
+AR=''
+AUTOCONF='${SHELL} /home/buildd/packages/modified/pkg-config-0.26/missing --run autoconf'
+AUTOHEADER='${SHELL} /home/buildd/packages/modified/pkg-config-0.26/missing --run autoheader'
+AUTOMAKE='${SHELL} /home/buildd/packages/modified/pkg-config-0.26/missing --run automake-1.11'
+AWK='mawk'
+CC=''
+CCDEPMODE=''
+CFLAGS=''
+CPP=''
+CPPFLAGS=''
+CYGPATH_W='echo'
+DEFS=''
+DEPDIR=''
+DLLTOOL=''
+DSYMUTIL=''
+DUMPBIN=''
+ECHO_C=''
+ECHO_N='-n'
+ECHO_T=''
+EGREP=''
+EXEEXT=''
+FGREP=''
+GLIB_CFLAGS=''
+GLIB_LIBS=''
+GREP=''
+INSTALL_DATA='${INSTALL} -m 644'
+INSTALL_PROGRAM='${INSTALL}'
+INSTALL_SCRIPT='${INSTALL}'
+INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
+LD=''
+LDFLAGS=''
+LIBOBJS=''
+LIBS=''
+LIBTOOL=''
+LIPO=''
+LN_S=''
+LTLIBOBJS=''
+MAINT='#'
+MAINTAINER_MODE_FALSE=''
+MAINTAINER_MODE_TRUE='#'
+MAKEINFO='${SHELL} /home/buildd/packages/modified/pkg-config-0.26/missing --run makeinfo'
+MANIFEST_TOOL=''
+MKDIR_P='/bin/mkdir -p'
+NATIVE_WIN32_FALSE=''
+NATIVE_WIN32_TRUE=''
+NM=''
+NMEDIT=''
+OBJDUMP=''
+OBJEXT=''
+OTOOL64=''
+OTOOL=''
+PACKAGE='pkg-config'
+PACKAGE_BUGREPORT=''
+PACKAGE_NAME=''
+PACKAGE_STRING=''
+PACKAGE_TARNAME=''
+PACKAGE_URL=''
+PACKAGE_VERSION=''
+PATH_SEPARATOR=':'
+PKG_CONFIG=''
+POPT_LIBS=''
+RANLIB=''
+SED=''
+SET_MAKE=''
+SHELL='/bin/bash'
+STRIP=''
+USE_INSTALLED_POPT_FALSE=''
+USE_INSTALLED_POPT_TRUE=''
+VERSION='0.26'
+WARN_CFLAGS=''
+ac_ct_AR=''
+ac_ct_CC=''
+ac_ct_DUMPBIN=''
+am__EXEEXT_FALSE=''
+am__EXEEXT_TRUE=''
+am__fastdepCC_FALSE=''
+am__fastdepCC_TRUE=''
+am__include=''
+am__isrc=''
+am__leading_dot='.'
+am__quote=''
+am__tar='${AMTAR} chof - "$$tardir"'
+am__untar='${AMTAR} xf -'
+bindir='${exec_prefix}/bin'
+build=''
+build_alias=''
+build_cpu=''
+build_os=''
+build_vendor=''
+datadir='${datarootdir}'
+datarootdir='${prefix}/share'
+docdir='${datarootdir}/doc/${PACKAGE}'
+dvidir='${docdir}'
+exec_prefix='NONE'
+host=''
+host_alias=''
+host_cpu=''
+host_os=''
+host_vendor=''
+htmldir='${docdir}'
+includedir='${prefix}/include'
+infodir='${prefix}/share/info'
+install_sh='${SHELL} /home/buildd/packages/modified/pkg-config-0.26/install-sh'
+libdir='${exec_prefix}/lib'
+libexecdir='${exec_prefix}/libexec'
+localedir='${datarootdir}/locale'
+localstatedir='${prefix}/var'
+mandir='${prefix}/share/man'
+mkdir_p='/bin/mkdir -p'
+oldincludedir='/usr/include'
+pc_path=''
+pdfdir='${docdir}'
+prefix='/usr'
+program_transform_name='s,x,x,'
+psdir='${docdir}'
+sbindir='${exec_prefix}/sbin'
+sharedstatedir='${prefix}/com'
+sysconfdir='${prefix}/etc'
+system_include_path=''
+system_library_path=''
+target_alias=''
+use_indirect_deps=''
+
+## ----------- ##
+## confdefs.h. ##
+## ----------- ##
+
+/* confdefs.h */
+#define PACKAGE_NAME ""
+#define PACKAGE_TARNAME ""
+#define PACKAGE_VERSION ""
+#define PACKAGE_STRING ""
+#define PACKAGE_BUGREPORT ""
+#define PACKAGE_URL ""
+#define PACKAGE "pkg-config"
+#define VERSION "0.26"
+
+configure: exit 1

Reply via email to