all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#15218: End of file during parsing only for byte compiled files
@ 2013-08-30  8:13 Johan Andersson
  2013-08-30 12:36 ` Stefan Monnier
  0 siblings, 1 reply; 6+ messages in thread
From: Johan Andersson @ 2013-08-30  8:13 UTC (permalink / raw)
  To: 15218

[-- Attachment #1: Type: text/plain, Size: 519 bytes --]

Hi,

I just released a new version of Ecukes (https://github.com/rejeep/ecukes.el).
Everything works fine locally, but not when I install via package.el. Then
I get this error:

End of file during parsing:
/path/to/project/.cask/24.3.1/elpa/ecukes-20130830.16/ecukes-core.elc

And if I remove that .elc file, it complains on the next file and so on. If
I remove all .elc files it works fine.

So something with the byte compilation does not work, but if I byte compile
all files locally it works just fine.

Any ideas?

[-- Attachment #2: Type: text/html, Size: 723 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#15218: End of file during parsing only for byte compiled files
  2013-08-30  8:13 bug#15218: End of file during parsing only for byte compiled files Johan Andersson
@ 2013-08-30 12:36 ` Stefan Monnier
  2013-08-30 15:10   ` Johan Andersson
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Monnier @ 2013-08-30 12:36 UTC (permalink / raw)
  To: Johan Andersson; +Cc: 15218

> I just released a new version of Ecukes (https://github.com/rejeep/ecukes.el).
> Everything works fine locally, but not when I install via package.el. Then
> I get this error:

> End of file during parsing:
> /path/to/project/.cask/24.3.1/elpa/ecukes-20130830.16/ecukes-core.elc

> And if I remove that .elc file, it complains on the next file and so on. If
> I remove all .elc files it works fine.

I'm not sure when you see that error (is it when loading the package or
when installing it?).  Assuming it's when loading it, could it be that
you're loading the package in a version of Emacs noticeably older than
the one that compiled the files?

> So something with the byte compilation does not work, but if I byte compile
> all files locally it works just fine.

The elpa package is supposed to come without any .elc files, and the .el
files are supposed to be byte-compiled during installation.  Did this
work correctly?


        Stefan





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#15218: End of file during parsing only for byte compiled files
  2013-08-30 12:36 ` Stefan Monnier
@ 2013-08-30 15:10   ` Johan Andersson
  2013-08-31  8:25     ` Johan Andersson
  0 siblings, 1 reply; 6+ messages in thread
From: Johan Andersson @ 2013-08-30 15:10 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 15218


[-- Attachment #1.1: Type: text/plain, Size: 1766 bytes --]

> I'm not sure when you see that error (is it when loading the package or
when installing it?).

Loading, yes!

> Assuming it's when loading it, could it be that
you're loading the package in a version of Emacs noticeably older than
the one that compiled the files?

No, it's the exact same binary that installed the package as the one
running it. But if I look at the byte code, the one that package.el
produced is not the same as if I would run byte-compile-file.

> The elpa package is supposed to come without any .elc files, and the .el
files are supposed to be byte-compiled during installation.  Did this
work correctly?

I can see no errors or warnings. See attached log file.


On Fri, Aug 30, 2013 at 2:36 PM, Stefan Monnier <monnier@iro.umontreal.ca>wrote:

> > I just released a new version of Ecukes (
> https://github.com/rejeep/ecukes.el).
> > Everything works fine locally, but not when I install via package.el.
> Then
> > I get this error:
>
> > End of file during parsing:
> > /path/to/project/.cask/24.3.1/elpa/ecukes-20130830.16/ecukes-core.elc
>
> > And if I remove that .elc file, it complains on the next file and so on.
> If
> > I remove all .elc files it works fine.
>
> I'm not sure when you see that error (is it when loading the package or
> when installing it?).  Assuming it's when loading it, could it be that
> you're loading the package in a version of Emacs noticeably older than
> the one that compiled the files?
>
> > So something with the byte compilation does not work, but if I byte
> compile
> > all files locally it works just fine.
>
> The elpa package is supposed to come without any .elc files, and the .el
> files are supposed to be byte-compiled during installation.  Did this
> work correctly?
>
>
>         Stefan
>

[-- Attachment #1.2: Type: text/html, Size: 2620 bytes --]

[-- Attachment #2: cask.log --]
[-- Type: application/octet-stream, Size: 18455 bytes --]

$ cask
Contacting host: melpa.milkbox.net:80
Saving file /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/archives/melpa/archive-contents...
Loading vc-git...
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/archives/melpa/archive-contents
Contacting host: melpa.milkbox.net:80
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/dash-20130819.1125/dash.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/dash-20130819.1125/dash-pkg.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/dash-20130819.1125/dash-autoloads.el
Making version-control local to dash-autoloads.el while let-bound!
Generating autoloads for dash-pkg.el...
Generating autoloads for dash-pkg.el...done
Generating autoloads for dash.el...
Generating autoloads for dash.el...done
Saving file /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/dash-20130819.1125/dash-autoloads.el...
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/dash-20130819.1125/dash-autoloads.el
Checking /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/dash-20130819.1125...
Compiling /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/dash-20130819.1125/dash-autoloads.el...
Compiling /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/dash-20130819.1125/dash-pkg.el...
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/dash-20130819.1125/dash-pkg.elc
Compiling /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/dash-20130819.1125/dash.el...
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/dash-20130819.1125/dash.elc
Done (Total of 2 files compiled, 1 skipped)
Contacting host: melpa.milkbox.net:80
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/s-20130824.2225/s.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/s-20130824.2225/s-pkg.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/s-20130824.2225/s-autoloads.el
Generating autoloads for s-pkg.el...
Generating autoloads for s-pkg.el...done
Generating autoloads for s.el...
Generating autoloads for s.el...done
Saving file /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/s-20130824.2225/s-autoloads.el...
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/s-20130824.2225/s-autoloads.el
Checking /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/s-20130824.2225...
Compiling /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/s-20130824.2225/s-autoloads.el...
Compiling /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/s-20130824.2225/s-pkg.el...
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/s-20130824.2225/s-pkg.elc
Compiling /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/s-20130824.2225/s.el...
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/s-20130824.2225/s.elc
Done (Total of 2 files compiled, 1 skipped)
Contacting host: melpa.milkbox.net:80
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/f-20130821.2204/f.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/f-20130821.2204/f-pkg.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/f-20130821.2204/f-autoloads.el
Generating autoloads for f-pkg.el...
Generating autoloads for f-pkg.el...done
Generating autoloads for f.el...
Generating autoloads for f.el...done
Saving file /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/f-20130821.2204/f-autoloads.el...
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/f-20130821.2204/f-autoloads.el
Checking /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/f-20130821.2204...
Compiling /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/f-20130821.2204/f-autoloads.el...
Compiling /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/f-20130821.2204/f-pkg.el...
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/f-20130821.2204/f-pkg.elc
Compiling /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/f-20130821.2204/f.el...
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/f-20130821.2204/f.elc
Done (Total of 2 files compiled, 1 skipped)
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/commander-20130823.1021/commander.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/commander-20130823.1021/commander-pkg.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/commander-20130823.1021/commander-autoloads.el
Generating autoloads for commander-pkg.el...
Generating autoloads for commander-pkg.el...done
Generating autoloads for commander.el...
Generating autoloads for commander.el...done
Saving file /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/commander-20130823.1021/commander-autoloads.el...
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/commander-20130823.1021/commander-autoloads.el
Checking /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/commander-20130823.1021...
Compiling /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/commander-20130823.1021/commander-autoloads.el...
Compiling /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/commander-20130823.1021/commander-pkg.el...
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/commander-20130823.1021/commander-pkg.elc
Compiling /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/commander-20130823.1021/commander.el...
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/commander-20130823.1021/commander.elc
Done (Total of 2 files compiled, 1 skipped)
Contacting host: melpa.milkbox.net:80
Parsing tar file...
Parsing tar file...done
Extracting espuds-20130226.2124/
Extracting espuds-20130226.2124/espuds-helpers.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124/espuds-helpers.el
Extracting espuds-20130226.2124/espuds-pkg.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124/espuds-pkg.el
Extracting espuds-20130226.2124/espuds.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124/espuds.el
Extracting espuds-20130226.2124/espuds-input.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124/espuds-input.el
Extracting espuds-20130226.2124/espuds-region.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124/espuds-region.el
Extracting espuds-20130226.2124/espuds-cursor.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124/espuds-cursor.el
Extracting espuds-20130226.2124/espuds-buffer.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124/espuds-buffer.el
Extracting espuds-20130226.2124/espuds-misc.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124/espuds-misc.el
Extracting espuds-20130226.2124/espuds-text.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124/espuds-text.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124/espuds-autoloads.el
Generating autoloads for espuds-buffer.el...
Generating autoloads for espuds-buffer.el...done
Generating autoloads for espuds-cursor.el...
Generating autoloads for espuds-cursor.el...done
Generating autoloads for espuds-helpers.el...
Generating autoloads for espuds-helpers.el...done
Generating autoloads for espuds-input.el...
Generating autoloads for espuds-input.el...done
Generating autoloads for espuds-misc.el...
Generating autoloads for espuds-misc.el...done
Generating autoloads for espuds-pkg.el...
Generating autoloads for espuds-pkg.el...done
Generating autoloads for espuds-region.el...
Generating autoloads for espuds-region.el...done
Generating autoloads for espuds-text.el...
Generating autoloads for espuds-text.el...done
Generating autoloads for espuds.el...
Generating autoloads for espuds.el...done
Saving file /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124/espuds-autoloads.el...
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124/espuds-autoloads.el
Checking /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124...
Compiling /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124/espuds-autoloads.el...
Compiling /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124/espuds-buffer.el...

In end of data:
espuds-buffer.el:53:1:Warning: the following functions are not known to be
    defined: Given, Then
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124/espuds-buffer.elc
Compiling /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124/espuds-cursor.el...
`flet' is an obsolete macro (as of 24.3); use either `cl-flet' or `cl-letf'.

In end of data:
espuds-cursor.el:165:1:Warning: the following functions are not known to be
    defined: When, Then
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124/espuds-cursor.elc
Compiling /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124/espuds-helpers.el...

In espuds-quit:
espuds-helpers.el:21:8:Warning: `flet' is an obsolete macro (as of 24.3); use
    either `cl-flet' or `cl-letf'.
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124/espuds-helpers.elc
Compiling /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124/espuds-input.el...

In end of data:
espuds-input.el:77:1:Warning: the function `When' is not known to be defined.
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124/espuds-input.elc
Compiling /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124/espuds-misc.el...

In toplevel form:
espuds-misc.el:50:33:Warning: reference to free variable `ecukes-message-log'

In end of data:
espuds-misc.el:56:1:Warning: the following functions are not known to be
    defined: When, Then
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124/espuds-misc.elc
Compiling /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124/espuds-pkg.el...
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124/espuds-pkg.elc
Compiling /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124/espuds-region.el...

In end of data:
espuds-region.el:67:1:Warning: the following functions are not known to be
    defined: Given, When, Then
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124/espuds-region.elc
Compiling /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124/espuds-text.el...

In end of data:
espuds-text.el:104:1:Warning: the following functions are not known to be
    defined: When, Then
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124/espuds-text.elc
Compiling /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/espuds-20130226.2124/espuds.el...

In toplevel form:
espuds.el:38:1:Error: Symbol's function definition is void: Given
Done (Total of 8 files compiled, 1 failed, 1 skipped)
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ansi-20130827.1653/ansi.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ansi-20130827.1653/ansi-pkg.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ansi-20130827.1653/ansi-autoloads.el
Generating autoloads for ansi-pkg.el...
Generating autoloads for ansi-pkg.el...done
Generating autoloads for ansi.el...
Generating autoloads for ansi.el...done
Saving file /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ansi-20130827.1653/ansi-autoloads.el...
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ansi-20130827.1653/ansi-autoloads.el
Checking /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ansi-20130827.1653...
Compiling /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ansi-20130827.1653/ansi-autoloads.el...
Compiling /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ansi-20130827.1653/ansi-pkg.el...
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ansi-20130827.1653/ansi-pkg.elc
Compiling /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ansi-20130827.1653/ansi.el...
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ansi-20130827.1653/ansi.elc
Done (Total of 2 files compiled, 1 skipped)
Contacting host: melpa.milkbox.net:80
Parsing tar file...
Parsing tar file...done
Extracting ecukes-20130830.16/
Extracting ecukes-20130830.16/ecukes-pkg.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/ecukes-pkg.el
Extracting ecukes-20130830.16/ecukes-byte-compile.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/ecukes-byte-compile.el
Extracting ecukes-20130830.16/reporters/
Extracting ecukes-20130830.16/reporters/ecukes-reporter-spec.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/reporters/ecukes-reporter-spec.el
Extracting ecukes-20130830.16/reporters/ecukes-reporter-landing.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/reporters/ecukes-reporter-landing.el
Extracting ecukes-20130830.16/reporters/ecukes-reporter-progress.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/reporters/ecukes-reporter-progress.el
Extracting ecukes-20130830.16/reporters/ecukes-reporter-magnars.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/reporters/ecukes-reporter-magnars.el
Extracting ecukes-20130830.16/reporters/ecukes-reporter-gangsta.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/reporters/ecukes-reporter-gangsta.el
Extracting ecukes-20130830.16/reporters/ecukes-reporter-dot.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/reporters/ecukes-reporter-dot.el
Extracting ecukes-20130830.16/ecukes-cli.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/ecukes-cli.el
Extracting ecukes-20130830.16/ecukes-new.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/ecukes-new.el
Extracting ecukes-20130830.16/templates/
Extracting ecukes-20130830.16/templates/feature.tpl
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/templates/feature.tpl
Extracting ecukes-20130830.16/templates/env.tpl
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/templates/env.tpl
Extracting ecukes-20130830.16/templates/step-definition.tpl
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/templates/step-definition.tpl
Extracting ecukes-20130830.16/templates/missing-step.tpl
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/templates/missing-step.tpl
Extracting ecukes-20130830.16/ecukes-template.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/ecukes-template.el
Extracting ecukes-20130830.16/ecukes-hooks.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/ecukes-hooks.el
Extracting ecukes-20130830.16/ecukes-stats.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/ecukes-stats.el
Extracting ecukes-20130830.16/ecukes-def.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/ecukes-def.el
Extracting ecukes-20130830.16/ecukes-parse.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/ecukes-parse.el
Extracting ecukes-20130830.16/bin/
Extracting ecukes-20130830.16/bin/ecukes
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/bin/ecukes
Extracting ecukes-20130830.16/ecukes-run.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/ecukes-run.el
Extracting ecukes-20130830.16/ecukes.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/ecukes.el
Extracting ecukes-20130830.16/ecukes-reporter.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/ecukes-reporter.el
Extracting ecukes-20130830.16/ecukes-project.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/ecukes-project.el
Extracting ecukes-20130830.16/ecukes-steps.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/ecukes-steps.el
Extracting ecukes-20130830.16/ecukes-helpers.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/ecukes-helpers.el
Extracting ecukes-20130830.16/ecukes-load.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/ecukes-load.el
Extracting ecukes-20130830.16/ecukes-core.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/ecukes-core.el
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/ecukes-autoloads.el
Generating autoloads for ecukes-byte-compile.el...
Generating autoloads for ecukes-byte-compile.el...done
Generating autoloads for ecukes-cli.el...
Generating autoloads for ecukes-cli.el...done
Generating autoloads for ecukes-core.el...
Generating autoloads for ecukes-core.el...done
Generating autoloads for ecukes-def.el...
Generating autoloads for ecukes-def.el...done
Generating autoloads for ecukes-helpers.el...
Generating autoloads for ecukes-helpers.el...done
Generating autoloads for ecukes-hooks.el...
Generating autoloads for ecukes-hooks.el...done
Generating autoloads for ecukes-load.el...
Generating autoloads for ecukes-load.el...done
Generating autoloads for ecukes-new.el...
Generating autoloads for ecukes-new.el...done
Generating autoloads for ecukes-parse.el...
Generating autoloads for ecukes-parse.el...done
Generating autoloads for ecukes-pkg.el...
Generating autoloads for ecukes-pkg.el...done
Generating autoloads for ecukes-project.el...
Generating autoloads for ecukes-project.el...done
Generating autoloads for ecukes-reporter.el...
Generating autoloads for ecukes-reporter.el...done
Generating autoloads for ecukes-run.el...
Generating autoloads for ecukes-run.el...done
Generating autoloads for ecukes-stats.el...
Generating autoloads for ecukes-stats.el...done
Generating autoloads for ecukes-steps.el...
Generating autoloads for ecukes-steps.el...done
Generating autoloads for ecukes-template.el...
Generating autoloads for ecukes-template.el...done
Generating autoloads for ecukes.el...
Generating autoloads for ecukes.el...done
Saving file /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/ecukes-autoloads.el...
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/ecukes-autoloads.el
(No changes need to be saved)
Checking /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16...
Compiling /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/ecukes-autoloads.el...
Compiling /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/ecukes-byte-compile.el...
Wrote /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/ecukes-byte-compile.elc
Compiling /Users/rejeep/Code/wrap-region/.cask/24.3.1/elpa/ecukes-20130830.16/ecukes-cli.el...

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#15218: End of file during parsing only for byte compiled files
  2013-08-30 15:10   ` Johan Andersson
@ 2013-08-31  8:25     ` Johan Andersson
  2013-09-03 19:03       ` Stefan Monnier
  0 siblings, 1 reply; 6+ messages in thread
From: Johan Andersson @ 2013-08-31  8:25 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 15218

[-- Attachment #1: Type: text/plain, Size: 2101 bytes --]

This might have to do with that the package advices `princ', which seems to
be used in the byte compilation process. I've pushed a fix and waiting for
MELPA before I can verify this.


On Fri, Aug 30, 2013 at 5:10 PM, Johan Andersson <johan.rejeep@gmail.com>wrote:

> > I'm not sure when you see that error (is it when loading the package or
> when installing it?).
>
> Loading, yes!
>
> > Assuming it's when loading it, could it be that
> you're loading the package in a version of Emacs noticeably older than
> the one that compiled the files?
>
> No, it's the exact same binary that installed the package as the one
> running it. But if I look at the byte code, the one that package.el
> produced is not the same as if I would run byte-compile-file.
>
> > The elpa package is supposed to come without any .elc files, and the .el
> files are supposed to be byte-compiled during installation.  Did this
> work correctly?
>
> I can see no errors or warnings. See attached log file.
>
>
> On Fri, Aug 30, 2013 at 2:36 PM, Stefan Monnier <monnier@iro.umontreal.ca>wrote:
>
>> > I just released a new version of Ecukes (
>> https://github.com/rejeep/ecukes.el).
>> > Everything works fine locally, but not when I install via package.el.
>> Then
>> > I get this error:
>>
>> > End of file during parsing:
>> > /path/to/project/.cask/24.3.1/elpa/ecukes-20130830.16/ecukes-core.elc
>>
>> > And if I remove that .elc file, it complains on the next file and so
>> on. If
>> > I remove all .elc files it works fine.
>>
>> I'm not sure when you see that error (is it when loading the package or
>> when installing it?).  Assuming it's when loading it, could it be that
>> you're loading the package in a version of Emacs noticeably older than
>> the one that compiled the files?
>>
>> > So something with the byte compilation does not work, but if I byte
>> compile
>> > all files locally it works just fine.
>>
>> The elpa package is supposed to come without any .elc files, and the .el
>> files are supposed to be byte-compiled during installation.  Did this
>> work correctly?
>>
>>
>>         Stefan
>>
>
>

[-- Attachment #2: Type: text/html, Size: 3306 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#15218: End of file during parsing only for byte compiled files
  2013-08-31  8:25     ` Johan Andersson
@ 2013-09-03 19:03       ` Stefan Monnier
  2013-09-03 19:26         ` Johan Andersson
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Monnier @ 2013-09-03 19:03 UTC (permalink / raw)
  To: Johan Andersson; +Cc: 15218

> This might have to do with that the package advices `princ', which seems to
> be used in the byte compilation process. I've pushed a fix and waiting for
> MELPA before I can verify this.

That could explain it, indeed.


        Stefan





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#15218: End of file during parsing only for byte compiled files
  2013-09-03 19:03       ` Stefan Monnier
@ 2013-09-03 19:26         ` Johan Andersson
  0 siblings, 0 replies; 6+ messages in thread
From: Johan Andersson @ 2013-09-03 19:26 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 15218

[-- Attachment #1: Type: text/plain, Size: 386 bytes --]

It was the issue. Hard one to find for sure. Thanks!
On Sep 3, 2013 9:03 PM, "Stefan Monnier" <monnier@iro.umontreal.ca> wrote:

> > This might have to do with that the package advices `princ', which seems
> to
> > be used in the byte compilation process. I've pushed a fix and waiting
> for
> > MELPA before I can verify this.
>
> That could explain it, indeed.
>
>
>         Stefan
>

[-- Attachment #2: Type: text/html, Size: 676 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-09-03 19:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-30  8:13 bug#15218: End of file during parsing only for byte compiled files Johan Andersson
2013-08-30 12:36 ` Stefan Monnier
2013-08-30 15:10   ` Johan Andersson
2013-08-31  8:25     ` Johan Andersson
2013-09-03 19:03       ` Stefan Monnier
2013-09-03 19:26         ` Johan Andersson

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.