Package: ikarus
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch

Dear maintainer,

ikarus fails to build with automake 1.11.2 or greater.

Snippet:
dh clean --with autoreconf --parallel
   dh_testdir -O--parallel
   dh_auto_clean -O--parallel
   dh_autoreconf_clean -O--parallel
   dh_clean -O--parallel
 debian/rules build
dh build --with autoreconf --parallel
   dh_testdir -O--parallel
   dh_autoreconf -O--parallel
lib/Makefile.am:9: `pkglibdir' is not a legitimate directory for `DATA'
scheme/Makefile.am:105: shell sed 's/ .*//' ../.bzr/branch/last-revision 
2>/dev/null: non-POSIX variable name
scheme/Makefile.am:105: (probably a GNU make extension)
scheme/Makefile.am:106: shell ls ../.bzr/branch/last-revision 2>/dev/null: 
non-POSIX variable name
scheme/Makefile.am:106: (probably a GNU make extension)
scheme/Makefile.am:109: shell grep SIZEOF_VOID_P ../config.h | sed "s/.*\(.\: 
non-POSIX variable name
scheme/Makefile.am:109: (probably a GNU make extension)
scheme/Makefile.am:113: shell cat $(srcdir: non-POSIX variable name
scheme/Makefile.am:113: (probably a GNU make extension)
scheme/Makefile.am:2: `pkglibdir' is not a legitimate directory for `DATA'
autoreconf: automake failed with exit status: 1
dh_autoreconf: autoreconf -f -i returned exit code 1
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20120208-1525
FAILED [dpkg-buildpackage died]

The full buidlog can be found at 
https://launchpad.net/ubuntu/+archive/test-rebuild-20120201/+build/3151144/+files/buildlog_ubuntu-precise-amd64.ikarus_0.0.3+bzr.2010.01.26-1_FAILEDTOBUILD.txt.gz.

The following patch fixes the problem.

Have a great day,

Leo.


-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric'), (100, 
'oneiric-backports')
Architecture: i386 (i686)

Kernel: Linux 3.2.2-030202-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Description: Replace pkglib (deprecated) with pkgdata in Makefile.am.
 This fixes FTBFS with automake 1.11.2 or greater.
Author: Leo Iannacone <l...@ubuntu.com>
Bug-Ubuntu: https://bugs.launchpad.net/+bug/935180

---
 lib/Makefile.am    |    2 +-
 scheme/Makefile.am |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

--- ikarus.orig/lib/Makefile.am
+++ ikarus/lib/Makefile.am
@@ -6,7 +6,7 @@ libCocoadir=$(pkglibdir)/Cocoa
 dist_libCocoa_DATA=Cocoa/helpers.ss
 
 
-dist_pkglib_DATA= match.ss gl.ss glut.ss \
+dist_pkgdata_DATA= match.ss gl.ss glut.ss \
   ypsilon-compat.ikarus.ss ypsilon-compat.ypsilon.ss \
   objc.ss Cocoa.ss 
 
--- ikarus.orig/scheme/Makefile.am
+++ ikarus/scheme/Makefile.am
@@ -1,5 +1,5 @@
 
-nodist_pkglib_DATA=ikarus.boot
+nodist_pkgdata_DATA=ikarus.boot
 
 EXTRA_DIST=ikarus.boot.4.prebuilt ikarus.boot.8.prebuilt last-revision \
   ikarus.enumerations.ss run-tests.ss \
@@ -100,7 +100,7 @@ EXTRA_DIST=ikarus.boot.4.prebuilt ikarus
   tests/tests-5.6-req.scm \
   tests/unicode.ss
 
-all: $(nodist_pkglib_DATA)
+all: $(nodist_pkgdata_DATA)
 
 revno = "$(shell sed 's/ .*//' ../.bzr/branch/last-revision 2>/dev/null)"
 $(srcdir)/last-revision: $(shell ls ../.bzr/branch/last-revision 2>/dev/null) 
@@ -116,7 +116,7 @@ ikarus.config.ss: Makefile last-revision
        echo '(define wordsize $(sizeofvoidp))' >>$@
 
 
-CLEANFILES=$(nodist_pkglib_DATA) ikarus.config.ss
+CLEANFILES=$(nodist_pkgdata_DATA) ikarus.config.ss
 MAINTAINERCLEANFILES=last-revision
 
 ikarus.boot: $(EXTRA_DIST) ikarus.config.ss 

Reply via email to