haxe-mode.el does not install cleanly

Bug #239739 reported by Martijn Vermaat
44
This bug affects 7 people
Affects Status Importance Assigned to Milestone
haxe (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: haxe

Java mode's c-block-prefix-disallowed-chars is used in haxe-mode.el, but it seems to not have a value.

Attached patch just comments some lines. I don't have enough emacs-foo to see what's the proper fix here.

Setting up haxe (1:1.16-1) ...
install/haxe-mode: Handling install for emacsen flavor emacs-snapshot

[...]

Eval error in the `c-lang-defconst' for `c-block-prefix-disallowed-chars' in haxe-mode:
Eval error in the `c-lang-defconst' for `c-block-prefix-charset' in haxe-mode:

In toplevel form:
haxe-mode.el:308:4:Error: `c-block-prefix-disallowed-chars' got no (prior) value in java-mode (might be a cyclic reference)
emacs-package-install: /usr/lib/emacsen-common/packages/install/haxe emacs-snapshot emacs-snapshot emacs22 failed at /usr/lib/emacsen-common/emacs-package-install line 30, <TSORT> line 1.
dpkg: error processing haxe (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 haxe

Revision history for this message
Martijn Vermaat (mvermaat) wrote :
Revision history for this message
arky (arky) wrote :

$ apt-cache policy emacs-snapshot
emacs-snapshot:
  Installed: 1:20080228-1ubuntu1
  Candidate: 1:20080228-1ubuntu1
  Version table:
 *** 1:20080228-1ubuntu1 0
        500 http://in.archive.ubuntu.com hardy/universe Packages
        100 /var/lib/dpkg/status
arky@arky-laptop:~/Desktop$ sudo apt-get install haxe
[sudo] password for arky:
Reading package lists... Done
Building dependency tree
Reading state information... Done
haxe is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 49 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up haxe (1:1.16-1) ...
install/haxe-mode: Handling install for emacsen flavor emacs-snapshot
Loading 00debian-vars...
No /etc/mailname. Reverting to default...
Loading /etc/emacs/site-start.d/50autoconf.el (source)...
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Skipping dictionaries-common setup for emacs-snapshot
Loading /etc/emacs/site-start.d/50festival.el (source)...
Loading /etc/emacs/site-start.d/50haxe.el (source)...
Loading /etc/emacs/site-start.d/50psvn.el (source)...
Eval error in the `c-lang-defconst' for `c-block-prefix-disallowed-chars' in haxe-mode:
Eval error in the `c-lang-defconst' for `c-block-prefix-charset' in haxe-mode:

In toplevel form:
haxe-mode.el:308:4:Error: `c-block-prefix-disallowed-chars' got no (prior) value in java-mode (might be a cyclic reference)
emacs-package-install: /usr/lib/emacsen-common/packages/install/haxe emacs-snapshot emacs-snapshot failed at /usr/lib/emacsen-common/emacs-package-install line 30, <TSORT> line 1.
dpkg: error processing haxe (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 haxe
E: Sub-process /usr/bin/dpkg returned an error code (1)

Description: Ubuntu 8.04.1
Release: 8.04

$ apt-cache policy haxe
haxe:
  Installed: 1:1.16-1
  Candidate: 1:1.16-1
  Version table:
 *** 1:1.16-1 0
        500 http://in.archive.ubuntu.com hardy/universe Packages
        100 /var/lib/dpkg/status

Revision history for this message
Jens Peter Secher (jpsecher) wrote :

I am the author of haxe-mode.el and the source is now hosted at https://bitbucket.org/jpsecher/haxe-mode

Changed in haxe (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.