Bug#478060: libjavascript-perl: FTBFS if built twice in a row
Mike Hommey
mh+reportbug at glandium.org
Sat Apr 26 17:46:29 UTC 2008
Package: libjavascript-perl
Version: 1.06-1
Severity: important
User: debian-qa at lists.debian.org
Usertags: qa-doublebuild
Hi,
This package fails to build twice in a row with the following error on
the second build:
debian/rules clean
QUILT_PATCHES=debian/patches quilt --quiltrc /dev/null pop -a -R || test $? = 2
Removing patch makefile-compile.patch
Restoring Makefile.PL
Removing patch pod-errors
Restoring lib/Test/JavaScript/More.pm
Restoring lib/JavaScript/Runtime.pm
No patches applied
rm -rf .pc debian/stamp-patched
dh_testdir
dh_testroot
[ ! -f Makefile ] || /usr/bin/make realclean
make[1]: Entering directory `/tmp/libjavascript-perl-1.06'
Makefile out-of-date with respect to Makefile.PL
Cleaning current config before rebuilding Makefile...
/usr/bin/make -f Makefile.old clean > /dev/null 2>&1
/usr/bin/perl Makefile.PL "INSTALLDIRS=vendor"
Is your SpiderMonkey compiled with JS_THREADSAFE (most things will fail if you answer wrong)? [y/N]
Is your SpiderMonkey compiled with support for unicode (t/23-unicode.t will fail if you answer wrong) ? [y/N] [N] N
Do you want support for E4X (requires SpiderMonkey > 1.5) ? [y/N] [N] N
cc: : No such file or directory
Failed compiling test_js.c. ABORTING
make[1]: *** [Makefile] Error 1
make[1]: Leaving directory `/tmp/libjavascript-perl-1.06'
make: *** [clean] Error 2
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.25-rc8-amd64 (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/bash
-------------- next part --------------
--- rules.orig 2008-04-26 19:43:05.901759849 +0200
+++ rules 2008-04-26 19:42:18.158810435 +0200
@@ -34,7 +34,9 @@
JS_INC=/usr/include/nspr/:/usr/include/mozjs/ $(MAKE) test
touch build-stamp
-clean: unpatch
+clean: realclean unpatch
+
+realclean:
dh_testdir
dh_testroot
[ ! -f Makefile ] || $(MAKE) realclean
@@ -82,4 +84,6 @@
dh_builddeb
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+.PHONY: build clean binary-indep binary-arch binary install realclean
+
+.NOTPARALLEL:
More information about the pkg-perl-maintainers
mailing list