Skip to content
This repository was archived by the owner on Sep 4, 2019. It is now read-only.

Build error on Debian 9 w/ Julia 0.6.2 #83

Closed
gwerbin opened this issue Mar 12, 2018 · 1 comment
Closed

Build error on Debian 9 w/ Julia 0.6.2 #83

gwerbin opened this issue Mar 12, 2018 · 1 comment

Comments

@gwerbin
Copy link

gwerbin commented Mar 12, 2018

INFO: Building HttpParser
INFO: Attempting to create directory /home/freerange/.julia/v0.6/HttpParser/deps/downloads
INFO: Attempting to create directory /home/freerange/.julia/v0.6/HttpParser/deps/downloads
INFO: Directory /home/freerange/.julia/v0.6/HttpParser/deps/downloads already exists
INFO: Downloading file https://github.com/nodejs/http-parser/archive/v2.7.1.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   123    0   123    0     0     21      0 --:--:--  0:00:05 --:--:--    29
100 55365  100 55365    0     0   4560      0  0:00:12  0:00:12 --:--:-- 14343
INFO: Done downloading file https://github.com/nodejs/http-parser/archive/v2.7.1.zip
INFO: Attempting to create directory /home/freerange/.julia/v0.6/HttpParser/deps
INFO: Directory /home/freerange/.julia/v0.6/HttpParser/deps already exists
Archive:  /home/freerange/.julia/v0.6/HttpParser/deps/downloads/v2.7.1.zip
feae95a3a69f111bc1897b9048d9acbc290992f9
   creating: /home/freerange/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/
  inflating: /home/freerange/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/.gitignore
  inflating: /home/freerange/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/.mailmap
  inflating: /home/freerange/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/.travis.yml
  inflating: /home/freerange/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/AUTHORS
  inflating: /home/freerange/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/LICENSE-MIT
  inflating: /home/freerange/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/Makefile
  inflating: /home/freerange/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/README.md
  inflating: /home/freerange/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/bench.c
   creating: /home/freerange/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/contrib/
  inflating: /home/freerange/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/contrib/parsertrace.c
  inflating: /home/freerange/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/contrib/url_parser.c
  inflating: /home/freerange/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/http_parser.c
  inflating: /home/freerange/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/http_parser.gyp
  inflating: /home/freerange/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/http_parser.h
  inflating: /home/freerange/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/test.c
INFO: Attempting to create directory /home/freerange/.julia/v0.6/HttpParser/deps/usr/lib
INFO: Changing directory to /home/freerange/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1
INFO: Changing directory to /home/freerange/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1
INFO: Changing directory to /home/freerange/.julia/v0.6/HttpParser/deps/src
INFO: Attempting to create directory /home/freerange/.julia/v0.6/HttpParser/deps/usr/lib
INFO: Directory /home/freerange/.julia/v0.6/HttpParser/deps/usr/lib already exists
INFO: Changing directory to /home/freerange/.julia/v0.6/HttpParser/deps/src
make: Entering directory '/home/freerange/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1'
cc  -I. -DHTTP_PARSER_STRICT=0  -Wall -Wextra -Werror -O3  -fPIC -c http_parser.c -o libhttp_parser.o
http_parser.c: In function ‘http_parser_execute’:
http_parser.c:1817:31: error: this statement may fall through [-Werror=implicit-fallthrough=]
               parser->upgrade = 1;
               ~~~~~~~~~~~~~~~~^~~
http_parser.c:1819:13: note: here
             case 1:
             ^~~~
http_parser.c: In function ‘http_parser_parse_url’:
http_parser.c:2376:18: error: this statement may fall through [-Werror=implicit-fallthrough=]
         found_at = 1;
         ~~~~~~~~~^~~
http_parser.c:2379:7: note: here
       case s_req_server:
       ^~~~
cc1: all warnings being treated as errors
Makefile:102: recipe for target 'libhttp_parser.o' failed
make: *** [libhttp_parser.o] Error 1
make: Leaving directory '/home/freerange/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1
@gwerbin gwerbin changed the title Build error on Debian 9 w/ Julia 0.6.0 Build error on Debian 9 w/ Julia 0.6.2 Mar 12, 2018
@aviks
Copy link
Member

aviks commented Mar 13, 2018

Dup of #75. Please see workaround there.

@aviks aviks closed this as completed Mar 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants