Chromium-GN Error

6 views
Skip to first unread message

jonsear...@gmail.com

unread,
Feb 1, 2018, 12:43:11 PM2/1/18
to Antares Development
Hello everyone.  I've been corresponding with at least one of you about how to build Antares for Linux.  I already have a working build, but when I tried to duplicate the feat today for YouTube, I ran into the problem you can see in the attached screenshot.  Does anyone know how to solve this problem?  I've completely forgotten how I did it last time, if I had to at all.  It seems that maybe the URL is dead (the actual stated error of a bad certificate is usually, in my experience, a 404).  I'm thinking of rewriting the Python script to solve this problem, but what URL's would I put in?  That isn't at all clear.  Any advice on how to solve this problem would be very helpful.  I've attempted to transcribe the text of the error below:

$ sudo build/lib/scripts/download-gn.py
[sudo] password for jon:
Traceback (most recent call last):
 
File "build/lib/scripts/download-gn.py", line 46, in <module>
    main
()
 
File "build/lib/scripts/download-gn.py", line 30, in main
    data
= download("https://storage.googleapis.com/chromium-gn/%s" % digest)
 
File "/usr/lib/python2.7/urllib2.py", line 40, in download
   
return urllib2.urlopen(url).read()
 
File "/usr/lib/python2.7/urllib2.py", line 429, in open
    response
= self._open(req, data)
 
File "/usr/lib/python2.7/urllib2.py", line 447, in _open
   
'_open', req)
 
File "/usr/lib/python2.7/urllib2.py", line 407, in call_chain
    result
= func(*args)
 
File "/usr/lib/python2.7/urllib2.py", line 1241, in https_open
    context
=self._context)
 
File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open
   
raise URLError(err)
urllib2
.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate ve
rify failed
(_ssl.c:590)>


Chris Pickel

unread,
Feb 1, 2018, 12:57:46 PM2/1/18
to jonsear...@gmail.com, Antares Development
That is weird. The URLs that it uses are run by Google, and I assume that Google is diligent about keeping their certificates up-to-date (and not deleting old things randomly… probably…).

Fortunately, I’ve already made changes to get rid of that script entirely. The gn and ninja binaries will just come with the Antares download. You can try this out today if you use the second (git) version of step one of the build instructions. In all:

$ sudo apt-get install git  # if you don’t already have it
$ cd antares
$ ./configure  # follow instructions and repeat if it complains
$ make
$ make test
$ make install
$ make run

Following the git instructions might actually be more interesting for a video! That way, you can try things before they’re released. People that want official releases shouldn’t really have to build Antares themselves, anyway.

There are other improvements I’ve made since 0.8.2: for example, you can run “make test” without installing the data first. You still have to run “make install” before “make run”, but I’m planning to improve that too.

Thanks for helping identify these problems!

P.S. If you’re making a video, you might want to do something like “sudo apt-get remove clang pkg-config libgl1-mesa-dev libglfw3-dev libglu1-mesa-dev libmodplug-dev libzip-dev libpng16-dev libneon27-dev libopenal-dev libsndfile1-dev libx11-dev libxcursor-dev libxinerama-dev libxrandr-dev libxxf86vm-dev zlib1g-dev” before you record it. Since you already built Antares, you’ve probably got all of those installed now. In the video, it would be useful to show the part where ./configure says they’re missing, and install them again.

--
You received this message because you are subscribed to the Google Groups "Antares Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to antares-dev...@arescentral.org.

Jon Searles

unread,
Feb 1, 2018, 6:01:40 PM2/1/18
to Antares Development, jonsear...@gmail.com

I tried the instructions you posted for GitHub, which obviously were more complicated than as you posted them (which is what I'm sure you meant by "follow instructions and repeat").  However, now the default scenario won't load (or wasn't even installed).  I've posted a screenshot showing one method I tried to get it to work, with no luck.  Does anyone know of a solution to this, for the GitHub version of Antares 0.8.2?
Message has been deleted

Chris Pickel

unread,
Feb 2, 2018, 5:28:14 AM2/2/18
to Jon Searles, Antares Development
Unfortunately, you ran into a bug, which I’ve now fixed (I hope!). If you delete your antares folder and try again, it should be OK. Also, I updated it so that you don’t need to “make install” anymore.

In full, the instructions should now be:
$ sudo rm -Rf antares
$ sudo apt-get install git
$ cd antares
$ ./configure
(if ./configure complains, do what it says, and try again)
$ make
$ make test
$ make run

If those exact commands don’t work for you, it would be really useful to see a complete transcript (what you entered and what was printed out) from the beginning. The only place things should get complicated is the “./configure” step, where it’ll tell you to run some extra commands and try again.

(actually, I guess ./configure didn’t tell you that you need to run it again; I’ll fix that too)

On Fri, Feb 2, 2018 at 12:02 AM Jon Searles <jonsear...@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages