Giter Club home page Giter Club logo

Comments (12)

sshaw avatar sshaw commented on June 19, 2024 1

That branch works.

On OS X it may be due to the cert store not containing the CA's cert.

from eless.

sshaw avatar sshaw commented on June 19, 2024

make all EMACS=Emacs

/tmp/eless >Emacs --version
GNU Emacs 25.3.1
Copyright (C) 2017 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
/tmp/eless >make vcheck
Emacs binary used: /Applications/Emacs.app/Contents/MacOS/Emacs
Loading /tmp/eless/build/setup-eless.el (source)...
Emacs is now refreshing its package database...
Importing package-keyring.gpg...
Importing package-keyring.gpg...done
Contacting host: orgmode.org:443
Failed to download ‘org’ archive.
Failed to download ‘melpa’ archive.
Package refresh done
Installing ‘org-plus-contrib’ ..
Setting ‘package-selected-packages’ temporarily since "emacs -q" would overwrite customizations
Setting ‘package-selected-packages’ temporarily since "emacs -q" would overwrite customizations
Package ‘org-plus-contrib-’ is unavailable
make: *** [vcheck] Error 255

from eless.

kaushalmodi avatar kaushalmodi commented on June 19, 2024

Thanks. Do you want to hack build/setup-eless.el locally and see if forcing http instead of https helps?

These lines

from eless.

kaushalmodi avatar kaushalmodi commented on June 19, 2024

Or may be launch Emacs -Q and manually eval the sexps in that setup file responsible for downloading those packages? I don't have a clue why the basic package installation would fail.. That package installation happens every time on Netlify each time https://eless.scripter.co/ deploys.

from eless.

kaushalmodi avatar kaushalmodi commented on June 19, 2024

.. and here's the package installation on emacs 25.3 on Travis.. so what is so OS specific in that setup file ..

from eless.

sshaw avatar sshaw commented on June 19, 2024

Found the problem: network-security-level was set to medium. This prompts one for confirmation before connections are made.

Setting this to low here fixed it.

Not sure if there are other solutions.

from eless.

kaushalmodi avatar kaushalmodi commented on June 19, 2024

Interesting.. so you are prompted each time you install/upgrade a package?

from eless.

sshaw avatar sshaw commented on June 19, 2024

I use Cask so my installing is done outside emacs. In the cases when I do inside installing it's done via Try and yes, I'm prompted.

from eless.

sshaw avatar sshaw commented on June 19, 2024

Well, I'm prompted for the host if I haven't been prompted in sometime. Not sure what that is. Seems to be weeks.

from eless.

kaushalmodi avatar kaushalmodi commented on June 19, 2024

Found the problem: network-security-level was set to medium. This prompts one for confirmation before connections are made.

The default value of this variable (which got introduced in emacs 25.1) is 'medium, and it works fine i.e. I don't get any extra prompt on RHEL 6.6 (or any GNU Linux image on Gitlab Pages/Netlify/Travis). So it's likely that there's something special with macOS?

Setting this to low here fixed it.

Let me create a trial branch where I set that var to low only if the OS is macOS.

from eless.

kaushalmodi avatar kaushalmodi commented on June 19, 2024

Please try this branch: https://github.com/kaushalmodi/eless/tree/macOS-lower-network-security

from eless.

kaushalmodi avatar kaushalmodi commented on June 19, 2024

This too merged into master.

from eless.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.