Control: tags -1 - help + pending patch upstream
Control: reassign -1 emacs24 24.4+1-4

On 11/27/2014 12:31 PM, Bálint Réczey wrote:
> Control: tags -1 help
> 
> 2014-11-11 21:05 GMT+01:00 Bálint Réczey <bal...@balintreczey.hu>:
>> Control: tags -1 confirmed
>>
>> Hi Lucas,
>>
>> 2014-11-09 8:31 GMT+01:00 Lucas Nussbaum <lu...@lucas-nussbaum.net>:
>>> Source: ecb
>>> Version: 2.40+git20140216-1
>>> Severity: serious
>>> Tags: jessie sid
>>> User: debian...@lists.debian.org
>>> Usertags: qa-ftbfs-20141108 qa-ftbfs
>>> Justification: FTBFS in jessie on amd64
>>>
>>> Hi,
>>>
>>> During a rebuild of all packages in jessie (in a jessie chroot, not a
>>> sid chroot), your package failed to build on amd64.
>>>
>>> Relevant part (hopefully):
>>>> make[2]: Entering directory '/ĢBUILDDIRģ/ecb-2.40+git20140216'
>>>> Makefile:38: Makefile.conf not found. Using defaults for Linux!
>>>> Makefile:39: Create Makefile.conf from Makefile.conf.template to override 
>>>> the defaults.
>>>> Byte-compiling ECB with LOADPATH= ...
>>>> emacs -batch -no-site-file -l ecb-compile-script --eval '(ecb-byte-compile 
>>>> t)'
>>>> ECB 2.40 uses CEDET 2.0 (contains semantic 2.2, eieio 1.4, speedbar 1.0).
>>>> All requirements for ECB 2.40 fulfilled - Enjoy it!
> ...
>>>> Wrote /ĢBUILDDIRģ/ecb-2.40+git20140216/ecb-winman-support.elc
>>>> Wrote /ĢBUILDDIRģ/ecb-2.40+git20140216/ecb.elc
>>>> Wrote /ĢBUILDDIRģ/ecb-2.40+git20140216/silentcomp.elc
>>>> Wrote /ĢBUILDDIRģ/ecb-2.40+git20140216/tree-buffer.elc
>>>> Args out of range: 0
>>>> make[2]: *** [ecb] Error 255
>>>
>>> The full build log is available from:
>>>    
>>> http://aws-logs.debian.net/ftbfs-logs/2014/11/08/ecb_2.40+git20140216-1_jessie.log
>> It seems the latest emacs24 upload introduced some Elisp changes breaking 
>> ECB.
>> I will try to fix it for the release, but if someone is more familiar
>> with the changes then feel free to check the regression.
>>
>> Cheers,
>> Balint
> 
> I'm not sure if I can debug and fix this by 5 Dec, when the package is
> scheduled for removal from testing.
> If you are familiar with elisp please take a look.
It turned out to be an Emacs bug already fixed upstream.
Please see the attached NMU diff which fixes.
I'm uploading the fixed package to DELAYED/10 today.

Cheers,
Balint

diff -Nru emacs24-24.4+1/debian/changelog emacs24-24.4+1/debian/changelog
--- emacs24-24.4+1/debian/changelog	2014-10-25 21:41:42.000000000 +0200
+++ emacs24-24.4+1/debian/changelog	2014-12-09 16:25:45.000000000 +0100
@@ -1,3 +1,11 @@
+emacs24 (24.4+1-4.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Cherry-pick 0009-lisp-startup.el-command-line.patch to fix handling
+    nil elements in load-path (Closes: #768751)
+
+ -- Balint Reczey <bal...@balintreczey.hu>  Tue, 09 Dec 2014 16:24:27 +0100
+
 emacs24 (24.4+1-4) unstable; urgency=medium
 
   * Update emacsen-common dependency as per policy.
diff -Nru emacs24-24.4+1/debian/patches/0009-lisp-startup.el-command-line.patch emacs24-24.4+1/debian/patches/0009-lisp-startup.el-command-line.patch
--- emacs24-24.4+1/debian/patches/0009-lisp-startup.el-command-line.patch	1970-01-01 01:00:00.000000000 +0100
+++ emacs24-24.4+1/debian/patches/0009-lisp-startup.el-command-line.patch	2014-12-09 16:26:58.000000000 +0100
@@ -0,0 +1,20 @@
+From edfdb22f674312389ccf5d5e37efa4d3f1516994 Mon Sep 17 00:00:00 2001
+From: Glenn Morris <r...@gnu.org>
+Date: Sun, 9 Nov 2014 23:12:37 -0800
+Subject: [PATCH] * lisp/startup.el (command-line): Handle nil elements in
+ load-path.
+
+---
+ lisp/startup.el | 1 +
+ 1 file changed, 1 insertions(+)
+
+--- a/lisp/startup.el
++++ b/lisp/startup.el
+@@ -1336,6 +1336,7 @@
+   (let (warned)
+     (dolist (dir load-path)
+       (and (not warned)
++	   (stringp dir)
+ 	   (string-match-p "/[._]emacs\\.d/?\\'" dir)
+ 	   (string-equal (file-name-as-directory (expand-file-name dir))
+ 			 (expand-file-name user-emacs-directory))
diff -Nru emacs24-24.4+1/debian/patches/series emacs24-24.4+1/debian/patches/series
--- emacs24-24.4+1/debian/patches/series	2014-10-25 21:40:41.000000000 +0200
+++ emacs24-24.4+1/debian/patches/series	2014-12-09 16:26:50.000000000 +0100
@@ -6,3 +6,4 @@
 0006-Look-for-NEWS-in-order-to-find-etc-rather-than-GNU.patch
 0007-Don-t-try-to-build-src-macuvs.h-via-IVD_Sequences.tx.patch
 0008-A-race-to-create-info-has-been-eliminated.patch
+0009-lisp-startup.el-command-line.patch

Reply via email to