Bug#742165: gcc-4.8: FTBFS on arm64 due to linaro patch and dfsg docs issue
Package: gcc-4.8
Version: 4.8.2-16
Severity: normal
Tags: patch
User: debian-arm@lists.debian.org
Usertag: arm64
building natively on arm64 fails with:
"No rule to make target arm-acle-intrinsics.texi"
This is because the gcc-linaro patch adds a make target for that but the
gcc-linaro-docs patch (which supplies the file) is not applied in debian
due to the dfsg settings.
Attached is a little extra patch to put a dummy file in. Not sure if
this is the best solution but it works until arm-acle-intrinsics.texi is
upstream at which point I think just the debian/rules.unpack stanza
becomes useful.
-- 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 gcc-4.8-4.8.2/debian/changelog gcc-4.8-4.8.2/debian/changelog
--- gcc-4.8-4.8.2/debian/changelog
+++ gcc-4.8-4.8.2/debian/changelog
@@ -1,3 +1,10 @@
+gcc-4.8 (4.8.2-16+arm64.1) unreleased; urgency=low
+
+ * Non-maintainer upload.
+ * Ensure arm-acle-intrinsics.texi exists
+
+ -- wookey <wookey@wookware.org> Tue, 18 Mar 2014 17:07:13 +0000
+
gcc-4.8 (4.8.2-16) unstable; urgency=medium
* Update to SVN 20140217 (r207828) from the gcc-4_8-branch.
diff -u gcc-4.8-4.8.2/debian/rules.patch gcc-4.8-4.8.2/debian/rules.patch
--- gcc-4.8-4.8.2/debian/rules.patch
+++ gcc-4.8-4.8.2/debian/rules.patch
@@ -33,6 +33,8 @@
# $(if $(with_linaro_branch),,svn-doc-updates) \
else
+ debian_patches += \
+ $(if $(with_linaro_branch),gcc-dfsg-linaro-doc)
endif
debian_patches += \
gcc-gfdl-build
diff -u gcc-4.8-4.8.2/debian/rules.unpack gcc-4.8-4.8.2/debian/rules.unpack
--- gcc-4.8-4.8.2/debian/rules.unpack
+++ gcc-4.8-4.8.2/debian/rules.unpack
@@ -25,6 +25,7 @@
# ---------------------------------------------------------------------------
gfdl_texinfo_files = \
+ gcc/doc/arm-acle-intrinsics.texi \
gcc/doc/arm-neon-intrinsics.texi \
gcc/doc/avr-mmcu.texi \
gcc/doc/bugreport.texi \
only in patch2:
unchanged:
--- gcc-4.8-4.8.2.orig/debian/patches/gcc-dfsg-linaro-doc.diff
+++ gcc-4.8-4.8.2/debian/patches/gcc-dfsg-linaro-doc.diff
@@ -0,0 +1,6 @@
+Index: gcc-4.8-4.8.2/src/gcc/doc/arm-acle-intrinsics.texi
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ gcc-4.8-4.8.2/src/gcc/doc/arm-acle-intrinsics.texi 2014-03-18 18:42:11.027303768 +0000
+@@ -0,0 +1 @@
++@c This file is empty because the original one has a non DFSG free license (GFDL)
Reply to: