Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 464824 - app-misc/tmux-1.8 fails to build on OS X
Summary: app-misc/tmux-1.8 fails to build on OS X
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL: http://sourceforge.net/mailarchive/me...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-06 09:47 UTC by MATSUI Tetsushi
Modified: 2014-12-21 21:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
osdep-darwin.c.diff (osdep-darwin.c.diff,736 bytes, patch)
2013-04-06 09:48 UTC, MATSUI Tetsushi
Details | Diff
ebuild diff (tmux-1.8.diff,411 bytes, patch)
2013-04-06 09:49 UTC, MATSUI Tetsushi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description MATSUI Tetsushi 2013-04-06 09:47:18 UTC
app-misc/tmux-1.8 fails to build on OS X (10.6) like this:

i686-apple-darwin10-gcc -DPACKAGE_NAME=\"tmux\" -DPACKAGE_TARNAME=\"tmux\" -DPACKAGE_VERSION=\"1.8\" -DPACKAGE_STRING=\"tmux\ 1.8\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tmux\" -DVERSION=\"1.8\" -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/Users/tetsushi/Gentoo/var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8    -iquote.     -O2 -march=nocona -pipe  -std=gnu99  -O2   -c /Users/tetsushi/Gentoo/var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8/osdep-darwin.c
/Users/tetsushi/Gentoo/var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8/osdep-darwin.c: In function 'osdep_get_name':
/Users/tetsushi/Gentoo/var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8/osdep-darwin.c:36: error: storage size of 'bsdinfo' isn't known
/Users/tetsushi/Gentoo/var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8/osdep-darwin.c:43: error: 'PROC_PIDT_SHORTBSDINFO' undeclared (first use in this function)
/Users/tetsushi/Gentoo/var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8/osdep-darwin.c:43: error: (Each undeclared identifier is reported only once
/Users/tetsushi/Gentoo/var/tmp/portage/app-misc/tmux-1.8/work/tmux-1.8/osdep-darwin.c:43: error: for each function it appears in.)
make: *** [osdep-darwin.o] Error 1
make: *** Waiting for unfinished jobs....


This problem is known in upstream:
http://sourceforge.net/mailarchive/message.php?msg_id=30653600

So, this bug is for request to apply a patch from MacPorts,
which is mentioned on the thread above,
until the next release will include a fix of this issue.
Comment 1 MATSUI Tetsushi 2013-04-06 09:48:29 UTC
Created attachment 344616 [details, diff]
osdep-darwin.c.diff

From MacPorts:
https://trac.macports.org/attachment/ticket/38588/osdep-darwin.c.diff
Comment 2 MATSUI Tetsushi 2013-04-06 09:49:30 UTC
Created attachment 344618 [details, diff]
ebuild diff
Comment 3 Leho Kraav (:macmaN @lkraav) 2013-08-02 17:56:25 UTC
Confirmed working
Comment 4 Wang Jiajun 2014-12-21 10:48:27 UTC
Now that tmux-1.8 has been removed and tmux-1.9a works well on OS X here on my computer, I think this bug can be closed :)
Comment 5 Fabian Groffen gentoo-dev 2014-12-21 21:04:01 UTC
thanks!