[MacPorts] #16164: httperf 0.9.0 won't compile
#16164: httperf 0.9.0 won't compile ------------------------------+--------------------------------------------- Reporter: kevwil@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: httperf compile | ------------------------------+--------------------------------------------- rror: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_httperf/work/httperf-0.9.0" && make all " returned error 2 Command output: call_seq.c:84: error: syntax error before 'et' call_seq.c: In function 'conn_connected': call_seq.c:86: error: 'et' undeclared (first use in this function) call_seq.c:86: error: (Each undeclared identifier is reported only once call_seq.c:86: error: for each function it appears in.) call_seq.c:86: error: 'EV_CONN_CONNECTED' undeclared (first use in this function) call_seq.c: At top level: call_seq.c:92: error: syntax error before 'et' call_seq.c: In function 'call_done': call_seq.c:94: error: 'call' undeclared (first use in this function) call_seq.c:97: error: 'et' undeclared (first use in this function) call_seq.c:97: error: 'EV_CALL_RECV_STOP' undeclared (first use in this function) call_seq.c: At top level: call_seq.c:104: error: syntax error before 'et' call_seq.c: In function 'call_destroyed': call_seq.c:109: error: 'et' undeclared (first use in this function) call_seq.c:109: error: 'EV_CALL_DESTROYED' undeclared (first use in this function) call_seq.c:111: error: 'call' undeclared (first use in this function) call_seq.c: In function 'init': call_seq.c:133: error: 'EV_CONN_CONNECTED' undeclared (first use in this function) call_seq.c:133: error: 'Event_Handler' undeclared (first use in this function) call_seq.c:133: error: syntax error before 'conn_connected' call_seq.c:135: error: 'EV_CALL_RECV_STOP' undeclared (first use in this function) call_seq.c:135: error: syntax error before 'call_done' call_seq.c:136: error: 'EV_CALL_DESTROYED' undeclared (first use in this function) call_seq.c:136: error: syntax error before 'call_destroyed' make[3]: *** [call_seq.o] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 -- Ticket URL: <http://trac.macports.org/ticket/16164> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16164: httperf 0.9.0 won't compile -------------------------------+-------------------------------------------- Reporter: kevwil@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: httperf compile -------------------------------+-------------------------------------------- Changes (by jmr@macports.org): * milestone: => Port Bugs Comment: Please run `sudo port clean httperf`, followed by `sudo port -d install httperf > httperf.log 2>&1` and attach the resulting log file. Also, what is your OS version? XCode version? CPU architecture? -- Ticket URL: <http://trac.macports.org/ticket/16164#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16164: httperf 0.9.0 won't compile -------------------------------+-------------------------------------------- Reporter: kevwil@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: httperf compile -------------------------------+-------------------------------------------- Comment (by kevwil@gmail.com): I'm on OS X 10.5.4, Xcode 3.0, Intel-based MacBook Pro. -- Ticket URL: <http://trac.macports.org/ticket/16164#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16164: httperf 0.9.0 won't compile -------------------------------+-------------------------------------------- Reporter: kevwil@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: httperf compile -------------------------------+-------------------------------------------- Comment (by brianjlandau@gmail.com): I'm seeing the same problem and attached my log output too. -- Ticket URL: <http://trac.macports.org/ticket/16164#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16164: httperf 0.9.0 won't compile -------------------------------+-------------------------------------------- Reporter: kevwil@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: httperf compile -------------------------------+-------------------------------------------- Comment (by kevwil@gmail.com): I've updated my XCode to 3.1 - still broken. -- Ticket URL: <http://trac.macports.org/ticket/16164#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16164: httperf 0.9.0 won't compile -------------------------------+-------------------------------------------- Reporter: kevwil@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: httperf compile -------------------------------+-------------------------------------------- Comment (by blb@macports.org): If someone for whom this port is failing can attach a list of ports you have installed (use {{{port installed}}}), that would be helpful; there may be a header installed with some port that is causing this confusion. Also, to rule it out, what is the result of {{{ls /usr/local/include}}}? -- Ticket URL: <http://trac.macports.org/ticket/16164#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16164: httperf 0.9.0 won't compile -------------------------------+-------------------------------------------- Reporter: kevwil@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: httperf compile -------------------------------+-------------------------------------------- Comment (by joe@pinkpucker.net): Replying to [comment:5 blb@macports.org]:
If someone for whom this port is failing can attach a list of ports you have installed (use {{{port installed}}}), that would be helpful; there may be a header installed with some port that is causing this confusion.
Also, to rule it out, what is the result of {{{ls /usr/local/include}}}?
If event.h is installed into the /opt/local/include (or whatever directory), it'll use that instead of the event.h that's in the httperf directory. Monkeying around with -I order fixed it. -- Ticket URL: <http://trac.macports.org/ticket/16164#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16164: httperf 0.9.0 won't compile -------------------------------+-------------------------------------------- Reporter: kevwil@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: httperf compile ticketformatting -------------------------------+-------------------------------------------- Changes (by ryandesign@macports.org): * cc: ryandesign@macports.org (added) * keywords: httperf compile => httperf compile ticketformatting Comment: Replying to [comment:6 joe@…]:
If event.h is installed into the /opt/local/include (or whatever directory), it'll use that instead of the event.h that's in the httperf directory.
I take it event.h is installed into /opt/local/include on your system? What port provided it? Use `port provides /opt/local/include/event.h` to find out.
Monkeying around with -I order fixed it.
Can you be more specific? -- Ticket URL: <http://trac.macports.org/ticket/16164#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16164: httperf 0.9.0 won't compile -------------------------------+-------------------------------------------- Reporter: kevwil@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: httperf compile ticketformatting -------------------------------+-------------------------------------------- Comment(by kevwil@gmail.com): On my machine, /opt/local/include/event.h is there and was provided by libevent. -- Ticket URL: <http://trac.macports.org/ticket/16164#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16164: httperf 0.9.0 won't compile -------------------------------+-------------------------------------------- Reporter: kevwil@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: compile Port: httperf | -------------------------------+-------------------------------------------- Changes (by jmr@macports.org): * keywords: httperf compile ticketformatting => compile * port: => httperf Old description:
rror: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_httperf/work/httperf-0.9.0" && make all " returned error 2 Command output: call_seq.c:84: error: syntax error before 'et' call_seq.c: In function 'conn_connected': call_seq.c:86: error: 'et' undeclared (first use in this function) call_seq.c:86: error: (Each undeclared identifier is reported only once call_seq.c:86: error: for each function it appears in.) call_seq.c:86: error: 'EV_CONN_CONNECTED' undeclared (first use in this function) call_seq.c: At top level: call_seq.c:92: error: syntax error before 'et' call_seq.c: In function 'call_done': call_seq.c:94: error: 'call' undeclared (first use in this function) call_seq.c:97: error: 'et' undeclared (first use in this function) call_seq.c:97: error: 'EV_CALL_RECV_STOP' undeclared (first use in this function) call_seq.c: At top level: call_seq.c:104: error: syntax error before 'et' call_seq.c: In function 'call_destroyed': call_seq.c:109: error: 'et' undeclared (first use in this function) call_seq.c:109: error: 'EV_CALL_DESTROYED' undeclared (first use in this function) call_seq.c:111: error: 'call' undeclared (first use in this function) call_seq.c: In function 'init': call_seq.c:133: error: 'EV_CONN_CONNECTED' undeclared (first use in this function) call_seq.c:133: error: 'Event_Handler' undeclared (first use in this function) call_seq.c:133: error: syntax error before 'conn_connected' call_seq.c:135: error: 'EV_CALL_RECV_STOP' undeclared (first use in this function) call_seq.c:135: error: syntax error before 'call_done' call_seq.c:136: error: 'EV_CALL_DESTROYED' undeclared (first use in this function) call_seq.c:136: error: syntax error before 'call_destroyed' make[3]: *** [call_seq.o] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
New description: {{{ rror: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_httperf/work/httperf-0.9.0" && make all " returned error 2 Command output: call_seq.c:84: error: syntax error before 'et' call_seq.c: In function 'conn_connected': call_seq.c:86: error: 'et' undeclared (first use in this function) call_seq.c:86: error: (Each undeclared identifier is reported only once call_seq.c:86: error: for each function it appears in.) call_seq.c:86: error: 'EV_CONN_CONNECTED' undeclared (first use in this function) call_seq.c: At top level: call_seq.c:92: error: syntax error before 'et' call_seq.c: In function 'call_done': call_seq.c:94: error: 'call' undeclared (first use in this function) call_seq.c:97: error: 'et' undeclared (first use in this function) call_seq.c:97: error: 'EV_CALL_RECV_STOP' undeclared (first use in this function) call_seq.c: At top level: call_seq.c:104: error: syntax error before 'et' call_seq.c: In function 'call_destroyed': call_seq.c:109: error: 'et' undeclared (first use in this function) call_seq.c:109: error: 'EV_CALL_DESTROYED' undeclared (first use in this function) call_seq.c:111: error: 'call' undeclared (first use in this function) call_seq.c: In function 'init': call_seq.c:133: error: 'EV_CONN_CONNECTED' undeclared (first use in this function) call_seq.c:133: error: 'Event_Handler' undeclared (first use in this function) call_seq.c:133: error: syntax error before 'conn_connected' call_seq.c:135: error: 'EV_CALL_RECV_STOP' undeclared (first use in this function) call_seq.c:135: error: syntax error before 'call_done' call_seq.c:136: error: 'EV_CALL_DESTROYED' undeclared (first use in this function) call_seq.c:136: error: syntax error before 'call_destroyed' make[3]: *** [call_seq.o] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 }}} -- -- Ticket URL: <http://trac.macports.org/ticket/16164#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16164: httperf 0.9.0 won't compile ------------------------------+--------------------------------------------- Reporter: kevwil@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: compile | Port: httperf ------------------------------+--------------------------------------------- Comment(by coda.hale@…): zakj's patch works for me. And seriously -- 5 months? Yikes. -- Ticket URL: <http://trac.macports.org/ticket/16164#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16164: httperf 0.9.0 won't compile ------------------------------+--------------------------------------------- Reporter: kevwil@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: compile | Port: httperf ------------------------------+--------------------------------------------- Comment(by macsforever2000@…): It installs fine for me without the patch. I think we should just close this ticket. -- Ticket URL: <http://trac.macports.org/ticket/16164#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16164: httperf 0.9.0 won't compile ------------------------------+--------------------------------------------- Reporter: kevwil@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: compile | Port: httperf ------------------------------+--------------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => ryandesign@… * status: new => assigned Comment: Replying to [comment:11 macsforever2000@…]:
It installs fine for me without the patch. I think we should just close this ticket. Actually I can confirm the error as reported. httperf builds fine, unless libevent is installed, and then it fails with the reported error. This is on Mac OS X 10.5.6 Intel with Xcode 3.1.2 and MacPorts 1.7.0. I will now look into the patch and apply it if possible.
-- Ticket URL: <http://trac.macports.org/ticket/16164#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16164: httperf 0.9.0 won't compile -------------------------------+-------------------------------------------- Reporter: kevwil@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: compile Port: httperf | -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (removed) * cc: brianjlandau@…, joe@…, zakj@…, coda.hale@…, macsforever2000@… (added) * status: assigned => closed * resolution: => fixed Comment: Instead of changing the cppflags to -I.. as in the attached patch, which seems to be unnecessary, I just cleared the default cppflags (which are -I${prefix}/include) which is what caused it to try to use libevent's event.h in ${prefix}/include. So this is fixed in r48466. Sorry for the delay in getting this fixed, but the port has no maintainer, so there is nobody who has felt responsible for this port. If any of you care about this software, consider volunteering to be its maintainer. -- Ticket URL: <http://trac.macports.org/ticket/16164#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts