Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jun 2014 18:22:13 +0000
From:      bz-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 190621] New: www/nghttp2 multiple errors
Message-ID:  <bug-190621-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190621

            Bug ID: 190621
           Summary: www/nghttp2 multiple errors
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: mikhail.rokhin@gmail.com

CXX      inflatehd.o
--- h2load_spdy_session.o ---
In file included from h2load_spdy_session.cc:27:
In file included from ./h2load.h:41:
In file included from /usr/local/include/event.h:162:
/usr/local/include/event-config.h:220:9: warning: '_EVENT_NUMERIC_VERSION'
macro redefined
#define _EVENT_NUMERIC_VERSION 0x01040e00
        ^
/usr/local/include/event2/event-config.h:373:9: note: previous definition is
here
#define _EVENT_NUMERIC_VERSION 0x02001500
        ^
In file included from h2load_spdy_session.cc:27:
In file included from ./h2load.h:41:
In file included from /usr/local/include/event.h:162:
/usr/local/include/event-config.h:262:9: warning: '_EVENT_VERSION' macro
redefined
#define _EVENT_VERSION "1.4.14b-stable"
        ^
/usr/local/include/event2/event-config.h:428:9: note: previous definition is
here
#define _EVENT_VERSION "2.0.21-stable"
        ^
In file included from h2load_spdy_session.cc:27:
In file included from ./h2load.h:41:
In file included from /usr/local/include/event.h:175:
/usr/local/include/evutil.h:106:9: warning: 'EVUTIL_CLOSESOCKET' macro
redefined
#define EVUTIL_CLOSESOCKET(s) close(s)
        ^
/usr/local/include/event2/util.h:324:9: note: previous definition is here
#define EVUTIL_CLOSESOCKET(s) evutil_closesocket(s)
        ^
In file included from h2load_spdy_session.cc:27:
In file included from ./h2load.h:41:
/usr/local/include/event.h:1035:6: error: redefinition of 'evbuffer_eol_style'
enum evbuffer_eol_style {
     ^
/usr/local/include/event2/buffer.h:362:6: note: previous definition is here
enum evbuffer_eol_style {
     ^
In file included from h2load_spdy_session.cc:27:
In file included from ./h2load.h:41:
/usr/local/include/event.h:1110:6: error: functions that differ only in their
return type cannot be overloaded
void evbuffer_drain(struct evbuffer *, size_t);
     ^
/usr/local/include/event2/buffer.h:505:5: note: previous declaration is here
int evbuffer_drain(struct evbuffer *buf, size_t len);
    ^
In file included from h2load_spdy_session.cc:27:
In file included from ./h2load.h:42:
/usr/local/include/event2/event.h:372:13: error: conflicting types for
'event_base_get_method'
const char *event_base_get_method(const struct event_base *);
            ^
/usr/local/include/event.h:325:13: note: previous declaration is here
const char *event_base_get_method(struct event_base *);
            ^
In file included from h2load_spdy_session.cc:27:
In file included from ./h2load.h:42:
/usr/local/include/event2/event.h:574:9: warning: '_EVENT_LOG_DEBUG' macro
redefined
#define _EVENT_LOG_DEBUG EVENT_LOG_DEBUG
        ^
/usr/local/include/event.h:339:9: note: previous definition is here
#define _EVENT_LOG_DEBUG 0
        ^
In file included from h2load_spdy_session.cc:27:
In file included from ./h2load.h:42:
/usr/local/include/event2/event.h:575:9: warning: '_EVENT_LOG_MSG' macro
redefined
#define _EVENT_LOG_MSG EVENT_LOG_MSG
        ^
/usr/local/include/event.h:340:9: note: previous definition is here
#define _EVENT_LOG_MSG   1
        ^
In file included from h2load_spdy_session.cc:27:
In file included from ./h2load.h:42:
/usr/local/include/event2/event.h:576:9: warning: '_EVENT_LOG_WARN' macro
redefined
#define _EVENT_LOG_WARN EVENT_LOG_WARN
        ^
/usr/local/include/event.h:341:9: note: previous definition is here
#define _EVENT_LOG_WARN  2
        ^
In file included from h2load_spdy_session.cc:27:
In file included from ./h2load.h:42:
/usr/local/include/event2/event.h:577:9: warning: '_EVENT_LOG_ERR' macro
redefined
#define _EVENT_LOG_ERR EVENT_LOG_ERR
        ^
/usr/local/include/event.h:342:9: note: previous definition is here
#define _EVENT_LOG_ERR   3
        ^
In file included from h2load_spdy_session.cc:27:
In file included from ./h2load.h:42:
/usr/local/include/event2/event.h:757:9: warning: 'evtimer_add' macro redefined
#define evtimer_add(ev, tv)             event_add((ev), (tv))
        ^
/usr/local/include/event.h:462:9: note: previous definition is here
#define evtimer_add(ev, tv)             event_add(ev, tv)
        ^
In file included from h2load_spdy_session.cc:27:
In file included from ./h2load.h:42:
/usr/local/include/event2/event.h:759:9: warning: 'evtimer_pending' macro
redefined
#define evtimer_pending(ev, tv)         event_pending((ev), EV_TIMEOUT, (tv))
        ^
/usr/local/include/event.h:481:9: note: previous definition is here
#define evtimer_pending(ev, tv)         event_pending(ev, EV_TIMEOUT, tv)
        ^
In file included from h2load_spdy_session.cc:27:
In file included from ./h2load.h:42:
/usr/local/include/event2/event.h:760:9: warning: 'evtimer_initialized' macro
redefined
#define evtimer_initialized(ev)         event_initialized(ev)
        ^
/usr/local/include/event.h:482:9: note: previous definition is here
#define evtimer_initialized(ev)         ((ev)->ev_flags & EVLIST_INIT)
        ^
In file included from h2load_spdy_session.cc:27:
In file included from ./h2load.h:42:
/usr/local/include/event2/event.h:982:5: error: conflicting types for
'event_pending'
int event_pending(const struct event *ev, short events, struct timeval *tv);
    ^
/usr/local/include/event.h:641:5: note: previous declaration is here
int event_pending(struct event *ev, short event, struct timeval *tv);
    ^
In file included from h2load_spdy_session.cc:27:
In file included from ./h2load.h:42:
/usr/local/include/event2/event.h:1000:23: error: expected unqualified-id
int event_initialized(const struct event *ev);
                      ^
/usr/local/include/event.h:657:34: note: expanded from macro
'event_initialized'
#define event_initialized(ev)           ((ev)->ev_flags & EVLIST_INIT)
                                          ^
In file included from h2load_spdy_session.cc:27:
In file included from ./h2load.h:42:
/usr/local/include/event2/event.h:1000:23: error: expected ')'
/usr/local/include/event.h:657:34: note: expanded from macro
'event_initialized'
#define event_initialized(ev)           ((ev)->ev_flags & EVLIST_INIT)
                                          ^
/usr/local/include/event2/event.h:1000:5: note: to match this '('
int event_initialized(const struct event *ev);
    ^
/usr/local/include/event.h:657:33: note: expanded from macro
'event_initialized'
#define event_initialized(ev)           ((ev)->ev_flags & EVLIST_INIT)
                                         ^
In file included from h2load_spdy_session.cc:27:
In file included from ./h2load.h:42:
/usr/local/include/event2/event.h:1000:5: error: expected ')'
int event_initialized(const struct event *ev);
    ^
/usr/local/include/event.h:657:37: note: expanded from macro
'event_initialized'
#define event_initialized(ev)           ((ev)->ev_flags & EVLIST_INIT)
                                             ^
/usr/local/include/event2/event.h:1000:5: note: to match this '('
/usr/local/include/event.h:657:32: note: expanded from macro
'event_initialized'
#define event_initialized(ev)           ((ev)->ev_flags & EVLIST_INIT)
                                        ^
--- h2load_http2_session.o ---
In file included from h2load_http2_session.cc:30:
In file included from ./util.h:40:
/usr/local/include/event2/buffer.h:362:6: error: redefinition of
'evbuffer_eol_style'
enum evbuffer_eol_style {
     ^
/usr/local/include/event.h:1035:6: note: previous definition is here
enum evbuffer_eol_style {
     ^
In file included from h2load_http2_session.cc:30:
In file included from ./util.h:40:
/usr/local/include/event2/buffer.h:505:5: error: functions that differ only in
their return type cannot be overloaded
int evbuffer_drain(struct evbuffer *buf, size_t len);
    ^
/usr/local/include/event.h:1110:6: note: previous declaration is here
void evbuffer_drain(struct evbuffer *, size_t);
     ^
h2load_http2_session.cc:156:16: error: use of undeclared identifier
'bufferevent_get_input'
  auto input = bufferevent_get_input(client_->bev);
               ^
h2load_http2_session.cc:172:17: error: use of undeclared identifier
'bufferevent_get_output'
  auto output = bufferevent_get_output(client_->bev);
                ^
10 warnings and 9 errors generated.
--- comp_helper.o ---
CC       comp_helper.o
--- h2load_spdy_session.o ---
h2load_spdy_session.cc:166:16: error: use of undeclared identifier
'bufferevent_get_input'
  auto input = bufferevent_get_input(client_->bev);
               ^
h2load_spdy_session.cc:183:17: error: use of undeclared identifier
'bufferevent_get_output'
  sendbuf.reset(bufferevent_get_output(client_->bev), buf, sizeof(buf));
                ^
h2load_spdy_session.cc:197:26: error: use of undeclared identifier
'bufferevent_get_output'
     evbuffer_get_length(bufferevent_get_output(client_->bev)) == 0) {
                         ^
--- deflatehd.o ---
CXX      deflatehd.o
--- h2load_spdy_session.o ---
10 warnings and 10 errors generated.
--- libnghttpx.a ---
  AR       libnghttpx.a
ar: warning: can't open file: shrpx_config.o: No such file or directory
ar: warning: can't open file: shrpx_listen_handler.o: No such file or directory
ar: warning: can't open file: shrpx_client_handler.o: No such file or directory
ar: warning: can't open file: shrpx_http2_upstream.o: No such file or directory
ar: warning: can't open file: shrpx_https_upstream.o: No such file or directory
ar: warning: can't open file: shrpx_downstream_queue.o: No such file or
directory
ar: warning: can't open file: shrpx_downstream.o: No such file or directory
ar: warning: can't open file: shrpx_downstream_connection.o: No such file or
directory
ar: warning: can't open file: shrpx_http_downstream_connection.o: No such file
or directory
ar: warning: can't open file: shrpx_http2_downstream_connection.o: No such file
or directory
ar: warning: can't open file: shrpx_http2_session.o: No such file or directory
ar: warning: can't open file: shrpx_log.o: No such file or directory
ar: warning: can't open file: shrpx_http.o: No such file or directory
ar: warning: can't open file: shrpx_io_control.o: No such file or directory
ar: warning: can't open file: shrpx_ssl.o: No such file or directory
ar: warning: can't open file: shrpx_thread_event_receiver.o: No such file or
directory
ar: warning: can't open file: shrpx_worker.o: No such file or directory
ar: warning: can't open file: shrpx_accesslog.o: No such file or directory
ar: warning: can't open file: shrpx_spdy_upstream.o: No such file or directory
--- nghttp ---
  CXXLD    nghttp
c++: error: no such file or directory: 'nghttp.o'
*** [nghttp] Error code 1

make[4]: stopped in /usr/ports/www/nghttp2/work/nghttp2-0.4.0/src

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-190621-13>