Opened 12 years ago

Closed 10 years ago

#38577 closed defect (worksforme)

tmux @1.7: build failure

Reported by: watsodw Owned by: tessus (Helmut K. C. Tessarek)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: lack-of-interest Cc:
Port: tmux

Description

Cannot find event.h

Attachments (1)

main.log (36.4 KB) - added by watsodw 12 years ago.

Download all attachments as: .zip

Change History (13)

Changed 12 years ago by watsodw

Attachment: main.log added

comment:1 Changed 12 years ago by cooljeanius (Eric Gallager)

Relevant part of log:

:info:build /usr/bin/gcc-4.2 -DPACKAGE_NAME=\"tmux\" -DPACKAGE_TARNAME=\"tmux\" -DPACKAGE_VERSION=\"1.7\" -DPACKAGE_STRING=\"tmux\ 1.7\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tmux\" -DVERSION=\"1.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_BITSTRING_H=1 -DHAVE_CURSES_H=1 -DHAVE_DIRENT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_NCURSES_H=1 -DHAVE_PATHS_H=1 -DHAVE_STDINT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_TERM_H=1 -DHAVE_UTIL_H=1 -DHAVE_B64_NTOP=1 -DHAVE_FORKPTY=1 -DHAVE_DAEMON=1 -DHAVE_SETENV=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DHAVE_ASPRINTF=1 -DHAVE_FGETLN=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_DECL_OPTARG=1 -DHAVE_DECL_OPTIND=1 -DHAVE_DECL_OPTRESET=1 -DHAVE_GETOPT=1 -DHAVE_BZERO=1 -DHAVE_SYSCONF=1 -DHAVE_BSD_TYPES=1 -DHAVE___PROGNAME=1 -DBROKEN_CMSG_FIRSTHDR=1 -I.   -I/opt/macports/include   -I/opt/macports/include   -iquote. -I/usr/local/include    -pipe -O2 -arch x86_64  -std=c99    -MT cmd-break-pane.o -MD -MP -MF .deps/cmd-break-pane.Tpo -c -o cmd-break-pane.o cmd-break-pane.c
:info:build In file included from cmd-break-pane.c:23In file included from cmd-bind-key.c:24:
:info:build :
:info:build tmux.h:28:19:tmux.h:28:19: In file included from arguments.c:24 :
:info:build tmux.h:28:19:In file included from clock.c:24 :
:info:build error: tmux.h:28:19: event.h: No such file or directoryIn file included from cfg.c:27
:info:build :
:info:build error: tmux.h:28:19: event.h: No such file or directory
:info:build error: event.h: No such file or directoryIn file included from attributes.c:23
:info:build :
:info:build tmux.h:28:19: error: event.h: No such file or directory
:info:build In file included from cmd-attach-session.c:23:
:info:build tmux.h:28:19: error: event.h: No such file or directory
:info:build error: error: event.h: No such file or directory
:info:build event.h: No such file or directory
:info:build client.c:27:19: error: event.h: No such file or directory
:info:build In file included from client.c:34:
:info:build tmux.h:941: error: field ‘changes_timer’ has incomplete type
:info:build tmux.h:982: error: field ‘name_timer’ has incomplete type
:info:build tmux.h:1212: error: field ‘key_timer’ has incomplete type
:info:build tmux.h:1264: error: field ‘event’ has incomplete type
:info:build tmux.h:1284: error: field ‘repeat_timer’ has incomplete type
:info:build tmux.h:1307: error: field ‘identify_timer’ has incomplete type
:info:build tmux.h:1310: error: field ‘message_timer’ has incomplete type
:info:build In file included from cfg.c:27:
:info:build tmux.h:941: error: field ‘changes_timer’ has incomplete type
:info:build In file included from cmd-bind-key.c:24:
:info:build tmux.h:941: error: field ‘changes_timer’ has incomplete type
:info:build In file included from attributes.c:23:
:info:build tmux.h:941: error: field ‘changes_timer’ has incomplete type
:info:build tmux.h:982: error: field ‘name_timer’ has incomplete type
:info:build tmux.h:982: error: field ‘name_timer’ has incomplete type
:info:build tmux.h:982: error: field ‘name_timer’ has incomplete type
:info:build tmux.h:1212: error: field ‘key_timer’ has incomplete type
:info:build tmux.h:1212: error: field ‘key_timer’ has incomplete type
:info:build tmux.h:1212: error: field ‘key_timer’ has incomplete type
:info:build tmux.h:1264: error: field ‘event’ has incomplete type
:info:build tmux.h:1264: error: field ‘event’ has incomplete type
:info:build tmux.h:1284: error: field ‘repeat_timer’ has incomplete type
:info:build tmux.h:1284: error: field ‘repeat_timer’ has incomplete type
:info:build tmux.h:1307: error: field ‘identify_timer’ has incomplete type
:info:build tmux.h:1310: error: field ‘message_timer’ has incomplete type
:info:build tmux.h:1307: error: field ‘identify_timer’ has incomplete type
:info:build tmux.h:1264: error: field ‘event’ has incomplete type
:info:build tmux.h:1310: error: field ‘message_timer’ has incomplete type
:info:build tmux.h:1284: error: field ‘repeat_timer’ has incomplete type
:info:build tmux.h:1307: error: field ‘identify_timer’ has incomplete type
:info:build tmux.h:1310: error: field ‘message_timer’ has incomplete type
:info:build In file included from cmd-break-pane.c:23:
:info:build tmux.h:941: error: field ‘changes_timer’ has incomplete type
:info:build In file included from arguments.c:24:
:info:build tmux.h:941: error: field ‘changes_timer’ has incomplete type
:info:build tmux.h:982: error: field ‘name_timer’ has incomplete type
:info:build tmux.h:982: error: field ‘name_timer’ has incomplete type
:info:build tmux.h:1212: error: field ‘key_timer’ has incomplete type
:info:build tmux.h:1212: error: field ‘key_timer’ has incomplete type
:info:build tmux.h:1264: error: field ‘event’ has incomplete type
:info:build tmux.h:1284: error: field ‘repeat_timer’ has incomplete type
:info:build tmux.h:1307: error: field ‘identify_timer’ has incomplete type
:info:build tmux.h:1310: error: field ‘message_timer’ has incomplete type
:info:build tmux.h:1264: error: field ‘event’ has incomplete type
:info:build tmux.h:1284: error: field ‘repeat_timer’ has incomplete type
:info:build tmux.h:1307: error: field ‘identify_timer’ has incomplete type
:info:build tmux.h:1310: error: field ‘message_timer’ has incomplete type
:info:build In file included from cmd-attach-session.c:23:
:info:build tmux.h:941: error: field ‘changes_timer’ has incomplete type
:info:build tmux.h:982: error: field ‘name_timer’ has incomplete type
:info:build In file included from clock.c:24:
:info:build tmux.h:941: error: field ‘changes_timer’ has incomplete type
:info:build tmux.h:1212: error: field ‘key_timer’ has incomplete type
:info:build tmux.h:1264: error: field ‘event’ has incomplete type
:info:build tmux.h:1284: error: field ‘repeat_timer’ has incomplete type
:info:build tmux.h:1307: error: field ‘identify_timer’ has incomplete type
:info:build tmux.h:1310: error: field ‘message_timer’ has incomplete type
:info:build tmux.h:982: error: field ‘name_timer’ has incomplete type
:info:build client.c: In function ‘client_main’:
:info:build client.c:234: warning: implicit declaration of function ‘event_set’
:info:build client.c:234: error: ‘EV_READ’ undeclared (first use in this function)
:info:build client.c:234: error: (Each undeclared identifier is reported only once
:info:build client.c:234: error: for each function it appears in.)
:info:build client.c:238: error: ‘EV_PERSIST’ undeclared (first use in this function)
:info:build tmux.h:1212: error: field ‘key_timer’ has incomplete type
:info:build tmux.h:1264: error: field ‘event’ has incomplete type
:info:build tmux.h:1284: error: field ‘repeat_timer’ has incomplete type
:info:build tmux.h:1307: error: field ‘identify_timer’ has incomplete typeclient.c:288: warning: implicit declaration of function ‘event_dispatch’
:info:build 
:info:build tmux.h:1310: error: field ‘message_timer’ has incomplete type
:info:build client.c: In function ‘client_update_event’:
:info:build client.c:357: warning: implicit declaration of function ‘event_del’
:info:build client.c:358: error: ‘EV_READ’ undeclared (first use in this function)
:info:build client.c:360: error: ‘EV_WRITE’ undeclared (first use in this function)
:info:build client.c:363: warning: implicit declaration of function ‘event_add’
:info:build client.c: In function ‘client_signal’:
:info:build client.c:380: warning: implicit declaration of function ‘event_loopexit’
:info:build client.c: In function ‘client_callback’:
:info:build client.c:421: error: ‘EV_READ’ undeclared (first use in this function)
:info:build client.c:434: error: ‘EV_WRITE’ undeclared (first use in this function)
:info:build make: *** [attributes.o] Error 1
:info:build make: *** Waiting for unfinished jobs....
:info:build make: *** [cmd-bind-key.o] Error 1
:info:build make: *** [cfg.o] Error 1
:info:build make: *** [arguments.o] Error 1
:info:build make: *** [cmd-break-pane.o] Error 1
:info:build make: *** [client.o] Error 1
:info:build make: *** [cmd-attach-session.o] Error 1
:info:build make: *** [clock.o] Error 1
:info:build make: Leaving directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_tmux/tmux/work/tmux-1.7'
:info:build Command failed:  cd "/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_tmux/tmux/work/tmux-1.7" && /usr/bin/make -j8 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port tmux returned: command execution failed

OP, could you post the results of what port installed libev* returns for you?

comment:2 Changed 12 years ago by watsodw

"port installed libev" returned no package installed. tmux is now installed.

comment:3 in reply to:  2 Changed 12 years ago by cooljeanius (Eric Gallager)

Replying to david.w.watson@…:

"port installed libev" returned no package installed. tmux is now installed.

What about with the wildcard so it catches "libevent" and "libevent1"?

comment:4 in reply to:  1 Changed 12 years ago by larryv (Lawrence Velázquez)

Replying to egall@…:

OP, could you post the results of what port installed libev* returns for you?

From the log:

:debug:main libevent 2.0.21_0 exists in the ports tree
:debug:main libevent 2.0.21_0 +universal is the latest installed
:debug:main libevent 2.0.21_0 +universal is active
:debug:main Merging existing variants '+universal' into variants
:debug:main new fully merged portvariants: universal +

comment:5 in reply to:  2 Changed 12 years ago by larryv (Lawrence Velázquez)

Cc: yeled@… removed
Owner: changed from macports-tickets@… to yeled@…
Summary: install of tmux failstmux @1.7: build failure

Replying to david.w.watson@…:

"port installed libev" returned no package installed. tmux is now installed.

Wait, so did you get tmux installed or not?

comment:6 Changed 12 years ago by cooljeanius (Eric Gallager)

tmux was updated to 1.8 in r104642. OP, does the update build okay for you?

comment:7 in reply to:  6 Changed 12 years ago by watsodw

Replying to egall@…:

tmux was updated to 1.8 in r104642. OP, does the update build okay for you?

No, it still says it can't find event.h. I do have libev, libevent and libevevt1 installed. Maybe a conflict with all these?

comment:8 Changed 12 years ago by jmroot (Joshua Root)

libevent should provide ${prefix}/include/event.h. Does that file exist?

comment:9 Changed 10 years ago by mf2k (Frank Schima)

Owner: changed from yeled@… to tessarek@…

Assigning to current maintainer.

comment:10 Changed 10 years ago by tessus (Helmut K. C. Tessarek)

I took over the maintenance of tmux when 1.9a came out.

tmux 1.9a requires libevent2. Please check, if you still have issues with 1.9a. If so, please let me know. If not, I'd like to close this ticket within the next week.

comment:11 Changed 10 years ago by tessus (Helmut K. C. Tessarek)

No feedback. Ticket can be closed.

comment:12 Changed 10 years ago by neverpanic (Clemens Lang)

Keywords: lack-of-interest added
Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.