[MacPorts] #38577: install of tmux fails
#38577: install of tmux fails ------------------------------+-------------------------------- Reporter: david.w.watson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: tmux ------------------------------+-------------------------------- Cannot find event.h -- Ticket URL: <https://trac.macports.org/ticket/38577> MacPorts <http://www.macports.org/> Ports system for OS X
#38577: install of tmux fails -------------------------------+-------------------------------- Reporter: david.w.watson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tmux | -------------------------------+-------------------------------- Comment (by egall@…): 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? -- Ticket URL: <https://trac.macports.org/ticket/38577#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#38577: install of tmux fails -------------------------------+-------------------------------- Reporter: david.w.watson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tmux | -------------------------------+-------------------------------- Comment (by david.w.watson@…): "port installed libev" returned no package installed. tmux is now installed. -- Ticket URL: <https://trac.macports.org/ticket/38577#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#38577: install of tmux fails -------------------------------+-------------------------------- Reporter: david.w.watson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tmux | -------------------------------+-------------------------------- Comment (by egall@…): Replying to [comment:2 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"? -- Ticket URL: <https://trac.macports.org/ticket/38577#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#38577: install of tmux fails -------------------------------+-------------------------------- Reporter: david.w.watson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tmux | -------------------------------+-------------------------------- Comment (by larryv@…): Replying to [comment:1 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 + }}} -- Ticket URL: <https://trac.macports.org/ticket/38577#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#38577: tmux @1.7: build failure -------------------------------+--------------------- Reporter: david.w.watson@… | Owner: yeled@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tmux | -------------------------------+--------------------- Changes (by larryv@…): * owner: macports-tickets@… => yeled@… * cc: yeled@… (removed) Comment: Replying to [comment:2 david.w.watson@…]:
"port installed libev" returned no package installed. tmux is now installed.
Wait, so did you get tmux installed or not? -- Ticket URL: <https://trac.macports.org/ticket/38577#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#38577: tmux @1.7: build failure -------------------------------+--------------------- Reporter: david.w.watson@… | Owner: yeled@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tmux | -------------------------------+--------------------- Comment (by egall@…): tmux was updated to 1.8 in r104642. OP, does the update build okay for you? -- Ticket URL: <https://trac.macports.org/ticket/38577#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#38577: tmux @1.7: build failure -------------------------------+--------------------- Reporter: david.w.watson@… | Owner: yeled@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tmux | -------------------------------+--------------------- Comment (by david.w.watson@…): Replying to [comment:6 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? -- Ticket URL: <https://trac.macports.org/ticket/38577#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#38577: tmux @1.7: build failure -------------------------------+--------------------- Reporter: david.w.watson@… | Owner: yeled@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tmux | -------------------------------+--------------------- Comment (by jmr@…): libevent should provide ${prefix}/include/event.h. Does that file exist? -- Ticket URL: <https://trac.macports.org/ticket/38577#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#38577: tmux @1.7: build failure -------------------------------+------------------------ Reporter: david.w.watson@… | Owner: tessarek@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tmux | -------------------------------+------------------------ Changes (by mf2k@…): * owner: yeled@… => tessarek@… Comment: Assigning to current maintainer. -- Ticket URL: <https://trac.macports.org/ticket/38577#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#38577: tmux @1.7: build failure -------------------------------+------------------------ Reporter: david.w.watson@… | Owner: tessarek@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tmux | -------------------------------+------------------------ Comment (by 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. -- Ticket URL: <https://trac.macports.org/ticket/38577#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#38577: tmux @1.7: build failure -------------------------------+------------------------ Reporter: david.w.watson@… | Owner: tessarek@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tmux | -------------------------------+------------------------ Comment (by tessarek@…): No feedback. Ticket can be closed. -- Ticket URL: <https://trac.macports.org/ticket/38577#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#38577: tmux @1.7: build failure -------------------------------+------------------------------ Reporter: david.w.watson@… | Owner: tessarek@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: worksforme | Keywords: lack-of-interest Port: tmux | -------------------------------+------------------------------ Changes (by cal@…): * keywords: => lack-of-interest * status: new => closed * resolution: => worksforme -- Ticket URL: <https://trac.macports.org/ticket/38577#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts