HttpParser build error on Ubuntu linux 17.10

I installed Ubuntu linux 17.10.
Downloaded Julia 0.6.2 (10.8+ 64-bit Generic Linux Binaries for x86) and extract it to a folder.
And then installed Atom following this: Installing Atom

After installing the package uber-juno and firstly run my julia code, it turns out the error message below:

julia> Pkg.build("HttpParser")
INFO: Building HttpParser
INFO: Attempting to create directory /home/yoc/.julia/v0.6/HttpParser/deps/downloads
INFO: Attempting to create directory /home/yoc/.julia/v0.6/HttpParser/deps/downloads
INFO: Directory /home/yoc/.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    123      0 --:--:-- --:--:-- --:--:--   355
100 55365    0 55365    0     0  55365      0 --:--:-- --:--:-- --:--:--  782k
INFO: Done downloading file https://github.com/nodejs/http-parser/archive/v2.7.1.zip
INFO: Attempting to create directory /home/yoc/.julia/v0.6/HttpParser/deps
INFO: Directory /home/yoc/.julia/v0.6/HttpParser/deps already exists
Archive:  /home/yoc/.julia/v0.6/HttpParser/deps/downloads/v2.7.1.zip
feae95a3a69f111bc1897b9048d9acbc290992f9
   creating: /home/yoc/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/
  inflating: /home/yoc/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/.gitignore  
  inflating: /home/yoc/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/.mailmap  
  inflating: /home/yoc/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/.travis.yml  
  inflating: /home/yoc/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/AUTHORS  
  inflating: /home/yoc/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/LICENSE-MIT  
  inflating: /home/yoc/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/Makefile  
  inflating: /home/yoc/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/README.md  
  inflating: /home/yoc/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/bench.c  
   creating: /home/yoc/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/contrib/
  inflating: /home/yoc/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/contrib/parsertrace.c  
  inflating: /home/yoc/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/contrib/url_parser.c  
  inflating: /home/yoc/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/http_parser.c  
  inflating: /home/yoc/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/http_parser.gyp  
  inflating: /home/yoc/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/http_parser.h  
  inflating: /home/yoc/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1/test.c  
INFO: Attempting to create directory /home/yoc/.julia/v0.6/HttpParser/deps/usr/lib
INFO: Changing directory to /home/yoc/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1
INFO: Changing directory to /home/yoc/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1
INFO: Changing directory to /home/yoc/.julia/v0.6/HttpParser/deps/src
INFO: Attempting to create directory /home/yoc/.julia/v0.6/HttpParser/deps/usr/lib
INFO: Directory /home/yoc/.julia/v0.6/HttpParser/deps/usr/lib already exists
INFO: Changing directory to /home/yoc/.julia/v0.6/HttpParser/deps/src
make: Entering directory '/home/yoc/.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/yoc/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1'
=============================[ ERROR: HttpParser ]==============================

LoadError: failed process: Process(setenv(`make -j8 -C http-parser-2.7.1 library`,String["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", "TEXTDOMAIN=im-config", "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus", "NODE_ENV=production", "XDG_SESSION_DESKTOP=ubuntu", "XDG_SESSION_TYPE=wayland", "USER=yoc", "XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg/xdg-ubuntu:/etc/xdg/xdg-ubuntu:/etc/xdg", "LESSCLOSE=/usr/bin/lesspipe %s %s", "JULIA_EDITOR=atom -a", "QT_IM_MODULE=xim", "USERNAME=yoc", "GNOME_SHELL_SESSION_MODE=ubuntu", "GDMSESSION=ubuntu", "LESSOPEN=| /usr/bin/lesspipe %s", "CLUTTER_IM_MODULE=xim", "XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/ubuntu:/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop", "SHELL=/bin/bash", "GJS_DEBUG_OUTPUT=stderr", "XDG_SEAT=seat0", "XDG_MENU_PREFIX=gnome-", "GOOGLE_API_KEY=AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q", "GTK_IM_MODULE=ibus", "SESSION_MANAGER=local/YOC-LAPTOP-LINUX:@/tmp/.ICE-unix/866,unix/YOC-LAPTOP-LINUX:/tmp/.ICE-unix/866", "XMODIFIERS=@im=ibus", "TERM=xterm-256color", "HOME=/home/yoc", "COLORTERM=truecolor", "VTE_VERSION=4804", "NODE_PATH=/usr/share/atom/resources/app.asar/exports", "WAYLAND_DISPLAY=wayland-0", "IM_CONFIG_PHASE=2", "XDG_CURRENT_DESKTOP=ubuntu:GNOME", "LANG=en_US.UTF-8", "SHLVL=3", "LOGNAME=yoc", "GNOME_DESKTOP_SESSION_ID=this-is-deprecated", "XDG_RUNTIME_DIR=/run/user/1000", "DESKTOP_SESSION=ubuntu", "SSH_AUTH_SOCK=/run/user/1000/keyring/ssh", "_=/usr/bin/env", "JULIA_NUM_THREADS=4", "PWD=/home/yoc", "DISPLAY=:0", "GJS_DEBUG_TOPICS=JS ERROR;JS LOG", "SONAME=libhttp_parser.so", "XDG_VTNR=1", "XDG_SESSION_ID=1", "TEXTDOMAINDIR=/usr/share/locale/", "JOURNAL_STREAM=9:27723", "ATOM_HOME=/home/yoc/.atom", "QT4_IM_MODULE=xim", "LS_COLORS=", "OPENBLAS_MAIN_FREE=1"]), ProcessExited(2)) [2]
while loading /home/yoc/.julia/v0.6/HttpParser/deps/build.jl, in expression starting on line 71

================================================================================

================================[ BUILD ERRORS ]================================

WARNING: HttpParser had build errors.

 - packages with build errors remain installed in /home/yoc/.julia/v0.6
 - build the package(s) and all dependencies with `Pkg.build("HttpParser")`
 - build a single package by running its `deps/build.jl` script

================================================================================

https://github.com/JuliaWeb/HttpParser.jl/issues/75