Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems building lentic from source #34

Closed
darabi opened this issue May 26, 2015 · 5 comments
Closed

Problems building lentic from source #34

darabi opened this issue May 26, 2015 · 5 comments

Comments

@darabi
Copy link

darabi commented May 26, 2015

Hi,

when calling make in lentic's base dir, I get:

~/.emacs.d/site-lisp/lentic$ make
cask install
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.3.50.1/elpa/archives/marmalade/archive-contents
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.3.50.1/elpa/archives/melpa/archive-contents
Making version-control local to dash-autoloads.el while let-bound!
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.3.50.1/elpa/dash-20150513.1027/dash-autoloads.el
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.3.50.1/elpa/s-20140910.334/s-autoloads.el
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.3.50.1/elpa/f-20150217.328/f-autoloads.el
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.3.50.1/elpa/m-buffer-20150510.332/m-buffer-autoloads.el
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.3.50.1/elpa/load-relative-20150224.1722/load-relative-autoloads.el
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.3.50.1/elpa/htmlize-20130207.1202/htmlize-autoloads.el
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.3.50.1/elpa/commander-20140120.1052/commander-autoloads.el
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.3.50.1/elpa/shut-up-20150423.522/shut-up-autoloads.el
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.3.50.1/elpa/noflet-20141102.654/noflet-autoloads.el
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.3.50.1/elpa/ansi-20141009.112/ansi-autoloads.el
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.3.50.1/elpa/ert-runner-20150428.2328/ert-runner-autoloads.el
cask exec ert-runner 
Cannot open load file: no such file or directory, s
make: *** [just-test] Error 255

Any idea what's going wrong?

Thank you

Kambiz

@tumashu
Copy link

tumashu commented May 26, 2015

you need to install package "s"

@darabi
Copy link
Author

darabi commented May 26, 2015

I somehow thought that the build process installs s; mainly because of this line:

Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.3.50.1/elpa/s-20140910.334/s-autoloads.el

and looking into that dir shows that there is s.el

~/.emacs.d/site-lisp/lentic$ ls .cask/24.3.50.1/elpa/s-20140910.334/
s-autoloads.el  s-autoloads.el~  s.el  s.elc  s-pkg.el  s-pkg.elc

You mean this is not enough and I have to install s somewhere else?

@phillord
Copy link
Owner

Looks like s.el is neither declared as a dependency nor required by
lentic-doc. I am not sure why it hasn't crashed before, to be honest,
although I guess s.el was being pulled in by commander.

Can you try the fix/require-s.el branch please and let me know if this
fixes.

BTW, Emacs 24.4 is the first supported version for the current release
(since I reference EWW). 24.3.50.1 may work, but may not! You'll be
better off with a release 24.4 than a snapshot anyway.

Thanks for the report.

Kambiz Darabi notifications@github.com writes:

Hi,

when calling make in lentic's base dir, I get:

~/.emacs.d/site-lisp/lentic$ make
cask install
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.3.50.1/elpa/archives/marmalade/archive-contents
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.3.50.1/elpa/archives/melpa/archive-contents
Making version-control local to dash-autoloads.el while let-bound!
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.3.50.1/elpa/dash-20150513.1027/dash-autoloads.el
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.3.50.1/elpa/s-20140910.334/s-autoloads.el
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.3.50.1/elpa/f-20150217.328/f-autoloads.el
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.3.50.1/elpa/m-buffer-20150510.332/m-buffer-autoloads.el
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.3.50.1/elpa/load-relative-20150224.1722/load-relative-autoloads.el
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.3.50.1/elpa/htmlize-20130207.1202/htmlize-autoloads.el
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.3.50.1/elpa/commander-20140120.1052/commander-autoloads.el
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.3.50.1/elpa/shut-up-20150423.522/shut-up-autoloads.el
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.3.50.1/elpa/noflet-20141102.654/noflet-autoloads.el
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.3.50.1/elpa/ansi-20141009.112/ansi-autoloads.el
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.3.50.1/elpa/ert-runner-20150428.2328/ert-runner-autoloads.el
cask exec ert-runner 
Cannot open load file: no such file or directory, s
make: *** [just-test] Error 255

Any idea what's going wrong?

Thank you

Kambiz


Reply to this email directly or view it on GitHub:
#34

Phillip Lord, Phone: +44 (0) 191 208 7827
Lecturer in Bioinformatics, Email: phillip.lord@newcastle.ac.uk
School of Computing Science, http://homepages.cs.ncl.ac.uk/phillip.lord
Room 914 Claremont Tower, skype: russet_apples
Newcastle University, twitter: phillord
NE1 7RU

@darabi
Copy link
Author

darabi commented May 27, 2015

After uninstalling my old emacs-snapshot version and pulling fix/require-s.el, the error is gone (cf. below).

Thank you

Kambiz

make
cask install
Importing package-keyring.gpg...
Importing package-keyring.gpg...done
Contacting host: melpa.org:80
Contacting host: melpa.org:80
Contacting host: elpa.gnu.org:80
Making version-control local to s-autoloads.el while let-bound!
Generating autoloads for s.el...
Generating autoloads for s.el...done
Saving file ~/.emacs.d/.cask/24.4.1/bootstrap/s-20140910.334/s-autoloads.el...
Wrote ~/.emacs.d/.cask/24.4.1/bootstrap/s-20140910.334/s-autoloads.el
Checking ~/.emacs.d/.cask/24.4.1/bootstrap/s-20140910.334...
Compiling ~/.emacs.d/.cask/24.4.1/bootstrap/s-20140910.334/s-autoloads.el...
Compiling ~/.emacs.d/.cask/24.4.1/bootstrap/s-20140910.334/s-pkg.el...
Wrote ~/.emacs.d/.cask/24.4.1/bootstrap/s-20140910.334/s-pkg.elc
Compiling ~/.emacs.d/.cask/24.4.1/bootstrap/s-20140910.334/s.el...
Wrote ~/.emacs.d/.cask/24.4.1/bootstrap/s-20140910.334/s.elc
Done (Total of 2 files compiled, 1 skipped)
Contacting host: melpa.org:80
Generating autoloads for dash.el...
Generating autoloads for dash.el...done
Saving file ~/.emacs.d/.cask/24.4.1/bootstrap/dash-20150513.1027/dash-autoloads.el...
Wrote ~/.emacs.d/.cask/24.4.1/bootstrap/dash-20150513.1027/dash-autoloads.el
Checking ~/.emacs.d/.cask/24.4.1/bootstrap/dash-20150513.1027...
Compiling ~/.emacs.d/.cask/24.4.1/bootstrap/dash-20150513.1027/dash-autoloads.el...
Compiling ~/.emacs.d/.cask/24.4.1/bootstrap/dash-20150513.1027/dash-pkg.el...
Wrote ~/.emacs.d/.cask/24.4.1/bootstrap/dash-20150513.1027/dash-pkg.elc
Compiling ~/.emacs.d/.cask/24.4.1/bootstrap/dash-20150513.1027/dash.el...
Wrote ~/.emacs.d/.cask/24.4.1/bootstrap/dash-20150513.1027/dash.elc
Done (Total of 2 files compiled, 1 skipped)
Generating autoloads for f.el...
Generating autoloads for f.el...done
Saving file ~/.emacs.d/.cask/24.4.1/bootstrap/f-20150217.328/f-autoloads.el...
Wrote ~/.emacs.d/.cask/24.4.1/bootstrap/f-20150217.328/f-autoloads.el
Checking ~/.emacs.d/.cask/24.4.1/bootstrap/f-20150217.328...
Compiling ~/.emacs.d/.cask/24.4.1/bootstrap/f-20150217.328/f-autoloads.el...
Compiling ~/.emacs.d/.cask/24.4.1/bootstrap/f-20150217.328/f-pkg.el...
Wrote ~/.emacs.d/.cask/24.4.1/bootstrap/f-20150217.328/f-pkg.elc
Compiling ~/.emacs.d/.cask/24.4.1/bootstrap/f-20150217.328/f.el...
Wrote ~/.emacs.d/.cask/24.4.1/bootstrap/f-20150217.328/f.elc
Done (Total of 2 files compiled, 1 skipped)
Contacting host: melpa.org:80
Generating autoloads for commander.el...
Generating autoloads for commander.el...done
Saving file ~/.emacs.d/.cask/24.4.1/bootstrap/commander-20140120.1052/commander-autoloads.el...
Wrote ~/.emacs.d/.cask/24.4.1/bootstrap/commander-20140120.1052/commander-autoloads.el
Checking ~/.emacs.d/.cask/24.4.1/bootstrap/commander-20140120.1052...
Compiling ~/.emacs.d/.cask/24.4.1/bootstrap/commander-20140120.1052/commander-autoloads.el...
Compiling ~/.emacs.d/.cask/24.4.1/bootstrap/commander-20140120.1052/commander-pkg.el...
Wrote ~/.emacs.d/.cask/24.4.1/bootstrap/commander-20140120.1052/commander-pkg.elc
Compiling ~/.emacs.d/.cask/24.4.1/bootstrap/commander-20140120.1052/commander.el...
Wrote ~/.emacs.d/.cask/24.4.1/bootstrap/commander-20140120.1052/commander.elc
Done (Total of 2 files compiled, 1 skipped)
Generating autoloads for git.el...
Generating autoloads for git.el...done
Saving file ~/.emacs.d/.cask/24.4.1/bootstrap/git-20140128.241/git-autoloads.el...
Wrote ~/.emacs.d/.cask/24.4.1/bootstrap/git-20140128.241/git-autoloads.el
Checking ~/.emacs.d/.cask/24.4.1/bootstrap/git-20140128.241...
Compiling ~/.emacs.d/.cask/24.4.1/bootstrap/git-20140128.241/git-autoloads.el...
Compiling ~/.emacs.d/.cask/24.4.1/bootstrap/git-20140128.241/git-pkg.el...
Wrote ~/.emacs.d/.cask/24.4.1/bootstrap/git-20140128.241/git-pkg.elc
Compiling ~/.emacs.d/.cask/24.4.1/bootstrap/git-20140128.241/git.el...
Wrote ~/.emacs.d/.cask/24.4.1/bootstrap/git-20140128.241/git.elc
Done (Total of 2 files compiled, 1 skipped)
Generating autoloads for epl.el...
Generating autoloads for epl.el...done
Saving file ~/.emacs.d/.cask/24.4.1/bootstrap/epl-20150517.433/epl-autoloads.el...
Wrote ~/.emacs.d/.cask/24.4.1/bootstrap/epl-20150517.433/epl-autoloads.el
Checking ~/.emacs.d/.cask/24.4.1/bootstrap/epl-20150517.433...
Compiling ~/.emacs.d/.cask/24.4.1/bootstrap/epl-20150517.433/epl-autoloads.el...
Compiling ~/.emacs.d/.cask/24.4.1/bootstrap/epl-20150517.433/epl-pkg.el...
Wrote ~/.emacs.d/.cask/24.4.1/bootstrap/epl-20150517.433/epl-pkg.elc
Compiling ~/.emacs.d/.cask/24.4.1/bootstrap/epl-20150517.433/epl.el...
Wrote ~/.emacs.d/.cask/24.4.1/bootstrap/epl-20150517.433/epl.elc
Done (Total of 2 files compiled, 1 skipped)
Generating autoloads for shut-up.el...
Generating autoloads for shut-up.el...done
Saving file ~/.emacs.d/.cask/24.4.1/bootstrap/shut-up-20150423.522/shut-up-autoloads.el...
Wrote ~/.emacs.d/.cask/24.4.1/bootstrap/shut-up-20150423.522/shut-up-autoloads.el
(No changes need to be saved)
Checking ~/.emacs.d/.cask/24.4.1/bootstrap/shut-up-20150423.522...
Compiling ~/.emacs.d/.cask/24.4.1/bootstrap/shut-up-20150423.522/shut-up-autoloads.el...
Compiling ~/.emacs.d/.cask/24.4.1/bootstrap/shut-up-20150423.522/shut-up-pkg.el...
Wrote ~/.emacs.d/.cask/24.4.1/bootstrap/shut-up-20150423.522/shut-up-pkg.elc
Compiling ~/.emacs.d/.cask/24.4.1/bootstrap/shut-up-20150423.522/shut-up.el...

In end of data:
shut-up.el:150:1:Warning: the following functions are not known to be defined:
    shut-up-write-region-original, shut-up-load-original
Wrote ~/.emacs.d/.cask/24.4.1/bootstrap/shut-up-20150423.522/shut-up.elc
Done (Total of 2 files compiled, 1 skipped)
Contacting host: melpa.org:80
Generating autoloads for package-build.el...
Generating autoloads for package-build.el...done
Saving file ~/.emacs.d/.cask/24.4.1/bootstrap/package-build-20150521.42/package-build-autoloads.el...
Wrote ~/.emacs.d/.cask/24.4.1/bootstrap/package-build-20150521.42/package-build-autoloads.el
(No changes need to be saved)
Checking ~/.emacs.d/.cask/24.4.1/bootstrap/package-build-20150521.42...
Compiling ~/.emacs.d/.cask/24.4.1/bootstrap/package-build-20150521.42/package-build-autoloads.el...
Compiling ~/.emacs.d/.cask/24.4.1/bootstrap/package-build-20150521.42/package-build-pkg.el...
Wrote ~/.emacs.d/.cask/24.4.1/bootstrap/package-build-20150521.42/package-build-pkg.elc
Compiling ~/.emacs.d/.cask/24.4.1/bootstrap/package-build-20150521.42/package-build.el...

In pb/url-copy-file:
package-build.el:299:44:Warning: reference to free variable
    `url-http-response-status'

In pb/grab-wiki-file:
package-build.el:336:55:Warning: reference to free variable
    `url-http-response-status'
package-build.el:340:19:Warning: reference to free variable
    `url-http-end-of-headers'
Wrote ~/.emacs.d/.cask/24.4.1/bootstrap/package-build-20150521.42/package-build.elc
Done (Total of 2 files compiled, 1 skipped)
gnutls.c: [0] (Emacs) fatal error: The TLS connection was non-properly terminated.
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.4.1/elpa/s-20140910.334/s-autoloads.el
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.4.1/elpa/dash-20150513.1027/dash-autoloads.el
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.4.1/elpa/f-20150217.328/f-autoloads.el
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.4.1/elpa/m-buffer-20150510.332/m-buffer-autoloads.el
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.4.1/elpa/load-relative-20150224.1722/load-relative-autoloads.el
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.4.1/elpa/htmlize-20130207.1202/htmlize-autoloads.el
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.4.1/elpa/commander-20140120.1052/commander-autoloads.el
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.4.1/elpa/shut-up-20150423.522/shut-up-autoloads.el
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.4.1/elpa/noflet-20141102.654/noflet-autoloads.el
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.4.1/elpa/ansi-20141009.112/ansi-autoloads.el
Wrote ~/.emacs.d/site-lisp/lentic/.cask/24.4.1/elpa/ert-runner-20150428.2328/ert-runner-autoloads.el
cask exec ert-runner 
.........................

Ran 25 tests in 0.283 seconds

@phillord
Copy link
Owner

Thanks for the report!

phillord pushed a commit that referenced this issue May 28, 2015
Previously s.el was neither required in lentic-doc nor stated as a
dependency. It appears to have been pulled in by commander as a test
dependency which is why the problem was not picked up.

Closes #34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants