Bug 190792 - net-im/finch compile failure
Summary: net-im/finch compile failure
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-08 14:28 UTC by Sean Bruno
Modified: 2014-06-08 17:46 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Bruno freebsd_committer freebsd_triage 2014-06-08 14:28:11 UTC
Attempted to update to finch-2.10.9_5, I get a failure when compiling that looks like an ncurses breakage:

root@box:~ # portmaster net-im/finch

===>>> Currently installed version: finch-2.10.9_2
===>>> Port directory: /usr/ports/net-im/finch

===>>> Gathering distinfo list for installed ports

===>>> Launching 'make checksum' for net-im/finch in background
===>>> Gathering dependency list for net-im/finch from ports
===>>> Initial dependency check complete for net-im/finch


===>>> Starting build for net-im/finch <<<===

===>>> All dependencies are up to date

===>  Cleaning for finch-2.10.9_5
===>  Found saved configuration for finch-2.10.9_5
===>   finch-2.10.9_5 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by finch-2.10.9_5 for building
===>  Extracting for finch-2.10.9_5
=> SHA256 Checksum OK for pidgin-2.10.9.tar.bz2.
===>  Patching for finch-2.10.9_5
===>   finch-2.10.9_5 depends on executable: gmake - found
===>   finch-2.10.9_5 depends on executable: pkgconf - found
===>   finch-2.10.9_5 depends on file: /usr/local/bin/intltool-extract - found
===>   finch-2.10.9_5 depends on shared library: libpurple.so - found (/usr/local/lib/libpurple.so.0.10.9)
===>   finch-2.10.9_5 depends on shared library: libidn.so - found (/usr/local/lib/libidn.so.17)
===>   finch-2.10.9_5 depends on shared library: libnss3.so - found (/usr/local/lib/nss/libnss3.so.1)
===>   finch-2.10.9_5 depends on shared library: libavahi-client.so - found (/usr/local/lib/libavahi-client.so.3.2.9)
===>   finch-2.10.9_5 depends on shared library: libdbus-glib-1.so - found (/usr/local/lib/libdbus-glib-1.so.2.2.2)
===>   finch-2.10.9_5 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so.0)
===>   finch-2.10.9_5 depends on shared library: libpcre.so - found (/usr/local/lib/libpcre.so.3)
===>   finch-2.10.9_5 depends on shared library: libxml2.so - found (/usr/local/lib/libxml2.so.2.9.1)
===>  Configuring for finch-2.10.9_5
===>   FreeBSD 10 autotools fix applied to /usr/ports/net-im/finch/work/pidgin-2.10.9/configure
===>   FreeBSD 10 autotools fix applied to /usr/ports/net-im/finch/work/pidgin-2.10.9/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /usr/ports/net-im/finch/work/pidgin-2.10.9/acinclude.m4
configure: WARNING: unrecognized options: --with-html-dir, --disable-gtk-doc
configure: loading site script /usr/ports/Templates/config.site
checking build system type... amd64-portbld-freebsd11.0
checking host system type... amd64-portbld-freebsd11.0
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether gmake sets $(MAKE)... yes
checking whether gmake supports nested variables... yes
checking for sed... /usr/bin/sed
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by gmake... GNU
checking dependency style of cc... gcc3
checking whether cc understands -c and -o together... yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... (cached) /usr/bin/fgrep
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert amd64-portbld-freebsd11.0 file names to amd64-portbld-freebsd11.0 format... func_convert_file_noop
checking how to convert amd64-portbld-freebsd11.0 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... cpp
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd11.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking pkg-config is at least version 0.9.0... yes
checking for size_t... (cached) yes
checking for working alloca.h... no
checking for alloca... yes
checking whether __SUNPRO_C is declared... no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking arpa/nameser_compat.h usability... yes
checking arpa/nameser_compat.h presence... yes
checking for arpa/nameser_compat.h... yes
checking for fcntl.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for signal.h... (cached) yes
checking for stdint.h... (cached) yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for an ANSI C-conforming const... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking size of time_t... 8
checking whether byte ordering is bigendian... no
checking return type of signal handlers... void
checking for strftime... (cached) yes
checking for strdup... (cached) yes
checking for strstr... yes
checking for atexit... (cached) yes
checking for setlocale... (cached) yes
checking for getopt_long... yes
checking for inet_aton... (cached) yes
checking for __res_query in -lresolv... no
checking for gethostent in -lnsl... no
checking for socket... yes
checking for getaddrinfo... (cached) yes
checking for inet_ntop... (cached) yes
checking for getifaddrs... yes
checking for socklen_t... yes
checking for struct sockaddr.sa_len... yes
checking whether IPV6_V6ONLY is declared... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for dlopen... (cached) yes
checking for library containing ceil... -lm
checking for fileno()... yes
checking for the %z format string in strftime()... yes
checking whether NLS is requested... yes
checking for intltool-update... /usr/local/bin/intltool-update
checking for intltool-merge... /usr/local/bin/intltool-merge
checking for intltool-extract... /usr/local/bin/intltool-extract
checking for xgettext... /usr/local/bin/xgettext
checking for msgmerge... /usr/local/bin/msgmerge
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.16.3
checking for XML::Parser... ok
checking for locale.h... (cached) yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... no
checking for bindtextdomain in -lintl... yes
checking for ngettext in -lintl... yes
checking for dgettext in -lintl... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/local/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/local/bin/msgfmt
checking for xgettext... (cached) /usr/local/bin/xgettext
checking for catalogs to be installed...  af am ar ast az be@latin bg bn bn_IN bs ca ca@valencia cs da de dz el en_AU en_CA en_GB eo es et eu fa fi fr ga gl gu he hi hr hu hy id it ja ka km kn ko ku lo lt mai mhr mk mn mr ms_MY my_MM nb ne nl nn oc or pa pl pt_BR pt ps ro ru si sk sl sq sr sr@latin sv sw ta te th tr uk ur vi xh zh_CN zh_HK zh_TW
checking for GLIB... yes
checking for X... no
checking for initscr in -lncursesw... yes
checking for update_panels in -lpanelw... yes
checking /usr/include/ncursesw/ncurses.h usability... no
checking /usr/include/ncursesw/ncurses.h presence... no
checking for /usr/include/ncursesw/ncurses.h... no
checking /usr/include/ncurses.h usability... yes
checking /usr/include/ncurses.h presence... yes
checking for /usr/include/ncurses.h... yes
checking if /usr/include/ncurses.h supports wide characters... yes
checking for LIBXML... yes
checking for gconftool-2... no
./configure: gconftool-2: not found
Using config source xml:merged:/usr/local/etc/gconf/gconf.xml.defaults for schema installation
Using $(sysconfdir)/gconf/schemas as install directory for schema files
checking for FARSTREAM... no
checking for FARSTREAM... no
checking for IDN... yes
checking for AVAHI... yes
checking avahi-client/client.h usability... yes
checking avahi-client/client.h presence... yes
checking for avahi-client/client.h... yes
checking avahi-glib/glib-malloc.h usability... yes
checking avahi-glib/glib-malloc.h presence... yes
checking for avahi-glib/glib-malloc.h... yes
checking for avahi_client_new in -lavahi-client... yes
checking for SILC... no
checking for SILC... no
checking for SILC... no
checking for GADU... no
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for uname... (cached) yes
checking for -Waggregate-return option to gcc... no
checking for -Wcast-align option to gcc... no
checking for -Wdeclaration-after-statement option to gcc... no
checking for -Wendif-labels option to gcc... no
checking for -Werror-implicit-function-declaration option to gcc... no
checking for -Wextra -Wno-sign-compare -Wno-unused-parameter option to gcc... no
checking for -Wformat-security option to gcc... no
checking for -Werror=format-security option to gcc... no
checking for -Winit-self option to gcc... no
checking for -Wmissing-declarations option to gcc... no
checking for -Wmissing-noreturn option to gcc... no
checking for -Wmissing-prototypes option to gcc... no
checking for -Wpointer-arith option to gcc... no
checking for -Wundef option to gcc... no
checking for FORTIFY_SOURCE support... no
checking for pidgin... no
checking for dbus-binding-tool... yes
checking for DBUS... yes
checking for python... no
Building without D-Bus support
checking for Mozilla nspr4 includes in /usr/local/include/nspr... ""
checking nspr.h usability... yes
checking nspr.h presence... yes
checking for nspr.h... yes
checking prio.h usability... yes
checking prio.h presence... yes
checking for prio.h... yes
checking for Mozilla nspr libraries... yes
checking for Mozilla nss3 includes in /usr/local/include/nss/nss... ""
checking nss.h usability... yes
checking nss.h presence... yes
checking for nss.h... yes
checking ssl.h usability... yes
checking ssl.h presence... yes
checking for ssl.h... yes
checking smime.h usability... yes
checking smime.h presence... yes
checking for smime.h... yes
checking for Mozilla nss libraries... yes
checking for snprintf... (cached) yes
checking for connect... yes
checking for me pot o' gold... no
checking for gethostid... yes
checking for lrand48... yes
checking for timegm... yes
checking for memcpy... (cached) yes
checking for memmove... (cached) yes
checking for random... (cached) yes
checking for strchr... yes
checking for strerror... (cached) yes
checking for vprintf... (cached) yes
checking for malloc.h... (cached) no
checking for paths.h... (cached) yes
checking sgtty.h usability... no
checking sgtty.h presence... no
checking for sgtty.h... no
checking for stdarg.h... (cached) yes
checking for sys/cdefs.h... (cached) yes
checking for sys/file.h... (cached) yes
checking sys/filio.h usability... yes
checking sys/filio.h presence... yes
checking for sys/filio.h... yes
checking for sys/ioctl.h... (cached) yes
checking sys/msgbuf.h usability... yes
checking sys/msgbuf.h presence... yes
checking for sys/msgbuf.h... yes
checking for sys/select.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for sys/utsname.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for sys/param.h... (cached) yes
checking for sys/sysctl.h... yes
checking for sys/socket.h... (cached) yes
checking for struct tm.tm_zone... yes
checking for timezone external... yes
checking for altzone external... no
checking for daylight external... no
checking for tm_gmtoff in struct tm... yes
checking whether va_lists can be copied by value... no
checking for CHECK... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Doxyfile
config.status: creating doc/Makefile
config.status: creating doc/pidgin.1
config.status: creating doc/finch.1
config.status: creating m4macros/Makefile
config.status: creating pidgin.apspec
config.status: creating pidgin/Makefile
config.status: creating pidgin/pidgin.pc
config.status: creating pidgin/pidgin-uninstalled.pc
config.status: creating pidgin/pidgin-2.pc
config.status: creating pidgin/pidgin-2-uninstalled.pc
config.status: creating pidgin/pixmaps/Makefile
config.status: creating pidgin/pixmaps/emotes/default/24/Makefile
config.status: creating pidgin/pixmaps/emotes/none/Makefile
config.status: creating pidgin/pixmaps/emotes/small/16/Makefile
config.status: creating pidgin/plugins/Makefile
config.status: creating pidgin/plugins/cap/Makefile
config.status: creating pidgin/plugins/disco/Makefile
config.status: creating pidgin/plugins/gestures/Makefile
config.status: creating pidgin/plugins/gevolution/Makefile
config.status: creating pidgin/plugins/musicmessaging/Makefile
config.status: creating pidgin/plugins/perl/Makefile
config.status: creating pidgin/plugins/perl/common/Makefile.PL
config.status: creating pidgin/plugins/ticker/Makefile
config.status: creating libpurple/ciphers/Makefile
config.status: creating libpurple/example/Makefile
config.status: creating libpurple/gconf/Makefile
config.status: creating libpurple/purple.pc
config.status: creating libpurple/purple-uninstalled.pc
config.status: creating libpurple/purple-2.pc
config.status: creating libpurple/purple-2-uninstalled.pc
config.status: creating libpurple/plugins/Makefile
config.status: creating libpurple/plugins/mono/Makefile
config.status: creating libpurple/plugins/mono/api/Makefile
config.status: creating libpurple/plugins/mono/loader/Makefile
config.status: creating libpurple/plugins/perl/Makefile
config.status: creating libpurple/plugins/perl/common/Makefile.PL
config.status: creating libpurple/plugins/ssl/Makefile
config.status: creating libpurple/plugins/tcl/Makefile
config.status: creating libpurple/Makefile
config.status: creating libpurple/protocols/Makefile
config.status: creating libpurple/protocols/bonjour/Makefile
config.status: creating libpurple/protocols/gg/Makefile
config.status: creating libpurple/protocols/irc/Makefile
config.status: creating libpurple/protocols/jabber/Makefile
config.status: creating libpurple/protocols/msn/Makefile
config.status: creating libpurple/protocols/myspace/Makefile
config.status: creating libpurple/protocols/mxit/Makefile
config.status: creating libpurple/protocols/novell/Makefile
config.status: creating libpurple/protocols/null/Makefile
config.status: creating libpurple/protocols/oscar/Makefile
config.status: creating libpurple/protocols/sametime/Makefile
config.status: creating libpurple/protocols/silc/Makefile
config.status: creating libpurple/protocols/silc10/Makefile
config.status: creating libpurple/protocols/simple/Makefile
config.status: creating libpurple/protocols/yahoo/Makefile
config.status: creating libpurple/protocols/zephyr/Makefile
config.status: creating finch/libgnt/Makefile
config.status: creating finch/libgnt/gnt.pc
config.status: creating finch/libgnt/wms/Makefile
config.status: creating finch/plugins/Makefile
config.status: creating po/Makefile.in
config.status: creating pidgin.desktop.in
config.status: creating pidgin.spec
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
configure: WARNING: unrecognized options: --with-html-dir, --disable-gtk-doc

pidgin 2.10.9

Build GTK+ 2.x UI............. : no
Build console UI.............. : yes
Build for X11................. : yes

Enable Gestures............... : yes
Protocols to build dynamically : zephyr yahoo simple oscar novell myspace msn jabber irc gg bonjour
Protocols to link statically.. :

Build with GStreamer support.. : no
Build with D-Bus support...... : no
Build with voice and video.... : no
Build with GNU Libidn......... : yes
Build with NetworkManager..... : no
SSL Library/Libraries......... : Mozilla NSS
Build with Cyrus SASL support. : no
Use kerberos 4 with zephyr.... : no
Use external libzephyr........ : no
Use external libgadu.......... : no
Install pixmaps............... : yes
Old tray icon compatibility... : no
Install translations.......... : yes
Has you....................... : yes

Use XScreenSaver Extension.... : no
Use X Session Management...... : no
Use startup notification...... : no
Build with GtkSpell support... : no
Build Unity integration plugin.: no

Build with plugin support..... : yes
Build with Mono support....... : no
Build with Perl support....... : no
Build with Tcl support........ : no
Build with Tk support......... : no

Print debugging messages...... : no

Pidgin will be installed in /usr/local/bin.

configure complete, now type 'make'

===>  Building for finch-2.10.9_5
gmake[2]: Entering directory `/usr/ports/net-im/finch/work/pidgin-2.10.9/finch'
Making all in libgnt
gmake[3]: Entering directory `/usr/ports/net-im/finch/work/pidgin-2.10.9/finch/libgnt'
gmake  all-recursive
gmake[4]: Entering directory `/usr/ports/net-im/finch/work/pidgin-2.10.9/finch/libgnt'
Making all in .
gmake[5]: Entering directory `/usr/ports/net-im/finch/work/pidgin-2.10.9/finch/libgnt'
  CC     gntmarshal.lo
  CC     gntwidget.lo
  CC     gntbindable.lo
  CC     gntbox.lo
  CC     gntbutton.lo
  CC     gntcheckbox.lo
  CC     gntclipboard.lo
  CC     gntcolors.lo
  CC     gntcombobox.lo
  CC     gntentry.lo
  CC     gntfilesel.lo
  CC     gntkeys.lo
  CC     gntlabel.lo
  CC     gntline.lo
  CC     gntmenu.lo
  CC     gntmenuitem.lo
  CC     gntmenuitemcheck.lo
  CC     gntprogressbar.lo
  CC     gntslider.lo
  CC     gntstyle.lo
  CC     gnttextview.lo
  CC     gnttree.lo
  CC     gntutils.lo
  CC     gntwindow.lo
  CC     gntwm.lo
gntwm.c:174:3: error: unknown type name 'cchar_t'; did you mean 'wchar_t'?
                cchar_t ch;
                ^~~~~~~
                wchar_t
/usr/include/stddef.h:57:20: note: 'wchar_t' declared here
typedef ___wchar_t      wchar_t;
                        ^
gntwm.c:190:9: warning: implicit declaration of function 'mvwin_wch' is invalid in C99 [-Wimplicit-function-declaration]
                                if (mvwin_wch(below->win, y - below->win->_begy, sx - 1 - below->win->_begx, &ch) != OK)
                                    ^
gntwm.c:192:27: error: member reference base type 'wchar_t' (aka 'int') is not a structure or union
                                w = widestringwidth(ch.chars);
                                                    ~~^~~~~~
gntwm.c:193:21: error: member reference base type 'wchar_t' (aka 'int') is not a structure or union
                                if (w > 1 && (ch.attr & 1)) {
                                              ~~^~~~~
gntwm.c:194:8: error: member reference base type 'wchar_t' (aka 'int') is not a structure or union
                                        ch.chars[0] = ' ';
                                        ~~^~~~~~
gntwm.c:195:8: error: member reference base type 'wchar_t' (aka 'int') is not a structure or union
                                        ch.attr &= ~ A_CHARTEXT;
                                        ~~^~~~~
gntwm.c:196:6: warning: implicit declaration of function 'mvwadd_wch' is invalid in C99 [-Wimplicit-function-declaration]
                                        mvwadd_wch(below->win, y - below->win->_begy, sx - 1 - below->win->_begx, &ch);
                                        ^
gntwm.c:202:27: error: member reference base type 'wchar_t' (aka 'int') is not a structure or union
                                w = widestringwidth(ch.chars);
                                                    ~~^~~~~~
gntwm.c:203:22: error: member reference base type 'wchar_t' (aka 'int') is not a structure or union
                                if (w > 1 && !(ch.attr & 1)) {
                                               ~~^~~~~
gntwm.c:204:8: error: member reference base type 'wchar_t' (aka 'int') is not a structure or union
                                        ch.chars[0] = ' ';
                                        ~~^~~~~~
gntwm.c:205:8: error: member reference base type 'wchar_t' (aka 'int') is not a structure or union
gntwm.c:815:11: error: member reference base type 'wchar_t' (aka 'int') is not a structure or union
                        if (wch.chars[0] > 255) {
                            ~~~^~~~~~
gntwm.c:816:67: error: member reference base type 'wchar_t' (aka 'int') is not a structure or union
                                snprintf(unicode, sizeof(unicode), "&#x%x;", (unsigned int)wch.chars[0]);
                                                                                           ~~~^~~~~~
gntwm.c:1018:2: error: unknown type name 'cchar_t'; did you mean 'wchar_t'?
        cchar_t ch;
        ^~~~~~~
        wchar_t
/usr/include/stddef.h:57:20: note: 'wchar_t' declared here
typedef ___wchar_t      wchar_t;
                        ^
gntwm.c:1021:26: error: member reference base type 'wchar_t' (aka 'int') is not a structure or union
                wc = widestringwidth(ch.chars);
                                     ~~^~~~~~
gntwm.c:1022:5: error: member reference base type 'wchar_t' (aka 'int') is not a structure or union
                ch.attr = DECIDE(ch.attr);
                ~~^~~~~
gntwm.c:1022:22: error: member reference base type 'wchar_t' (aka 'int') is not a structure or union
                ch.attr = DECIDE(ch.attr);
                                 ~~^~~~~
gntwm.c:1010:29: note: expanded from macro 'DECIDE'
#define DECIDE(ch) (set ? ((ch) | A_REVERSE) : ((ch) & ~A_REVERSE))
                            ^
gntwm.c:1022:22: error: member reference base type 'wchar_t' (aka 'int') is not a structure or union
                ch.attr = DECIDE(ch.attr);
                                 ~~^~~~~
gntwm.c:1010:50: note: expanded from macro 'DECIDE'
#define DECIDE(ch) (set ? ((ch) | A_REVERSE) : ((ch) & ~A_REVERSE))
                                                 ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
2 warnings and 20 errors generated.
gmake[5]: *** [gntwm.lo] Error 1
gmake[5]: *** Waiting for unfinished jobs....
gmake[5]: Leaving directory `/usr/ports/net-im/finch/work/pidgin-2.10.9/finch/libgnt'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/usr/ports/net-im/finch/work/pidgin-2.10.9/finch/libgnt'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/usr/ports/net-im/finch/work/pidgin-2.10.9/finch/libgnt'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/net-im/finch/work/pidgin-2.10.9/finch'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/net-im/finch
*** Error code 1

Stop.
make: stopped in /usr/ports/net-im/finch

===>>> make failed for net-im/finch
===>>> Aborting update


===>>> You can restart from the point of failure with this command line:
       portmaster <flags> net-im/finch
Comment 1 Sean Bruno freebsd_committer freebsd_triage 2014-06-08 14:28:21 UTC
FreeBSD box.ignoranthack.me 11.0-CURRENT FreeBSD 11.0-CURRENT #3 r267125: Thu Jun  5 16:46:14 EDT 2014     sbruno@box.ignoranthack.me:/usr/obj/usr/src/sys/BLOG  amd64
Comment 2 Sean Bruno freebsd_committer freebsd_triage 2014-06-08 17:24:01 UTC
patch via marcus@

Index: Makefile
===================================================================
--- Makefile    (revision 357036)
+++ Makefile    (working copy)
@@ -19,6 +19,7 @@
 PIDGIN_SLAVE=  yes
 WITH_CONSOLEUI=        yes
 
+CPPFLAGS+=     -DNCURSES_WIDECHAR
 USE_LDCONFIG=  yes
 CONFIGURE_ARGS=        --disable-gtkui \
                --disable-nm \
Comment 3 commit-hook freebsd_committer freebsd_triage 2014-06-08 17:46:41 UTC
A commit references this bug:

Author: marcus
Date: Sun Jun  8 17:46:02 UTC 2014
New revision: 357065
URL: http://svnweb.freebsd.org/changeset/ports/357065

Log:
  Add NCURSES_WIDECHAR to CPPFLAGS to fix the build on -CURRENT.

  PR:		190792

Changes:
  head/net-im/finch/Makefile
Comment 4 Joe Marcus Clarke freebsd_committer freebsd_triage 2014-06-08 17:46:54 UTC
Committed, thanks!